| Issue |
RAIRO-Theor. Inf. Appl.
Volume 59, 2025
Generation, enumeration and tiling
|
|
|---|---|---|
| Article Number | 20 | |
| Number of page(s) | 18 | |
| DOI | https://doi.org/10.1051/ita/2025020 | |
| Published online | 05 December 2025 | |
Efficient k-mer dataset compression using Eulerian covers of de Bruijn graphs and BWT
1
School of Mathematical Sciences; Chongqing Key Lab of Cognitive Intelligence and Intelligent Finance, Chongqing Normal University, PR China
2
Department of Mathematics and Statistics, University of Strathclyde, 26 Richmond Street, Glasgow G1 1XH, UK
3
School of Mathematical Sciences, Chongqing Normal University, PR China
4
Sobolev Institute of Mathematics, Koptyug ave, 4, Novosibirsk 630090, Russia; Novosibirsk State University, Pirogova str. 2, Novosibirsk 630090, Russia
5
School of Mathematical Sciences, Chongqing Normal University, PR China
* Corresponding author: sergey.kitaev@strath.ac.uk
Received:
14
February
2025
Accepted:
25
October
2025
Transforming an input sequence into its constituent k-mers is a fundamental operation in computational genomics. To reduce storage costs associated with k-mer datasets, we introduce and formally analyze MCTR, a novel two-stage algorithm for lossless compression of the k-mer multiset. Our core method achieves a minimal text representation (𝕎) by computing an optimal Eulerian cover (minimum string count) of the dataset's de Bruijn graph, enabled by an efficient local Eulerization technique. The resulting strings are then further compressed losslessly using the Burrows-Wheeler Transform (BWT). Leveraging de Bruijn graph properties, MCTR is proven to achieve linear time and space complexity and guarantees complete reconstruction of the original k-mer multiset, including frequencies. Using simulated and real genomic data, we evaluated MCTR's performance (list and frequency representations) against the state-of-the-art lossy unitigging tool greedytigs (from matchtigs). We measured core execution time and the raw compression ratio (cr = weight(𝕄)/ weight(𝕎), where 𝕄 is the input sequence data). Benchmarks confirmed MCTR's data fidelity but revealed performance trade-offs inherent to lossless representation. GreedyTigs was significantly faster. Regarding raw compression, GreedyTigs achieved high ratios (cr ≈ 14) on noisy real data for its lossy sequence output. MCTR methods exhibited cr ≈ 1 (list) or even cr < 1 (frequency, due to count overhead) on clean simulated data, indicating minimal raw text reduction or even expansion. On real data, MCTR (frequency) showed moderate raw compression (cr ≈ 1.5–2.7), while MCTR (list) showed none (cr ≈ 1). Importantly, the full MCTR+BWT pipeline significantly outperforms BWT alone for enhanced lossless compression. Our results establish MCTR as a valuable, theoretically grounded tool for applications demanding efficient, lossless storage and analysis of k-mer multisets, complementing lossy methods optimized for sequence summarization.
Mathematics Subject Classification: 68P30 / 05C20
Key words: de Bruijn graph / compression / BWT
© The authors. Published by EDP Sciences, 2025
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.
