Byte-exact, format-aware compression for FASTA, FASTQ, BED and VCF files.
Michail Patsakis, Alexandros Margaris, Theodore Chronopoulos, Ioannis Mouratidis, Ilias Georgakopoulos-Soares
Key points
From the paper's conclusion- Results We present NYX, a compressor for FASTA, FASTQ, BED and VCF files.
Abstract
MOTIVATION: Most omics data is stored by compressors that treat it as an unstructured byte stream. Format-aware compressors close that gap but are fragmented across formats and often expect a training pass over the user's own file. A general-purpose lossless compressor that is applicable to the most storage-intense omics data formats while beating the general codecs on ratio and speed would offer significant savings for large omics datasets storage and data retrieval. RESULTS: We present NYX, a compressor for FASTA, FASTQ, BED and VCF files. It leverages a reversible, format-specific transform optimised for the OpenZL compression algorithm to reach compression ratios up to 2.3 times those of the strongest general-purpose codecs (zstd -19, xz -9e and 7-Zip) while compressing up to two orders of magnitude faster. On the 1000 Genomes VCF dataset NYX reaches a compression ratio of 468.67x, 2.0 times that of xz -9e while compressing 1.8 times faster. On mammalian FASTA assemblies totalling 9.3 GB, NYX is within 3-5% of NAF, the strongest purpose-built FASTA codec, while compressing 57-73 times faster. Across all 54 inputs no single codec beats NYX on ratio and compression speed together: the tools that achieve higher compression are 1.2 to 73 times slower. NYX provides fully lossless, fast and efficient compression under one easy-to-use tool for the most common omics data types. AVAILABILITY AND IMPLEMENTATION: Source code, the shipped models, the benchmark harness and the scripts that regenerate every figure and table: https://github.com/Georgakopoulos-Soares-lab/compression.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- FastqCA: an effective FASTQ compressor through 2D spatial redundancy reduction.Frontiers in genetics · 2026
- Benchmarking Traditional and Learning-Based Reference-Free Compressors for Long-Read Sequencing DataarXiv · 2026
- BINSEQ: A family of high-performance binary formats for nucleotide sequencesPLoS Computational Biology · 2026
- QPL-enabled HTSlib library: accelerating sequence file compression using Intel IAA.Bioinformatics advances · 2026
- Lossless compression of protein databases for efficient and accurate metagenomic sequence classification with Centrifuger.bioRxiv : the preprint server for biology · 2026
- pbzarr : cohort-scale storage and analysis of per-base genomic data with Zarr.bioRxiv : the preprint server for biology · 2026