Genotype Quality Control
Checks every SNP for call rate, minor allele frequency and Hardy-Weinberg equilibrium, and every sample for call rate and heterozygosity, before an association study.
When to use
Section titled “When to use”- After importing genotypes (VCF, or 0/1/2 or A/G coded variables) and before testing for association.
- To find genotyping errors: SNPs far out of Hardy-Weinberg equilibrium in controls, or with many missing calls.
- To find problem samples: a low call rate, or heterozygosity far from the others (contamination or inbreeding).
Assumptions
Section titled “Assumptions”- Layout and coding: samples are cases and each SNP is a variable, coded as 0/1/2 allele copies or as genotype strings (A/G, AG, 0/1). Statistics refer to the minor allele.
- HWE in controls: Hardy-Weinberg is tested in the controls when a case-control status and its control value are given, because true associations can distort it in cases.
- Thresholds: the defaults are common starting points for genome-wide data: call rate ≥ 0.95, MAF ≥ 0.01, HWE p ≥ 10⁻⁶. Adjust them to your study.
How to read the output
Section titled “How to read the output”- QC Summary: how many SNPs fail each criterion and how many pass all of them, plus the number of samples with a low call rate.
- SNP QC table: failing SNPs come first, with call rate, MAF, genotype counts, observed and expected heterozygosity, the HWE p-value and the reason for failure.
- Plots: a histogram of minor allele frequencies, and samples by call rate and heterozygosity. Outlying samples should be checked or removed.
- Results dataset and saved variables: the results dataset (Write per-SNP results) keeps a qc_pass flag for each SNP. The saved sample variables give each sample’s call rate, heterozygosity and inbreeding coefficient F.
Reporting (APA)
Section titled “Reporting (APA)”Of 400 SNPs, 6 were excluded (call rate < 95%, n = 3; MAF < 1%, n = 1; Hardy-Weinberg exact p < 10⁻⁶ in controls, n = 2), leaving 394 SNPs in 600 participants for analysis.
Syntax: SNPQC VARIABLES=SNP0001 TO SNP0400 /GROUP=status(0) /OUTFILE=snpqc /SAVE.
This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.