ANU Home | HORUS | Staff Home | Students | RSBS
The Australian National University
Research School of Biological Sciences
    
Site Search
     
Advanced
Printer Friendly Version of this Document

TreeDis Version 2.0 (1998)

G. F. Weiller

A C++ consol program that finds the patristic distances between all taxa in a phylogenetic tree. The input file is a treefile in New Hampshire (default) or Njtree file format. The output is a full patristic distance matrix (default) or an upper-right / lower-left matrix.

System requirements TreDis.exe is an IBM-PC executable. The ansi C++ source code can be obtained from the author.

Usage:
tredis infile [outfile] [/n] [/t] [/e] [/f|u|l|o] [/?]

infile - filename of input file
outfile - filename for output file (default is terminal)
switches: (use in any order, only the first letter is required)
/Nj - infile is in njtree-format (default=New Hampshire-format)
/Taxa - write taxa (OTU) names at the beginning of outfile
/Entire - write entire tree length at the end of outfile
/Full - write full patristic distance matrix in table format (*default*)
/Upper - write only upper-right halfmatrix in column format
/Lower - write only lower-left halfmatrix in column format
/Omit - omit output of distance matrix
/? (or invalid parameters) - display this screen

Example 1:
tredis treefile

Use the file named 'treefile' in New Hampshire-format (as used in PHYLIP/PAUP) and print the full patristic distance matrix to the terminal.

Example 2:
tredis njtree.out patristic.dis /n /t /u /e

Use file 'njtree.out' in njtree-format (Saito/Nei) and print taxanames,

 


Download a copy of the program

 

Back to Top