Specialized Stream Partitioning for Genomic Data Compression

This direction is merged into another direction: genomic data scalability. Its last version stays readable and citable here.

Version 1 of 19 papers16 conceptsfrozen 2026-10-04

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.

  1. 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.
  2. 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.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_specialized_stream_partitioning_for_geno_15e28876,
  title = {Specialized Stream Partitioning for Genomic Data Compression},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/specialized-stream-partitioning-for-genomic-data-compression/rdr_15e28876f5054c37ac8763be1c3f0522},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-06},
}

This exact version (version 1, frozen text):

@misc{lacuna_specialized_stream_partitioning_for_geno_15e28876_v1,
  title = {Specialized Stream Partitioning for Genomic Data Compression},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/specialized-stream-partitioning-for-genomic-data-compression/rdr_15e28876f5054c37ac8763be1c3f0522/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-06},
}