<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Perl script to get all the descendent in a tree !]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/42909/perl-script-to-get-all-the-descendent-in-a-tree?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/42909/perl-script-to-get-all-the-descendent-in-a-tree?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/42909/perl-script-to-get-all-the-descendent-in-a-tree</guid>
	<pubDate>Tue, 23 Feb 2021 11:56:59 -0600</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/42909/perl-script-to-get-all-the-descendent-in-a-tree</link>
	<title><![CDATA[Perl script to get all the descendent in a tree !]]></title>
	<description><![CDATA[<code>use warnings;
use Bio::DB::Taxonomy;

#Rotifera 10190

# Get one from a NCBI taxonomy database
my $dbh = Bio::DB::Taxonomy-&gt;new(-source   =&gt; &#039;flatfile&#039;,
                                 -directory=&gt; &quot;taxdump&quot;,
                                 -nodesfile=&gt; &quot;taxdump/nodes.dmp&quot;,
                                 -namesfile=&gt; &quot;taxdump/names.dmp&quot;);

my $taxon = $dbh-&gt;get_taxon(-taxonid =&gt; 10190);
my @taxa = $dbh-&gt;get_all_Descendents($taxon);
foreach (@taxa) {print $_-&gt;id; print &quot;\n&quot;;}</code>]]></description>
	<dc:creator>LEGE</dc:creator>
</item>

</channel>
</rss>