Journal of Computational BiologyBioinformaticsPeer-reviewed journal article
Representation of k-mer sets using spectrum-preserving string sets
Abstract
Given the popularity and elegance of k-mer based tools, finding a space-efficient way to represent a set of k-mers is important for improving the scalability of bioinformatics analyses. One popular approach is to convert the set of k-mers into the more compact set of unitigs. We generalize this approach and formulate it as the problem of finding a smallest spectrum-preserving string set (SPSS) representation. We show that this problem is equivalent to finding a smallest path cover in a compacted de Bruijn graph. Using this reduction, we prove a lower bound on the size of the optimal SPSS and propose a greedy method called UST that results in a smaller representation than unitigs and is nearly optimal with respect to our lower bound. We demonstrate the usefulness of the SPSS formulation with two applications of UST. The first one is a compression algorithm, UST-Compress, which we show can store a set of k-mers using an order-of-magnitude less disk space than other lossless compression tools. The second one is an exact static k-mer membership index, UST-FM, which we show improves index size by 10-44% compared to other state-of-the-art low memory indices. Our tool is publicly available at: https://github.com/medvedevgroup/UST/.
- Citations
- 41
- FWCI
- 2.16
- Field percentile
- top 11%
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
- Matchtigs: minimum plain text representation of kmer sets
Sebastian Schmidt, Shahbaz Khan, … Alexandru Ioan Tomescu·bioRxiv·Dec 15, 2021
- Succinct k-mer Sets Using Subset Rank Queries on the Spectral Burrows-Wheeler Transform
Jarno Alanko, Simon J. Puglisi, Jaakko Vuohtoniemi·bioRxiv·May 19, 2022
- Towards Efficient k-Mer Set Operations via Function-Assigned Masked Superstrings
Ondřej Sladký, Pavel Veselý, Karel Břinda·bioRxiv·Mar 6, 2024
- FroM Superstring to Indexing: a space-efficient index for unconstrained k-mer sets using the Masked Burrows-Wheeler Transform (MBWT)
Ondřej Sladký, Pavel Veselý, Karel Břinda·Bioinformatics AdvancesPeer-reviewed·Nov 11, 2025
- Fast Set Operations for Compact k-mer Sets
Jarno Alanko, Lore Depuydt, … Simon J. Puglisi·bioRxiv·May 27, 2026
- Optimizing sparse and skew hashing: faster k-mer dictionaries
Giulio Ermanno Pibiri, Rob Patro·BioinformaticsPeer-reviewed·Jul 1, 2026