Hi Ziqi,
Trying to plot the sequence alignment as per manual, code from the provided example.
I'm getting this "ValueError: Algorithm can only work with binary trees"
How do I solve this problem?
Suggestions appreciated
I labeled the species name (ex. Aven_001)
I attached the file PFA.
Best,
Sunny
Traceback (most recent call last):
File "align1.py", line 49, in <module>
t, ts = get_example_tree()
File "align1.py", line 43, in get_example_tree
recon_tree, events = genetree.reconcile(sptree)
File "/home/sunn/data/softwares/ete-3.1.2/ete3/phylo/phylotree.py", line 479, in reconcile
return get_reconciled_tree(self, species_tree, [])
File "/home/sunn/data/softwares/ete-3.1.2/ete3/phylo/reconciliation.py", line 108, in get_reconciled_tree
raise ValueError("Algorithm can only work with binary trees.")
ValueError: Algorithm can only work with binary trees.