I was a bit confused by the output of a bwa read-alignment. I have observations that return a good CIGAR value but poor MAPQ value. This alignment was obtained from converting a BAM file -> BED file that was generated with bwa mem.
chr1 142536052 142536087 336_1362_95 0 - 16 35M * 0 0 CACTCCAGACTCGGTGACAGAGTGAGATCCTGTCG 8?@?.:/@@@@@@@@@@@@@@@>?@@@@?@@>@=@ NM:i:1 MD:Z:8T26 AS:i:30 XS:i:29
I thought CIGAR values and MAPQ value should be correlated but this breaks my intuition. Any insights would be super helpful. Thanks!
Thanks for the reply. This was my first thought but I didn't see a secondary alignment tag, such as
XA:Z:chr1,-24263422,35M,1;
which is present in other reads of my file. Does that dissuade from the possibility it is multi-mapping?I just blatted your sequence and it's clear that this is part of an Alu element and therefore occurs very often in the genome.
Great, thank you for the help!