Question: Which software can be used to visualize phylogenetic trees with a large number of OTUs (e.g. 50,000)
3
gravatar for Sishuo Wang
3.5 years ago by
Sishuo Wang50
The University of British Columbia
Sishuo Wang50 wrote:

I am wanting to visualize a tree with more than 50,000 OTUs and save it as an image. Which software would be suitable? I have tried MEGA but it failed at this point. It seemed that FigTree also worked slowly since the tree is so big.

ADD COMMENTlink modified 3.5 years ago • written 3.5 years ago by Sishuo Wang50

Pointers are in similar question: What Is A Good Phylogenetic Tree Display Program For Large Data Sets? 

ADD REPLYlink written 3.5 years ago by Pawel Szczesny3.2k
4
gravatar for jhc
3.5 years ago by
jhc2.5k
Germany
jhc2.5k wrote:

The ETE toolkit might help you. You have different options:

  1. Collapse the tree before drawing, so the shown tree is easy to handle. Note that ETE will allow you to search and for target nodes, collapse them and save information about the content of each collapsed branch. The ETE GUI will allow you to click and inspect your node annotations) 
  2. Split the tree in parts, so you can inspect each of them separately 
  3. Draw the whole tree as a PNG image: Only the general structure of the tree will be recognisable, so it makes no sense to print text or very elaborate information in the image. However, ETE will be perfectly capable of producing images for trees this large and you can always play with color lines, background, collapsed regions, branch scale, etc... so your  figure is somehow readable and fits your purposes. I attach a simple img generation script that I have tested with a random tree of 50,000 tips. It took 60 secs and 5G of RAM in an average linux machine, and generated this output:

 

  

None of this options will allow you to browse the tree interactively and as a whole. This is a main line of development in ETE, but currently I only have alpha versions of the software to do this type of things.

 

import sys
from ete2 import Tree, TreeStyle, random_color
def clean_ly(node):
    node.img_style['size'] = 0

t = Tree()
t.populate(int(sys.argv[1]), random_branches=True)
ts = TreeStyle()

# set a clean view for the tree
ts.show_leaf_name = False
ts.mode = 'c'
ts.layout_fn = clean_ly

# Drawing text will be useless in such a big trees. Perhaps colors indicating
# different regions of the tree
c1 = random_color(l=0.7)
t.children[0].img_style['bgcolor'] = c1
c2 = random_color(h=0.4, l=0.7)
t.children[1].img_style['bgcolor'] = c2

# fix a reasonable size for the image, so tree is scaled to it
t.render('test.png', w=1600, units='px', tree_style=ts)
ADD COMMENTlink modified 3.5 years ago • written 3.5 years ago by jhc2.5k
1
gravatar for Asaf
3.5 years ago by
Asaf4.6k
Israel
Asaf4.6k wrote:

Maybe Drawtree? http://evolution.genetics.washington.edu/phylip/doc/drawtree.html

ADD COMMENTlink written 3.5 years ago by Asaf4.6k
1
gravatar for fransua
3.5 years ago by
fransua390
Spain
fransua390 wrote:

Maybe ETE solves your problem, I know the developper has been focussing lately on being able to visualize very large trees. It's a Python library, however it is quite straight forward if you only want to display and save a tree.

ADD COMMENTlink written 3.5 years ago by fransua390
0
gravatar for Daniel
3.5 years ago by
Daniel3.5k
Cardiff University
Daniel3.5k wrote:

Check out http://topiaryexplorer.sourceforge.net/, it's designed exactly by this and is made by part of the QIIME team.

ADD COMMENTlink written 3.5 years ago by Daniel3.5k
0
gravatar for Sishuo Wang
3.5 years ago by
Sishuo Wang50
The University of British Columbia
Sishuo Wang50 wrote:

Thanks for all of you. It seems that Dendroscope is a nice choice after searching for a long time.

ADD COMMENTlink written 3.5 years ago by Sishuo Wang50
Please log in to add an answer.

Help
Access

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