bioRxivBioinformaticsPreprint
Binary search and set operations on compacted k-mer lists
Abstract
Sorted lists of elements are particularly good for computing set operations. A single scan of two lists is sufficient to materialize or count the results of the union, intersection, difference, and xor operators. In bioinformatics, only a few tools are designed to perform these operations on k-mers. A fast tool like KMC allows set operations at the cost of storing individual k-mers. In this paper, we introduce a novel way to represent sorted k-mers as a collection of recomposed super-k-mer sorted lists. We introduce the concept of virtual super-k-mer and show how to construct, query and perform set operations on sorted lists of virtual super-k-mers. In the implementation sklib, we demonstrate high throughput of the data structure for construction and set operations, while remaining competitive in query capabilities, within a controlled memory footprint (3.5-4.1x decrease in bits/element compared to KMC).
- Citations
- 0
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
- Towards Efficient k-Mer Set Operations via Function-Assigned Masked Superstrings
Ondřej Sladký, Pavel Veselý, Karel Břinda·bioRxiv·Mar 6, 2024
- Hyper-k-mers: efficient streaming k-mers representation
Igor Martayan, Lucas Robidou, … Antoine Limasset·bioRxiv·Nov 6, 2024
- Sparse and Skew Hashing of K-Mers
Giulio Ermanno Pibiri·BioinformaticsPeer-reviewed·Apr 14, 2022
- Optimizing sparse and skew hashing: faster k-mer dictionaries
Giulio Ermanno Pibiri, Rob Patro·BioinformaticsPeer-reviewed·Jul 1, 2026
- BLight: Efficient exact associative structure for k-mers
Camille Marchet, Maël Kerbiriou, Antoine Limasset·bioRxiv·Mar 29, 2021
- Representation of k-mer sets using spectrum-preserving string sets
Amatur Rahman, Paul Medevedev·Journal of Computational BiologyPeer-reviewed·Dec 8, 2020