I should have been more explicit with the example. I was referring to a deletion on the positive strand for simplicity.
I get the tandem dup organization but do you mind clarifying a bit on
Your read may well support a tandem duplication of base chr1:100-500 inclusive if the CIGAR of your primary alignment is 200S100M and your supplementary is 200M100H.
Why would a tandem dup have 200S100M for the primary and the reciprocal for the supplementary. I though CIGAR strings were for the alignment not the entire read (primary+supplementary)
Edit: I think I figured it out. Here's an example of some split-reads that support a tandem dup
- 104M46S SA:Z:8,2680602,-,100S50M,60,0;
- 83M67S SA:Z:8,2680602,-,79S71M,60,0;
- 72M78H SA:Z:8,2680602,+,68S82M,60,0;
The first two have soft clips so for both alignments, so they are included in the SEQ For the third example the primary has a hard clip (so it's not in the SEQ) but is soft clipped in the supplementary. For tandem dups you should always expect the matched bit of sequence to be min Left and max Right positions of the left and right positions of the split-reads. Deletions it's the max Left and min Right.
Thanks!
Edit edit: The answer for a deletion given the example above would be chr1-201-299