This cloud-ready GWAS pipeline allows you to run single variant tests and gene-based tests using REGENIE in an automated and reproducible way. The pipeline outputs tabixed association results (e.g. for LocusZoom), gene-annotated tophits and an interactive HTML report including numerous statistics and plots (e.g. Manhattan Plat, QQ-Plot by MAF).
Documentation can be found here.
Please cite this preprint if you use nf-gwas:
Performing highly parallelized and reproducible GWAS analysis on biobank-scale data. Sebastian Schoenherr, Johanna Schachtl-Riess, Silvia Di Maio, Michele Filosi, Marvin Mark, Claudia Lamina, Christian Fuchsberger, Florian Kronenberg, Lukas Forer bioRxiv 2023.08.08.552417; doi: https://doi.org/10.1101/2023.08.08.552417
-
Install Nextflow (>=21.04.0)
-
Run the pipeline on a test dataset
nextflow run genepi/nf-gwas -r v1.0.0 -profile test,<docker,singularity,slurm,slurm_with_scratch>
- Run the pipeline on your data
nextflow run genepi/nf-gwas -c <nextflow.config> -r v1.0.0 -profile <docker,singularity,slurm,slurm_with_scratch>
Please click here for available test config files.
git clone https://github.com/genepi/nf-gwas
cd nf-gwas
docker build -t genepi/nf-gwas . # don't ignore the dot
nextflow run main.nf -profile test,development
nf-gwas makes use of nf-test, a unit-style test framework for Nextflow.
cd nf-gwas
curl -fsSL https://code.askimed.com/install/nf-test | bash
./nf-test test
nf-gwas is MIT Licensed and was developed at the Institute of Genetic Epidemiology, Medical University of Innsbruck, Austria.