bwa mem piped to samtools is not working strange error
0
0
Entering edit mode
3.3 years ago
Dataminer ★ 2.8k

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.

samtools bwa mem • 775 views
ADD COMMENT
1
Entering edit mode

Is it indeed ¦ rather than |?

ADD REPLY

Login before adding your answer.

Traffic: 1898 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6