Bwa-Mem - Where Has Sm:I Gone?
1
0
Entering edit mode
11.4 years ago
steve ▴ 40

This question is a follow up from: Are some sequences uniquely mapped by BWA when mapped as paired-end that would not be when mapped as single-end?

My question is:

How does BWA-MEM report single-end mapping quality?

BWA-backtrack kindly reports the single-end mapping quality using the SM:i tag. But is there a way (hackish or otherwise) to get BWA-MEM to report this field? If not, why?


EDIT:

These tags would also be nice:

XT; XA; X0;

bwa samtools • 3.7k views
ADD COMMENT
0
Entering edit mode
11.4 years ago

The mapping quality is reported in the 5th column of the SAM file (MAPQ).

ADD COMMENT
0
Entering edit mode

So for BWA-MEM, is SM:i always equal to MAPQ? Is that why Heng removed this from the output? IF that's the case I can just duplicate the field. easy.

ADD REPLY
0
Entering edit mode

these are slightly different meanings of mapping qualities some discussion is here

Differing BWA MAPQ scores for a read depending on how I build the transcriptome

the way mapping qualities are obtained are somewhat mysterious and perhaps it is better there is only one of them

ADD REPLY
0
Entering edit mode

Any thoughts on how MAPQ is assigned?

ADD REPLY

Login before adding your answer.

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