Summary statistics were limited to common variants (MAF > 0.05; Supplementary Methods) either genotyped or imputed with high confidence (INFO score > 0.6) in all studies. Controls were shared between PGC MDD and PGC BD, and (due to the inclusion of summary data in PGC MDD) the extent of this overlap was unknown. Meta-analyses were therefore performed in METACARPA, which controls for sample overlap of unknown extent between studies using the variance-covariance matrix of the observed effect sizes at each variant, weighted by the sample sizes (21, 22). METACARPA adjusted adequately for known overlap between cohorts (Supplementary Methods). For later analyses (particularly linkage disequilibrium score regression) we used as the sample size a “non-overlapping N” estimated for each meta-analysis (Supplementary Methods). The definition, annotation and visualisation of each meta-analysis is described in the Supplementary Materials.