Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapping quality #79

Open
Wuxy96 opened this issue Apr 21, 2020 · 1 comment
Open

mapping quality #79

Wuxy96 opened this issue Apr 21, 2020 · 1 comment

Comments

@Wuxy96
Copy link

Wuxy96 commented Apr 21, 2020

Hi,
May I know the formula of mapping quality in sam. I wonder how to calculate this value, and the threshold of high mapping quality.
Thanks.

@fritzsedlazeck
Copy link
Collaborator

Every mapper does it slightly differently. It is basically representing the edit distance between the first and 2nd best alignment of a read. There is greater detail in the SAM documentation I think.

https://genome.sph.umich.edu/wiki/Mapping_Quality_Scores

Typical thresholds are either 10+ or 20+ depending on how much you want to filter.
For NGM MQ=0 is saying that its not a unique mapping read. MQ1-5 says its unique mapping but there might be a 2nd alignment that is just different by 1-2 bp.

Hope that helps
Fritz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants