bioRxivBioinformaticsPreprint
A near-tight lower bound on the density of forward sampling schemes
Bryce L. KilleiD, Ragnar Groot KoerkampiD, Drake McAdams, Alan Liu, Todd J. TreangeniD
Abstract
MotivationSampling k-mers is a ubiquitous task in sequence analysis algorithms. Sampling schemes such as the often-used random minimizer scheme are particularly appealing as they guarantee at least one k-mer is selected out of every w consecutive k-mers. Sampling fewer k-mers often leads to an increase in efficiency of downstream methods. Thus, developing schemes that have low density, i.e., have a small proportion of sampled k-mers, is an active area of research. After over a decade of consistent efforts in both decreasing the density of practical schemes and increasing the lower bound on the best possible density, there is still a large gap between the two. ResultsWe prove a near-tight lower bound on the density of forward sampling schemes, a class of schemes that generalizes minimizer schemes. For small w and k, we observe that our bound is tight when k {equiv} 1 (mod w). For large w and k, the bound can be approximated by [Formula]. Importantly, our lower bound implies that existing schemes are much closer to achieving optimal density than previously known. For example, with the current default minimap2 HiFi settings w = 19 and k = 19, we show that the best known scheme for these parameters, the double decycling-set-based minimizer of Pellow et al., is at most 3% denser than optimal, compared to the previous gap of at most 50%. Furthermore, when k {equiv} 1 (mod w) and the alphabet size{sigma} goes to {infty}, we show that mod-minimizers introduced by Groot Koerkamp and Pibiri achieve optimal density matching our lower bound. Availability and implementationMinimizer implementations: github.com/RagnarGrootKoerkamp/minimizers ILP and analysis: github.com/treangenlab/sampling-scheme-analysis
- Citations
- 4
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
- The mod-minimizer: a simple and efficient sampling algorithm for long k-mers
Ragnar Groot Koerkamp, Giulio Ermanno Pibiri·bioRxiv·May 25, 2024
- Minimizer Density revisited: Models and Multiminimizers
Florian Ingels, Lucas Robidou, … Antoine Limasset·Journal of Computational BiologyPeer-reviewed·Oct 8, 2026
- Generating minimum-density minimizers
Arseny M. Shur, Ido Tziony, Yaron Orenstein·bioRxiv·Oct 6, 2026
- The open-closed mod-minimizer algorithm
Ragnar Groot Koerkamp, Daniel Liu, Giulio Ermanno Pibiri·Algorithms for Molecular BiologyPeer-reviewed·Mar 17, 2025
- 10-minimizers: a promising class of constant-space minimizers
Arseny M. Shur, Ido Tziony, Yaron Orenstein·bioRxiv·Mar 18, 2026
- Asymptotically optimal minimizers schemes
Guillaume Marçais, Dan DeBlasio, Carl Kingsford·BioinformaticsPeer-reviewed·Apr 13, 2018