Any option in bwa mem aligner for headless sam output?
1
0
Entering edit mode
2.2 years ago
robjohn70000 ▴ 160

Hi,

In the bowtie2 implementation for read alignment to a reference, there is an option (--no-sq Suppress @SQ SAM header lines.) to obtain a headless sam file as output. I want to carry out alignments using bwa mem and obtain headless sam file as ouput. I have checked the bwa mem manual for an quivalent flag and couldn't find any. Any ideas?

Thanks

sam bowtie2 bwa alignment • 647 views
ADD COMMENT
2
Entering edit mode
2.2 years ago
bwa mem ref.fa R1.fq.gz R2.fq.gz | grep -v '^@SQ'
ADD COMMENT
0
Entering edit mode

Thanks so much @Pierre Lindenbaum

ADD REPLY

Login before adding your answer.

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