Ah ok, I had no idea you could use the dash that way. Now it makes sense. Thank you!
• 0 views
•
link
Hi I'm trying to pipeline the bwa aln and samse commands.
This works:
bwa samse reference.fa <(bwa aln reference.fa test.fq) test.fq > test.sam
But this doesn't:
bwa aln reference.fa test.fq | bwa samse reference.fa test.fq > test.sam
Why is that, what is the difference? Thank you.
Wrong order of arguments or rather the sai argument missing:
$ bwa samse
Usage: bwa samse [-n max_occ] [-f out.sam] [-r RG_line] <prefix> <in.sai> <in.fq>
bwa aln reference.fa test.fq | bwa samse reference.fa - test.fq > test.sam
By the way, doesn't work is no error message.
Log in to answer this question.