Hi everybody!
I am trying to use tax2tree, but each time I get the following error message:
cogent.parse.record.RecordError: Didn't get back to root of tree.
My tree was generated using FastTree and contains the GG13_5 reference sequences (91% OTU reps) in combination with roughly 1,000 query reads with custom sequence identifiers (which are not in the taxonomy file unlike the reference seqs). Does anyone has an idea why this is happening and how to solve this?
The full output that gets printed to the screen:
ubuntu@ip-172-31-23-229:~/tax2tree-v1.0$ nlevel -t tests/data/GG91_lane.tree -m tests/data/91_otu_taxonomy.txt -o GG91_lane_mettax
Traceback (most recent call last):
File "/usr/local/bin/nlevel", line 103, in <module>
main()
File "/usr/local/bin/nlevel", line 72, in main
tree = load_tree(open(opts.tree), tipname_map, opts.verbose)
File "/usr/local/lib/python2.7/dist-packages/t2t/nlevel.py", line 119, in load_tree
tree = DndParser(input)
File "/usr/local/lib/python2.7/dist-packages/cogent/parse/tree.py", line 166, in DndParser
raise RecordError, "Didn't get back to root of tree."
cogent.parse.record.RecordError: Didn't get back to root of tree.
Kind regards