Question: Phylogenies: Is PAUP compatible with ETE 3?
gravatar for joreamayarom
3.5 years ago by
joreamayarom130 wrote:

I have just produced a NJ tree using PAUP and a piece of code that looks like this(Which Software Can Be Used To Build Nj Tree With Gtr+I+G Model?, my main reason to use PAUP is explained in the same post). PAUP capabilities to plot trees are relatively limited and since it stores the trees in *.tre format by default, is there a way to export my output trees in a different format like Newick, or one that is fully compatible with ETE 3 and other programs used to visualize trees?

trees paup phylogenies • 946 views
ADD COMMENTlink modified 3.5 years ago by Brice Sarver3.5k • written 3.5 years ago by joreamayarom130
gravatar for Brice Sarver
3.5 years ago by
Brice Sarver3.5k
United States
Brice Sarver3.5k wrote:

There are two (major) formats in which trees are stored: Newick/New Hampshire/parenthetical and NEXUS. Confusingly, both can use the .tre extension. Because PAUP* and other programs exclusively use NEXUS and others use Newick, there are a lot of ways to convert between them. You can write your own in a variety of languages. Here's a quick, three-line snippet in R:

a <-"your_tree.nex")
#can be used to write any object of class 'phylo' or 'multiphylo'
write.tree(a, file="your_tree.phy")

#and, for reference, to write in NEXUS:, file="your_tree.nex")
ADD COMMENTlink written 3.5 years ago by Brice Sarver3.5k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1596 users visited in the last hour