[Bioperl-l] How to Remove root node from a tree, ???
bix at sendu.me.uk
Wed Apr 11 09:21:25 EDT 2007
kenzy ken wrote:
> Hi all:
> I write a script which used the Bio::Tree module. I want to remove some
> nodes from the tree, so I used "$tree->remove_Node($node_object);method
> . It
> works ok, but when I remove root node, problem happened. It seens that this
> method can not remove root node, so ,if you guys have any idea about how to
> remove the root ,it will be very appreciated.
You'll have to re-root the tree to some other node in the tree. See the
(I don't think Bio::Tree::Tree objects can be unrooted.)
More information about the Bioperl-l