Flowtigs: safety in flow decompositions for assembly graphs
Francisco SenaiD, Ingervo ElieliD, Shahbaz KhaniD, Andrey D. PrjibelskiiD, Sebastian SchmidtiD, Alexandru Ioan TomescuiD
Abstract
A decomposition of a network flow is a set of weighted paths whose superposition equals the flow. The problem of characterising and computing safe walks for flow decompositions has so far seen only a partial solution by restricting the flow decomposition to consist of paths, and the graph to be directed and acyclic (DAG). However, the problem of decomposing into closed walks in a general graph (allowing cycles) is still open. In this paper, we give a simple and linear-time-verifiable complete characterisation (flowtigs) of walks that are safe in such general flow decompositions, i.e. that are subwalks of any possible flow decomposition. Our characterisation generalises over the previous one for DAGs, using a more involved proof of correctness that works around various issues introduced by cycles. We additionally provide an optimal O(mn)-time algorithm that identifies all maximal flowtigs and represents them inside a compact structure. We also implement this algorithm and show that it is very fast in practice. On the practical side, we study flowtigs in the use-case of metagenomic assembly. By using the species abundances as flow values of the metagenomic assembly graph, we can model the possible assembly solutions as flow decompositions into weighted closed walks. Compared to reporting unitigs or maximal safe walks based only on the graph structure (structural contigs), reporting flowtigs results in a notably more contiguous assembly. Specifically, on shorter contigs (75-percentile), we get an improvement in assembly contiguity of up to 99% over unitigs, and on the 50-percentile of contiguity we get an improvement of up to 17% over unitigs. These improvements that flowtigs bring over unitigs are 4-14x larger that what structural contigs bring over unitigs.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 1
- FWCI
- 0.14
- Field percentile
- 40th percentile
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Faucet: streaming de novo assembly graph construction
Roye Rozov, Gil Goldshlager, … Ron Shamir A·BioinformaticsPeer-reviewed·Jul 21, 2017
- Minimum flow decomposition guided by saturating subflows
Ke Chen, Abhishek Talesra, … Mingfu Shao·bioRxiv·Jul 2, 2026
- Efficient Heuristic for Decomposing a Flow with Minimum Number of Paths
Mingfu Shao, Carl Kingsford·bioRxiv·Nov 16, 2016
- Uncovering hidden assembly artifacts: when unitigs are not safe and bidirected graphs are not helpful
Amatur Rahman, Paul Medvedev·Genome ResearchPeer-reviewed·Sep 1, 2022
- Genome assembly with variable order de Bruijn graphs
Diego Diaz-Domínguez, Pierfrancesco Martinello, … Leena Salmela·bioRxiv·Sep 6, 2022
- The omnitig framework can improve genome assembly contiguity in practice
Sebastian Schmidt, Santeri Toivonen, … Alexandru Ioan Tomescu·bioRxiv·Jan 30, 2023