Pareto Optimization of Masked Superstrings Improves Compression of Pan-Genome k-Mer Sets.
Ján Plachý, OndŘej Sladký, Karel BŘinda, Pavel Veselý
Computer Science Institute of Charles University, Prague, Czechia. · ETH Zurich, Zurich, Switzerland.
Key points
From the paper's conclusion- Here, we introduce the first method for Pareto optimization of k-mer superstrings and masks, and apply it to the problem of compressing pan-genome k-mer sets.
Abstract
The growing interest in k-mer-based methods across bioinformatics calls for compact k-mer set representations that can be optimized for specific downstream applications. Recently, masked superstrings (MS) have provided such flexibility by moving beyond de Bruijn graph paths to general k-mer superstrings equipped with a binary mask, thereby subsuming Spectrum-Preserving String Sets and achieving compactness on arbitrary k-mer sets. However, existing methods optimize superstring length and mask properties in two separate steps, possibly missing solutions where a small increase in superstring length yields a substantial reduction in mask complexity. Here, we introduce the first method for Pareto optimization of k-mer superstrings and masks, and apply it to the problem of compressing pan-genome k-mer sets. We model the compressibility of MS using an objective that combines superstring length and the number of runs in the mask. We prove that the resulting optimization problem is NP-hard and develop a heuristic based on iterative deepening search in the Aho-Corasick automaton. Using microbial pan-genome datasets, we characterize the Pareto front in the superstring-length/mask-run space and show that the front contains points that Pareto-dominate simplitigs and matchtigs. Finally, we demonstrate that Pareto-optimized MS improve pan-genome k-mer set compressibility by 12%-19% when combined with neural-network compressors, achieving less than 1.2 bits per k-mer in common scenarios.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Pareto optimization of masked superstrings improves compression of pan-genome k-mer setsbioRxiv · 2026
- MaxGeomHash bridges MinHash and FracMinHash for scalable similarity estimation using sub-linear k-mer sketching.Genome research · 2026
- Batch, Prefetch, Skip, Orient, Squeeze: Faster, Smaller k-mer dictionaries via the Spectral Burrows-Wheeler transformbioRxiv · 2026
- Fast Pangenome Matching Statistics in Compressed Space with Move Structures.bioRxiv : the preprint server for biology · 2026
- Binary search and set operations on compacted k-mer listsbioRxiv · 2026
- Super Bloom: Fast and Precise Filter for Streaming k-Mer Queries.Journal of computational biology : a journal of computational molecular cell biology · 2026