gravatar for fhsantanna

3 hours ago by


I want to open the following nexus file in Figtree:

However, I am getting the following error:

"Error reading tree file:
Number format error: For input string: 0.006486150556156645)NODE_0004110

In R, I got the following error:

nexus <- treeio::read.beast(file = "")

Error in FUN(X[[i]], ...): numbers of left and right parentheses in Newick string not equal


  1. treeio::read.beast(file = "")
  2. read.stats_beast(file)
  3. read.stats_beast_internal(beast, trees)
  4. read.tree(text = tree)
  5. lapply(STRING, .treeBuild)
  6. FUN(X[[i]], ...)

I was not able to identify the problem of the nexus file generated by auspice. Could you give me a clue?
I need the data between the brackets, because I have to color the tree according to the "localidade" variable.

Source link