Entering edit mode
7.8 years ago
flight22121
▴
10
Trying code in Win CMD:
snap index H37Rv_reference.fa index -dir C:\Users\Friends\Documents\snap-beta.18-windows
and it throws error "Invalid argument: -dir"
How to set up the directory correctly and how to refer to it?
Looking at the command line you almost certainly have an error in it somewhere (have you looked at the manual/help?). You can't have
index
option twice. Doesindex-dir
need to be one word?Found correct way on my own:
and now get Unable to open file 'read1.fq' for QueryFileSize, 2 when aligning with code snap paired D:\snap-beta.18-windows\ read1.fq read2.fq -o output.sam , how to fix that? Thank you
I am just speculating. Check the manual/online help. If you are providing path for one of the fastq files then you may need to do it for the other as well.
snap paired D:\snap-beta.18-windows\read1.fq D:\snap-beta.18-windows\read2.fq -o output.sam