PRS from our GWAS meta-analysis were tested for association with BD in individual cohorts, using a discovery GWAS where the target cohort was left out of the meta-analysis. Briefly, the GWAS results from each discovery GWAS were pruned for LD using the P-value informed clumping method in PLINK v1.9099 (r2 0.1 within a 500-kb window) based on the LD structure of the HRC reference panel98. Subsets of SNPs were selected from the results below nine increasingly liberal P-value thresholds (PT) (5 × 10−8, 1 × 10−4, 1 × 10−3, 0.01, 0.05, 0.1, 0.2, 0.5, 1). Sets of alleles, weighted by their log odds ratios from the discovery GWAS, were summed into PRS for each individual in the target datasets, using PLINK v1.90 implemented via RICOPILI94,99. PRS were tested for association with BD in the target dataset using logistic regression, covarying for PCs as per the GWAS in each cohort. PRS were tested in the external cohorts by the collaborating research teams using comparable procedures. The variance explained by the PRS (R2) was converted to the liability scale to account for