was then scaled to a total of 1 million UMIs (unique molecular identifiers) (or transcript per million (TPM)) for each cell type/tissue. Using a previously described method38, a metric of gene expression specificity was calculated by dividing the expression of each gene in each cell type by the total expression of that gene in all cell types, leading to values ranging from 0 to 1 for each gene (0 meaning that the gene is not expressed in that cell type and 1 meaning that all of the expression of the gene is in that cell type). We then selected the top 10% most specific genes for each cell type/tissue for enrichment analysis. MAGMA v1.0837 was used to test gene-set enrichment using GWAS summary statistics, covarying for gene size, gene density, mean sample size for tested SNPs per gene, the inverse of the minor allele counts per gene and the log of these metrics. We excluded any SNPs with INFO score < 0.6, with MAF < 1% or with estimated odds ratio > 25 or smaller than 1/25, as well as SNPs located in the MHC region (chr6:25–34 Mb). We set a window of 35 kb upstream to 10 kb downstream