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

Diff of /FigKernelPackages/FIG.pm

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

revision 1.309, Tue Jul 12 14:34:14 2005 UTC revision 1.310, Tue Jul 12 22:10:07 2005 UTC
# Line 3320  Line 3320 
3320      return ("", "#FFFFFF");      return ("", "#FFFFFF");
3321  }  }
3322    
3323    =head3 partial_genus_matching
3324    
3325    Return a list of genome IDs that match a partial genus.
3326    
3327    For example partial_genus_matching("Listeria") will return all genome IDs that begin with Listeria
3328    
3329    =cut
3330    
3331    sub partial_genus_matching {
3332     my ($self, $gen)=@_;
3333     return grep {$self->genus_species($_) =~ /$gen/i} $self->genomes();
3334    }
3335    
3336    
3337  =head3 abbrev  =head3 abbrev
3338    
3339  C<< my $abbreviated_name = FIG::abbrev($genome_name); >>  C<< my $abbreviated_name = FIG::abbrev($genome_name); >>

Legend:
Removed from v.1.309  
changed lines
  Added in v.1.310

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3