I have some cases where it seems like the CIGAR string is missing an "S" after the number of bases that are softclipped.
For example using this crate I have the following string:
cigar_str: Some("311232M9D10468M6D220M3D200M3D811M3D5351M9D1363M26D105MS2S")
Using minimap2 I get the following:
3S11232M9D10468M6D220M3D200M3D811M3D5351M9D1363M26D105M2S
It seems to me that the first occurrence of S in the CIGAR isnt included, which ends up concatenating into the next so what should be 3S11232M becomes 311232M.
My aligner:
let aligner = Aligner::builder()
.asm20()
.with_cigar()
.with_sam_hit_only()
.with_index(&args.reference, None)
I have some cases where it seems like the CIGAR string is missing an "S" after the number of bases that are softclipped.
For example using this crate I have the following string:
cigar_str: Some("311232M9D10468M6D220M3D200M3D811M3D5351M9D1363M26D105MS2S")
Using minimap2 I get the following:
3S11232M9D10468M6D220M3D200M3D811M3D5351M9D1363M26D105M2S
It seems to me that the first occurrence of S in the CIGAR isnt included, which ends up concatenating into the next so what should be
3S11232M
becomes311232M
.My aligner:
I am using version
0.1.20+minimap2.2.28
Let me know if more info is needed Thanks