Nature Computational ScienceGenomicsPeer-reviewed journal article
Efficient storage and analysis of quantitative genomics data with the Dense Depth Data Dump (D4) format and d4tools.
Abstract
Modern DNA sequencing is used as a readout for diverse assays, with the count of aligned sequences, or "read depth", serving as the quantitative signal for many underlying cellular phenomena. Despite wide use and thousands of datasets, existing formats used for the storage and analysis of read depths are limited with respect to both file size and analysis speed. For example, it is faster to recalculate sequencing depth from an alignment file than it is to analyze the text output from that calculation. We sought to improve on existing formats such as BigWig and compressed BED files by creating the Dense Depth Data Dump (D4) format and tool suite. The D4 format is adaptive in that it profiles a random sample of aligned sequence depth from the input BAM or CRAM file to determine an optimal encoding that often affords reductions in file size, while also enabling fast data access. We show that D4 uses less storage for both RNA-Seq and whole-genome sequencing and offers 3 to 440-fold speed improvements over existing formats for random access, aggregation and summarization. This performance enables scalable downstream analyses that would be otherwise difficult. The D4 tool suite (d4tools) is freely available under an MIT license at: https://github.com/38/d4-format.
- assay: whole-genome sequencing
- assay: bulk RNA-seq
- research focus: benchmarking
- research focus: dimensionality reduction
- approach: statistical model
- Citations
- 7
- FWCI
- 0.24
- Field percentile
- 43th percentile
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
- Megadepth: efficient coverage quantification for BigWigs and BAMs
Christopher Wilks, Omar Y. Ahmed, … Ben Langmead·BioinformaticsPeer-reviewed·Mar 4, 2021
- Evaluation of sequencing reads at scale using rdeval
Giulio Formenti, Bonhwang Koo, … Erich David Jarvis·BioinformaticsPeer-reviewed·Jul 19, 2025
- FASTR: Reimagining FASTQ via Compact Image-inspired Representation
Adrian Tkachenko, Sepehr Salem, … Mohammed Alser·bioRxiv·Jan 23, 2026
- Deep FASTQ and BAM co-compression in Genozip 15
Divon Mordechai Lan, Daniel Hughes, Bastien Llamas·bioRxiv·Jul 7, 2023
- quickBAM: a parallelized BAM file access API for high throughput sequence analysis informatics
T. Anders Pitman, Xiaomeng Huang, … Yi Qiao·bioRxiv·Oct 5, 2021
- mosdepth: quick coverage calculation for genomes and exomes
Brent S. Pedersen, Aaron R. Quinlan·BioinformaticsPeer-reviewed·Oct 30, 2017