Entering edit mode
4.2 years ago
Mick
▴
30
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.
Ah ok, I had no idea you could use the dash that way. Now it makes sense. Thank you!
You can also use
/dev/stdin
instead in this case but most tools where Heng Li had his hands on, e.g.bwa
,samtools
,seqtk
interpret-
as read fromstdin
.