gravatar for fhsantanna

3 hours ago by

Brazil

I want to open the following nexus file in Figtree: we.tl/t-AYsbwPhOr1

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 = "example.nexus")

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

Traceback:

  1. treeio::read.beast(file = "example.nexus")
  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