Kaminari: a frugal colored index for approximate <i>k</i> -mer queries
Abstract Motivation Identifying which documents in a large database contain a query string is a fundamental problem in Information Retrieval and Computational Biology. We focus on the approximate version of this problem for genomic sequences: the result set may contain false positive matches but no false negatives. State-of-the-art solutions rely on Bloom filters to index all k-mers (substrings of fixed length k) in the documents. To answer a query, documents sharing at least a user-prescribed fraction of query k-mers (typically 75–80%) are returned. Methods and results Here, we explore an alternative index design based on k-mer minimizers and integer compression methods. We show that a careful implementation of this design outperforms previous solutions based on Bloom filters by a wide margin: the index has lower memory footprint and faster query times, while false positive matches have only a minor impact on the ranking of the documents reported. This trend is robust across genomic datasets of different complexity and query workloads. Software The software is freely available at github.com/yhhshb/kaminari under the MIT license. Reproducibility scripts are available at github.com/vicLeva/benchmarks_kaminari.
Authors
- Giulio Ermanno Pibiri (ORCID: https://orcid.org/0000-0003-0724-7092)
- Pierre Peterlongo (ORCID: https://orcid.org/0000-0003-0776-6407)
- Yoann Dufresne (ORCID: https://orcid.org/0000-0002-0930-8920)
- Yoshihiro Shibuya (ORCID: https://orcid.org/0000-0002-3137-1504)
- Victor Levallois (ORCID: https://orcid.org/0009-0003-8858-6578)
- Rob Patro
- Bertrand Le Gal
Institutions
- Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" (IT)
- Centre National de la Recherche Scientifique (FR)
- Ca' Foscari University of Venice (IT)
- Institut Pasteur (FR)
- Université de Lille (FR)
- Institut de Recherche en Informatique et Systèmes Aléatoires (FR)
- Université Rennes 2 (FR)
- Université de Rennes (FR)
- University of Maryland, College Park (US)
- École Centrale de Lille (FR)
Publication Details
- Journal
- Bioinformatics Advances
- Published
- 2026-04-22
- DOI
- https://doi.org/10.1093/bioadv/vbag120
- Primary Topic
- Algorithms and Data Compression
- Type
- article
- Field-Weighted Citation Impact
- 0.00