[Bioperl-l] Bio::DB::Taxonomy example

Shyam Saladi saladi1 at illinois.edu
Tue Jan 22 21:45:23 UTC 2013


Hi,

There is an example on how to use Bio::DB::Taxonomy at
http://www.bioperl.org/wiki/Module:Bio::DB::Taxonomy

I tried the script but could not get it to work properly. After looking
through the documentation it seems that

my @extant_children = grep { $_->rank eq 'species' }
$node->get_all_Descendents;

should instead be

my @extant_children = grep { $_->rank eq 'species' }
$db->get_all_Descendents($node)

I found this solves the problem for me. If my fix is in fact correct, an
admin may want to change the example script online.

Thanks,
Shyam
**



More information about the Bioperl-l mailing list