-
Notifications
You must be signed in to change notification settings - Fork 33
Description
I'm trying to load a Newick file that is in format 1 (internal nodes have names and branch support values). The tree was generated by iqtree2 (time tree).
Does BALTIC support this?
I am encountering the following error:
Traceback (most recent call last): File "analysis_with_baltic.py", line 6, in <module> bt.loadNewick(tree_path) File "/Users/kevinkuchinski/mambaforge/envs/tree_grapher/lib/python3.8/site-packages/baltic/baltic.py", line 2052, in loadNewick ll=make_tree(l[treeString_start:],verbose=verbose) ## send tree string to make_tree function File "/Users/kevinkuchinski/mambaforge/envs/tree_grapher/lib/python3.8/site-packages/baltic/baltic.py", line 1834, in make_tree assert (stored_i != i),'\nTree string unparseable\nStopped at >>%s<<\nstring region looks like this: %s'%(data[i],data[i:i+5000]) # Ensure that the index has advanced; if not, raise an error indicating an unparseable string AssertionError: Tree string unparseable Stopped at >>N<< string region looks like this: Node25/99:0.000104504)Node7/50:0.000516243,(R3820335789|2024-10-03:0,EPI_ISL_19533305|2024-10-07:4.18014e-05)Node41/99:0.000463992,EPI_ISL_19751739|2024-10-17:0.000610297,((R382048714