# Compression Techniques for Genomics Data

Generic compression treats your file as a stream of unpredictable bytes, while genomics-aware compression exploits the biology: a [human genome](/blog/guides/human-genome) differs from a reference at only a few million positions out of three billion, a population of genomes shares most of their sequence, and sequencing reads repeat the same reference over and over. That difference is why a plain `gzip` of a raw FASTQ can cut file size to roughly a third, while a reference-aware compressor can store the same genome collection at a small fraction of that size. The rule of thumb for choosing: if your pipeline needs indexed random access during analysis, use blocked, indexed formats such as BAM or CRAM, if you are archiving many related assembled genomes, use a reference-based or collection-aware compressor, and if you are only moving raw data between machines, a fast stream compressor such as gzip or zstd is usually enough.

This guide walks through every major family of compression techniques for genomics data, compares them side by side on the criteria that decide real deployments, works through concrete scenarios, and closes with the mistakes that cost teams the most storage, compute, and reproducibility.

## Why Genomics Data Breaks Generic Compression

Sequencing produces data at a rate that overwhelms naive storage strategies. A single 30-fold coverage human whole-genome sequencing run produces raw FASTQ files measured in tens of gigabytes, and alignment to a reference roughly doubles the footprint before any analysis begins. Reviewers of the next-generation sequencing field consistently flag this volume as a defining constraint: the sheer quantity of data generated by modern assays demands robust computational infrastructure for storage, processing, and interpretation, and this burden falls hardest on groups without dedicated data engineering support [1]. Pangenome efforts push the problem further, with datasets comprising thousands of individuals already spanning hundreds of gigabytes to petabytes, far beyond the memory of most machines [2].

Three structural properties of genomics data determine which compression techniques work:

1. **Redundancy against a shared reference.** Any two human assemblies agree at well over 99 percent of positions. Compression schemes that encode only differences from a reference turn a 3.1 billion base pair file into a list of a few million edits.
2. **Repetitive internal structure.** Genomes contain repeats, segmental duplications, and, in collections, shared segments inherited across individuals. Text compression algorithms built around finding repeated substrings can exploit this, but only if they are designed for inputs far larger than main memory.
3. **Skewed information density.** Sequencing reads carry long runs of low-entropy content, such as poly-N tails and quality strings dominated by a few characters. Specialized encodings for quality scores and methylation states recover far more space than general-purpose compressors ever will.

Generic tools ignore all three properties by design. That is not a flaw, it is what makes them universal, and understanding exactly what you give up by staying generic, or what you risk by going specialized, is the core decision in genomics data compression.

## The Main Families of Genomics Data Compression Options

![Decision path asking if pipelines need indexed random access, then if many related genomes are archived, ending in a format choice.](/article-images/illustrations/genomics-data-compression-choose-compressor.webp)

Every genomics data compression option in practical use falls into one of nine families. The table below is the core comparison of this article, and each family gets its own section afterward.

| Family | Representative tools and formats | Compresses | Best suited for | Random access | Strength | Main drawback |
|--|--|--|--|--|--|--|
| Generic stream compression | gzip, bzip2, zstd, lz4 | Any file, including FASTQ | Transfer, staging, small files | No (unless blocked) | Moderate | Poor fit for structured genomic data |
| Block-compressed alignment formats | BGZF, BAM, CRAM with BAI/CSI indexes | Alignments, reads | The default working format for read data | Yes, per-region | High for reads | Index files add storage, CRAM needs a reference |
| Reference-based genome compression | GDC, iDoComp, ERGC | Assembled genome sequences against a reference | Archiving many related assemblies | Limited | Very high for related genomes | Sensitive to reference choice and benchmark hype |
| Collection-aware compressors | MBGC, MBGC2 | Large sets of FASTA genomes | Bacterial, viral, and multi-species collections | Archive-level | High and consistent across datasets | Specialized tooling outside standard pipelines |
| k-mer set compression | USTAR-CR, GGCAT, colored de Bruijn graph methods | k-mer sets with labels or colors | Large-scale k-mer workflows, pangenome graphs | Structure-dependent | High, with big speed and memory gains | Only applies to k-mer-space data |
| Compression-aware algorithm [preprocessing](/blog/data-analysis/what-is-data-preprocessing) | Prefix-free parsing (PFP) | Highly repetitive text, such as pangenome collections | Building BWTs and suffix arrays from pangenomes | Indirect, through built structures | Enables structures impossible in RAM | Niche, requires algorithmic expertise |
| Domain-specific compact representations | wgbstools epiread format | Methylome sequencing data | Methylation studies needing compact, anonymized storage | Region-level | Very high, over 100-fold versus BAM | Single-tool ecosystem |
| Compression as an analysis primitive | Normalized compression distance (NCD) | Sequence similarity itself | Alignment-free classification and benchmarking | Not applicable | Low-resource alternative to deep learning | O(MN) scaling limits |
| Analytic (lossy) compression | Dimensionality reduction, autoencoders | Feature matrices, expression data | scRNA-seq pipelines, multi-omics integration | Not applicable | Reduces noise and dimension together | Information is deliberately discarded |

### Generic stream compressors: gzip, bzip2, zstd, and lz4

gzip implements DEFLATE, a combination of LZ77-style duplicate detection and Huffman coding, and remains the lingua franca of genomics file exchange. Every major workflow engine, archive, and downloader assumes `.gz` files. bzip2 achieves somewhat better ratios on highly repetitive text at the cost of slower speed and larger memory blocks. zstd offers tunable trade-offs between speed and ratio and has become popular for intermediate files in high-throughput pipelines, where decompression speed matters more than the last few percent of ratio.

The pros of generic compressors are real and worth stating plainly: universal interoperability, mature streaming behavior, and no dependency on reference genomes or format specifications. The cons are equally concrete. Run `gzip` over a FASTQ and you typically land near a 3-to-4-fold reduction, because the compressor discovers repeats only within its sliding window and has no concept of a read name, a quality string, or a genomic coordinate. Alignment records carry coordinate information that, once sorted, is highly predictable, and a generic byte-level compressor captures only a fraction of that predictability. For anything beyond short-term transfer, generic compression leaves most of the achievable savings on the table.

### Block-compressed alignment formats: BGZF, BAM, and CRAM

The Sequence Alignment/Map lineage dominates read-level genomics data storage. BGZF (Blocked GNU Zip Format) is gzip with a twist: the file is divided into independent gzip blocks, each with a special header, so a standard gzip decompressor can read the file while tools that know the format can seek directly to any block. BAM is BGZF-compressed binary SAM, and because blocks are self-contained, auxiliary index files (BAI or CSI) map genomic coordinates to file offsets, giving per-region random access. This single design decision is why `samtools view region:chr1:1,000,000-2,000,000` returns in seconds over a 100 GB BAM.

CRAM extends the same indexing model but adds reference-aware encoding. Alignment records are stored as differences from the reference genome, sequences are encoded as match positions plus substitutions, and quality scores can be preserved bit-for-bit, binned into fewer levels, or dropped entirely depending on the settings chosen at compression time. CRAM routinely beats BAM on ratio for well-mapped read data, with the largest gains on positions matching the reference and the smallest gains on the quality strings that dominate file size.

The trade-offs to weigh:

- **Pros.** Indexed random access, streaming-friendly, supported by essentially the entire alignment and variant-calling ecosystem, and backed by a formal specification maintained by the community that also maintains SAM and VCF specifications.
- **Cons.** CRAM requires a reference that must match the one used at compression time, which introduces a version-management obligation for every archive. Lossy quality score modes change data, and that choice must be documented as part of your bioinformatics [data management](/blog/guides/data-management-basics-principles-processes-and-best-practices) policy, not buried in a pipeline default. Index files add a few percent overhead and must travel with the data.

A useful benchmark for perspective comes from the methylation field: the wgbstools suite introduces a custom epiread format that stores high-throughput methylome data at a compression factor of over 100-fold relative to the input BAM, while also providing an anonymized representation and fast region-level access [3]. That number illustrates the ceiling for domain-aware encodings. When the domain guarantees structure, in this case methylation states at CpG sites that cluster along single molecules, a purpose-built representation can outperform generic read formats by more than an order of magnitude.

### Reference-based compression of assembled genomes

When the unit of storage is an assembled genome rather than reads, reference-based compressors encode each target genome as a set of edits against a chosen reference. GDC, iDoComp, and ERGC are the classic examples in this space, and their history carries a lesson that generalizes.

ERGC was published with benchmark results suggesting it comfortably beat its competitors. An independent evaluation by Deorowicz, Grabowski, and Ochoa retested ERGC against GDC and iDoComp on a wider set of 12 human genome assemblies rather than the four used in the original comparison, and found that ERGC won only in the special case where one of the genomes contained mixed-case letters, as in two Korean assemblies. In every other case ERGC performed on average an order of magnitude worse than GDC and iDoComp [4]. The practical takeaway for anyone evaluating genomics data compression options is blunt: benchmark claims from a tool's own publication can reverse under broader, independent testing, so run candidate compressors on your own data before committing an archive to them.

The pros of reference-based compression are the strongest ratios available for assembled material, because the encoder stores only variants, breakpoints, and unmapped segments. The cons follow directly: performance depends on how close the target is to the reference, a distant or fragmented target can inflate output dramatically, decompression requires the identical reference file, and switching references later means a full decompress-and-recompress cycle across the entire collection.

### Collection-aware compressors for genome sets

Reference-based tools handle one target genome at a time against a fixed reference. Collection compressors such as MBGC and its successor MBGC2 exploit redundancy across the whole set simultaneously, which matters when you hold thousands of bacterial isolates, viral genomes, or a growing panel of human assemblies.

MBGC2 works in memory at high throughput, uses maximum exact matches within the already-compressed portion of the set to locate candidate long approximate matches, and encodes those matches even when they partially overlap. On real collections this design raised compression ratios by an average of 14 percent across bacterial datasets, 18 percent for Homo sapiens collections, and up to 55 percent for Saccharomyces paradoxus, while a reengineered multithreaded decoder sped up decompression by roughly 40 percent over its predecessor [5]. Equally relevant for operations, MBGC2 adds archive management features such as appending new genomes, repacking, fast content listing, and selective decompression, which turn the compressor from a one-shot utility into something closer to a storage layer [5].

The pros are strong and consistent ratios across diverse datasets plus practical data management features. The cons are that the tool operates outside the standard SAM/BAM toolchain, so downstream pipelines need an explicit decompression step, and collection compressors are optimized for FASTA sequence collections, not for per-read data.

### k-mer set compression through colored de Bruijn graphs

A large fraction of modern workflows never touch full genomes, they operate on k-mers, the fixed-length substrings of length k extracted from reads or assemblies. Storing billions of k-mers, each possibly annotated with the samples (colors) in which it appears, is its own compression problem.

The standard approach represents the k-mer set as a de Bruijn graph and derives a compact plain-text form through a minimum path cover. USTAR-CR (Unitig STitch Advanced constRuction with Colors Reordering) exploits the structural properties of colored de Bruijn graphs to build a succinct plain-text representation and adds an effective encoding for the color information. Benchmarked against the state-of-the-art tool GGCAT on real sequencing datasets, USTAR-CR achieved superior compression ratios, significantly reduced memory usage, and speed improvements of up to 64-fold [6]. The pros are therefore compounding: better compression, lower memory, and faster processing in the same tool. The cons are scope, the technique applies only to k-mer-space data, so it complements rather than replaces read-level formats, and the graph structure constrains how individual k-mers can be queried.

### Building data structures from compressed representations: prefix-free parsing

The boldest idea in this space is to skip full decompression entirely. Prefix-free parsing (PFP) is a preprocessing step that partitions highly repetitive text into dictionaries and parses, producing a compressed representation from which important full-scale data structures, such as the Burrows-Wheeler transform and suffix array derivatives, can be built directly. For pangenome datasets spanning hundreds of gigabytes to petabytes, where traditional tools fail because they cannot construct their structures within memory limits, PFP makes previously infeasible index construction possible [2].

The pros: you never pay the decompression cost of the full dataset, and the compressed form is a first-class computational object rather than a dead archive. The cons: this is an approach for tool builders and computationally sophisticated teams, the technique depends on the input being sufficiently repetitive, and the set of data structures reachable directly from PFP output, while growing, is not universal.

### Compression as an analysis primitive: normalized compression distance

A different family of techniques uses compressors to measure similarity rather than to save space. Normalized compression distance (NCD) approximates Kolmogorov information distance by comparing the compressed size of two sequences jointly against their compressed sizes individually. In text classification this has proven a low-resource alternative to deep neural networks, and a gzip-based NCD implementation applied to genomics reached 0.89 accuracy and 0.88 macro-F1 on human gene classification of open reading frames, outperforming comparable sequence-embedding methods in in-distribution prokaryotic gene labeling and beating traditional alignment or exact-match tools in out-of-distribution settings [7]. The same benchmarking philosophy appears in viral genome reconstruction, where evaluation of reconstruction tools used a normalized compression semi-distance and normalized relative compression between genomes before and after reconstruction, alongside identity, length, and resource metrics [8].

The pros of compression-based analysis are striking: no alignment, no model training, minimal compute relative to deep learning. The cons are equally clear, since pairwise NCD computation scales with the product of training and test database sizes, which constrains scalability to very large datasets [7].

### Analytic and lossy compression: reducing data by design

Not all compression in genomics targets bit-exact recovery. In single-cell RNA-seq analysis, normalization to remove technical noise and dimensionality reduction to make high-dimensional expression matrices interpretable are explicitly framed as data compression steps within the standard three-stage pipeline of normalization, dimensionality reduction, and clustering [9]. In multi-omics machine learning, autoencoders that compress multi-omics feature spaces before tree-based models produced the most consistent accuracy gains, 10 to 15 percent, in a systematic review of machine learning for crop improvement, outperforming stacking ensembles and monolithic deep architectures on small to medium datasets [10].

The pros: these methods reduce storage, denoise, and improve downstream model performance simultaneously. The cons: information is deliberately discarded, results depend on hyperparameters and random seeds, and the compressed representation is not a substitute for the raw data in an archive, so lossy analytics must sit on top of lossless archival storage, never beneath it.

## Side-by-Side Comparison of the Best Genomics Data Compression Options

The table above compares families. This section compares the options that teams actually choose between on the four criteria that decide real deployments: compression strength, random access, ecosystem compatibility, and operational burden.

| Criterion | gzip/zstd FASTQ | BAM (BGZF) | CRAM | Reference-based (GDC, iDoComp) | Collection (MBGC2) | k-mer (USTAR-CR) | Domain-specific (epiread) |
|--|--|--|--|--|--|--|--|
| Typical strength | Baseline | Strong | Stronger, reference-dependent | Very high for related assemblies | High, consistent across datasets | High for k-mer sets | Very high in-domain (over 100x vs BAM) |
| Random access | No | Yes, indexed | Yes, indexed | Limited | Archive-level | Structure-dependent | Region-level |
| Needs reference | No | No | Yes | Yes | No | No | No |
| Ecosystem compatibility | Universal | Universal | Near-universal | Niche | Niche | k-mer tooling | Single suite |
| Lossy options | No | No | Yes (quality scores) | No | No | No | No |
| Operational burden | Minimal | Low | Moderate (reference management) | High (reference pinning) | Moderate | Moderate | Low within its ecosystem |

Reading this table honestly produces the honest answer to the question of the best genomics data compression: there is no single winner, because the criteria conflict. CRAM gives you the best combination of ratio and access for read archives but demands reference discipline. Collection compressors give you the best ratios for genome sets but require pipeline adaptation. Generic compression gives you the worst ratios and the best interoperability, which is exactly the right trade for a file in transit and exactly the wrong one for a petabyte archive.

## Worked Scenarios

### Scenario 1: A sequencing core archiving human whole-genome data

A core facility produces 200 human WGS samples per year, keeping FASTQ for reprocessing and BAM for analysis. Sensible policy: FASTQ stays in a generic stream format at the cold tier because reprocessing tools consume it directly and re-compression gains are marginal, BAM files migrate to CRAM with a pinned reference version recorded alongside each archive, and lossless quality score mode is chosen unless a documented decision says otherwise. The facility checksums every file at creation and again after any compression migration, because a silent corruption introduced during a format conversion is far more expensive than the disk space saved.

### Scenario 2: A pathogen genomics group with 50,000 bacterial assemblies

![Worked calculation applying MBGC2's average 14 percent ratio improvement on bacterial datasets to a 50,000 genome pathogen collection.](/article-images/illustrations/genomics-data-compression-mbgc2-gain.webp)

This is the natural habitat of collection compressors. A group holding tens of thousands of related FASTA genomes gains an average 14 percent ratio improvement from MBGC2's overlapping approximate match encoding on bacterial data, with larger gains on other organism collections, and benefits from archive appending as new isolates arrive weekly rather than repacking from scratch [5]. The group keeps a decompressed mirror of the most actively queried subset and treats the compressed archive as the system of record.

### Scenario 3: A pangenome project at petabyte scale

A project assembling thousands of individual genomes for one species faces inputs that already span hundreds of gigabytes to petabytes and will keep growing [2]. Storing raw text is not an option, and neither is loading it. The project stores assemblies in a collection-aware compressed form, uses PFP as the preprocessing step that compresses the repetitive collection while still permitting construction of the full-text indexes its pangenome tools require, and avoids ever materializing the raw text in memory [2]. Where k-mer queries dominate, a colored de Bruijn graph compressor such as USTAR-CR handles the k-mer sets with the speed and memory advantages documented against GGCAT [6].

### Scenario 4: A resource-limited institute building capacity

An institute such as the Uganda Virus Research Institute faces limited technical expertise, unstable infrastructure, and restricted funding alongside the same data volumes. The UVRI framework shows what works: optimized storage and networking configurations, open-source HPC management tools, infrastructure automation, and reproducible configuration management, combined with a phased capacity-building strategy, to sustain high-throughput genomic workflows [11]. Compression choices in this context favor formats with large installed tool bases and minimal operational complexity, because every exotic dependency is a future failure point that local staff must debug. Ten practical design and operational rules derived from that implementation emphasize strategic investment in human capacity and open-source adoption over maximal technical cleverness [11].

## Genomics Data Compression Pros and Cons at the Policy Level

Choosing compression is a bioinformatics data management decision, not a file-format preference. The full pros and cons picture:

**Pros of aggressive, domain-aware compression.** Storage and transfer costs drop by factors that compound across thousands of samples. Reference-aware formats make the reference an explicit, versioned artifact, which improves reproducibility. Compact representations enable analyses, such as PFP-based pangenome indexing [2] or NCD-based classification [7], that are impractical on uncompressed data. Some compact formats improve privacy posture, as the anonymized epiread representation in wgbstools demonstrates [3].

**Cons and risks.** Specialized formats concentrate dependency risk in single tools and single maintainers. Reference-dependent formats fail loudly or subtly when references drift. Lossy options permanently alter data and must be governed, not defaulted. Independent evaluations show that published compression benchmarks can overstate real-world performance by large margins [4]. And compression that blocks random access turns interactive analysis into batch processing, which changes how your team works in ways no storage line item captures.

## Common Mistakes and Limitations

- **Trusting single-source benchmarks.** The ERGC episode is the canonical case: claims of easy superiority over GDC and iDoComp reversed on a wider set of 12 human assemblies, with ERGC an order of magnitude worse in all but a pathological mixed-case corner case [4]. Always benchmark compression tools on a representative slice of your own data, measuring ratio, compression speed, decompression speed, and memory together.
- **Compressing before indexing decisions are made.** Converting a working BAM to a maximally compressed non-indexed archive without planning re-indexing turns every later region query into a full decompression. Indexes are part of the data, budget for them.
- **Letting lossy choices happen silently.** CRAM quality score binning is a data-altering decision. If it is buried in a pipeline flag, six months later nobody knows which archives are bit-exact and which are not. Record the setting per archive, in the metadata.
- **Ignoring reference version management.** A CRAM or reference-compressed archive is only as useful as the exact reference it was built against. Pin reference files by checksum, store them beside the data, and never overwrite a reference in place.
- **Forgetting checksums across format conversions.** Compression, transfer, and re-compression are the moments data corrupts. Verify checksums at every hop, and verify that record counts match after any conversion.
- **Confusing analytic compression with archival compression.** Dimensionality reduction in scRNA-seq [9] and autoencoder feature compression [10] discard information on purpose. Keep the lossless source of truth underneath, and treat compressed analytical representations as derived, regenerable artifacts.
- **Assuming compression gains transfer between data types.** The 14 to 55 percent improvements reported for MBGC2 vary by organism and dataset [5], and the over 100-fold gain of the epiread format is specific to methylome data [3]. A ratio quoted for one data type says little about yours.
- **Underestimating the human constraint.** The most sophisticated compression stack fails if the team cannot operate it. Resource-limited implementations that succeeded did so by pairing technical choices with structured capacity building and open-source tooling [11].

## Frequently Asked Questions

### What is the best genomics data compression approach?

There is no single best approach, because the right choice depends on access patterns and data type. For read-level data that pipelines query by genomic region, block-compressed indexed formats such as BAM and CRAM are the standard answer, for large collections of related assembled genomes, reference-based and collection-aware compressors give the strongest ratios, and for data in transit, generic tools such as gzip and zstd remain the pragmatic default.

### What is the difference between BAM and CRAM?

BAM stores alignment records in a self-contained binary format using block-level gzip compression, while CRAM stores records as differences from a reference genome and can bin or discard quality scores. CRAM usually achieves better ratios for well-mapped reads but requires the exact reference at decompression time, whereas BAM needs no reference and is maximally interoperable.

### Can I safely gzip FASTQ files?

Yes, gzip on FASTQ is safe, lossless, and universally supported, which is why it remains the standard for raw read exchange. The limitation is efficiency, since a generic compressor cannot exploit read structure or coordinate information, so it achieves only a fraction of the savings that read-aware formats reach once the data is aligned.

### How much smaller can reference-based genome compression get?

It depends on how similar the target genomes are to the reference and on the tool, and independent evaluations show real variation between tools. One reevaluation of the ERGC compressor on 12 human assemblies found it performed on average an order of magnitude worse than GDC and iDoComp outside a special case, which shows both the potential of the approach and the danger of trusting a single published benchmark [4].

### Is lossy compression acceptable for genomics data?

It depends on the layer. Lossy transformations are routine and productive in analysis, such as the dimensionality reduction step in standard single-cell RNA-seq pipelines [9] and autoencoder-based feature compression that improved downstream accuracy by 10 to 15 percent in multi-omics modeling [10]. For archival storage of primary data, the default should be lossless, and any lossy choice about read data, such as quality score binning in CRAM, should be an explicit, documented decision rather than a pipeline default.

### How does compression help genomics analysis beyond saving storage?

Compression has become a computational tool in its own right. Prefix-free parsing compresses highly repetitive pangenome collections while still allowing full-scale indexes to be built from the compressed form, making petabyte-scale pangenome analysis feasible [2]. Normalized compression distance uses compressors directly as a similarity measure, achieving 0.89 accuracy on a human gene classification task without alignment or deep learning, though its pairwise computation limits scalability to very large datasets [7].

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is the best genomics data compression approach?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "There is no single best approach, because the right choice depends on access patterns and data type. For read-level data that pipelines query by genomic region, block-compressed indexed formats such as BAM and CRAM are the standard answer, for large collections of related assembled genomes, reference-based and collection-aware compressors give the strongest ratios, and for data in transit, generic tools such as gzip and zstd remain the pragmatic default."
      }
    },
    {
      "@type": "Question",
      "name": "What is the difference between BAM and CRAM?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "BAM stores alignment records in a self-contained binary format using block-level gzip compression, while CRAM stores records as differences from a reference genome and can bin or discard quality scores. CRAM usually achieves better ratios for well-mapped reads but requires the exact reference at decompression time, whereas BAM needs no reference and is maximally interoperable."
      }
    },
    {
      "@type": "Question",
      "name": "Can I safely gzip FASTQ files?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, gzip on FASTQ is safe, lossless, and universally supported, which is why it remains the standard for raw read exchange. The limitation is efficiency, since a generic compressor cannot exploit read structure or coordinate information, so it achieves only a fraction of the savings that read-aware formats reach once the data is aligned."
      }
    },
    {
      "@type": "Question",
      "name": "How much smaller can reference-based genome compression get?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "It depends on how similar the target genomes are to the reference and on the tool, and independent evaluations show real variation between tools. One reevaluation of the ERGC compressor on 12 human assemblies found it performed on average an order of magnitude worse than GDC and iDoComp outside a special case, which shows both the potential of the approach and the danger of trusting a single published benchmark."
      }
    },
    {
      "@type": "Question",
      "name": "Is lossy compression acceptable for genomics data?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "It depends on the layer. Lossy transformations are routine and productive in analysis, such as the dimensionality reduction step in standard single-cell RNA-seq pipelines and autoencoder-based feature compression that improved downstream accuracy by 10 to 15 percent in multi-omics modeling. For archival storage of primary data, the default should be lossless, and any lossy choice about read data, such as quality score binning in CRAM, should be an explicit, documented decision rather than a pipeline default."
      }
    },
    {
      "@type": "Question",
      "name": "How does compression help genomics analysis beyond saving storage?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Compression has become a computational tool in its own right. Prefix-free parsing compresses highly repetitive pangenome collections while still allowing full-scale indexes to be built from the compressed form, making petabyte-scale pangenome analysis feasible. Normalized compression distance uses compressors directly as a similarity measure, achieving 0.89 accuracy on a human gene classification task without alignment or deep learning, though its pairwise computation limits scalability to very large datasets."
      }
    }
  ]
}
</script>

## Sources

1. [Transformative Applications and Innovations in Next-Generation Sequencing Data Analysis.](https://pubmed.ncbi.nlm.nih.gov/42068517/)
2. [Building genomic data structures from compressed representations using prefix-free parsing.](https://pubmed.ncbi.nlm.nih.gov/42140664/)
3. [wgbstools: a computational suite for DNA methylation sequencing data analysis.](https://pubmed.ncbi.nlm.nih.gov/41611450/)
4. [Comment on: 'ERGC: an efficient referential genome compression algorithm'.](https://pubmed.ncbi.nlm.nih.gov/26615213/)
5. [MBGC2: Boosting compression via efficient encoding of approximate matches in genome collections.](https://pubmed.ncbi.nlm.nih.gov/41562940/)
6. [USTAR-CR: Efficient and Compact Compression of k-Mer Sets Through Colored de Bruijn Graphs.](https://pubmed.ncbi.nlm.nih.gov/41609726/)
7. [Normalized compression distance for DNA classification.](https://pubmed.ncbi.nlm.nih.gov/41669552/)
8. [An evaluation of computational methods for reconstruction of human viral DNA genomes.](https://pubmed.ncbi.nlm.nih.gov/41453206/)
9. [Comparison of scRNA-seq data analysis method combinations.](https://pubmed.ncbi.nlm.nih.gov/36124658/)
10. [Machine learning for multi-omics data integration in crop improvement: a systematic review.](https://pubmed.ncbi.nlm.nih.gov/41922965/)
11. [A scalable HPC framework for bioinformatics in resource-limited settings: design principles, implementation, and sustainability from the UVRI experience.](https://pubmed.ncbi.nlm.nih.gov/41883143/)