bioRxivBioinformaticsPreprint
Masked superstrings as a unified framework for textual ????-mer set representations
- Citations
- 6
Abstract
The popularity of k-mer-based methods has recently led to the development of compact k-mer-set representations, such as simplitigs/Spectrum-Preserving String Sets (SPSS), matchtigs, and eulertigs. These aim to represent k-mer sets via strings that contain individual k-mers as substrings more efficiently than the traditional unitigs. Here, we demonstrate that all such representations can be viewed as superstrings of input k-mers, and as such can be generalized into a unified framework that we call the masked superstring of k-mers. We study the complexity of masked superstring computation and prove NP-hardness for both k-mer superstrings and their masks. We then design local and global greedy heuristics for efficient computation of masked superstrings, implement them in a program called KmerCamel, and evaluate their performance using selected genomes and pan-genomes. Overall, masked superstrings unify the theory and practice of textual k-mer set representations and provide a useful framework for optimizing representations for specific bioinformatics applications.
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
- Pareto optimization of masked superstrings improves compression of pan-genome k-mer sets
Ján Plachý, Ondřej Sladký, … Pavel Veselý·Journal of Computational BiologyPeer-reviewed·Oct 8, 2026
- Representation of k-mer sets using spectrum-preserving string sets
Amatur Rahman, Paul Medevedev·Journal of Computational BiologyPeer-reviewed·Dec 8, 2020
- Hyper-k-mers: efficient streaming k-mers representation
Igor Martayan, Lucas Robidou, … Antoine Limasset·bioRxiv·Nov 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
- Binary search and set operations on compacted k-mer lists
Yoann Dufresne, Francesco Andreace·bioRxiv·Aug 21, 2026