An efficient and extensible approach for compressing phylogenetic trees

Suzanne J Matthews, Tiffani L Williams

Research output: Contribution to journalArticlepeer-review

4 Scopus citations

Abstract

Background: Biologists require new algorithms to efficiently compress and store their large collections of phylogenetic trees. Our previous work showed that TreeZip is a promising approach for compressing phylogenetic trees. In this paper, we extend our TreeZip algorithm by handling trees with weighted branches. Furthermore, by using the compressed TreeZip file as input, we have designed an extensible decompressor that can extract subcollections of trees, compute majority and strict consensus trees, and merge tree collections using set operations such as union, intersection, and set difference.Results: On unweighted phylogenetic trees, TreeZip is able to compress Newick files in excess of 98%. On weighted phylogenetic trees, TreeZip is able to compress a Newick file by at least 73%. TreeZip can be combined with 7zip with little overhead, allowing space savings in excess of 99% (unweighted) and 92%(weighted). Unlike TreeZip, 7zip is not immune to branch rotations, and performs worse as the level of variability in the Newick string representation increases. Finally, since the TreeZip compressed text (TRZ) file contains all the semantic information in a collection of trees, we can easily filter and decompress a subset of trees of interest (such as the set of unique trees), or build the resulting consensus tree in a matter of seconds. We also show the ease of which set operations can be performed on TRZ files, at speeds quicker than those performed on Newick or 7zip compressed Newick files, and without loss of space savings.Conclusions: TreeZip is an efficient approach for compressing large collections of phylogenetic trees. The semantic and compact nature of the TRZ file allow it to be operated upon directly and quickly, without a need to decompress the original Newick file. We believe that TreeZip will be vital for compressing and archiving trees in the biological community. © 2011 Matthews and Williams; licensee BioMed Central Ltd.
Original languageEnglish (US)
JournalBMC Bioinformatics
Volume12
Issue numberS10
DOIs
StatePublished - Oct 18 2011
Externally publishedYes

Bibliographical note

KAUST Repository Item: Exported on 2020-10-01
Acknowledged KAUST grant number(s): KUS-C1-016-04
Acknowledgements: Funding for this project was supported by the National Science Foundation
under grants DEB-0629849, ΠS-0713168, and ΠS-1018785. Moreover, this
publication is based in part on work supported by Award No. KUS-C1-016-
04, made by King Abdullah University of Science and Technology (KAUST).
This article has been published as part of BMC Bioinformatics Volume 12
Supplement 10, 2011: Proceedings of the Eighth Annual MCBIOS
Conference. Computational Biology and Bioinformatics for a New Decade.
The full contents of the supplement are available online at http://www.
biomedcentral.com/1471-2105/12?issue=S10.
This publication acknowledges KAUST support, but has no KAUST affiliated authors.

Fingerprint

Dive into the research topics of 'An efficient and extensible approach for compressing phylogenetic trees'. Together they form a unique fingerprint.

Cite this