This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to split alignment into smaller chunks with node range

Hi,

I have a GFA file(graph) and GAM file(alignment). I want to split them into smaller chunks with node range. I have splited GFA file into smaller chunks with command vg chunk -r 1527845:2392738 -x test.gfa -O gfa > chunk303.gfa, but I got an error when I splited GAM file with command vg chunk -a gfa_mapped_sort.gam -r 1527845:2392738 > chunk303_mapped.gam.

I don't know whether my command is right or not.

Thank you in advance!

vg

Can you be more specific about the error that you encountered? Was there any output to stderr? I think the error might be that your GAM was saved to a file in your working directory rather than emitted through stdout. Did you check the working directory?

0 answers

No answers yet.

Log in to answer this question.