/programs/TreeTool 28-APR-1994 TREETOOL Created by Mike Maciukenas Modified and maintained by Mike McCaughey Ribosomal RNA Database Project University of Illinois Report bugs to mrmike@geta.life.uiuc.edu Treetool is an interactive tool for displaying, editing, and printing phylogenetic trees. The tree is displayed visually on screen, in various formats, and the user is able to modify the format, structure, and characteristics of the tree. Trees may be viewed, compared, formatted for printing, constructed from smaller trees, etc... Treetool works with Newick format tree files (Paup and Phylip compatible). It handles multifurcating trees, branch lengths (evolutionary distances), rooted/unrooted trees, and multiple trees per file. It can print to a PostScript printer, or output PICT graphics for Macintosh drawing programs (MacDraw). Treetool 2.0.1 is available in binary form for Sun Sparc machines (Sun 4's) and in source form. Treetool requires X-windows (from MIT), and the Xview toolkit (from Sun Microsystems). Both are free (copyrighted) software, available readily from a number of sources (both are available by anonymous ftp to export.lcs.mit.edu). Changes in 2.0.1 include a fix for the edit menu bug and the color postscript printing bug. The documentation has been updated. Source and binary are now both distributed in the same file with appropriate fixes to the Makefiles. Installation: 1. Get the Treetool distribution from the server: "treetool.tar.Z" 2. Unpack and untar the file: uncompress treetool.tar.Z | tar -xvf - 3. Sun Sparc users can use the binary directly. Change directory into the treetool release directory: cd treetool_release and copy the executable to the desired location: cp treetool /usr/local/bin (or wherever you want it) 4. Everyone else needs to create an appropriate binary. Edit the Makefile in the top level directory and set XVDIR to point to your xview directories. This is set correctly for SunOS OpenWindows users in the distribution version. You can then run make by typing: make in the top level directory. Install the binary as in step 3. above. Note: Compilation defaults to cc; this has not been tested with gcc. 5. Copy the font map file to the desired location. cp font_map /usr/lib/font_map (or wherever you want it) To run treetool, the program and the font_map file must be present. Treetool looks for the font_map in several places, in the order specified below: 1. $TREETOOL_FONTS First it will look for the file named in the environment variable TREETOOL_FONTS. 2. $HOME/.font_map Second, it will look for the ".font_map" file in the user's home directory. 3. $HOME/font_map Third, it will look for the "font_map" file (no leading '.') in the user's home directory. 4. /usr/lib/font_map Fourth, it will look for the "font_map" file in the /usr/lib directory. If you get an error message like "Could not open font file, only Helvetica-12 font will be available", you've forgotten to install the font_map. Please send bug reports, comments and complaints to mrmike@geta.life.uiuc.edu.