rcedgar / newick

Manipulate and generate figures for trees in Newick format
GNU General Public License v3.0
18 stars 1 forks source link

newick -draw giving error #1

Open Vikash84 opened 2 years ago

Vikash84 commented 2 years ago

newick -draw core.newick -svg test.svg ---Fatal error--- tree2.cpp(836) assert failed: IsRooted()

rcedgar commented 2 years ago

if you post the newick file I'll take a look.

carolynzy commented 1 year ago

I have the same problem. The other commands seem working well.

This is my newick tree: NP_214621.nwk.txt

Please have a look. Thanks a lot!

rcedgar commented 1 year ago

-draw requires a rooted binary tree, this tree is binary but not rooted.

carolynzy commented 1 year ago

Thank you! Now it works.

Yang