bmvdgeijn / WASP

WASP: allele-specific pipeline for unbiased read mapping and molecular QTL discovery
Apache License 2.0
103 stars 51 forks source link

- fixing bug D and I CIGAR #80

Closed MingshiGao closed 5 years ago

MingshiGao commented 5 years ago

Hi, I noticed that WASP does not handle correctly the D and I entries in CIGAR. That leads to incorrectly identify the nucleotide overlapping a SNP. Thus leading to an erroneous number of reads per allele.

The problem arises because when a D or I is encountered, WASP does not update the genomic start index (when D) or the read start index (when I) and therefore causing an unwanted shift between read and genome.

I implemented a fix for this.

Thanks, Mingshi