BWA2 command error
0
0
Entering edit mode
20 months ago
waik • 0

I commanded

$BWA2 mem -t 1 -R "@RG\tID:sample\tSM:sample\tPL:platform" ../resource/reference/hg38.chr21.fa sample_1.fastq.gz sample_2.fastq.gz > sample.mapped.sam

but there was error

bash: mem: command not found

I tried to find solutions. but no clues.

FASTA BWA2 • 513 views
ADD COMMENT
0
Entering edit mode

Make sure the $BWA2 bash variable is set with echo $BWA2.

ADD REPLY
0
Entering edit mode

and use simple quotes for option -R , otherwise, tabs will be expanded in the SAM header which can break some programs.

ADD REPLY

Login before adding your answer.

Traffic: 2373 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