Question: Writing Script That Compares Results From Multiple Sample Snp Callers By Calculating Ti/Tv Ratio
gravatar for mubozhi
7.8 years ago by
mubozhi20 wrote:

Dear All,

I've ran 9 different multiple-sample SNP callers on 50 exome samples from the 1,000 Genomes Project and I want to compare the results to see which SNP caller is doing the best job. I've already calculated SNP call concordance values with dbSNP and I think the next step is to calculate transition/transversion (Ti/Tv) ratios. I realize that there are many programs (vcftools, snpEff, etc.) that will calculate the Ti/Tv ratio from the VCF output of a SNP caller, but not all the SNP callers I used output VCF files. Thus I want to write my own script, that will be able to compute the Ti/Tv ratio for all the 9 SNP callers.

The output of each SNP caller usually includes the location of the SNPs, the samples which have these SNPs and the SNP genotype (different from reference) of the samples with these SNPs, amongst other information. Counting the exact number of transitions and transversions of a specific SNP caller's output seems complicated for 2 reasons:

1) What if two samples are called to have SNPs at the same location, yet they are genotyped differently? i.e. Given that the reference base is A and sample 1 was genotyped as a C and sample 2 was genotyped as a G, is that both 1 transition and 1 transversion?

2) What about heterozygous SNP calls (i.e. given a reference of A, sample 1 was genotyped AC)? Would these count as either a transition or a transversion, or are heterozygous SNPs generally excluded from Ti/Tv calculations?

I'm assuming that once these issues are resolved, then the Ti/Tv ratio is calculated to be just the total number (over all samples) of transition SNPs divided by the total number (again, over all samples) of transversion SNPs of a SNP caller's output. Is this true?

Thank you!

snp • 4.7k views
ADD COMMENTlink modified 5.8 years ago by mcmullan00 • written 7.8 years ago by mubozhi20
gravatar for ernfrid
7.7 years ago by
Saint Louis
ernfrid390 wrote:

1) I'm not sure if there is a general practice, but I have always counted this as two events.

2) Yes, you include heterozygous calls. There is no change in counting for them either. If the reference is A and you have AC and CC, both would count as one transversion.

3) There are two ways to do this. One is to simply look at all of your called sites and calculate the Ti/Tv of those sites, regardless of how many samples have any individual variant. I believe this is generally how the quality of calls for a given cohort is determined (note that this makes #2 irrelevant). The other way is to weight each variant by the number of times it was called across the cohort (this is what you have written I think). I don't believe the latter is wrong, but it won't give you as sensitive a read on the calls being generated by your caller as the former method.

Hope this helps.

ADD COMMENTlink written 7.7 years ago by ernfrid390
gravatar for mcmullan0
5.8 years ago by
European Union
mcmullan00 wrote:

1) Tri-allelic loci are so rare that you should not have to account for these.  You would have to have very strong balancing selection (i.e. on an immune gene) to retain three bases at a site and I would cautious of accepting these.

2) This is the scenario you would always expect to observe because your sites should be bi-allelic (with respect to that base position)

ADD COMMENTlink written 5.8 years ago by mcmullan00
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1139 users visited in the last hour