Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Fields, Christopher J <cjfields <at> illinois.edu>
Subject: Re: Bio::DB::Taxonomy example
Newsgroups: gmane.comp.lang.perl.bio.general
Date: Tuesday 22nd January 2013 23:40:05 UTC (over 3 years ago)
Done.  Thanks for pointing that out!

chris

On Jan 23, 2013, at 5:45 AM, Shyam Saladi 
 wrote:

> 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
> **
> _______________________________________________
> Bioperl-l mailing list
> [email protected]
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
 
CD: 3ms