Skip to main content
bioRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search
New Results

Flowtigs: safety in flow decompositions for assembly graphs

View ORCID ProfileFrancisco Sena, View ORCID ProfileEliel Ingervo, View ORCID ProfileShahbaz Khan, View ORCID ProfileAndrey Prjibelski, View ORCID ProfileSebastian Schmidt, View ORCID ProfileAlexandru I. Tomescu
doi: https://doi.org/10.1101/2023.11.17.567499
Francisco Sena
*University of Helsinki, Finland
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Francisco Sena
Eliel Ingervo
*University of Helsinki, Finland
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Eliel Ingervo
Shahbaz Khan
◦Indian Institute of Technology Roorkee, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Shahbaz Khan
Andrey Prjibelski
*University of Helsinki, Finland
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Andrey Prjibelski
Sebastian Schmidt
*University of Helsinki, Finland
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Sebastian Schmidt
Alexandru I. Tomescu
*University of Helsinki, Finland
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Alexandru I. Tomescu
  • For correspondence: alexandru.tomescu@helsinki.fi
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

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 abundances of the metagenomic assembly graph as flow values, we can model the possible assembly solutions as flow decompositions into 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 100% over unitigs, and up to 61.9% over structural contigs. For the 50-percentile of contiguity we get an improvement of up to 17.0% over unitigs and up to 14.6% over structural contigs. These improvements are more pronounced the more complex the assembly graphs are, and the improvements of flowtigs over unitigs are multiple times larger compared to the improvements of previous safe walks over unitigs.

Competing Interest Statement

The authors have declared no competing interest.

Footnotes

  • francisco.sena{at}helsinki.fi

  • shahbaz.khan{at}cs.iitr.ac.in

  • * This work was partially funded by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No. 851093, SAFEBIO), and partially by the Academy of Finland (grants No. 322595, 352821, 346968). Additionally, Shahbaz Khan is funded by the Startup Research Grant SRG/2022/000801 by DST SERB, Government of India. We thank the Finnish Computing Competence Infrastructure (FCCI) for supporting this project with computational and data storage resources.

  • Fixed web version of abstract.

  • https://github.com/elieling/flowtigs

Copyright 
The copyright holder for this preprint is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY 4.0 International license.
Back to top
PreviousNext
Posted November 20, 2023.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about bioRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Flowtigs: safety in flow decompositions for assembly graphs
(Your Name) has forwarded a page to you from bioRxiv
(Your Name) thought you would like to see this page from the bioRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Flowtigs: safety in flow decompositions for assembly graphs
Francisco Sena, Eliel Ingervo, Shahbaz Khan, Andrey Prjibelski, Sebastian Schmidt, Alexandru I. Tomescu
bioRxiv 2023.11.17.567499; doi: https://doi.org/10.1101/2023.11.17.567499
Reddit logo Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Flowtigs: safety in flow decompositions for assembly graphs
Francisco Sena, Eliel Ingervo, Shahbaz Khan, Andrey Prjibelski, Sebastian Schmidt, Alexandru I. Tomescu
bioRxiv 2023.11.17.567499; doi: https://doi.org/10.1101/2023.11.17.567499

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Bioinformatics
Subject Areas
All Articles
  • Animal Behavior and Cognition (4865)
  • Biochemistry (10821)
  • Bioengineering (8065)
  • Bioinformatics (27374)
  • Biophysics (14022)
  • Cancer Biology (11161)
  • Cell Biology (16105)
  • Clinical Trials (138)
  • Developmental Biology (8807)
  • Ecology (13329)
  • Epidemiology (2067)
  • Evolutionary Biology (17395)
  • Genetics (11705)
  • Genomics (15961)
  • Immunology (11057)
  • Microbiology (26157)
  • Molecular Biology (10679)
  • Neuroscience (56732)
  • Paleontology (422)
  • Pathology (1737)
  • Pharmacology and Toxicology (3012)
  • Physiology (4567)
  • Plant Biology (9666)
  • Scientific Communication and Education (1617)
  • Synthetic Biology (2699)
  • Systems Biology (6995)
  • Zoology (1513)