Toward optimal fingerprint indexing for large scale genomics
Abstract
MotivationTo keep up with the scale of genomic databases, several methods rely on local sensitive hashing methods to efficiently find potential matches within large genome collections. Existing solutions rely on Minhash or Hyperloglog fingerprints and require reading the whole index to perform a query. Such solutions can not be considered scalable with the growing amount of documents to index. ResultsWe present NIQKI, a novel structure with well-designed fingerprints that lead to theoretical and practical query time improvements, outperforming state-of-the-art by orders of magnitude. Our contribution is threefold. First, we generalize the concept of Hyperminhash fingerprints in (h,m)-HMH fingerprints that can be tuned to present the lowest false positive rate given the expected sub-sampling applied. Second, we provide a structure able to index any kind of fingerprints based on inverted indexes that provide optimal queries, namely linear with the size of the output. Third, we implemented these approaches in a tool dubbed NIQKI that can index and calculate pairwise distances for over one million bacterial genomes from GenBank in a few days on a small cluster. We show that our approach can be orders of magnitude faster than state-of-the-art with comparable precision. We believe this approach can lead to tremendous improvements, allowing fast queries and scaling on extensive genomic databases. Availability and implementationWe wrote the NIQKI index as an open-source C++ library under the AGPL3 license available at https://github.com/Malfoy/NIQKI. It is designed as a user-friendly tool and comes along with usage samples. 2012 ACM Subject ClassificationApplied computing [->] Bioinformatics Digital Object Identifier10.4230/LIPIcs.WABI.2022.25
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 5
- Organism
- 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
- Compressed inverted indexes for scalable sequence similarity
Florian Ingels, Léa Vandamme, … Antoine Limasset·bioRxiv·Nov 21, 2025
- GSearch: Ultra-Fast and Scalable Microbial Genome Search by combining Kmer Hashing with Hierarchical Navigable Small World Graphs
Jianshu Zhao, Jean Pierre Both, … Konstantinos T. Konstantinidis·Nucleic Acids ResearchPeer-reviewed·Jun 27, 2024
- Kaminari: a resource-frugal index for approximate colored k-mer queries
Victor Levallois, Yoshihiro Shibuya, … Giulio Ermanno Pibiri·Bioinformatics AdvancesPeer-reviewed·Jan 1, 2026
- Efficient Construction of a Complete Index for Pan-Genomics Read Alignment
Alan Kuhnle, Taher Mun, … Giovanni Manzini·Journal of Computational BiologyPeer-reviewed·Mar 17, 2020
- Fulgor: A fast and compact k-mer index for large-scale matching and color queries
Jason Fan, Noor Singh, … Rob Patro·Algorithms for Molecular BiologyPeer-reviewed·Jan 22, 2024
- Finimizers: Variable-length bounded-frequency minimizers for k-mer sets
Jarno Alanko, Elena Biagi, Simon J. Puglisi·bioRxiv·Feb 19, 2024