2

I am working on phylogenies by using Python libraries (Bio.Phylo and DendroPy).

I have to import 2 trees in Newick format (this is obviously not the difficult part) and join them together, more precisely I have to add one tree at one tip/leaf of another.

I have tried with add_child and new_child methods from DendroPy, but without success.

How would I solve this issue?

4

1 回答 1

0

无需求助于任何比编辑器更高级的东西,您就可以在 tree1 中找到您的“提示”并在该点插入 tree2 字符串。(作为嵌套集和所有)

于 2016-03-23T03:55:37.453 回答