Thank you for your reply!! My bad. I didn't mention that I want to get the mismatch rate for each site. Is this error rate for each site?
calculate mismatch rate from VCF file
I want to calculate the mismatch rate on base-level, I notice that the information in VCF file may help.
##INFO=<ID=DP4,Number=4,Type=Integer,Description="Number of high-quality ref-forward , ref-reverse, alt-forward and alt-reverse bases">
Question: can I use (alt-forward + alt-reverse) / (ref_forward + ref-reverse + alt-forward + alt-reverse) to get the mismatch rate?
PS: in my case, the mismatch means one bases convert into the other, the insertion or deletion is not included
Thank you in advance!
• 1,150 views
•
link
1 answer
Log in to answer this question.