SNPQC
Genotype quality control: per-SNP call rate, minor allele frequency, genotype counts, heterozygosity and Hardy-Weinberg exact test; per-sample call rate, heterozygosity and inbreeding F.
Syntax
Section titled “Syntax”SNPQC VARIABLES=snps [/GROUP=var(control value)] [/CRITERIA=CALLRATE(0.95) MAF(0.01) HWE(1E-6) SAMPLECALL(0.95)] [/HWE=EXACT|CHISQ] [/MAP=dataset SNP=var CHR=var POS=var] [/TOP=20] [/OUTFILE=name] [/SAVE=CALLRATE HET FHET] [/PLOT=MAF SAMPLES|NONE].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | yes, undoable |
| Subcommands | /CRITERIA, /GROUP, /HWE, /MAP, /OUTFILE, /PLOT, /SAVE, /TOP, /VARIABLES |
| Menu | Analyze ▸ Genomics |
| Slot: SNP variables | 1+ variable(s); levels: nominal, ordinal, scale; types: numeric, string |
| Slot: Case-control status (HWE in controls) | 0–1 variable(s); levels: nominal, ordinal, scale; types: numeric, string |
Specifications
Section titled “Specifications”- GROUP: test Hardy-Weinberg in the controls only (var = control value; default: lowest value)
- HWE: EXACT (default; Wigginton et al. 2005) or CHISQ
- OUTFILE: writes every SNP’s statistics and a qc_pass flag to a new dataset
- SAVE: per-sample QC_callrate, QC_het and QC_F on the active dataset
- MAP: chromosome and position lookup when variables have no chr/pos attributes or labels
Examples
Section titled “Examples”SNPQC VARIABLES=SNP0001 TO SNP0400 /GROUP=status(0) /OUTFILE=snpqc /SAVE.SNPQC VARIABLES=rs1 TO rs999 /CRITERIA=CALLRATE(0.98) MAF(0.05) HWE(1E-5) /HWE=CHISQ.- Genotypes are 0/1/2 allele counts or strings such as A/G, AG or 0|1; statistics are for the minor allele.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.