Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 247 Bytes
from dendropy import *
from sys import *
taxa=TaxonSet()
tlist=TreeList.get_from_string("((A,B),(C,D));((A,C),(B,D));((A,D),(B,C));","newick")
for idx, tree in enumerate(tlist):
print tree.as_ascii_plot()
tree.calc_node_ages()
print
You can’t perform that action at this time.