SimdMinimizers: Computing random minimizers, fast
Abstract
MotivationBecause of the rapidly-growing amount of sequencing data, computing sketches of large textual datasets has become an essential preprocessing task. These sketches are typically much smaller than the input sequences, but preserve sufficient information for downstream analysis. Minimizers are an especially popular sketching technique and used in a wide variety of applications. They sample at least one out of every w consecutive k-mers. As DNA sequencers are getting more accurate, some applications can afford to use a larger w and hence sparser and smaller sketches. And as sketches get smaller, their analysis becomes faster, so the time spent sketching the full-sized input becomes more of a bottleneck. MethodsOur library simd-minimizers implements a random minimizer algorithm using SIMD instructions. It supports both AVX2 and NEON architectures. Its main novelty is two-fold. First, it splits the input into 8 chunks that are streamed over in parallel through all steps of the algorithm. This is enabled by using the completely deterministic two-stacks sliding window minimum algorithm, which seems not to have been used before for finding minimizers. ResultsOur library is up to 6.8x faster than a scalar implementation of the rescan method when w = 5 is small, and 3.4x faster for larger w = 19. Computing canonical minimizers is less than 50% slower than computing forward minimizers, and over 15x faster than the existing implementation in the minimizer-iter crate. Our library finds all (canonical) minimizers of a 3.2 Gbp human genome in 5.2 (resp. 6.7) seconds.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 6
- Organism
- 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
- Generating minimum-density minimizers
Arseny M. Shur, Ido Tziony, Yaron Orenstein·bioRxiv·Oct 6, 2026
- Masked Minimizers: Unifying sequence sketching methods
Minh Hoang, Guillaume Marçais, Carl Kingsford·bioRxiv·Oct 18, 2022
- Improving the performance of minimizers andwinnowing schemes
Guillaume Marçais, David Pellow, … Carl Kingsford·BioinformaticsPeer-reviewed·Apr 20, 2017
- 10-minimizers: a promising class of constant-space minimizers
Arseny M. Shur, Ido Tziony, Yaron Orenstein·bioRxiv·Mar 18, 2026
- Improved design and analysis of practical minimizers
Hongyu Zheng, Carl Kingsford, Guillaume Marçais·BioinformaticsPeer-reviewed·Jun 9, 2020
- Asymptotically optimal minimizers schemes
Guillaume Marçais, Dan DeBlasio, Carl Kingsford·BioinformaticsPeer-reviewed·Apr 13, 2018