[Bio] / FigKernelPackages / FigFam.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/FigFam.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.67, Thu Nov 15 16:44:09 2007 UTC revision 1.68, Fri Nov 16 14:19:38 2007 UTC
# Line 83  Line 83 
83          $fam_data = "$FIG_Config::data/FigfamsData";          $fam_data = "$FIG_Config::data/FigfamsData";
84      }      }
85      $fam->{data} = $fam_data;      $fam->{data} = $fam_data;
86        $fam->{ff} = new FF($fam_id,$fam_data);
87    
88      my $fam_dir = "$fam_data/FIGFAMS";      my $fam_dir = "$fam_data/FIGFAMS";
89      my $fam_file = "$fam_data/families.2c";      my $fam_file = "$fam_data/families.2c";
# Line 594  Line 595 
595  sub pegs_of {  sub pegs_of {
596      my($self) = @_;      my($self) = @_;
597    
598      return &FF::pegs_of($self);      return $self->{ff}->pegs_of;
599  }  }
600    
601    
# Line 797  Line 798 
798  sub representatives {  sub representatives {
799      my($self) = @_;      my($self) = @_;
800    
801      return &FF::representatives($self);      return $self->{ff}->representatives;
802  }  }
803    
804    
# Line 823  Line 824 
824  sub should_be_member {  sub should_be_member {
825      my($self,$seq,$debug,$loose,$debug_peg) = @_;      my($self,$seq,$debug,$loose,$debug_peg) = @_;
826    
827      return &FF::should_be_member($self,$seq,$debug,$loose,$debug_peg);      return $self->{ff}->should_be_member($seq,$debug,$loose,$debug_peg);
828  }  }
829    
830  =head3 family_function  =head3 family_function
# Line 838  Line 839 
839  sub family_function {  sub family_function {
840      my($self) = @_;      my($self) = @_;
841    
842      return &FF::family_function($self);      return $self->{ff}->family_function;
843  }  }
844    
845    
# Line 855  Line 856 
856  sub family_id {  sub family_id {
857      my($self) = @_;      my($self) = @_;
858    
859      return &FF::family_function($self);      return $self->{ff}->family_id;
860  }  }
861    
862  =head3 family_dir  =head3 family_dir

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3