A multitude of molecular evolution programs produce phylogenetic trees and almost universally save them in one of two formats: Newick or NEXUS. Similarly, a variety of tree viewing and printing programs exist for most major operating systems (see Joe Felsenstein’s list). Outlined below are the two treefile formats and instructions for ensuring that PAUP* saves in both NEXUS and Newick format.
Newick format is the treefile format used by GARLI, MrBayes, PAUP*, PHYLIP, PROTML, TREE-PUZZLE, and several other programs. Very few programs cannot read or import this treefile format. However, Newick is the only treefile format readable by the PHYLIP programs drawgram, drawtree, and retree. Here is an example Newick format treefile contents:
NEXUS format incorporates Newick treefile formatting along with other commands relevant to other programs such as PAUP*. While many tree viewing programs can handle NEXUS, those of the PHYLIP package cannot. When saving trees in PAUP*, be sure to save them in both NEXUS and Newick format. Here is an example of PAUP* command lines for saving both formats:
savetrees file=BestMLtree.nex brlens format=nexus;
savetrees file=BestMLtree.phy brlens format=phylip;
Begin trees; [Treefile saved Wed Jul 26 19:40:41 2000] [output from your data run] Translate
tree PAUP_1 = [&U] (1,((2,3),((((4,10),(5,8)),(6,9)),7)));
If you need to convert a NEXUS treefile to a Newick treefile, PAUP* should be able to do the conversion. However, to do so you will need to load your alignment data, replicate exactly the settings used when the first treefile was saved (eg. outgroups, excluded taxa or sites, substitution model, etc), load the first treefile and resave it in PHYLIP format.