MGHome page

GWAS course

Course map

0 of 64 steps done

Start with step 0.1Install R

Saved in this browser only.

Step 1.3

Module 1 · From DNA to array data · step 3 of 11

1.3The Global Screening Array

Commands tested on Windows

In short

We count the array entries on each chromosome. We also check that the table has 299,523 rows and no repeated site names, so we can recognise the expected starting data.

Do this

You should see: Autosomes 1 to 22, plus X, Y and MT (mitochondrial DNA).

Command

Module setup, needed before this step

R: module setup

source("R/guided.R")cfg <- guided_init()

R command

Type or paste into the RStudio console.

1table(ann$Chr)2stopifnot(nrow(ann) == 299523L, !anyDuplicated(ann$Name))
  1. Note 1: Count the array entries on each chromosome.
  2. Note 2: Check the total number of rows and look for repeated site names.

You need

The annotation that you inspected at step 1.1.

What we do

Learn what the array measures and what it leaves unmeasured.

Why

The Illumina Global Screening Array (GSA) measures a chosen set of sites. It is not whole-genome sequencing (opens in a new tab), which reads almost every base. If a site is not on the array, we know nothing about it. We cannot say that the variant is absent.

The simulated course data use GSA-style Illumina site names and real GRCh38 positions. The manufacturer manifest is not shared with students. A manifest is the full design file of the array. The annotation for students has only the fields that this course needs. It does not copy the full proprietary design.

PLINK terminal equivalent. Optional: you do not need it for the course.

Not applicable: this step needs no PLINK command. The R chunk is the complete command.

R reads or calculates the displayed values without changing the genotype files.

Expected result

Show the expected result

Autosomes 1 to 22, plus X, Y and MT (mitochondrial DNA). There are 299,523 array entries at the start. The same genomic site can appear under two different names. We review this at step 4.5.

The tested PLINK version is defined in config.R and recorded in software_versions.txt. Validation: executable chunks passed on Windows with the supplied simulated dataset.

If something goes wrong

If something goes wrong

Stop at the first error. Check the named input and the previous step. Keep the command and console logs; do not substitute files from a different dataset version. See troubleshooting (opens in a new tab).

Quick check

If a site is absent from the array, can you conclude that every participant has the reference allele there?

Show the answer

No. If a site is absent from the array, it was not measured directly.

Files created

None.