Module 0 · Prepare your computer · step 3 of 8
0.3Download and extract the project
Where to put the project
Windows: C:\GWAS_course.
Mac: your home folder (in Finder press Cmd + Shift + H), so the path is /Users/yourname/GWAS_course.
Do not use Desktop, Documents, Downloads, OneDrive, Dropbox or iCloud Drive: PLINK may fail there.
Already set up somewhere else? Close the project, move the whole GWAS_course folder (with data and bin), open GWAS_course.Rproj from the new place and run step 0.8 again.
In short
We download and extract the complete course project. Keeping its files together lets the commands find the files they need.
What you do
No R code runs in this step. Download GWAS_course-2026.4.zip (opens in a new tab). Extract it under C:/ on Windows or your home folder on macOS or Linux, using your system's extraction tool. Open the supplied GWAS_course folder and check that it contains config.R, GWAS_course.Rproj, R, lessons, notebooks and scripts.
Do this
You should see: The project folder contains config.R, GWAS_course.Rproj, R, lessons, notebooks and scripts.
Command
No R code to run. Download and extract the whole project as described above.
You need
R and RStudio from steps 0.1 and 0.2, an internet connection and a folder where you can save files.
What we do
Download and extract the whole source project. Follow these actions:
- Download GWAS_course-2026.4.zip (opens in a new tab) from release
project-2026.4. This fixed version contains the course project, not the encrypted data. - On Windows, right-click the ZIP and choose "Extract All", then "Extract". On macOS, double-click the ZIP. On Linux, use your file manager to extract it.
- Extract it under
C:/on Windows or your home folder on macOS and Linux. The ZIP supplies its ownGWAS_coursefolder. The standard paths areC:/GWAS_courseand~/GWAS_course. - Open that folder. You should see
config.R,GWAS_course.Rprojand the foldersR,lessons,notebooksandscripts.
Keep the whole folder together. You may use another writable location or folder name. Do not nest a second copy of the project inside it.
If you already use Git, a plain git clone https://github.com/mgentiluomo/GWAS_training_session.git also works. Its default branch is course/2026-guided-training. The default folder name GWAS_training_session is valid. Open GWAS_course.Rproj inside it; no folder or branch rename is needed.
Why
The source project contains code and text. The encrypted data are separate and are downloaded at step 0.7. One project folder keeps the relative paths consistent.
Expected result
Show the expected result
The project folder contains config.R, GWAS_course.Rproj, R, lessons, notebooks and scripts. The standard folder is C:/GWAS_course on Windows or ~/GWAS_course on macOS and Linux. Other writable folder names also work.
If something goes wrong
If something goes wrong
If config.R is missing, check that you opened the extracted project folder. Do not use a single downloaded notebook. Do not create an empty replacement file or rename a downloaded HTML page to .R.
Quick check
Does downloading the source project also download the encrypted classroom data?
Show the answer
No. Download the matching data at step 0.7.
Files created
The complete extracted source project.