.\" Manpage for QTLtools rtc. .\" Contact halitongen@gmail.com to correct errors or typos. .TH QTLtools-gwas 1 "06 May 2020" "QTLtools-v1.3" "Bioinformatics tools" .SH NAME QTLtools gwas \- Genome-wide association tests .SH SYNOPSIS .B QTLtools gwas \-\-vcf .IR [in.vcf | in.vcf.gz | in.bcf | in.bed.gz] .B \-\-bed .IR quantifications.bed.gz .B \-\-out .IR output.txt .I [OPTIONS] .SH DESCRIPTION This mode runs a linear regression with every genotype vs. every phenotype. .SH OPTIONS .TP .B \-\-vcf [\fIin.vcf\fR|\fIin.bcf\fR|\fIin.vcf.gz\fB|\fIin.bed.gz\fB] ... Genotypes in VCF/BCF/BED format. The DS field in the genotype FORMAT of a variant (dosage of the genotype calculated from genotype probabilities, e.g. after imputation) is REQUIRED. REQUIRED. .TP .B \-\-bed \fIquantifications.bed.gz\fR ... Molecular phenotype quantifications in BED format. REQUIRED. .TP .B \-\-out \fIfilename.txt\fR The output file name. REQUIRED. .TP .B \-\-cov \fIcovariates.txt\fR Covariates to correct the phenotype data with. .TP .B \-\-normal Rank normal transform the phenotype data so that each phenotype is normally distributed. RECOMMENDED. .SH OUTPUT FILE .TP 1 .B output file Space separated output file with the following columns. .TS n lx . 1 T{ The phenotype ID T} 2 T{ The variant's chromosome T} 3 T{ The variants's start position T} 3.1 T{ The variant's end position. Only printed if a BED file is supplied to \fB\-\-vcf\fR T} 4 T{ The variant's ID T} 5 T{ The p-value T} 6 T{ The correlation coefficient T} .TE .SH EXAMPLE .IP o 2 Run the association between all the variants and phenotypes, correcting the phenotypes with technical covariates and normal transforming them: .IP "" 2 QTLtools gwas \-\-bed quantifications.bed.gz \-\-vcf genotypes.bcf \-\-cov covariates.txt \-\-normal \-\-out gwas_results.txt .SH SEE ALSO .IR QTLtools (1) .\".IR QTLtools-bamstat (1), .\".IR QTLtools-mbv (1), .\".IR QTLtools-pca (1), .\".IR QTLtools-correct (1), .\".IR QTLtools-cis (1), .\".IR QTLtools-trans (1), .\".IR QTLtools-fenrich (1), .\".IR QTLtools-fdensity (1), .\".IR QTLtools-rtc (1), .\".IR QTLtools-rtc-union (1), .\".IR QTLtools-extract (1), .\".IR QTLtools-quan (1), .\".IR QTLtools-rep (1), .\".IR QTLtools-gwas (1), .PP QTLtools website: .SH BUGS Versions up to and including 1.2, suffer from a bug in reading missing genotypes in VCF/BCF files. This bug affects variants with a DS field in their genotype's FORMAT and have a missing genotype (DS field is .) in one of the samples, in which case genotypes for all the samples are set to missing, effectively removing this variant from the analyses. .PP Please submit bugs to .SH CITATION Delaneau O., Ongen H., Brown A. A., et al. A complete tool set for molecular QTL discovery and analysis. \fINat Commun\fR \fB8\fR, 15452 (2017). .SH AUTHORS Olivier Delaneau (olivier.delaneau@gmail.com), Halit Ongen (halitongen@gmail.com)