Thanks for your reply, Istvan "What you could do however is examine the MAPQ of the alignments that do overlap with your variants and tabulate the MAPQ for these alignments. See if there is a pattern to them."
This is exactly what I want to accomplish. I am unsure how to go from the variant and determine which SAM reads it originates from.
Any advice would be appreciated.
most(all?) variant callers will ignore MAPQ=0
Thank you for the reply Pierre,
I am curious if during the alignment process there are two regions that are highly similar say a gene and it's known pseudogene. My theory is that if I examined the MAPQ scores for these reads, I would be able to determine if the read was originating from the gene or the pseudogene.
thanks!
If a read aligns equally well to two locations, both locations should get the same MAPQ (in this case, 3 or less). So you should not be able to distinguish between a read originating from a gene or pseudogene except in the regions where they differ.
Reads which map equally well on multiple locations (as in the situation you describe) will have a mapping quality of 0 and as Pierre said will be ignored by variant callers.