Skip to main content
QUICK REVIEW

[Paper Review] The Hydrostructure: a Universal Framework for Safe and Complete Algorithms for Genome Assembly

Massimo Cairo, Shahbaz Khan|arXiv (Cornell University)|Nov 25, 2020
Genomics and Phylogenetic StudiesBiochemistry, Genetics and Molecular Biology57 references5 citations
TL;DR

This paper introduces the hydrostructure, a novel graph framework that unifies and generalizes safe and complete genome assembly algorithms by modeling reachability properties of walks in assembly graphs. It enables optimal verification, enumeration, and improved enumeration of safe walks across multiple genome assembly models, providing a simple YES-certificate and extending prior results to practical models with theoretical guarantees.

ABSTRACT

Genome assembly is a fundamental problem in Bioinformatics, requiring to reconstruct a source genome from an assembly graph built from a set of reads (short strings sequenced from the genome). A notion of genome assembly solution is that of an arc-covering walk of the graph. Since assembly graphs admit many solutions, the goal is to find what is definitely present in all solutions, or what is safe. Most practical assemblers are based on heuristics having at their core unitigs, namely paths whose internal nodes have unit in-degree and out-degree, and which are clearly safe. The long-standing open problem of finding all the safe parts of the solutions was recently solved [RECOMB 2016] yielding a 60% increase in contig length. This safe and complete genome assembly algorithm was followed by other works improving the time bounds, as well as extending the results for different notions of assembly solution. But it remained open whether one can be complete also for models of genome assembly of practical applicability. In this paper we present a universal framework for obtaining safe and complete algorithms which unify the previous results, while also allowing for easy generalisations to assembly problems including many practical aspects. This is based on a novel graph structure, called the hydrostructure of a walk, which highlights the reachability properties of the graph from the perspective of the walk. The hydrostructure allows for simple characterisations of the existing safe walks, and of their new practical versions. Almost all of our characterisations are directly adaptable to optimal verification algorithms, and simple enumeration algorithms. Most of these algorithms are also improved to optimality using an incremental computation procedure and a previous optimal algorithm of a specific model.

Motivation & Objective

  • To unify and generalize existing safe and complete genome assembly algorithms into a single, extensible framework.
  • To address the long-standing open problem of achieving completeness in practical genome assembly models beyond the basic arc-covering walk model.
  • To provide a simple YES-certificate for safety, resolving the lack of such a certificate in prior work based on forbidden structures (NO-certificates).
  • To enable efficient verification and enumeration of safe walks across diverse assembly models, including k-safe, F-visible, and E-covering models.
  • To extend theoretical safety characterizations to practical scenarios such as subset visibility and incremental computation.

Proposed method

  • The hydrostructure is constructed by defining forward and backward reachability sets from walk endpoints, capturing the reachability properties of walks in the graph.
  • It introduces the concept of the 'river' as the intersection of forward and backward reachability, forming the core of the hydrostructure.
  • The framework uses visible adjacency and reachability in F-visible models, where only arcs in a subset F are considered visible for safety computation.
  • It employs flow-based algorithms to verify whether the minimum walk-cover size exceeds a threshold k, enabling k-safe characterizations in O(mn) time.
  • An incremental computation procedure maintains key components like R⁺(W), R⁻(W), and walk-cover size in O(m²) time, enabling efficient enumeration.
  • The hydrostructure generalizes the standard notion of a cut, enabling flexible analysis of safety in various walk-covering models.

Experimental results

Research questions

  • RQ1Can a universal framework be developed to unify safe and complete genome assembly algorithms across diverse models?
  • RQ2Is there a simple YES-certificate for safety in genome assembly, beyond the NO-certificates based on forbidden structures?
  • RQ3Can the hydrostructure be adapted to practical models such as subset visibility and incremental computation?
  • RQ4How can verification and enumeration of safe walks be optimized across different assembly models?
  • RQ5Can the hydrostructure be used to generalize the notion of safety beyond unitigs and into broader classes of walks?

Key findings

  • The hydrostructure provides a universal framework that unifies and generalizes all prior safe and complete genome assembly algorithms, including those for k-safe, E-covering, and F-visible models.
  • The framework enables optimal verification of safe walks in O(m + f) time, where f = O(mn) is the time to compute minimum walk-cover size.
  • Enumeration of safe walks is achieved in O(m²n + mnf) time, with an improved enumeration algorithm running in O(mn + o + ng) time, where o is the output size and g = O(m²) is the time to maintain walk-cover size.
  • The hydrostructure serves as a simple YES-certificate for safety, resolving a long-standing open question about the existence of such a certificate.
  • The framework extends naturally to practical models such as subset visibility, with an additional O(mn) cost, and maintains theoretical optimality across models.
  • The hydrostructure generalizes the concept of a cut, enabling a more flexible and powerful analysis of safety in covering walks of directed graphs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.