figtree
figtree copied to clipboard
Number format error in reading a newick tree from SUMTREES
Hi all, I have a newick tree produced by SUMTREES (dendro.py package) - result.tre.txt (attached). FigTree cannot read it and returns the following error: Number format error: For input string: "0.00833... What should I change in this txt file to make it readable? result.tre.txt
The solution is either to delete all square brackets [ ] and text between them, or convert the newick file in the nexus format via:
dendropy-format \ --from newick \ --to nexus \ result.tre > result.nex
Thanks to Jeet Sukumaran for help.
Thanks for updating your question with how you solved it. However, what should I do if I want to display the bootstrap values from the bootstrapped tree from RAxML which has the format "0.00833[98]"? I tried deleting the brackets and adding a colon before the bootstrap value but then Figtree says my tree is missing a closing bracket ")"
I have no idea what to do... I want to display my bootstrap values. Thanks in advance for any help...
Best,
A