Open tprodanov opened 4 years ago
The deletion can also be at the start of the cigar. Be aware that bwa defines the alignment start as the position of the start of the deletion, whereas the SAM specifications defines the alignment start as the position of the first mapped based (ie, the position of the first M base next to the D).
Secondary alignment has a deletion at the end of its cigar. Ways to reproduce (using human genome version 19):
I am not sure if deletion at the end is an invalid operation, but it is confusing. Also there may be bugs in other programs if they expect last operation to be either match or clipping.
I used BWA version
0.7.17-r1188
.