Theory of local k-mer selection with applications to long-read alignment
Abstract
MotivationSelecting a subset of k-mers in a string in a local manner is a common task in bioinformatics tools for speeding up computation. Arguably the most well-known and common method is the minimizer technique, which selects the lowest-ordered k-mer in a sliding window. Recently, it has been shown that minimizers are a sub-optimal method for selecting subsets of k-mers when mutations are present. There is however a lack of understanding behind the theory of why certain methods perform well. ResultsWe first theoretically investigate the conservation metric for k-mer selection methods. We derive an exact expression for calculating the conservation of a k-mer selection method. This turns out to be tractable enough for us to prove closed-form expressions for a variety of methods, including (open and closed) syncmers, (, b, n)-words, and an upper bound for minimizers. As a demonstration of our results, we modified the minimap2 read aligner to use a more optimal k-mer selection method and demonstrate that there is up to an 8.2% relative increase in number of mapped reads. Availability and supplementary informationSimulations and supplementary methods available at https://github.com/bluenote-1577/local-kmer-selection-results. os-minimap2 is a modified version of minimap2 and available at https://github.com/bluenote-1577/os-minimap2. Contactjshaw@math.toronto.edu
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 43
- FWCI
- 2.99
- Field percentile
- top 7%
- 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
- Syncmers are more sensitive than minimizers for selecting conserved k-mers in biological sequences
R. C. Edgar·PeerJPeer-reviewed·Feb 5, 2021
- A fast and simple approach to k-mer decomposition
Patrick Kunzmann·bioRxiv·Jul 26, 2024
- The open-closed mod-minimizer algorithm
Ragnar Groot Koerkamp, Daniel Liu, Giulio Ermanno Pibiri·Algorithms for Molecular BiologyPeer-reviewed·Mar 17, 2025
- Asymptotically optimal minimizers schemes
Guillaume Marçais, Dan DeBlasio, Carl Kingsford·BioinformaticsPeer-reviewed·Apr 13, 2018
- Minimap2: pairwise alignment for nucleotide sequences
Heng Li·BioinformaticsPeer-reviewed·May 4, 2018
- Improved design and analysis of practical minimizers
Hongyu Zheng, Carl Kingsford, Guillaume Marçais·BioinformaticsPeer-reviewed·Jun 9, 2020