From TNT

Revision as of 20:12, 28 March 2012 by Sacatalano (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

See also How do I run a script?, Scripting Help and Scripting Commands.

Script archive

When using the script template on the wiki do not leave semicolons (;) alone on a line, they will not be correctly rendered.

Click on the title to see further explanation, including required parameters.

title usage/function/purpose script file(right-click, save as)
Bremer support Calculates Bremer support. Easy to use given its nice interactive window.
Partitioned Bremer support Calculates partitioned Bremer support. By Carlos Peña.
aquickie A script to perform a simple one-shot analysis, ideal for new or lazy TNT users . This runs a simple analysis with a search for most parsimonious trees (or asks whether you want to do a consensus estimation, if the data set is large), then calculates group supports using resampling.
stats Calculates RI and CI. [NOTE added by Nick Matzke: seems to crash if you have more than about 400 trees in memory. i.e. after "hold 400; mult 100 =tbr drift ;" works, but after "hold 500;" it doesn't.]
TTS Calculates the number of three-taxon statements implied by the first tree that are true on the second tree.
Term lengths This script finds the taxa which increase tree length the most (reporting ties when they exist).
RF_Distances This script calculates the Robinson-Foulds distance between two trees given as arguments
Implied_weighting This script defines a (user-defined) number of K, under implied weighting (IW), that produce even intervals of fit/distortions, analyzes the matrix under IW using these values of K, and make some comparisons between the results obtained under different K-values (to evaluate stability of results across evenly differing analytical conditions). More details in Mirande (2009)
LandschW This script allows to run searches considering (exclusively) landmark data. It generates a Wagner tree (RAS) and swaps it using TBR. It receives only one argument, that is the level of thoroughness of the analysis ( 0 is the lowest, 4 is the highest). If no argument is given the script will run a seach departing from a single Wagner tree and considering the current settings for landmark optimization. (This scripts replaces the original script where each run departed for a random tree)
Landcombsch This script allows running tree searches combining landmark data with other sources of evidence. Each replicate starts from a Wagner tree (RAS)followed by TBR. Only a single optimal tree is kept in memory.

You should specify one argument: 1st = strength of the search (modifies the number of replicates and precision in landmark optimization(0: lowest (fast) , 4: highest (slow). Default = 0)
export_tps This script export to TPS format the landmark coordinates of terminals and inner nodes of the first tree in memory. It produces one file for each lm configuration. Besides it generates a tree drawing with the numbers of the inner nodes corresponding to the names given in the TPS file
mytaxo This is the script used in Goloboff et al., 2009. See paper for details of usage. The script checks groups (calculating their fit on multiple trees), also finding taxa to prune to improve groups. First argument is max. depht, second argument is group to improve (both are optional). It stores taxa to prune in group 31 (if doing only a group, it stores taxa to cut to improve that group, to the level specified)
colorgroups This is the script used in Goloboff et al., 2009. The script (for Windows only) will take a list of taxa and automatically produce color diagrams displaying the groups. If you wish to use the same color code for several separate groups, you can separate the groups to be given similar color with a plus and a colon, and the groups to be given different colors with blank spaces; for example:

colorgroups _Araneae_+:_Nematoda_ _Diptera_+:_Porifera_

will give spiders and nematodes one color, and sponges and flies another. The figures produced with this script can be exported as metafiles.
blens This macro plots phylograms
dohi This is the script used in Goloboff et al., 2009.It takes as argument the name of a group, so that:

dohi _Mammalia_;

will find the group in the tree most similar to ‘‘Mammalia’’, and display it on screen (counting the number of non-members included, and of members excluded).
blockboot performs Siddall's (2010) partition bootstrap
blockjak performs Siddall's (2010) partition jackknife
Codonweight allows reweighting of 1st, 2nd and 3rd positions for a scope of characters
ILD Incongruence Length Difference Test of Farris et al 1995
deactmiss Deactivate taxa with a given amount of missing data
excludemiss Excludes characters that are missing for a given percentage of taxa
forall Finds all files (recursively traveling subdirectories) which match a file name.
example An example script/template that can be copy pasted for other scripts presented here. none'
Personal tools