Skip Navigation


Bioinformatics Advance Access originally published online on May 16, 2008
Bioinformatics 2008 24(14):1641-1642; doi:10.1093/bioinformatics/btn235
This Article
Right arrow Abstract Freely available
Right arrow FREE Full Text (Print PDF) Freely available
Right arrow All Versions of this Article:
24/14/1641    most recent
btn235v1
Right arrow Comments: Submit a response
Right arrow Alert me when this article is cited
Right arrow Alert me when Comments are posted
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in PubMed
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrow Search for citing articles in:
ISI Web of Science (6)
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Jordan, G. E.
Right arrow Articles by Piel, W. H.
Right arrow Search for Related Content
PubMed
Right arrow PubMed Citation
Right arrow Articles by Jordan, G. E.
Right arrow Articles by Piel, W. H.
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

© The Author 2008. Published by Oxford University Press. All rights reserved. For Permissions, please email: journals.permissions@oxfordjournals.org

PhyloWidget: web-based visualizations for the tree of life

Gregory E. Jordan 1,* and William H. Piel 2

1EMBL-EBI, Hinxton, Cambridge, CB10 1SD, UK and 2Peabody Museum of Natural History, Yale University, P.O. Box 208118, New Haven, CT 06520, USA

*To whom correspondence should be addressed.


    ABSTRACT
 TOP
 ABSTRACT
 1 INTRODUCTION
 2 FEATURES
 3 IMPLEMENTATION
 ACKNOWLEDGEMENTS
 REFERENCES
 

Summary: PhyloWidget is a web-based tool for the visualization and manipulation of phylogenetic tree data. It can be accessed online or downloaded as a standalone application. A simple URL-based API allows databases to easily link to and customize PhyloWidget for interactively viewing medium- to large-sized trees.

Availability: PhyloWidget is available for online use or download at http://www.phylowidget.org/. Its source code is released under the GNU General Public License.

Contact: phylowidget{at}treebase.org


    1 INTRODUCTION
 TOP
 ABSTRACT
 1 INTRODUCTION
 2 FEATURES
 3 IMPLEMENTATION
 ACKNOWLEDGEMENTS
 REFERENCES
 
Ever since Charles Darwin published On the Origin of Species with a drawing of a ‘tree of life’ as its sole figure (Darwin, 1859), the phylogenetic tree has been a fundamental data structure throughout biology, playing an important role in diverse areas of study.

Reconstructing the Tree of Life is one such field, which requires a combination of biodiverse sequencing projects and automated methods for inferring phylogenetic trees from molecular sequence data. Phylogenetic databases have become an important tool in these efforts, providing centralized repositories for the massive amounts of published phylogenetic data (Morell, 1996; Nakhleh et al., 2003 Sanderson et al., 1993). The trees stored within these databases may then be combined parsimoniously into larger structures by a variety of supertree methods (Sanderson et al., 1998). One such method is the ‘prune and graft’ approach, in which, for example, species-level trees are grafted on to a genus-level tree. Unfortunately, software does not yet exist to assist in the manual cutting and pasting of subtrees into a larger tree structure.

Large-scale phylogenetic analyses are also used in many fields apart from systematics. For example, phylogenetic analyses have been employed by researchers studying the evolution of gene families, (Ruan et al., 2007), organismal coevolution (Huelsenbeck and Rannala, 1997) and the spread of virus strains. For most of these applications, web-accessible databases were used for storing the large number of phylogenetic trees produced by the analysis; thus, phylogenetic databases have proven generally useful beyond the Tree of Life initiative.

A large number of programs have already been written for inferring and viewing phylogenetic trees. Popular programs for phylogenetic inference include Phylip (Felsenstein, 1989), PAUP (Swofford, 2003) and Mesquite (Maddison and Maddison, 2008). For viewing and editing phylogenies, popular applications include ATV (Zmasek and Eddy, 2001), TreeView (Page, 1996) and Dendroscope (Huson et al., 2007); an extensive listing is maintained by Felsenstein (2008). Unfortunately, most of the available phylogenetic software is ill-suited for online use and integration with phylogenetic databases. The ideal program for online tree visualization would be intuitive to use, extremely configurable and tightly integrated with the web environment. As no such program currently exists, we created a new design from scratch. PhyloWidget was developed as a ‘Phyloinformatics Summer of Code 2007’ project, hosted by NESCent and sponsored by Google.


    2 FEATURES
 TOP
 ABSTRACT
 1 INTRODUCTION
 2 FEATURES
 3 IMPLEMENTATION
 ACKNOWLEDGEMENTS
 REFERENCES
 
2.1 User interface
PhyloWidget is based on a novel user interface for navigating and manipulating phylogenetic trees. A menubar sits at the top of the window and a tool palette floats to the side. Three simple tools, shown in Figure 1, provide access to the complete navigation and manipulation functionality. The pan and zoom tools were designed for quick navigation through phylogenetic trees regardless of size; a single click-and-drag motion can magnify the field of view of a 1000-node tree from the full tree down to a single node. Finally, the arrow tool is used for performing actions on the tree. Clicking on any node brings up a contextual menu of available actions, such as rerooting the tree, editing the node label or branch length, or copying and pasting the subtree enclosed by the selected node. PhyloWidget also provides dynamic web links, which let the user quickly visit a database or web site of relevance to the selected node. In the web interface, two HTML text fields are continuously updated with the Newick representation of the tree and clipboard contents, allowing for easy cutting and pasting from and to external programs. Keyboard shortcuts are provided for the toolbar and context menu, allowing advanced users to quickly perform complex tasks.

2.2 Rendering engine
The tree rendering engine contains some notable features. Primary among them is its speed and responsiveness; on a moderately fast computer, trees with upwards of 3000 leaf nodes can be displayed at 30 frames per second. Such speed allows for interactive navigation through the tree and is achieved by rendering only a skeletonized version of the tree if the drawing step becomes too time intensive. Furthermore, the rendering algorithm can optionally ensure that node labels are drawn with a ‘guaranteed minimum text size’, consistently presenting the user with a readable sampling of leaf node labels regardless of tree size. For example, the first two trees in Figure 1C show a 1000-node tree with a guaranteed minimum text size of 10 pixels. When the renderer has to occlude nodes to obey the minimum text size, display priority is given to the node with a shorter distance to the root node.


Figure 1
View larger version (63K):
[in this window]
[in a new window]
[Download PowerPoint slide]
 
Fig. 1. (A) PhyloWidget's user interface includes a toolbar (top), tool palette (left), and radial context menu (bottom). Users click on any node in the tree to activate the context menu. (B) The PhyloWidget web applet sits embedded within a browser window, and two text fields contain the current Newick representations of the tree contents and clipboard. Also shown is the search functionality, whereby leaves that match the search query are highlighted. (C) A 1000-node tree is shown using PhyloWidget's rectangular, diagonal and circular renderers.

 
2.3 Customization
PhyloWidget is highly customizable. Although the default configuration is suitable for many applications, particular databases or applications may customize the program by a variety of means. The toolbar, tool palette and context menu are all defined within a simple XML file, so any undesired tools or actions may be removed. In addition, many parameters may be changed from their default values, either by (a) altering the source code, (b) using Javascript to change settings in real-time or (c) configuring parameters using a simple URL-based API. The third option is ideal for databases which desire a customized view without having to host the applet on their own site.

2.4 Input and output
PhyloWidget can parse trees in the Newick, NHX and Nexus formats and can output trees in Newick or NHX format. The tree image can be exported as a JPEG, PNG or PDF file. PDF output is completely vector and text-based, making it ideal for creating publication-quality figures or for high-resolution printing.


    3 IMPLEMENTATION
 TOP
 ABSTRACT
 1 INTRODUCTION
 2 FEATURES
 3 IMPLEMENTATION
 ACKNOWLEDGEMENTS
 REFERENCES
 
PhyloWidget is written in Java and may either be run offline or online as a browser applet. Although Flash is widely used for web-based graphics and was successfully employed by the Interactive Tree of Life (Letunic and Bork, 2007), we chose Java due to its preferable speed, code portability and acceptance among the bioinformatics community. Furthermore, many useful open-source libraries are written in Java; PhyloWidget makes use of the Processing library for graphical operations and the iText library for PDF output.

PhyloWidget should work on all operating systems with a Java Runtime Environment version 5 or newer. Some OS and browser combinations are known to cause problems with the web interface; these issues are noted in a dedicated troubleshooting page. The website also provides extensive documentation demonstrating the use and deployment of PhyloWidget.


    ACKNOWLEDGEMENTS
 TOP
 ABSTRACT
 1 INTRODUCTION
 2 FEATURES
 3 IMPLEMENTATION
 ACKNOWLEDGEMENTS
 REFERENCES
 
We thank Hilmar Lapp for his support, advice and encouragement, Perry Miller and Cynthia Brandt for their comments on the article, and three anonymous reviewers for their helpful comments.

Funding: This work was supported by Google's Summer of Code 2007, the National Evolutionary Synthesis Center (NESCent), and NSF grants IIS-0629702 and EF-0331654 awarded to W.P. G.J. is a member of Darwin College, University of Cambridge.

Conflict of interest: none declared.


    FOOTNOTES
 
Associate Editor: Burkhard Rost

Received on March 16, 2008; revised on May 13, 2008; accepted on May 14, 2008

    REFERENCES
 TOP
 ABSTRACT
 1 INTRODUCTION
 2 FEATURES
 3 IMPLEMENTATION
 ACKNOWLEDGEMENTS
 REFERENCES
 

    Darwin C. On the Origin of Species By Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life (1859) London: John Murray.

    Felsenstein J. Phylip – phylogeny inference package (version 3.2). Cladistics (1989) 5:164–166.

    Felsenstein J. Phylogeny programs. (2008) Available at http://evolution.genetics.washington.edu/phylip/software.html. (last accessed date May 12, 2008).

    Huelsenbeck JP, Rannala B. Phylogenetic methods come of age: testing hypotheses in an evolutionary context. Science (1997) 276:227–232.[Abstract/Free Full Text]

    Huson DH, et al. Dendroscope: an interactive viewer for large phylogenetic trees. BMC Bioinformatics (2007) 8. doi: 10.1186/1471-2105-8-460.

    Letunic I, Bork P. Interactive tree of life (itol): an online tool for phylogenetic tree display and annotation. Bioinformatics (2007) 23:127–128.[Abstract/Free Full Text]

    Maddison WP, Maddison DR. Mesquite: a modular system for evolutionary analysis (version 2.5). (2008) Available at http://mesquiteproject.org (last accessed date May 12, 2008).

    Morell V. Treebase: the roots of phylogeny. Science (1996) 273:569.[Web of Science]

    Nakhleh L, et al. Requirements of phylogenetic databases. In: Proceedings of the Third IEEE Symposium on Bioinformatics and Bioengineering (2003) Washington DC, USA: IEEE Computer Society. 141–148.

    Page RD. Treeview: an application to display phylogenetic trees on personal computers. Comput. Appl.Biosci (1996) 12:357–358.

    Ruan J, et al. Treefam: 2008 update. Nucleic Acids Res (2007) 36((Database Issue)):D735–D740.[CrossRef][Web of Science][Medline]

    Sanderson MJ, et al. The growth of phylogenetic information and the need for a phylogenetic data base. Syst. Biol (1993) 42:562–568.[Free Full Text]

    Sanderson MJ, et al. Phylogenetic supertrees: assembling the trees of life. Trends in Ecol. & Evol (1998) 13:105–109.[CrossRef]

    Swofford DL. Paup*: phylogenetic analysis using parsimony, version 4.0b10. (2003).

    Zmasek CM, Eddy SR. Atv: display and manipulation of annotated phylogenetic trees. Bioinformatics (2001) 17:383–384.[Abstract/Free Full Text]


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?


This article has been cited by other articles:


Home page
Nucleic Acids ResHome page
S. A. McMahon, G. A. Roberts, K. A. Johnson, L. P. Cooper, H. Liu, J. H. White, L. G. Carter, B. Sanghvi, M. Oke, M. D. Walkinshaw, et al.
Extensive DNA mimicry by the ArdA anti-restriction protein and its role in the spread of antibiotic resistance
Nucleic Acids Res., August 1, 2009; 37(15): 4887 - 4897.
[Abstract] [Full Text] [PDF]


Home page
Nucleic Acids ResHome page
D. Wichadakul, S. Numnark, and S. Ingsriswang
d-Omix: a mixer of generic protein domain analysis tools
Nucleic Acids Res., July 1, 2009; 37(suppl_2): W417 - W421.
[Abstract] [Full Text] [PDF]


Home page
Nucleic Acids ResHome page
Y. Han, J. M. Burnette III, and S. R. Wessler
TARGeT: a web-based pipeline for retrieving and characterizing gene and transposable element families from genomic sequences
Nucleic Acids Res., June 1, 2009; 37(11): e78 - e78.
[Abstract] [Full Text] [PDF]


Home page
BioinformaticsHome page
J. Heard, W. Kaufmann, and X. Guan
A novel method for large tree visualization
Bioinformatics, February 15, 2009; 25(4): 557 - 558.
[Abstract] [Full Text] [PDF]


This Article
Right arrow Abstract Freely available
Right arrow FREE Full Text (Print PDF) Freely available
Right arrow All Versions of this Article:
24/14/1641    most recent
btn235v1
Right arrow Comments: Submit a response
Right arrow Alert me when this article is cited
Right arrow Alert me when Comments are posted
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in PubMed
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrow Search for citing articles in:
ISI Web of Science (6)
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Jordan, G. E.
Right arrow Articles by Piel, W. H.
Right arrow Search for Related Content
PubMed
Right arrow PubMed Citation
Right arrow Articles by Jordan, G. E.
Right arrow Articles by Piel, W. H.
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?