Tutorials
From Statistical Genetics Courses
Contents
- 1 Tutorials for Courses
- 2 Running Tutorials on Your Computer
- 3 FastLMM & GCTA
- 4 Mendelian Randomization
- 5 Pleiotropy
- 6 PLINK GWAS: Data Quality Control and Association Analysis Controlling for Population Substructure
- 7 Power Analysis
- 8 REGENIE
- 9 Regression and Intro to PLINK and R
- 10 Pencil and Paper Exercise
Tutorials for Courses
- FastLMM & GCTA
- Mendelian Randomization
- Pleiotropy
- PLINK GWAS: QC and Controlling for Population Substructure
- Power Analysis
- REGENIE
- Regression and Intro to PLINK and R
- Pencil and Paper Exercise
Running Tutorials on Your Computer
We adopt docker to run our course material, and we have created various docker repositories with freely available Docker images for users to readily run our exercises on their own computers using Docker Desktop. These docker images are for multi-platform use (Mac, Windows, or Linux). More information regarding instructions to install Docker Desktop and to run the course material on your computer is detailed in the documentation below.
General instructions
Tutorial specific instructions
Please refer to the previous section for instructions on the installation of Docker Desktop and basic usages.
Material and instructions for specific exercise are listed in each section below. They provide links to pdf versions of the exercises and a minimal set of commands to use for downloading the docker images and running an exercise.
FastLMM & GCTA
To pull and download the docker image from the Docker Hub repository,
docker pull statisticalgenetics/fastlmm-gcta
To run the exercise from the downloaded docker image,
docker run --rm -p 8888:8888 statisticalgenetics/fastlmm-gcta
Mendelian Randomization
- Mendelian Randomization Exercise [PDF]
- Mendelian Randomization Output [PDF]
- Mendelian Randomization Docker Image
- Mendelian Randomization Questions [PDF]
- Mendelian Randomization Answers [PDF]
To pull and download the docker image from the Docker Hub repository,
docker pull statisticalgenetics/mendelian-randomization
To run the exercise from the downloaded docker image,
docker run --rm -p 8888:8888 statisticalgenetics/mendelian-randomization
Pleiotropy
- Pleiotropy Exercise [PDF]
- Pleiotropy Output [PDF]
- Pleiotropy Docker Image
- Pleiotropy Questions [PDF]
- Pleiotropy Answers [PDF]
To pull and download the docker image from the Docker Hub repository,
docker pull statisticalgenetics/pleiotropy
To run the exercise from the downloaded docker image,
docker run --rm -p 8888:8888 statisticalgenetics/pleiotropy
PLINK GWAS: Data Quality Control and Association Analysis Controlling for Population Substructure
These exercises run using a shared docker image, however the exercises are split into two separate notebooks.
- PLINK GWAS: Data QC Exercise
- PLINK GWAS: Data QC Output [PDF]
- PLINK GWAS: Data QC Questions [PDF]
- PLINK GWAS: Data QC Answers [PDF]
- PLINK GWAS: Population Substructure Exercise
- PLINK GWAS: Population Substructure Output [PDF]
- PLINK GWAS: Population Substructure Questions [PDF]
- PLINK GWAS: Population Substructure Answers [PDF]
- PLINK GWAS docker image
To pull and download the docker image from the Docker Hub repository,
docker pull statisticalgenetics/plink-gwas
To run the exercise from the downloaded docker image,
docker run --rm -p 8888:8888 statisticalgenetics/plink-gwas
Power Analysis
Web Based
- Power Analysis [PDF]
REGENIE
- Regenie Exercise [PDF]
- Regenie Output [PDF]
- Regenie Questions [PDF]
- Regenie Answers [PDF]
- Regenie docker image
To pull and download the docker image from the Docker Hub repository,
docker pull statisticalgenetics/regenie
To run the exercise from the downloaded docker image,
docker run --rm -p 8888:8888 statisticalgenetics/regenie
Regression and Intro to PLINK and R
These exercises run using a shared docker image, however the exercises are split into two separate notebooks.
- Regression Exercise [PDF]
- Regression Output [PDF]
- Regression Questions [PDF]
- Regression Answers [PDF]
- Intro to PLINK & R Exercise [PDF]
- Intro to PLINK & R Output [PDF]
- Intro to PLINK & R Questions [PDF]
- Intro to PLINK & R Answers [PDF]
- Regression and Intro to PLINK & R docker image
To pull and download the docker image from the Docker Hub repository,
docker pull statisticalgenetics/regression-plink-r
To run the exercise from the downloaded docker image,
docker run --rm -p 8888:8888 statisticalgenetics/regression-plink-r
Pencil and Paper Exercise
- Population Genetics Questions [PDF]
- Population Genetics Answers [PDF]
- Linkage Disequilibrium Questions [PDF]
- Linkage Disequilibrium Answers [PDF]