GWAS of MDD, rMDD, fMDD, and mMDD in UKB were conducted using logistic regression, implemented in PLINK v1.925. Assessment centre, genotype array and batch were fitted as fixed effects. The first 8 PCs (out of 15) supplied by UKB were also fitted, as visual inspection indicated that these PCs resulted in multiple clusters, indicating structure in the data.