Parallel decompression of gzip-compressed files and random access to DNA sequences

05/17/2019
by   Maël Kerbiriou, et al.
0

Decompressing a file made by the gzip program at an arbitrary location is in principle impossible, due to the nature of the DEFLATE compression algorithm. Consequently, no existing program can take advantage of parallelism to rapidly decompress large gzip-compressed files. This is an unsatisfactory bottleneck, especially for the analysis of large sequencing data experiments. Here we propose a parallel algorithm and an implementation, pugz, that performs fast and exact decompression of any text file. We show that pugz is an order of magnitude faster than gunzip, and 5x faster than a highly-optimized sequential implementation (libdeflate). We also study the related problem of random access to compressed data. We give simple models and experimental results that shed light on the structure of gzip-compressed files containing DNA sequences. Preliminary results show that random access to sequences within a gzip-compressed FASTQ file is almost always feasible at low compression levels, yet is approximate at higher compression levels.

READ FULL TEXT
research
08/17/2023

Rapidgzip: Parallel Decompression and Seeking in Gzip Files Using Cache Prefetching

Gzip is a file compression format, which is ubiquitously used. Although ...
research
04/10/2023

Extension of Dictionary-Based Compression Algorithms for the Quantitative Visualization of Patterns from Log Files

Many services today massively and continuously produce log files of diff...
research
09/09/2018

Time-universal data compression and prediction

Suppose there is a large file which should be transmitted (or stored) an...
research
02/18/2020

How incomputable is Kolmogorov complexity?

Kolmogorov complexity is the length of the ultimately compressed version...
research
11/16/2017

Fast ordered sampling of DNA sequence variants

Explosive growth in the amount of genomic data is matched by increasing ...
research
06/28/2021

Differential Area Analysis for Ransomware Attack Detection within Mixed File Datasets

The threat from ransomware continues to grow both in the number of affec...

Please sign up or login with your details

Forgot password? Click here to reset