bioRxivBioinformaticsPreprint
Compressing Streams of Phylogenetic Trees
Abstract
Bayesian Markov-Chain Monte Carlo (MCMC) methods for phylogenetic tree inference, that is, inference of the evolutionary history of distinct species using their molecular sequence data, typically generate large sets of phylogenetic trees. The trees generated by the MCMC procedure are samples of the posterior probability distribution that MCMC methods approximate. Thus, they generate a stream of correlated binary trees that need to be stored. Here, we adapt state-of-the art algorithms for binary tree compression to phylogenetic tree data streams and extend them to also store the required meta-data. On a phylogenetic tree stream containing 1, 000 trees with 500 leaves including branch length values, we achieve a compression rate of 5.4 compared to the uncompressed tree files and of 1.8 compared to bzip2-compressed tree files. For compressing the same trees, but without branch length values, our compression method is approximately an order of magnitude better than bzip2. A prototype implementation is available at https://github.com/axeltref/tree-compression.git.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Why phylogenies compress so well: combinatorial guarantees under the Infinite Sites Model
Veronika Hendrychová, Karel Břinda·bioRxiv·Mar 27, 2026
- Adaptive Tree Proposals for Bayesian Phylogenetic Inference
X. Meyer·bioRxiv·Sep 26, 2019
- CompactTree: A lightweight header-only C++ library for ultra-large phylogenetics
Niema Moshiri·GigabytePeer-reviewed·Mar 7, 2025
- An automated convergence diagnostic for phylogenetic MCMC analyses
Lars Berling, Remco Bouckaert, Alex Gavryushkin·IEEE Transactions on Computational Biology and BioinformaticsPeer-reviewed·Sep 10, 2024
- Using Parsimony-Guided Tree Proposals to Accelerate Convergence in Bayesian Phylogenetic Inference
C. Zhang, J. P. Huelsenbeck, F. Ronquist·bioRxiv·Sep 23, 2019
- Efficient and Robust Search of Microbial Genomes via Phylogenetic Compression
Karel Břinda, Leandro Lima, … Michael Baym·Nature MethodsPeer-reviewed·Apr 1, 2025