Scripts
From TNT
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. | Bremer.run | |||
| 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. | aquickie.run | |||
| stats | Calculates RI and CI. | Stats.run | |||
| TTS | Calculates the number of three-taxon statements implied by the first tree that are true on the second tree. | TTS.run | |||
| Term lengths | This script finds the taxa which increase tree length the most (reporting ties when they exist). | Term_lengths.run | |||
| RF_Distances | This script calculates the Robinson-Foulds distance between two trees given as arguments | RF_Distances.run | |||
| 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 to be published soon (and cited here). | Implied_w.run | |||
| Landsch | This script allows to run searches considering (exclusively) landmark data. The scripts generates a random tree 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 three different random trees and considering the current settings for landmark optimization. | Landsch.run | |||
| 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 | export_tps.run | |||
| 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) | mytaxo.run | |||
| colorgroups | This is the script used in Goloboff et al., 2009. The script colorgroups.run (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. | colorgroups.run | |||
| blens | This macro plots phylograms | blens.run | |||
| 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). | dohi.run | |||
| blockboot | perform Siddall's (2009) partition bootstrap | blockboot.run | |||
| blockjak | perform Siddall's (2009) partition jackknife | blockjak.run | |||
| example | An example script/template that can be copy pasted for other scripts presented here. | none' |

