bioRxivBioinformaticsPreprint
Why phylogenies compress so well: combinatorial guarantees under the Infinite Sites Model
Abstract
One important question in bacterial genomics is how to represent and search modern million-genome collections at scale. Phylogenetic compression effectively addresses this by guiding compression and search via evolutionary history, and many related methods similarly rely on tree- and ordering-based heuristics that leverage the same underlying phylogenetic signal. Yet, the mathematical principles underlying phylogenetic compression remain little understood. Here, we introduce the first formal framework to model phylogenetic compression mechanisms. We study genome collections represented as RLE-compressed SNP, k-mer, unitig, and uniq-row matrices and formulate compression as an optimization problem over genome orderings. We prove that while the problem is NP-hard for arbitrary data, for genomes following the Infinite Sites Model it becomes optimally solvable in polynomial time via Neighbor Joining (NJ). Finally, we experimentally validate the models predictions with real bacterial datasets using an exact Traveling Salesperson Problem (TSP). We demonstrate that, despite numerous simplifying assumptions, NJ orderings achieve near-optimal compression across dataset types, representations, and k-mer ranges. Altogether, these results explain the mathematical principles underlying the efficacy of phylogenetic compression and, more generally, the success of tree-based compression and indexing heuristics across bacterial genomics.
- organism: bacteria (other)
- assay: whole-genome sequencing
- research focus: benchmarking
- research focus: dimensionality reduction
- approach: statistical model
- approach: optimal transport
- Citations
- 1
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
- Efficient and Robust Search of Microbial Genomes via Phylogenetic Compression
Karel Břinda, Leandro Lima, … Michael Baym·Nature MethodsPeer-reviewed·Apr 1, 2025
- Compressing Streams of Phylogenetic Trees
Axel C. Trefzer, Alexandros Stamatakis·bioRxiv·Oct 15, 2018
- MBGC: Multiple Bacteria Genome Compressor
Szymon Grabowski, Tomasz Kowalski·GigaSciencePeer-reviewed·Jan 1, 2022
- DecentTree: Scalable Neighbour-Joining for the Genomic Era
W. Wang, J. Barbetti, … B. Q. Minh·bioRxiv·Apr 10, 2022
- Optimized k-mer search across millions of bacterial genomes on laptops
Francesca Brunetti, Karel Břinda·bioRxiv·Nov 23, 2025
- Scalable distance-based phylogeny inference using divide-and-conquer
Lars Arvestad·bioRxiv·Oct 11, 2023