Topology and computational hardness of contig variation graphs in Minimum Flow Decomposition
What makes viral genome graphs ’easy’ or ’hard’ to solve?
M. Kliment (TU Delft - Electrical Engineering, Mathematics and Computer Science)
J.A. Baaijens – Mentor (TU Delft - Electrical Engineering, Mathematics and Computer Science)
P. Kellnhofer – Graduation committee member (TU Delft - Electrical Engineering, Mathematics and Computer Science)
More Info
expand_more
Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.
Abstract
Reconstructing viral haplotypes from sequencing reads is essential for understanding viral diversity, evolution, and resistance to treatment. Minimum Flow Decomposition (MFD) provides an effective framework for modeling haplotypes as flow paths in a network flow graph; however, solving MFD remains computationally challenging. In practice, solver runtime varies widely: while many instances are solved within seconds, the variance in the runtime is high. This work investigates which structural properties of contig variation graphs determine their computational hardness in the context of viral genome analysis.
Using benchmark viral assembly graphs, we compute a broad set of topological features, including path-based complexity measures, flow-related attributes, and local structural metrics. We analyze the relationship between these features and MFD solver runtime using both correlation analysis and classification of completed versus timed-out instances. To distinguish correlated factors, we further perform targeted synthetic experiments that isolate individual features, such as maximum flow, while keeping graph topology fixed.
Our results show that runtime is primarily driven by global path-related complexity, particularly the minimum path cover (MPC), a measure closely related to the true number of haplotypes in the sample. Many intuitive structural features, including local node degree and flow magnitude, exhibit limited independent predictive power once path complexity is accounted for. These findings refine previous observations on the exponential dependence of MFD runtime on haplotype count \cite{greedy} and demonstrate that computational hardness can often be anticipated from graph structure alone. Overall, this work provides practical insight into predicting difficult MFD instances and informs preprocessing and solver strategies for scalable viral haplotype reconstruction.
https://gitlab.ewi.tudelft.nl/jbaaijens/cse3000-viralmfd