bwa mem piped to samtools is not working strange error
Hi All,
I am using bwa mem and samtools to get files in bam format. The cammand I am using is as follows:
bwa mem data/genome.fa data/samples/A.fastq ¦ samtools view -Sb - > aln.bam
I get an error:
mem: invalid option -- ´b´
However, these two commands work fine when executed separately.
Any leads as to what could be happening.
Thank you.
• 1,243 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Is it indeed
¦rather than|?