Genome-wide association studies: a primer