Hi,
SAM file specification has fields/tags such as alignment score (AS:i:<n> in bowtie2) and edit-distance (NM:i:<n>) for each end of the pair.
I am working with amplicons paired-end data (thus overlap is not uncommon) and would like to know if there is a paired-end "combined" score for the whole mate/pair (taking into account the overlap), e.g. for alignment score, edit distance, etc; this will be useful for later filtering etc.
I'm currently using bowtie2, and have just noticed "The alignment score for a paired-end alignment equals the sum of the alignment scores of the individual mates." written in the manual. Is that indeed the case especially when there is an overlap? How are the scores calculated for each end (0.5 for each ?)
I'm currently using my own implementation as a post-processing which is inefficient.
many thanks Shim
thanks for your answer and confirming what I suspected. Btw, in my case, at least in bowtie2, MAPQ contributes not much value (many alignments get the same value).