bioRxivBioinformaticsPreprint
Adaptive Tracepoints for Pangenome Alignment Compression
Kaushan HasithaiD, Santiago Marco‐SolaiD, Erik P. GarrisoniD, Pjotr PrinsiD, Andrea GuarracinoiD
Abstract
MotivationStoring millions of sequence alignments from large-scale genomic comparisons requires efficient compression methods. While fixed-size alignment encodings offer uniform spacing and bounded reconstruction cost, they cannot adapt to variable alignment complexity across sequences, missing compression opportunities in conserved regions. ResultsWe present adaptive tracepoints, a complexity-aware alignment encoding that segments alignments using configurable complexity metrics (edit distance or diagonal distance) rather than fixed intervals. Segments are bounded by either the number of differences or the deviation from the main diagonal, adapting to local alignment characteristics. Reconstruction guarantees that alignments maintain identical or improved alignment scores. We validate the correctness of our method on simulated and real pangenomes with varying lengths and divergences. Diagonal-bounded tracepoints achieve 10.5-13.7x better compression than fixed-length encodings (l=100) on simulated long sequence alignments (100 Kb), while edit-bounded tracepoints provide a tunable trade-off between compression and reconstruction cost, approaching diagonal-bounded compression at higher thresholds with substantially lower memory and runtime. On real pangenomes (390M alignments), these methods compress alignments by 23-139x relative to uncompressed representations, with no score degradation and reconstruction time linear in alignment length. AvailabilityCode and documentation are publicly available at https://github.com/AndreaGuarracino/tracepoints, https://github.com/AndreaGuarracino/tpa, and https://github.com/AndreaGuarracino/cigzip. Contactaguarracino@tgen.org Supplementary informationSupplementary data are available at Bioinformatics online.
- assay: whole-genome sequencing
- research focus: benchmarking
- research focus: database / resource
- research focus: software / tool
- approach: statistical model
- 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
- FastGA: Fast Genome Alignment
Eugene Wimberly Myers, Richard Michael Durbin, Chenxi Zhou·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024
- Constructing smaller genome graphs via string compression
Yutong Qiu, Carl Kingsford·BioinformaticsPeer-reviewed·Apr 28, 2021
- Building a Pangenome Alignment Index via Recursive Prefix-Free Parsing
Marco Oliva, Travis Gagie, Christina A. Boucher·bioRxiv·Jan 26, 2023
- Detecting High Scoring Local Alignments in Pangenome Graphs
Tizian Schulz, Roland Wittler, … Jens Stoye·BioinformaticsPeer-reviewed·Jan 28, 2021
- Singletrack: An Algorithm for Improving Memory Consumption and Performance of Gap-Affine Sequence Alignment
Lorién López‐Villellas, Cristian Iñiguez, … Santiago Marco‐Sola·BioinformaticsPeer-reviewed·Apr 10, 2026
- Co-linear Chaining on Pangenome Graphs
Jyotshna Rajput, Ghanshyam Chandra, Chirag Jain·Algorithms for Molecular BiologyPeer-reviewed·Jan 26, 2024