FAQ
From TNT
This is very much a work in progress. Please add/edit as you see fit. We are particularly interested in treating questions not covered in the official site.
Input
What kinds of data can TNT use to build a phylogenetic tree?
- Any character with up to 32 states (ordered or unordered)
- Aligned sequence data (Nucleotides and Aminoacids)
- Continuous characters
- Landmark data
Where can I find simple examples of matrices in legal TNT format?
- for continuous characters. Go here
- for ordered characters Go here
- for an interleaved matrix with all of continuous, molecular, and standard characters Go here
Can I make an interleaved matrix with only partially overlapping sets of terminals in each interleave?
- ??
Why won't TNT read the file on my Windows desktop?
TNT is fussy, and can't(?) handle spaces in path names. Create a new folder in a path that doesn't contain spaces (like C:\data) and load your input files from there.
Can TNT align my sequence data?
No. If you load a fasta with uneven number of nucleotides in each sequence,TNT automatically fills the shortest sequences with gaps at the end. Hence it is NOT an alignment.
Can TNT read FASTA formatted files?
For most versions/builds yes. This is apparently not available for the Mac-OS-X build (1.1, December 2007).
Can TNT read Nexus file?
Yes, but just a plain Nexus file. If you have a nexus file obtained from Mesquite, Tree base or other sources, it is possible that TNT will have problems to read it. One possible solution is to open the file in PAUP and then export it again in Nexus format, From the PAUP command line use:
export format=nexus;
Another possibility is to open it in Mesquite and export it in Nona format that is very similar to TNT format. The PAUP export trick does not appear to work on the PPC version.
How does TNT treat inapplicable (e.g. scored "-"), versus missing ("?") states as coded in morphological matrices?
TNT treats both in the same way: it adds no steps to the tree irrespective of the possition of the taxon that bears it.
I can't find the command line in Windows version. Where is it?
It is at the bottom of the window. If you do not see it go to File tab and click on Command line
Can I concatenate matrices in TNT format from different files?
First make sure that your Data format is set to DNA (Windows GUI) via Format->Data format->DNA. Then do File->Merge data files. Provide a filename for the new file that will contain the merged data and click Save. After this shift click the files you want to merge (2 or more) and click Open. The data are then checked and saved into the new file.
Can I concatenate matrices in FASTA format from different files?
You'll have to read the files from the command line with proc &my_file one a time, then save them in TNT's "native" format. Then follow the steps above.
Do concatenated matrices need to have identical sets of terminals?
No. The terminals have to be named identically in each block, though. Terminals not included in a block are considered to have missing entries for each of the characters in the block.
Analysis
Scripts sound useful, but how do I run them?
I am using an exact solution in PAUP* and TNT. Why does TNT find fewer trees than PAUP*?
TNT (by default) collapses the trees more strictly than PAUP* (by default). If you set collapse rule 3 in TNT you will get results comparable to the default of PAUP, and if you set "Pset collapse=minbrlen" in PAUP*, comparable to the default of TNT.
Does TNT perform maximum likelihood (ML) analyses?
No.
How do I know if I have found the shortest trees?
Unless you run an exact search, you don't.
Are there ways to minimize the chance of me not finding the shortest trees?
For starters you might see the pages on determining search parameters.
How do I calculate the CI for a given character?
If macros are enable (Macro=), the command minsteps gives you the numerator to calculate the CI. The denominator is the length of the character on the tree that can be obtained with the command cscores
How do I calculate the composite CI and RI for my dataset?
This script will provide these statistics.
How do I report the characters with the most homoplasy (including ties) for a given tree?
The command chomo reports the homoplasy for each character of a given tree. If you want the character with the most homoplasy you can either ask the program to give the homoplasy for every character how?, or, alternatively you can automate that writing a simple script.
How do I calculate a majority rule and strict consensus from a given set of trees?
Can I tell TNT to exclude terminals with less than some % of the data coded?
For example I might want to analyze a subset of the data with more than 80% of the matrix coded. needs to be written
How do I determine which individual terminal adds the most length to the tree (number of steps, reporting ties if they exist)?
Here is a script to do that: termlens
How can I calculate the RF distance between two topologies?
TNT does not do RF distances directly, but it can be done by counting the nodes in trees produced by the tcomp command. Here is a script to do it.
I found a small set of trees using NT methods, how do I check for other optimal trees of the same length? I.e., how do I swap on an existing set of trees, retaining all trees in memory?
See Commands/bbreak
I found a set of trees using NT methods, how do I maintain these trees in memory and perform another NT search such that both results are available after its conclusion?
using xmult, do I need to save the trees to file?
How do I find "jumping" terminals? I.e. terminals that move from clade to clade in a set of equally optimal solutions (thus causing poor resolution in a nelsen tree)?
See here
How do I calculate an Adams' consensus?
TNT can not calculate Adams' consensus trees.
Output
I generated trees in a command line version of TNT, what's the easiest way to visualize them graphically?
You can use treeview
Can TNT export Newick formatted trees?
Not directly, but you can export them in Nexus format, and see below for converting them.
How can I view Newick trees in a graphical format?
- FigTree
- TreeView
- Dendroscope (http://www-ab.informatik.uni-tuebingen.de/software/dendroscope)
- others?
Can I map characters to trees or nodes prior to exporting them such that programs like FigTree or Mesquite can display annotated nodes/branches?
??
How do I save a consensus tree?
The command nelsen has the option of keeping the consensus as the last tree in memory (nelsen* ). Once you do that you can open a tree file and save the last tree in memory in that file (save/). Finally you have to close the file (tsave/). Alternative, you can click the box "save to ram" in the Tree/Consensus menue and then open, save and close the tree file accesing by the File menue.
How can I export trees then convert them to Newick format?
First generate trees, or have trees in memory, then:
taxname=; tsave *my_filename; save; tsave /;
Then open the file in a text editor, do the following search and replaces (in order):
- replace any * at the end of the lines with ";"
- replace all whitespace with commas
- replace ")(" with "),("
- replace ",)" with ")"
- if you are using vi/vim to do these replacements use s/\s/,//g then s/)(/),(//g then s/,)/)/g
- delete all lines that don't contain a tree string
The file should now be readable in FigTree.
Error messages
When opening a file I get Found alien symbol for taxon 0 ...?
If you have DNA data you may need to set the Format to DNA through the Data->Format->Data format menu.
The TNT Wiki
This wiki changes a lot, can I keep track of changes some how?
Click on Special:RecentChanges then in the toolbox click on 'RSS'. If you're using Firefox you'll be presented with some options that allow you to create a dynamic bookmark that periodically updates itself with pages that have been recently updated.

