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.
-
Install Nextflow (>=21.04.0)
-
Run the pipeline on a test dataset
nextflow run genepi/nf-gwas -r v0.5.1 -profile test,<docker,singularity,slurm,slurm_with_scratch>
- Run the pipeline on your data
nextflow run genepi/nf-gwas -c <nextflow.config> -r v0.5.1 -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.