Hello, I am trying to get the check the positions of the mapped reads which are detected as a mismatch by the Bowtie2 aligner. I can separate the reads based on mismatch numbers but could not find any resource on how to find out their positions in the read.
You should be able to parse the CIGAR string included in the alignment.
Thanks.