You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to subset a gfa file from a region (eg: Chr01:1-10000) , and I thought the parameter -R might help, but got a empty file, may your help me with the right code:
The code I used:
[path to]/gfa view -R Chr01:1-10000 -r 1 my.gfa >1_10k.gfa
# I tried -r 1 , -r 10, or without -r
# I also tried -l Chr01:1-10000 with or without -r parameter
It output a empty file 1_10k.gfa
I used vg to construct the graph genome .vg, then got the gfa file.
I am also confused about -R option, each time I use it, I will get an empty file.
However, -l is useful. When I use ./gfatools view -l 1,2,3 my.gfa > subgraph.gfa, the result is segment 1,2,3 and related segments and links.
Hi, sir:
I wanted to subset a gfa file from a region (eg: Chr01:1-10000) , and I thought the parameter -R might help, but got a empty file, may your help me with the right code:
The code I used:
It output a empty file 1_10k.gfa
I used vg to construct the graph genome .vg, then got the gfa file.
the example code was successful:
Thanks for your time.
The text was updated successfully, but these errors were encountered: