Error when reading .tre file

18 views
Skip to first unread message

Elihu Guzman Arroyo

unread,
Oct 27, 2026, 5:38:27 PMOct 27
to TNT-Tree Analysis using New Technology
Hello everyone, I'm having an issue when trying to read a .tre file through the GUI.

I made my analysis and saved the consensus tree (with two taxa pruned) using File > Tree save file > Open parenthetical. Now I wish to check the trees (whole new TNT session) but when I upload the matrix and go over File > Open input file > .tre it says "Error parsing commands", "Taxon -1 repeated", pointing out to the first parenthesis of the tree, just after the tread command.

I have checked the tree and the taxon appears only once in the tree, the names are exactly the same in both the .tre and the .tnt files, the topology does not have any parenthetical issue, and the format itself of the .tre is fine. Do you know what could be causing this error? Any help will be greatly appreciated.

Regards.

J. Salvador Arias

unread,
Oct 28, 2026, 10:39:25 AMOct 28
to tnt-tree-analysis-u...@googlegroups.com
Hi Elihu,

I have the same error sometimes, and maybe it is the same case as
yours. I got this error when one of the taxon names was a prefix of
another taxon name. For example, TNT will produce the "repeated taxon
error" when you read a tree that has a taxon called "Pathera" and
another "Pan." The workaround I use is to break the prefix by adding
additional stuff to the smaller name, for example, using
"Pan_paniscus" instead of "Pan."

Hope this helps,
salva


On Tue, Oct 27, 2026 at 4:38 PM 'Elihu Guzman Arroyo' via TNT-Tree
Analysis using New Technology
> --
> Has recibido este mensaje porque estás suscrito al grupo "TNT-Tree Analysis using New Technology" de Grupos de Google.
> Para cancelar la suscripción a este grupo y dejar de recibir sus mensajes, envía un correo electrónico a tnt-tree-analysis-using-n...@googlegroups.com.
> Para ver este debate, visita https://groups.google.com/d/msgid/tnt-tree-analysis-using-new-technology/7c9fb724-b2ed-4856-8bfd-12181120647en%40googlegroups.com.



--
J. Salvador Arias
Laboratorio de Genética Evolutiva,
Instituto de Biología Subtropical (CONICET-UNaM),
Facultad de Ciencias Exactas, Químicas y Naturales,
Universidad Nacional de Misiones,
Félix de Azara 1552,
Posadas (3300), Misiones, Argentina

Elihu Guzman Arroyo

unread,
Oct 28, 2026, 3:01:12 PMOct 28
to tnt-tree-analysis-u...@googlegroups.com
Hi Salvador, thank you for responding. I checked and the problem was related with single quotes surrounding character names :)

Now it's working fine

—

Elihu Misael Guzmán Arroyo

Paleobiólogo, paleoilustrador

Universidad Central, Bogotá, COL





Reply all
Reply to author
Forward
0 new messages