mim: A lightweight auxiliary index to enable fast, parallel, gzipped FASTQ parsing
Rob PatroiD, Siddhant Bharti, Prajwal SinghaniaiD, Rakrish Dhakal, Thomas J. Dahlstrom, Ragnar Groot KoerkampiD
Abstract
The FASTQ file format is the lingua franca of primary data distribution and processing across most of bioinformatics. Over time, the compression, storage, transmission, and decompression of gzip compressed fastq.gz files has become a substantial scalability bottleneck in the modern world of fast and massively parallel genomics tools and algorithms. In this work, we introduce mim: a lightweight, auxiliary index that enables fast, parallel, and highly-scalable parsing of compressed fastq.gz files. The creation of the mim index for a file is a one-time operation that can be performed in time comparable to that of simply decompressing and parsing the file (index creation induces [~] 20% overhead) and with minimal working memory. The mim index itself is very small, usually about [Formula]th of the size of the original compressed file, and can be easily stored along side the file or fetched from a remote location when it is needed. Further, the mim index is purely additive -- it does not modify the original gzipped FASTQ file in any way, nor require that the file be recompressed or rewritten -- and thus it does not require converting the massive back catalog of existing raw sequencing data. To demonstrate the feasibility and utility of the mim index, we benchmark construction of the mim index on a variety of existing gzipped FASTQ data, and also measure thread-scaling of mim index-assisted parallel FASTQ parsing on a simple parsing/ decompression-related task. We find that, for the one-time cost of index creation, and a small fraction of extra storage space, the mim index can massively accelerate the ingestion and parsing of gzipped FASTQ data, exhibiting near linear thread scaling in our experiments. mim is written in C++17, and is available as open source software under a BSD 3-clause license at https://github.com/COMBINE-lab/mim.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Assay
- Research Focus
- Approach
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
- FASTR: Reimagining FASTQ via Compact Image-inspired Representation
Adrian Tkachenko, Sepehr Salem, … Mohammed Alser·bioRxiv·Jan 23, 2026
- Engineering the Compression of Sequencing Reads
Tomasz Kowalski, Szymon Grabowski·bioRxiv·May 1, 2020
- fastp: an ultra-fast all-in-one FASTQ preprocessor
Shifu Chen, Yanqing Zhou, … Jia Gu·BioinformaticsPeer-reviewed·Jul 7, 2018
- Helicase: Vectorized parsing and bitpacking of genomic sequences
Igor Martayan, Loup Lobet, … Charles Paperman·bioRxiv·Mar 22, 2026
- b-move: faster bidirectional character extensions in a run-length compressed index
Lore Depuydt, Luca Renders, … Jan Fostier·bioRxiv·May 30, 2024
- Efficient Construction of a Complete Index for Pan-Genomics Read Alignment
Alan Kuhnle, Taher Mun, … Giovanni Manzini·Journal of Computational BiologyPeer-reviewed·Mar 17, 2020