kmtricks: Efficient and flexible construction of Bloom filters for large sequencing data collections
Téo LemaneiD, Paul MedvedeviD, Rayan ChikhiiD, Pierre PeterlongoiD
Abstract
When indexing large collections of short-read sequencing data, a common operation that has now been implemented in several tools (Sequence Bloom Trees and variants, BIGSI, ..) is to construct a collection of Bloom filters, one per sample. Each Bloom filter is used to represent a set of k-mers which approximates the desired set of all the non-erroneous k-mers present in the sample. However, this approximation is imperfect, especially in the case of metagenomics data. Erroneous but abundant k-mers are wrongly included, and non-erroneous but low-abundant ones are wrongly discarded. We propose kmtricks, a novel approach for generating Bloom filters from terabase-sized collections of sequencing data. Our main contributions are 1/ an efficient method for jointly counting k-mers across multiple samples, including a streamlined Bloom filter construction by directly counting, partitioning and sorting hashes instead of k-mers, which is approximately four times faster than state-of-the-art tools; 2/ a novel technique that takes advantage of joint counting to preserve low-abundant k-mers present in several samples, improving the recovery of non-erroneous k-mers. Our experiments highlight that this technique preserves around 8x more k-mers than the usual yet crude filtering of low-abundance k-mers in a large metagenomics dataset. Availabilityhttps://github.com/tlemane/kmtricks FundingThe work was funded by IPL Inria Neuromarkers, ANR Inception (ANR-16-CONV-0005), ANR Prairie (ANR-19-P3IA-0001), ANR SeqDigger (ANR-19-CE45-0008).
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 51
- FWCI
- 3.62
- Field percentile
- top 6%
- 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
- fimpera: drastic improvement of Approximate Membership Query data-structures with counts
Lucas Robidou, Pierre Peterlongo·bioRxiv·Jun 27, 2022
- Super Bloom: Fast and precise filter for streaming k-mer queries
Etienne Conchon-Kerjan, Timothé Rouzé, … Antoine Limasset·Journal of Computational BiologyPeer-reviewed·Oct 7, 2026
- The Backpack Quotient Filter: a dynamic and space-efficient data structure for querying k-mers with abundance.
Victor Levallois, Francesco Andreace, … Pierre Peterlongo·iSciencePeer-reviewed·Nov 22, 2024
- Back to sequences: find the origin of kmers
Anthony Baire, Pierre Marijon, … Pierre Peterlongo·The Journal of Open Source SoftwarePeer-reviewed·Sep 23, 2024
- Squeakr: An Exact and Approximate k-mer Counting System
Prashant Pandey, Michael A. Bender, … Rob Patro·BioinformaticsPeer-reviewed·Oct 6, 2017
- BLight: Efficient exact associative structure for k-mers
Camille Marchet, Maël Kerbiriou, Antoine Limasset·bioRxiv·Mar 29, 2021