For the evolutionary constraint enrichment analysis, we downloaded the Genome Aggregation Database (gnomAD) v.2 gene-level and transcript-level loss-of-function (LOF) metrics28. We assessed enrichment with the LOEUF using the decile bins. Additionally, we tested the correlation between ancestry-associated differentially expressed features (that is, genes and transcripts) and the LOEUF with a two-sided Pearson correlation. We corrected both statistical tests for multiple testing using the Benjamini–Hochberg method.