Abstract
Genome data are becoming increasingly important for modern medicine. As the rate of increase in DNA sequencing outstrips the rate of increase in disk storage capacity, the storage and data transferring of large genome data are becoming important concerns for biomedical researchers. We propose a two-pass lossless genome compression algorithm, which highlights the synthesis of complementary contextual models, to improve the compression performance. The proposed framework could handle genome compression with and without reference sequences, and demonstrated performance advantages over best existing algorithms. The method for reference-free compression led to bit rates of 1.720 and 1.838 bits per base for bacteria and yeast, which were approximately 3.7% and 2.6% better than the state-of-the-art algorithms. Regarding performance with reference, we tested on the first Korean personal genome sequence data set, and our proposed method demonstrated a 189-fold compression rate, reducing the raw file size from 2986.8 MB to 15.8 MB at a comparable decompression cost with existing algorithms.
Introduction
The "genomic data explosion" presents a significant challenge: DNA sequencing throughput is currently outpacing the growth of disk storage capacity. This creates a bottleneck in data storage and transfer for biomedical researchers. While existing DNA compression algorithms are typically categorized as either dictionary-based (finding exact repeats) or statistical (predicting bases based on context), they often specialize in either de novo sequences or re-sequencing against a reference. DNA-COMPACT introduces a unified, high-performance framework that exploits both structural repetitions and complex statistical patterns, including non-sequential dependencies.
Methodology
DNA-COMPACT employs a two-pass architecture to maximize compression efficiency across different genomic contexts.
Pass 1: Redundancy Removal
This stage targets large-scale repetitions using two distinct modes:
- COMPACT-NOREF (Reference-free): The algorithm searches for exact repeats and complementary palindromes within the raw sequence, encoding them as compact quadruplets.
- COMPACT-REF (Reference-based): It utilizes an adaptive mechanism called rLZ to identify matches against a reference genome, effectively handling variations such as substitutions, insertions, and deletions.
Pass 2: Pattern-Aware Contextual Modeling
The second pass processes the remaining data through a statistical engine that synthesizes a "mixture of experts." Unlike traditional methods that rely on a single model, DNA-COMPACT combines:
- Sequential Models: Markov-like models analyzing immediate preceding bases.
- Non-Sequential Models: Sparse models capturing dependencies between non-adjacent bases, which are prevalent in biological structures.
- Logistic Regression Synthesis: Optimal weights are assigned to candidate models via logistic regression, feeding the final probability into an Arithmetic Encoder.
Results and Discussion
The framework was evaluated against standard DNA datasets, organism corpora (yeast, mouse, human), and bacterial sequences.
Performance Metrics
- Reference-Free: For bacteria and yeast, DNA-COMPACT achieved bit rates of 1.720 and 1.838 bits per base (bpb), respectively, outperforming state-of-the-art algorithms like XM and FCM-Mx by 2.6% to 3.7%.
- Reference-Based: In tests on the first Korean personal genome (KOREF), the method achieved a 189-fold compression rate, reducing a 2986.8 MB file to 15.8 MB.
Conclusion
DNA-COMPACT demonstrates superior compression performance by effectively combining dictionary-based matching with dynamic statistical modeling. While the two-pass approach introduces higher computational complexity and memory requirements, the significant reduction in storage footprint addresses the primary bottleneck in genomic data management. Future work will focus on optimizing processing speed and exploring more diverse non-sequential patterns.
Summary updated