Entering edit mode
5.1 years ago
Any idea why ETE Toolkit (ete3) throws an error while parsing the following Newick tree:
((((A,B),C),(((D,E),F),(((((G,H),I),J),K),L)))(M,N));
from ete3 import Tree
s = '((((A,B),C),(((D,E),F),(((((G,H),I),J),K),L)))(M,N));'
t = Tree(s)
The error message:
ete3.parser.newick.NewickError: Broken newick structure at: G,H),I),J),K),L)))
You may want to check other newick loading flags like 'format' or 'quoted_node_names'.
I also tried loading the tree with all the format flag (and values from 0 to 9).