Hello,
In case Read1 and Read2 are overlapping, the CIGAR information for their alignments have some redundancy, or in the worst case some discrepancies. So I would like to trim the Read2 alignment to the extent where Read1's alignment ends. Merging the reads before alignment is not possible (only a small fraction overlaps).
I tried to reduce the length of a BamAlignment object, but this did not magically adjust the alignment coordinates and CIGAR information. Is this possible with other functions?
Have a nice day,
Charles Plessy