Hi,
I think I found an issue with the method set_root_below in the last version of Bio::Phylo available on CPAN. I attach a minimal working example that illustrates my point: root-bug-bio-phylo.tar.gz.
Basically, when repeatedly re-rooting a tree, old roots remain available through both get_entities and get_internals, which prevents proper analysis of the rooted tree.
I did try to debug it myself for a couple of hours, but the whole point of using Bio::Phylo is to avoid worrying about the nitty-gritty details of its internal representations. :-)
Moreover, if you look at the rooted trees written on the disk, you will notice that some existing node names (and I guess attributes if any) are not transferred after rooting as one would expect when rerooting trees in a visual way.
Please get in touch if you need more information.
Best,
Denis
Hi,
I think I found an issue with the method
set_root_belowin the last version ofBio::Phyloavailable on CPAN. I attach a minimal working example that illustrates my point: root-bug-bio-phylo.tar.gz.Basically, when repeatedly re-rooting a tree, old roots remain available through both
get_entitiesandget_internals, which prevents proper analysis of the rooted tree.I did try to debug it myself for a couple of hours, but the whole point of using
Bio::Phylois to avoid worrying about the nitty-gritty details of its internal representations. :-)Moreover, if you look at the rooted trees written on the disk, you will notice that some existing node names (and I guess attributes if any) are not transferred after rooting as one would expect when rerooting trees in a visual way.
Please get in touch if you need more information.
Best,
Denis