Department of Biological Sciences, San José State University, San José, California, United States of America.
PLoS One. 2010 Aug 18;5(8):e12267. doi: 10.1371/journal.pone.0012267.
Many software packages have been developed to address the need for generating phylogenetic trees intended for print. With an increased use of the web to disseminate scientific literature, there is a need for phylogenetic trees to be viewable across many types of devices and feature some of the interactive elements that are integral to the browsing experience. We propose a novel approach for publishing interactive phylogenetic trees.
METHODS/PRINCIPAL FINDINGS: We present a javascript library, jsPhyloSVG, which facilitates constructing interactive phylogenetic trees from raw Newick or phyloXML formats directly within the browser in Scalable Vector Graphics (SVG) format. It is designed to work across all major browsers and renders an alternative format for those browsers that do not support SVG. The library provides tools for building rectangular and circular phylograms with integrated charting. Interactive features may be integrated and made to respond to events such as clicks on any element of the tree, including labels.
CONCLUSIONS/SIGNIFICANCE: jsPhyloSVG is an open-source solution for rendering dynamic phylogenetic trees. It is capable of generating complex and interactive phylogenetic trees across all major browsers without the need for plugins. It is novel in supporting the ability to interpret the tree inference formats directly, exposing the underlying markup to data-mining services. The library source code, extensive documentation and live examples are freely accessible at www.jsphylosvg.com.
为满足打印用系统发育树生成的需求,已经开发了许多软件包。随着网络在科学文献传播中的应用日益增多,需要能够在多种设备上查看系统发育树,并具有一些作为浏览体验组成部分的交互式元素。我们提出了一种发布交互式系统发育树的新方法。
方法/主要发现:我们提出了一个名为 jsPhyloSVG 的 JavaScript 库,它可以直接在浏览器中使用可缩放矢量图形(SVG)格式,从原始 Newick 或 phyloXML 格式构建交互式系统发育树。它旨在跨所有主流浏览器工作,并为不支持 SVG 的浏览器提供替代格式。该库提供了用于构建矩形和圆形系统发育图以及集成图表的工具。可以集成交互式功能,并使其响应诸如单击树中的任何元素(包括标签)等事件。
结论/意义:jsPhyloSVG 是一种用于呈现动态系统发育树的开源解决方案。它能够在不使用插件的情况下,在所有主流浏览器中生成复杂和交互式的系统发育树。它的新颖之处在于支持直接解释树推断格式的能力,将底层标记公开给数据挖掘服务。该库的源代码、详细文档和实时示例可在 www.jsphylosvg.com 上免费访问。