English

When is String Reconstruction using de Bruijn Graphs Hard?

Data Structures and Algorithms 2025-10-17 v1

Abstract

The reduction of the fragment assembly problem to (variations of) the classical Eulerian trail problem [Pevzner et al., PNAS 2001] has led to remarkable progress in genome assembly. This reduction employs the notion of de Bruijn graph G=(V,E)G=(V,E) of order kk over an alphabet Σ\Sigma. A single Eulerian trail in GG represents a candidate genome reconstruction. Bernardini et al. have also introduced the complementary idea in data privacy [ALENEX 2020] based on zz-anonymity. The pressing question is: How hard is it to reconstruct a best string from a de Bruijn graph given a function that models domain knowledge? Such a function maps every length-kk string to an interval of positions where it may occur in the reconstructed string. By the above reduction to de Bruijn graphs, the latter function translates into a function cc mapping every edge to an interval where it may occur in an Eulerian trail. This gives rise to the following basic problem on graphs: Given an instance (G,c)(G,c), can we efficiently compute an Eulerian trail respecting cc? Hannenhalli et al.~[CABIOS 1996] formalized this problem and showed that it is NP-complete. We focus on parametrization aiming to capture the quality of our domain knowledge in the complexity. Ben-Dor et al. developed an algorithm to solve the problem on de Bruijn graphs in O(mw1.54w)O(m \cdot w^{1.5} 4^{w}) time, where m=Em=|E| and ww is the maximum interval length over all edges. Bumpus and Meeks [Algorithmica 2023] rediscovered the same algorithm on temporal graphs, highlighting the relevance of this problem in other contexts. We give combinatorial insights that lead to exponential-time improvements over the state-of-the-art. For the important class of de Bruijn graphs, we develop an algorithm parametrized by w(logw+1)/(k1)w (\log w+1) /(k-1). Our improved algorithm shows that it is enough when the range of positions is small relative to kk.

Keywords

Cite

@article{arxiv.2508.03433,
  title  = {When is String Reconstruction using de Bruijn Graphs Hard?},
  author = {Ben Bals and Sebastiaan van Krieken and Solon P. Pissis and Leen Stougie and Hilde Verbeek},
  journal= {arXiv preprint arXiv:2508.03433},
  year   = {2025}
}

Comments

ESA 2025 (abstract abridged to satisfy arXiv requirements)

R2 v1 2026-07-01T04:35:09.501Z