TNT Script for Maximum Parsimony Analysis https://doi.org/10.5281/zenodo.8431529
Find a file
2023-07-19 19:47:57 +08:00
CMakeLists.txt polish: interactive function added 2023-07-17 05:35:19 +08:00
guoyi.run fix: select latest tree via tchoose/ 2023-07-19 19:47:57 +08:00
LICENSE Create LICENSE 2022-03-02 00:51:13 +00:00
README.md fix: readme using cmake 2023-07-18 16:42:35 +08:00
tnt2winclada.cpp fix: typo mistake 2023-07-17 15:41:22 +08:00

TNT Script used by Guoyi

The TNT script follows MIT and part of script is from setk.run belonging to Salvador Arias (Instituto Miguel Lillo, San Miguel de Tucumán, Argentina).

Usage

  • Place this script and your matrix tnt file filename under the folder that you call tnt or exe file is placed

  • Enter tnt

  • Enter command guoyi filename;

Functions

  • Estimate implied weighting K value.

  • Search trees via TBR Mult (1000 times) and Xmult (use random sectorial searches, produce 1,000 hits to best length and stop, 10 cycles of drifting, ratchet and fusing).

  • Perform Strict consensus.

  • Calculate Relative Bremer support, jackknifing (1,000 times), and bootstrap (1,000 times).

  • Map apomorphic characters on the consensus tree.

  • Calculate TL, CI, and RI.

Options

  • Results instructions are at the end of tnt.log.

  • trees.tre, resample.tre are trees with taxname.

  • trees_no.tre, resample_no.tre are trees without taxname.

  • nelsen can be replaced by majority.

  • xmult and mult replications and hold trees number can be adjusted.

  • winclada.tre can be transferred to the acceptable format for WinClada by tnt2winclada and the output file can be put into Winclada with your tnt matrix file filename for mapping apomorphic characters and homoplasy.

Cite

Cite this script is mandatory, list me (Guoyi Zhang) in your Acknowledgements is recommended.

TNT2WinClada

~|~|\ |~|~  ~)  |    |o._ |~| _  _| _ 
 | | \| |   /_   \/\/ || ||_|(_|(_|(_|

MIT, Guoyi Zhang, 2023

Function

Convert TNT output tree file without tags and taxname, e.g. winclada.tre produced by TNT script, to WinClada acceptable format tree.

Compile

Linux & Unix

mkdir -p build && cd build
cmake ..
make && make install

Windows

cl /EHsc tnt2winclada.cpp

Usage

tnt2winclada -i ${input_file} -o ${output_file}

Interactive commands are also available.

tnt2winclada

~|~|\ |~|~  ~)  |    |o._ |~| _  _| _ 
 | | \| |   /_   \/\/ || ||_|(_|(_|(_|
TNT2WinClada
MIT, Guoyi Zhang, 2023
please type help to see more commands

tnt2winclada> help
help			show interactive commands help
input <filename>	input a TNT output tree from the specified file
output <filename>	output a winclada accessible tree file
quit			quit the program
exit			exit the program

tnt2winclada>