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

Assembly graph in GFA format #23

Closed
sjackman opened this issue Oct 23, 2018 · 11 comments
Closed

Assembly graph in GFA format #23

sjackman opened this issue Oct 23, 2018 · 11 comments

Comments

@sjackman
Copy link

Does wtdbg2 support outputting the assembly graph in GFA1 or GFA2 format?

@lh3
Copy link
Collaborator

lh3 commented Oct 23, 2018

Wtdbg2 outputs intermediate graphs in dot. No final graph like canu/falcon/miniasm, though.

@sjackman
Copy link
Author

Consider it a feature request then?

@ruanjue
Copy link
Owner

ruanjue commented Oct 23, 2018

There is a script https://github.com/ruanjue/wtdbg2/blob/master/scripts/wtdbg-dot2gfa.pl, it can translate dot files into GFA format.

@sjackman
Copy link
Author

Excellent! Could wtdbg2 output a final assembly graph in GraphViz format?

@ruanjue
Copy link
Owner

ruanjue commented Oct 24, 2018

Yes, the final assembly graph can be found in prefix.ctg.dot.

@ruanjue ruanjue closed this as completed Oct 24, 2018
@sjackman
Copy link
Author

Excellent! Thanks, Jue!

@claczny
Copy link

claczny commented Nov 2, 2018

There is a script https://github.com/ruanjue/wtdbg2/blob/master/scripts/wtdbg-dot2gfa.pl, it can translate dot files into GFA format.

Please note that this script expects the prefix.[123].dot files as input.

I tried it with the prefix.ctg.dot to no avail, hence, dot -Tps prefix.ctg.dot -o prefix.ctg.ps should do the trick.

@sjackman
Copy link
Author

sjackman commented Nov 2, 2018

Ah, so it's not currently possible to convert the final assembly to GFA format?

@ruanjue
Copy link
Owner

ruanjue commented Nov 3, 2018

300f189
GFA for prefix.frg/ctg.dot.

@sjackman
Copy link
Author

sjackman commented Nov 3, 2018

Great! Thanks!

@claczny
Copy link

claczny commented Nov 4, 2018

Thanks a lot!

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

4 participants