Two genome-wide significant SNPs for the neuroticism analysis are located within well-known inversion polymorphisms, on chromosomes 8 and 17. Using the genotypic data available for UKB participants, we called the inversion genotypes for UKB participants using a PCA-mixture method. For both inversions, the method clearly distinguishes 3 clusters of genotypes, corresponding to inversion genotypes (Supplementary Fig. 10). We validated the PCA-mixture procedure using existing methods designed to call inversion genotypes39 (Supplementary Table 26).