Hello Fellow Researchers,
I have recently been working with TNT to conduct a series of phylogenetic analyses with a large morphological data set that I have assembled over the past few years. However, I have been encountering some difficulty with exporting my labeled strict consensus trees into a Nexus-formatted file that I can load into other programs for downstream analyses.
My method so far has been to conduct a traditional search with TBR, first using Wagner trees, then using trees from RAM to account for overflow, when applicable. I have then saved the resulting tree sets as .tre files using the GUI in open parenthetical format, closing each file after saving, and then calculated the consensus trees with node supports and the consensus tree with Bremer supports in separate instances of TNT.
For each consensus tree with node supports, I open my saved .tre file, use the GUI to calculate the strict consensus tree, save the strict consensus tree to RAM, and then use the command tchoose / to select the strict consensus tree. I then use the command ttags = to store tree tags, resample the strict consensus to calculate and save absolute and GC frequencies, and then export using the command export < [FileName.nex].
For each consensus tree with Bremer supports, I open my saved .tre file, use the command ttags = to store tree tags, use the GUI to calculate and save absolute and relative Bremer supports (stored using the "Show / Save Tree Diagram" option), and use the GUI to calculate and save the Bremer consensus tree (stored using the "Save to RAM" option). I then use the commands tchoose / to select the the tagged Bremer consensus tree, and then export using the command export < [FileName.nex].
This procedure successfully generates Nexus files containing tagged trees that I can then reopen in TNT. However, my problem is that I cannot seem to open these files in most of the other programs that I have tried, including Figtree, R (using packages like ape and phylobase), and TreeView. I can open them partially in Mesquite, but many taxa end up being pruned, I suspect somehow owing to how the files are internally formatted.
I have tried troubleshooting this issue by running smaller versions of my analyses using the same data set and the same procedure, and from doing so have found that the number of stored and saved trees used to calculate the consensus tree does not seem to influence the readability of the Nexus file. I have also tried using different export commands, particularly export - and export >, neither of which produce files with better readability (but the latter of which produces files that throw up a different error when attempting to open in Figtree). I have also attempted to use the ttags ) command prior to exporting the Nexus files, but this does not influence readability of the output files either.
I need to use my tagged trees to produce figures and to conduct downstream analyses such as calculations of stratigraphic consistency and character mapping, so any advice on how to export these trees in a format that can be read by other programs would be very much appreciated. Please let me know if you have any suggestions that may work!
Thank you!