Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending existing graph with long reads #518

Open
BaxW opened this issue Jul 12, 2023 · 2 comments
Open

Extending existing graph with long reads #518

BaxW opened this issue Jul 12, 2023 · 2 comments

Comments

@BaxW
Copy link

BaxW commented Jul 12, 2023

Hello!

I've been using odgi to explore graphs I've built from long read assemblies with both Minigraph/Cactus and pggb, and it's been incredibly useful (thank you !)
I have some hifi data for some additional samples (individuals not already represented in the graph) that I'd like to try to use to extend an existing graph, but the hifi data is not sufficient depth for de novo assembly (10-15x coverage).

I noticed that there is a section about this in the FAQ for odgi which says:

"Here, our recommendation is to actually rebuild the graph with PGGB. One could use Graphaligner to align the long sequences against the graph and then use vg augment to extend the already existing graph, but that would be comparatively inexact and the resolutions of complex regions might drop dramatically. A reference-biased method would be Minigraph followed by Cactus."

So, if I want to extend an existing graph with lowish coverage long reads for additional samples I should:

  1. assemble the reads as best I can (despite low coverage) and re-build the graph with pggb or Minigraph/Cactus
    ...or...
  2. align the reads to the existing graph and use vg augment (less ideal)

Am I understanding this correctly?

@ekg
Copy link
Contributor

ekg commented Jul 12, 2023 via email

@BaxW
Copy link
Author

BaxW commented Jul 13, 2023

Okay yes that makes sense, thanks! Out of curiosity, what advantage would this approach have over using vg augment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants