Posted on Sept 23, 2011
If you have a dataset with several partitions (morphological and molecular data or several gene sequences) and you want to calculate the Partitioned Bremer Support (PBS) values for nodes using the Cladistic software TNT, you may want to try out my pbsup.run script.
It seems that there is more than one way to calculate Bremer support and Partitioned Bremer Support values. This script uses the methodology proposed by:
Gatesy, J. et al. 1999. Cladistics, 15, 271-313. doi:10.1111/j.1096-0031.1999.tb00268.x
This script was first used in our paper:
Peña, C., Wahlberg, N., Weingartner, E., Kodandaramaiah, U., Nylin, S., Freitas, A. V. L., & Brower, A. V. Z. (2006). Higher level phylogeny of Satyrinae butterflies (Lepidoptera: Nymphalidae) based on DNA sequence data. Molecular Phylogenetics and Evolution, 40(1), 29-49. doi:10.1016/j.ympev.2006.02.007
Please cite it if you find the pbsup.run script useful.
*
Download the last version of the script [Updated Feb 2012]: pbsup.run
* An early version of the script can be found at the TNT website:
http://www.zmuc.dk/public/phylogeny/TNT/scripts/pbsup.run
- Your data should be in a file named
dataset.tnt
- Each of your partitions should be in a different "block". It doesn't work if you have all your partitions in one continuous line. Thus, your data should be interleaved. It is important to precede each block with
&[dna] or &[num] (if your partition is molecular data). Something like this:
nstates dna
xread
'Exported by .......'
4494 95
&[dna]
Aus_sp1 ACTAGACAGGATTA
Aus_sp2 AGCAGAGCCAATAA
...
...
&[dna]
Aus_sp1 AACTTATATTGATAGCA
Aus_sp2 AAGACGATAGACAGTAT
...
;
proc/;
- Find all your most parsimonious trees and save them in parenthetical notation in a file named
alltrees.tre -> Commands: tsave *alltrees.tre; save; tsave/;
- Calculate a strict consensus tree and save it (Commands:
nelsen*; tsave *base.tre; save/; tsave/;) in a file named base.tre
- All files (including the script
pbsup.run should be in the same folder.
- Enter TNT and type in the command line:
pbsup N;
N is the number of partitions you have in your dataset.
- When the script is done, you will see a new file
pbs.out which is actually the strict consensus tree with the Partitioned Bremer Support values attached to their respective node.
- To see the tree and PBS values, enter TNT, open your dataset, load your
pbs.out tree (Command proc pbs.out) and type the command ttag; or selecting Trees/MultipleTags/ShowSave if you are using the windows point and click version of TNT.