[Bioperl-l] Bio::Tree::Node set root_node

Jason Stajich jason.stajich at duke.edu
Fri Sep 16 10:34:21 EDT 2005


There is a reroot function you can use - documented in  
Bio::Tree::TreeFunctionsI

I believe it is covered in the HOWTO as well.

Let us know if you still have questions.
-jason

On Sep 13, 2005, at 6:06 AM, Filipe Garrett wrote:

> Hi all,
>
> I have a Bio::Tree object:
> ((GA11747-PA_dpse:0,(Obp8a-PA_dmel,SIM12665-PA_dsim:0):0):0);
> where the initial branch only has one descendant.
>
> How can I eliminate the first branch?
> Can I just re-set the descendant as root node?
>
> Thanks in advance,
>
> Best regards,
>
> FG
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>

--
Jason Stajich
Duke University
http://www.duke.edu/~jes12




More information about the Bioperl-l mailing list