-
Notifications
You must be signed in to change notification settings - Fork 26
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
Visualizing a graph from short sequences #446
Comments
It sounds like you want to take those sequences, align them together, produce a graph from that, and visualize it. You have a FASTA like this:
To build the graph you want. you can't just use I ususally recommend building a graph from sequences with the minigraph-cactus pipeline, but that's kind of heavyweight and meant for full assemblies, not tiny sequences. Since your sequences are so short and can't make too much of a hairball, you might have good luck with the pggb tool for squashing them together into a graph. Or, you could make a multiple alignment MAF of them (maybe making the names be of the form You can also try the old
I got this graph from (You definitely can't Then you can visualize that with vg's built-in tools and GraphViz:
That looks kind of plausible. Than you need to get the tube map working. You've posted a screenshot of what looks like quite an old version of the tube map, maybe the old Docker version. I'd recommend using the current version by following the installation instructions, or since your file is small you can upload it to the online demo server which we updated a couple weeks ago. If you want to use your file via upload you don't need to use the import scripts in the README. You can instead:
If you want to download the image, you can click "Download Image". But you might run into #448 and need to fix the resulting image in Inkscape. |
Many thanks for your kind detail explanations. |
Hi all,
I want to print an image that sequenceTubeMap. I have used these codes for seuenceTubeMap. Please, help me with the image.
my_seq is below;
vg construct -r reference.fa > graph.vg
vg index -x graph.xg graph.vg
vg index -g graph.gam graph.vg
vg view -vg graph.vg > graph.gfa
vg gbwt -o graph.gbwt -G graph.gfa
Please, help me for image.
The text was updated successfully, but these errors were encountered: