Accelerating k-mer-based sequence filtering
Open Access
- 17 June 2026
- journal article
- Published by Peer Community In in Peer Community Journal
- Vol. 6
Abstract
Motivation . The exponential growth of global sequencing data repositories presents both analytical challenges and opportunities. While k -mer-based indexing has improved scalability over traditional alignment for identifying relevant documents, pinpointing the exact sequences matching numerous queries remains a hurdle. In particular, searching for numerous k -mers with a single large query or multiple distinct queries strains existing exact matching tools, whose performance scales poorly with an increasing number of patterns. At the same time, indexing entire vast datasets for infrequent or ad-hoc searches is often resource-prohibitive. Designing fast methods for matching a large number of k -mers without exhaustive pre-indexing is therefore critical. Contributions . We propose an efficient solution to the problem of k-mer-based sequence filtering : given a set of k -mers of interests and a threshold, quickly evaluate whether an arbitrary sequence has a number of k -mer matches above or below the threshold. Our approach demonstrates how minimizer-based based sketching, alongside SIMD acceleration, can enhance the performance of streaming searches, and is implemented as a Rust tool named K2Rmini . On a consumer laptop, K2Rmini is able to filter long reads at 2 Gbp/s. Availability . https://github.com/Malfoy/K2Rmini .Keywords
All Related Versions
This publication has 43 references indexed in Scilit:
- SeqKit2: A Swiss army knife for sequence and alignment processingiMeta, 2024
- A genomic catalogue of soil microbiomes boosts mining of biodiversity and genetic resourcesNature Communications, 2023
- Petabase-scale sequence alignment catalyses viral discoveryNature, 2022
- Minimizer-space de Bruijn graphs: Whole-genome assembly of long reads in minutes on a personal computerCell Systems, 2021
- New insights from uncultivated genomes of the global human gut microbiomeNature, 2019
- Recovery of nearly 8,000 metagenome-assembled genomes substantially expands the tree of lifeNature Microbiology, 2017
- Compact Universal k-mer Hitting Sets2016
- Fast search of thousands of short-read sequencing experimentsNature Biotechnology, 2016
- Fast practical multi-pattern matchingInformation Processing Letters, 1999
- Basic local alignment search toolJournal of Molecular Biology, 1990