General-purpose compression tools like gzip treat data as a monolithic block of bytes. While effective for text, this approach fails to capture the unique structural redundancies of biological data. Modern genomic compression works by decomposing complex files into distinct, homogeneous "streams"—such as nucleotide sequences, quality scores, and metadata—and applying specialized encoding strategies to each.
The Power of Stream Partitioning
The core insight across this research is that genomic data is fundamentally multi-modal. A FASTQ file contains highly redundant DNA sequences alongside high-entropy, noisy quality scores. By partitioning these into separate streams, researchers can apply targeted optimization based on the unique statistical properties of each data type.
Yongpeng Zhang and colleagues demonstrated this with LW-FQZip, which achieves over 85% storage reduction by splitting files into metadata, reads, and quality scores. This separation allows the encoder to use bitwise prediction for sequences while using different entropy coders for metadata. Zhenkun Wen later extended this in LW-FQZip 2 by adding multi-threaded parallelism, proving that stream-based decomposition is not only more efficient but also highly scalable.
This principle extends beyond DNA sequences. In mass spectrometry, Ruochen Yang developed MassComp, which isolates numerical mass-to-charge (m/z) pairs from structured text metadata. Similarly, Yeremia Gunawan Adhisantoso created HiCMC for Hi-C contact matrices, decomposing data into binary masks and floating-point parameters to exploit the hierarchical structure of chromosomes.
Reference-Based Alignment and Assembly
Once streams are isolated, the nucleotide sequence stream can be compressed by storing only the "delta" or difference between the sample and a reference.
- External References: If a known genome exists, the encoder stores positional offsets and mutations. Jonathan G. Ligo showed in MCUIUC that even in complex metagenomic samples, rough taxonomic classification can identify "close-enough" references to enable high-efficiency positional encoding.
- De Novo Assembly: When no reference is available, or for long, error-prone reads, the system can build its own reference. Qingxi Meng introduced NanoSpring, which uses an "approximate assembly" approach for nanopore data. By identifying overlaps between reads and storing differences relative to a consensus sequence, it achieves 3-6x better compression than gzip without requiring an external genome.
Standardizing Genomic Descriptors
The shift toward stream-based compression has culminated in the ISO/IEC 23092 (MPEG-G) standard. This standard formalizes the decomposition of genomic records into "descriptors."
Fabian Müntefering and Jan Voges developed Genie, the first open-source encoder for this standard. Genie utilizes a hybrid framework that switches between external reference mapping, local assembly, and verbatim encoding. This flexibility ensures that the compression remains optimal regardless of whether the data is a well-studied human genome or a novel environmental sample.
Compression as a Biological Tool
A significant advantage of these specialized pipelines is that the compression process itself generates biological insights. Minji Kim demonstrated this with MetaCRAM, a pipeline that integrates taxonomic identification directly into the compression workflow.
Because the compressed file structure embeds alignment and taxonomic metadata, it enables selective retrieval. Researchers can extract sequences belonging to a specific organism directly from the compressed archive without decompressing the entire "genomic soup." In this framing, compression is no longer just a storage optimization—it is a method for organizing and indexing the massive scale of modern biological data.