Difference between revisions of "Tutorials"
From Statistical Genetics Courses
Serveradmin (Talk | contribs) (→Tutorials for Courses) |
Serveradmin (Talk | contribs) |
||
| Line 23: | Line 23: | ||
===General instructions=== | ===General instructions=== | ||
* [https://github.com/statgenetics/statgen-courses/wiki/How-to-launch-course-tutorials#alternative-to-cloud-server-use-your-own-computer Instructions to install Docker Desktop and running the course material on your computer]<br /><br /> | * [https://github.com/statgenetics/statgen-courses/wiki/How-to-launch-course-tutorials#alternative-to-cloud-server-use-your-own-computer Instructions to install Docker Desktop and running the course material on your computer]<br /><br /> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Tutorial specific 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== | ==FastLMM & GCTA== | ||
| − | * [[Media:fastlmm_gcta_exercise.pdf|FastLMM & GCTA exercise]] | + | * [[Media:fastlmm_gcta_exercise.pdf|FastLMM & GCTA exercise]] [https://github.com/statgenetics/statgen-courses/blob/master/handout/GCTA.pdf <nowiki>[PDF]</nowiki>] |
* [https://hub.docker.com/r/statisticalgenetics/fastlmm-gcta FastLMM & GCTA docker image] | * [https://hub.docker.com/r/statisticalgenetics/fastlmm-gcta FastLMM & GCTA docker image] | ||
| Line 53: | Line 40: | ||
<pre>docker run --rm -p 8888:8888 statisticalgenetics/fastlmm-gcta</pre> | <pre>docker run --rm -p 8888:8888 statisticalgenetics/fastlmm-gcta</pre> | ||
| − | == | + | ==Mendelian Randomization== |
| − | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/ | + | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/GCTA.pdf Mendelian Randomization exercise <nowiki>[PDF]</nowiki>] |
| − | * | + | * Mendelian Randomization docker image |
| − | + | ||
| − | + | ||
| + | To pull and download the docker image from the Docker Hub repository, | ||
| − | + | <pre>docker pull statisticalgenetics/mendelian-randomization</pre> | |
| − | + | To run the exercise from the downloaded docker image, | |
| − | <pre> | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | To | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | <pre>docker run --rm -p 8888:8888 statisticalgenetics/mendelian-randomization<br /><br /></pre> | ||
==Pleiotropy== | ==Pleiotropy== | ||
| − | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/Pleiotropy.pdf Pleiotropy | + | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/Pleiotropy.pdf Pleiotropy Exercise <nowiki>[PDF]</nowiki>] |
| − | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/Pleiotropy_answers.pdf | + | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/Pleiotropy_answers.pdf Pleiotropy docker image] |
| − | + | To pull and download the docker image from the Docker Hub repository, | |
| − | <pre> | + | <pre>docker pull statisticalgenetics/pleiotropy</pre> |
| − | </pre> | + | To run the exercise from the downloaded docker image, |
| + | <pre>docker run --rm -p 8888:8888 statisticalgenetics/pleiotropy</pre> | ||
| + | <pre> </pre> | ||
| + | ==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 [https://github.com/statgenetics/statgen-courses/blob/master/handout/PLINK_data_QC.pdf Exercise <nowiki>[PDF]</nowiki>] | |
| − | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/ | + | * PLINK GWAS: Population Substructure [https://github.com/statgenetics/statgen-courses/blob/master/handout/PLINK_data_QC.pdf Exercise <nowiki>[PDF]</nowiki>] |
| + | * PLINK GWAS docker image | ||
| − | + | To pull and download the docker image from the Docker Hub repository, | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | <pre>docker pull statisticalgenetics/plink-gwas</pre> | ||
| + | To run the exercise from the downloaded docker image, | ||
| + | <pre>docker run --rm -p 8888:8888 statisticalgenetics/plink-gwas<br /><br /></pre> | ||
==REGENIE== | ==REGENIE== | ||
| − | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/ | + | * Regenie [https://github.com/statgenetics/statgen-courses/blob/master/handout/Pleiotropy.pdf Exercise <nowiki>[PDF]</nowiki>] |
| − | * [https://github.com/statgenetics/statgen-courses/blob/master/ | + | * [https://github.com/statgenetics/statgen-courses/blob/master/handout/Pleiotropy_answers.pdf Regenie docker image] |
| + | To pull and download the docker image from the Docker Hub repository, | ||
| − | To run the exercise from docker image | + | <pre>docker pull statisticalgenetics/regenie</pre> |
| + | To run the exercise from the downloaded docker image, | ||
| − | <pre> | + | <pre>docker run --rm -p 8888:8888 statisticalgenetics/regenie</pre> |
| − | </pre> | + | |
| − | |||
| − | + | ==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 [https://github.com/statgenetics/statgen-courses/blob/master/handout/PLINK_data_QC.pdf Exercise <nowiki>[PDF]</nowiki>] | |
| + | * Intro to PLINK and R [https://github.com/statgenetics/statgen-courses/blob/master/handout/PLINK_data_QC.pdf Exercise <nowiki>[PDF]</nowiki>] | ||
| + | * Regression and Intro to PLINK & R docker image | ||
| + | To pull and download the docker image from the Docker Hub repository, | ||
| + | <pre>docker pull statisticalgenetics/regression-plink-r</pre> | ||
| + | To run the exercise from the downloaded docker image, | ||
| − | + | <pre>docker run --rm -p 8888:8888 statisticalgenetics/regression-plink-r</pre> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | </pre> | + | |
| − | + | ||
| − | + | ||
Revision as of 19:02, 17 August 2026
Contents
Tutorials for Courses
- FastLMM & GCTA | exercise[PDF] [PDF and docker image
- GWAS: QC | dockerfile and docker image
- GWAS: Controlling for Population Substructure | dockerfile and docker image
- Mendelian Randomization | docker image and exercise
-
Interaction analysis using PLINK and CASSI | dockerfile and docker image -
LINKAGE | dockerfile and docker image -
Population Genetics | dockefile and docker image - Pleiotropy | dockefile and docker image
-
Polygenic risk prediction using non-parametric shrinkage | dockefile and docker image -
PLINK/SEQ (PSEQ) | dockefile and docker image - R and PLINK exercise | dockefile and docker image
- Regression | dockefile and docker image
-
RV-TDT -
SEQLinkage -
SEQSpark -
SLINK | dockerfile and docker image -
Variant Association Tools | dockerfile and docker image
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 docker image
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<br /><br />
Pleiotropy
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 [PDF]
- PLINK GWAS: Population Substructure Exercise [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<br /><br />
REGENIE
- Regenie Exercise [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]
- Intro to PLINK and R Exercise [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