Journal of computational biology : a journal of computational molecular cell biologySuperstring theory

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 Sets — Science Skim