Litcius/Paper detail

kmtricks: efficient and flexible construction of Bloom filters for large sequencing data collections

Téo Lemane, Paul Medvedev, Rayan Chikhi, Pierre Peterlongo

2022Bioinformatics Advances43 citationsDOIOpen Access PDF

Abstract

Abstract Summary 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 (i) 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; (ii) 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 8× more k-mers than the usual yet crude filtering of low-abundance k-mers in a large metagenomics dataset. Availability and implementation https://github.com/tlemane/kmtricks. Supplementary information Supplementary data are available at Bioinformatics Advances online.

Topics & Concepts

Bloom filterMetagenomicsComputer sciencek-merSet (abstract data type)Data miningData setHash functionFilter (signal processing)Computational biologyDNA sequencingAlgorithmBiologyArtificial intelligenceGeneticsGeneComputer securityDNAProgramming languageComputer visionCaching and Content DeliveryGenomics and Phylogenetic Studies