by Rod Page (r.page@bio.gla.ac.uk)
|
Supertree is an experimental command line program for constructing supertrees. It implements Semple and Steel's algorithm MinCutSupertree (original and modified), as well as MRP coding. It can also compute cluster graphs. An early version is available online through the supertree server and TreeBASE. The program is in a very early stage of development, so expect bugs. Feedback is welcome. Future plans include adding a graphical user interface, perhaps by making the supertree program a "plugin" for TreeView X. |
The algorithm used in the supertre program is described here:
Page, R.D.. Modified mincut supertrees. Submitted to WABI 2002. [PS] [PDF].
Source for Unix/Linux boxes (supertree-0.3.tgz)
Executable for MacOS X (supertree.macosx.hqx)
Executable for Mac OS 8/9 (supertree.PPC.hqx)
Supertree can be compiled on a Unix machine using gcc 2.95.2 or later.
You will need a copy of the Graph Template Library. Install this before compiling supertree.
There are problems with automake/sed on Mac OS X, so the configure script for GTL won't work. To get around this, follow these steps
Alternatively,
there is a binary installer for GTL 1.1.0 for Mac OS 10.2.x ("Jaguar")
available to registered users of GTL.
The Supertree Server accepts tree files in either Newick or NEXUS format. The Newick format is simply a list of the trees in the standard nested parenthesis format,, one tree description per line. For NEXUS files the trees must all be in a single TREES block. For the example in Semple and Steel, the Newick file is
(((a,b),c),(d,e)); ((a,b),(c,d)); |
and the NEXUS file is:
#nexus [! Semple, C. and Steel, M. "A supertree method for rooted trees", Figure 1] begin trees; tree T1 = [&R] [&W 1] (((a,b),c),(d,e)); tree T2 = [&R] [&W 1] ((a,b),(c,d)); end; |
|
Simple example command lines include:
supertree -a0 -n s.nex TreeLib/steel.tre
This uses the original Semple and Steel mincut algorithm (a0) to build the supertree from the input file TreeLib/steel.tre, and outputs the result in NEXUS format to the file s.nex.
supertree -a1 -n s.nex TreeLib/steel.tre
does the same but uses a modified algorithm.
supertree -a0 -k s.tre TreeLib/steel.tre
would output a Newick tree description.
The output tree can be displayed in TreeView or TreeView X.
Supertree can output ST, ST/Emax, and cluster graphs in GML and .dot formats. GML files can be displayed by Graphlet (Windows, Linux, and Solaris), .dot format files can be displayed by AT&T's free Graphviz package (binaries available for most platforms). Pixelglow Software have a released a nice Mac OS X GUI to Graphivz. Command line versions of the GraphViz programs for Mac OS X are also available.
The supertree distribution also comes with a small script g2ps, which will generate Postscript files for all .dot files in the current directory using neato. The Postscript files can then be viewed using your system's Postscript viewer.
|
Rod Page's supertree server (uses an old version of supertree) Olivier Eulenstein's supertree server |
|
Joe Thorley's supertree bibliography Joe Thorley's supertree links |
|
AT&T's graphviz tools (including dotty and neato) |
$Id: index.html,v 1.2 2003/01/23 11:43:01 rdmp1c Exp $