Bio.Phylo: a unified toolkit for processing, analyzing and visualizing phylogenetic trees in Biopython
- PMID: 22909249
- PMCID: PMC3468381
- DOI: 10.1186/1471-2105-13-209
Bio.Phylo: a unified toolkit for processing, analyzing and visualizing phylogenetic trees in Biopython
Abstract
Background: Ongoing innovation in phylogenetics and evolutionary biology has been accompanied by a proliferation of software tools, data formats, analytical techniques and web servers. This brings with it the challenge of integrating phylogenetic and other related biological data found in a wide variety of formats, and underlines the need for reusable software that can read, manipulate and transform this information into the various forms required to build computational pipelines.
Results: We built a Python software library for working with phylogenetic data that is tightly integrated with Biopython, a broad-ranging toolkit for computational biology. Our library, Bio.Phylo, is highly interoperable with existing libraries, tools and standards, and is capable of parsing common file formats for phylogenetic trees, performing basic transformations and manipulations, attaching rich annotations, and visualizing trees. We unified the modules for working with the standard file formats Newick, NEXUS and phyloXML behind a consistent and simple API, providing a common set of functionality independent of the data source.
Conclusions: Bio.Phylo meets a growing need in bioinformatics for working with heterogeneous types of phylogenetic data. By supporting interoperability with multiple file formats and leveraging existing Biopython features, this library simplifies the construction of phylogenetic workflows. We also provide examples of the benefits of building a community around a shared open-source project. Bio.Phylo is included with Biopython, available through the Biopython website, http://biopython.org.
Figures

Similar articles
-
BIO::Phylo-phyloinformatic analysis using perl.BMC Bioinformatics. 2011 Feb 27;12:63. doi: 10.1186/1471-2105-12-63. BMC Bioinformatics. 2011. PMID: 21352572 Free PMC article.
-
Biopython: freely available Python tools for computational molecular biology and bioinformatics.Bioinformatics. 2009 Jun 1;25(11):1422-3. doi: 10.1093/bioinformatics/btp163. Epub 2009 Mar 20. Bioinformatics. 2009. PMID: 19304878 Free PMC article.
-
Phylo.io: Interactive Viewing and Comparison of Large Phylogenetic Trees on the Web.Mol Biol Evol. 2016 Aug;33(8):2163-6. doi: 10.1093/molbev/msw080. Epub 2016 Apr 19. Mol Biol Evol. 2016. PMID: 27189561 Free PMC article.
-
A RESTful API for Access to Phylogenetic Tools via the CIPRES Science Gateway.Evol Bioinform Online. 2015 Mar 16;11:43-8. doi: 10.4137/EBO.S21501. eCollection 2015. Evol Bioinform Online. 2015. PMID: 25861210 Free PMC article. Review.
-
The Human Physiome: how standards, software and innovative service infrastructures are providing the building blocks to make it achievable.Interface Focus. 2016 Apr 6;6(2):20150103. doi: 10.1098/rsfs.2015.0103. Interface Focus. 2016. PMID: 27051515 Free PMC article. Review.
Cited by
-
Predicting the optimal growth temperatures of prokaryotes using only genome derived features.Bioinformatics. 2019 Sep 15;35(18):3224-3231. doi: 10.1093/bioinformatics/btz059. Bioinformatics. 2019. PMID: 30689741 Free PMC article.
-
CAM: an alignment-free method to recover phylogenies using codon aversion motifs.PeerJ. 2019 Jun 4;7:e6984. doi: 10.7717/peerj.6984. eCollection 2019. PeerJ. 2019. PMID: 31198636 Free PMC article.
-
Phylogenetic inference using generative adversarial networks.Bioinformatics. 2023 Sep 2;39(9):btad543. doi: 10.1093/bioinformatics/btad543. Bioinformatics. 2023. PMID: 37669126 Free PMC article.
-
PhasomeIt: an 'omics' approach to cataloguing the potential breadth of phase variation in the genus Campylobacter.Microb Genom. 2018 Nov;4(11):e000228. doi: 10.1099/mgen.0.000228. Epub 2018 Oct 23. Microb Genom. 2018. PMID: 30351264 Free PMC article.
-
Structural variation, selection, and diversification of the NPIP gene family from the human pangenome.bioRxiv [Preprint]. 2025 Feb 5:2025.02.04.636496. doi: 10.1101/2025.02.04.636496. bioRxiv. 2025. Update in: Cell Genom. 2025 Aug 19:100977. doi: 10.1016/j.xgen.2025.100977. PMID: 39975192 Free PMC article. Updated. Preprint.
References
-
- Leebens-Mack J, Vision T, Brenner E, Bowers JE, Cannon S, Clement MJ, Cunningham CW, DePamphilis C, DeSalle R, Doyle JJ, Eisen Ja, Gu X, Harshman J, Jansen RK, Kellogg Ea, Koonin EV, Mishler BD, Philippe H, Pires JC, Qiu YL, Rhee SY, Sjölander K, Soltis DE, Soltis PS, Stevenson DW, Wall K, Warnow T, Zmasek C. Taking the first steps towards a standard for reporting on phylogenies: Minimum Information About a Phylogenetic Analysis (MIAPA) Omics: J Integr Biol. 2006;10(2):231–237. doi: 10.1089/omi.2006.10.231. - DOI - PMC - PubMed
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources