You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m working on the read mapper strobealign. While investigating some false positive SNVs that were called on strobealign’s output but not on BWA-MEM’s, I noticed that it matters whether the CIGAR field in the SAM output uses the = and X operations or M to encode alignments. (Strobealign uses =/X.)
Here is a small example. The rightmost SNV at position 96305 is the relevant one. The bottommost read has CIGAR 96=1X40=1X11=1X, and when I change this to 150M, the SNV disappears.
Corresponding BAM file: cigar-m-vs-eqx.gz (please change extension to .bam). I was not able to make this any shorter: As soon as I remove any read, the SNV disappears.
The vcf output for the CIGARs 150M, 150= and 150X give the same result.
Also 96=1X40=1X11=1X and 96M1X40M1X11M1X and 149=1M give the same results as each other.
@jkbonfield noticed that 96=1X40=1X11=1X and 150M give the same result if BAQ is disabled (-B).
I’m working on the read mapper strobealign. While investigating some false positive SNVs that were called on strobealign’s output but not on BWA-MEM’s, I noticed that it matters whether the CIGAR field in the SAM output uses the
=
andX
operations orM
to encode alignments. (Strobealign uses=
/X
.)Here is a small example. The rightmost SNV at position 96305 is the relevant one. The bottommost read has CIGAR
96=1X40=1X11=1X
, and when I change this to150M
, the SNV disappears.Corresponding BAM file: cigar-m-vs-eqx.gz (please change extension to
.bam
). I was not able to make this any shorter: As soon as I remove any read, the SNV disappears.The reference is
GCA_000001405.15_GRCh38_no_alt_analysis_set.fna
.These commands will reproduce the problem:
Output is
vs
I don’t have an opinion on which of the above is correct, but I would assume the intention is for it to be consistent.
The text was updated successfully, but these errors were encountered: