Abstract
Understanding the role of rare variants is important in elucidating the genetic basis of human disease. Negative selection can cause rare variants to have larger perallele effect sizes than common variants. Here, we develop a method to estimate the minor allele frequency (MAF) dependence of SNP effect sizes. We use a model in which perallele effect sizes have variance proportional to [p(1 − p)]^{α}, where p is the MAF and negative values of α imply larger effect sizes for rare variants. We estimate α for 25 UK Biobank diseases and complex traits. All traits produce negative α estimates, with bestfit mean of –0.38 (s.e. 0.02) across traits. Despite larger rare variant effect sizes, rare variants (MAF < 1%) explain less than 10% of total SNPheritability for most traits analyzed. Using evolutionary modeling and forward simulations, we validate the α model of MAFdependent trait effects and assess plausible values of relevant evolutionary parameters.
Introduction
The contribution of rare variants to the genetic architecture of human diseases and complex traits is a question of fundamental interest, which can inform the design of genetic association studies and shed light on the action of negative selection^{1,2}. Recently, several studies have investigated the relationship between minor allele frequency (MAF) and trait effects^{3,4,5,6}. However, these studies have analyzed a small number of traits and have not evaluated the genomewide contribution of rare variants (MAF < 1%), which remains unknown^{7}.
Here we develop a profile likelihoodbased mixed model method to infer MAFdependent architectures from genotype and phenotype data. We apply our method to 25 complex traits and diseases from the UK Biobank data set, analyzing data from 113,851 individuals and 11,062,620 SNPs, including rare variants (MAF > 0.07%). Our analysis shows that rare variants have significantly increased perallele effect sizes for most traits, with significant heterogeneity across traits. For each of these traits we also estimate the phenotypic variance explained by variants in different frequency ranges, including rare variants.
It is widely believed that frequencydependence of SNP effect sizes is due to increased negative selection on variants that affect complex traits^{1,2,8,9,10,11}. Specifically, if SNPs that affect a trait are more likely to be under negative selection, they will be enriched in the lowerfrequency spectrum, so that lowerfrequency SNPs will on average have larger trait effects. Thus, MAFdependent architectures estimated from genotype and phenotype data can shed light on evolutionary parameters. Previous studies have used MAFdependent architectures or related information to estimate a coupling parameter^{9} between fitness effects and their trait effects for prostate cancer^{6} and type 2 diabetes^{12,13}. In this work, we use evolutionary modeling and forward simulations to investigate whether our parameterization of MAFdependent effects (α model; see below) is consistent with evolutionary models, estimate the coupling between fitness effects and trait effects, and draw inferences about the average genomewide strength of negative selection.
Results
Overview of methods
We assume a previously proposed randomeffect model^{14,15} (here referred to as the α model), in which the perallele trait effect β of a SNP depends on its MAF p via:
A negative value of α implies that lowerfrequency SNPs have larger perallele effect sizes, whereas α = 0 implies no dependence, and \(\sigma _{{\mathrm{g}},\alpha }^2\) is the component of SNP effect variance that is independent of frequency. We note that Eq. (1) pertains to genomewide SNPs, including SNPs that do not affect the trait. The α model is simple and convenient, but has not previously been validated by evolutionary modeling.
For a given set of genotype and phenotype data, we estimate α using a linear mixed model framework^{16}. The model likelihood depends on α, \(\sigma _{{\mathrm{g}},\alpha }^2\), and the environmental variance (see Methods). We compute the profile likelihood over values of α by maximizing the likelihood with respect to \(\sigma _{{\mathrm{g}},\alpha }^2\) and the environmental variance for a given α. Our estimate \(\hat \alpha\) is defined as the mode of the profile likelihood curve, whose width is used to compute error estimates. We show that the corresponding values of \(\hat{\sigma} _{{\mathrm{g}},\alpha }^2\) can be used to estimate the SNPheritability \(h_{{\mathrm{g}}}^2\) while accounting for MAFdependent SNP effects, which can bias \(h_{{\mathrm{g}}}^2\) estimates when not accounted for^{14,15}. We include linkage disequilibrium (LD)dependent SNP weights^{17} in our model, to avoid biases due to LDdependent architectures^{4,14,18,19}. Details of the method are described in the Methods section; we have released opensource software implementing the method (see URLs).
Simulations
We evaluated our method using simulations based on imputed UK Biobank genotypes^{20} and simulated phenotypes, using N = 5000 individuals and M = 100,000 consecutive SNPs from a 25 Mb block of chromosome 1 (see Methods). We used default parameter settings of α = − 0.3, \(h_{{\mathrm{g}}}^2 = 0.4\), 1% of SNPs causal, imputation noise based on actual imputed genotype probabilities, and LDdependent effects^{17}, but we also considered other parameter settings for each of these. Imputation noise was introduced by randomly sampling the genotypes used to simulate phenotypes from imputed genotype probabilities, while still using the expected dosage values for inference (see Methods).
In Table 1, we report α estimates at default and other parameter settings, both using LDdependent weights \((\hat \alpha )\) and without using LDdependent weights \((\hat{\alpha} _{{\mathrm{noLD}}})\). In simulations with LDdependent effects, \(\hat \alpha\) was unbiased at all parameter settings tested, while \(\hat{\alpha}_{{\mathrm{noLD}}}\) was upward biased by approximately 0.1. In simulations without LDdependent effects, \(\hat \alpha\) was downward biased by less than 0.1, while \(\hat{\alpha}_{{\mathrm{noLD}}}\) was unbiased. These simulations suggest that our method provides unbiased estimates of α when LD is correctly modeled, and only modestly biased estimates of α when LD is not correctly modeled. Importantly, imputation noise does not induce bias, indicating that our method is unbiased even if causal SNPs are not perfectly tagged. Although values of N and M in our main simulations were chosen to approximately match the power of the UK Biobank traits analyzed (which scales with \(N/\sqrt M\); ref. ^{21}), similar results were obtained when N was reduced to 2500, a setting with lower power (Table 1). Finally, we compared our profile likelihood standard error estimates to empirical standard errors from simulations. We determined that standard error estimates slightly underestimated true standard errors at N = 5000, M = 100,000 (likely due to the small number of causal SNPs in these simulations), but were wellcalibrated in simulations at larger values of N and M (see Supplementary Table 1), indicating wellcalibrated error estimates when using even larger values of N and M in our analysis of UK Biobank traits. The profile likelihood curves were smooth and unimodal at all parameter settings (see Supplementary Figure 1).
Although the main focus of this paper is on obtaining and interpreting estimates of α, we also used our simulation framework to evaluate the effectiveness of our method in obtaining SNPheritability estimates that avoid biases due to MAFdependent and LDdependent architectures. In Supplementary Table 2 we report SNPheritability estimates using our method, both using LDdependent weights \((\hat{h}_{\alpha}^{2} )\) and without using LDdependent weights \(( \hat{h}_{\alpha ,{\mathrm{noLD}}}^{2} )\), and using GCTA with a single variance component \((\hat{h}_{{\mathrm{GCTA}}}^{2} )\)^{22}. \(\hat{h}_{\alpha}^{2}\) and \(\hat{h}_{\alpha ,{\mathrm{noLD}}}^{2}\) were roughly unbiased at all parameter settings, while GCTA with a single variance component produced biased estimates, consistent with previous work^{4,14}. Other methods of avoiding bias due to MAFdependent and LDdependent architectures have recently been proposed, including GREMLLDMS^{4} and LDAK^{19}; a complete benchmarking of SNPheritability estimation methods is provided in ref. ^{23}.
Analysis of 25 UK Biobank traits
We applied our method to 113,851 Britishancestry individuals from the UK Biobank with 1000 Genomes and UK10Kimputed genotypes at 11,062,620 SNPs with at least 5 minor alleles in the UK10K reference panel (MAF > 0.07%; see Methods). We analyzed 25 heritable, polygenic traits with at least 50% of individuals phenotyped (Table 2). Phenotype values were corrected for fixed effects, including sex and 10 principal components (see Methods). Profile likelihood curves for all 25 traits are displayed in Supplementary Figure 2. We observed that the curves were smooth and unimodal (consistent with simulations; Supplementary Figure 1), suggesting that estimates of α are likely to be robust.
In Table 2, we report estimates of α for all 25 traits. All traits had negative α estimates (with most estimates lying between −0.5 and −0.2), and 20 traits had significantly negative estimates (i.e., 95% credible intervals did not overlap zero), implying that lowerfrequency SNPs have larger perallele effect sizes. We observed statistically significant heterogeneity in estimates of α across the 25 traits (P = 0.0014), consistent with different levels of (direct and/or pleiotropic) negative selection across traits (see Discussion); our test for heterogeneity accounts for estimation noise, which varies across traits depending on heritability and sample size (see Methods). We estimated the underlying distribution of true (unobserved) values of α to have mean −0.38 (s.e. 0.02) and standard deviation 0.08 (s.e. 0.03), assuming a normal distribution (see Methods). We obtained very similar results when repeating the entire analysis using 9,336,687 SNPs with MAF > 0.3% in the UK10K reference panel (Supplementary Table 3); we note that these results are unlikely to be affected by imputation error, because simulation results in Table 1 show that our method is not significantly affected by imputation error under correctly calibrated imputation accuracies, and because we further determined that MAF > 0.3% SNPs generally have wellcalibrated imputation accuracies (Supplementary Figure 3).
We estimated the proportion of SNPheritability explained by SNPs in each part of the MAF spectrum, for different values of α. This computation relies on the empirical MAF spectrum in UK10K, as heritability per MAF bin depends both on heritability per SNP and number of SNPs per MAF bin (see Methods). Results are reported in Fig. 1. We determined that rare and lowfrequency variants contribute a very small proportion of SNPheritability at the mean α estimate of −0.38, and a relatively small proportion of SNPheritability even for the most negative α estimate of −0.60. Specifically, at α = −0.38 (s.d. 0.08), only 8.9% (s.d. 2.7%) of SNPheritability is explained by SNPs with MAF < 1%. We also used \(\hat \alpha\) to obtain total SNPheritability estimates corrected for biases due to MAFdependent and LDdependent architectures for each of the 25 traits (Supplementary Table 4; see Methods).
The above analysis used LDdependent weights based on a model of ref. ^{17}, with an LDdependent architecture parameter of τ^{*} = −0.3. (A negative value of τ^{*} implies that, at a given MAF, lowLD SNPs have larger causal effect sizes.) We also performed an analysis in which MAFdependent and LDdependent effects are estimated jointly, maximizing the profile likelihood over values of both α and τ^{*} for each of the 25 UK Biobank traits (see Methods). Results are reported in Supplementary Table 5. The bestfit τ^{*} was generally close to τ^{*} = −0.3. Although a different value of τ^{*} provided the best fit for some traits, the overall impact on α estimates was small, with the bestfit distribution of true (unobserved) values of α across traits changing from −0.38 (s.d. 0.08) to −0.35 (s.d. 0.11).
Effect of negative selection on MAFdependent architectures
Frequencydependent trait effect sizes have been widely attributed to negative (purifying) selection on variants that affect complex traits, which causes them to be enriched for lowerfrequency variants, so that lowerfrequency SNPs will have larger traits effects^{1,2,8,9,10,11}. Here we use evolutionary modeling to predict the frequencydependent architecture of a trait, given the coupling between fitness effects and trait effects. The aim of this analysis was to investigate whether the α model (Eq. 1) is consistent with the predictions of evolutionary models, and to draw conclusions about evolutionary parameters from our estimates of α across 25 UK Biobank traits.
We used an evolutionary model of EyreWalker^{9}, which introduces a parameter τ quantifying the coupling between a SNP’s fitness effect (selection coefficient s) and target trait effect size (β); τ > 0 implies that SNPs under negative selection have larger trait effect sizes on average, whereas τ = 0 corresponds to no coupling. Using this model, we derived two analytical results. First, it is straightforward to show that
where p is minor allele frequency (see Methods). This implies that increased trait effects for lowerfrequency variants requires both that lowerfrequency variants have significantly larger selection coefficients s and that τ > 0. Second, based on Eq. (2), we analytically evaluated E(s^{2τ}p) to quantify the MAFdependence of SNP effects under the EyreWalker model (see Methods). In this derivation, we ignored LD between selected SNPs, assumed a constant effective population size N_{e}, and assumed that selection coefficients s of SNP loci across the genome are drawn from a gamma distribution, with mean \(\bar s\) and shape parameter k (ref. ^{24}). (We note that k parametrizes the polygenicity of fitness and trait effects; see Methods.) Under these assumptions, we derived the result that there exists a MAF threshold T such that for p > T the α model approximately holds, but for p < T trait effects are approximately independent of frequency (see Methods). The threshold is
Intuitively, this threshold corresponds to the maximum frequency at which even the most strongly selected SNPs are still only affected by genetic drift, with their frequency being too low to be significantly affected by selection. We note that T is independent of the trait analyzed, since \(\bar s\) and k parametrize the distribution of genomewide selection coefficients.
Although our derivation of Eq. (3) ignored the effects of demographic changes and LD, we confirmed this result by performing forward simulations using SLiM2^{25}, using a European demographic model^{26} and realistic LD patterns (see Methods). Specifically, for a given τ we computed E(s^{2τ}p) in Eq. (2) from the s and p values of simulated SNPs. Our main simulations assumed τ = 0.4, N_{e} = 10,000, \(\bar s = 0.001\) and k = 0.25 (ref. ^{24}), so that T = 0.006 (Eq. 3). Results are reported in Fig. 2, which shows that for p > T = 0.006 the α model with bestfit α = −0.32 provides a good fit, but for p < T = 0.006 the effect sizes are less MAFdependent and are thus significantly smaller than expected under the α model. Results at other parameter settings were qualitatively similar, with the threshold varying according to Eq. (3) (see Supplementary Figure 4). These simulations provide an important validation of our analytical derivations, which are limited by unrealistic assumptions of no LD and constant population size.
We sought to draw inferences about the threshold T for UK Biobank traits. To do so, we computed values of \(\hat{\alpha}_{{\mathrm{common}}}  \hat{\alpha}\), where \(\hat{\alpha}_{{\mathrm{common}}}\) is similar to \(\hat \alpha\) but uses only SNPs with MAF > 5% for inference (6,273,557 SNPs with MAF > 5% instead of 11,062,620 SNPs with MAF > 0.07%). If a large proportion of SNPs had MAF below T, we would expect to obtain smaller (more negative) values of \(\hat{\alpha}_{{\mathrm{common}}}\), since SNPs of MAF below T with less MAFdependent effects would be ignored. However, \(\hat{\alpha}_{{\mathrm{common}}}  \hat{\alpha}\) was not significantly different from zero for any of the 25 UK Biobank traits (see Supplementary Table 6), nor was the bestfit estimate across traits, which actually increased slightly from −0.38 (s.e. 0.02) for \(\hat \alpha\) to −0.35 (s.e. 0.02) for \(\hat{\alpha}_{{\mathrm{common}}}\). We subsequently simulated traits using T_{sim} of 0%, 5% and 10% and genomewide UK Biobank genotypes (see Methods), in order to assess which value of T_{sim} was most consistent with \(\hat{\alpha}_{{\mathrm{common}}}  \hat{\alpha}\) for UK Biobank traits. (We caution that this should not be viewed as a formal hypothesis test for the value of T.) Specifically, we simulated traits mimicking UK Biobank height in heritability, sample size and α. Due to computational constraints, we did not simulate traits other than height; however, since T is the same across traits (see Eq. 3), we expect conclusions to be similar. (We note that these simulations did not make any assumptions about demography, but simply simulated SNP effects on the target trait using the α model with threshold T_{sim} and UK Biobank imputed genotypes.) We determined that the \(\hat{\alpha}_{{\mathrm{common}}}  \hat{\alpha}\) value of 0.02 (s.e. 0.05) for UK Biobank height was significantly different from the value for T_{sim} = 0% (−0.10 (s.d. 0.02); p = 0.01 for difference), and very significantly different from values for T_{sim} = 5% (−0.16 (s.d. 0.01); p = 0.0002 for difference) and T_{sim} = 10% (−0.19 (s.d. 0.02); p = 0.0007 for difference) (see Supplementary Table 7), suggesting some form of model misspecification. In simulations with more strongly LDdependent architectures for common variants, results were concordant with UK Biobank height for T_{sim} = 0% only (−0.01 (s.d. 0.07); p = 0.7 for difference) (see Supplementary Table 7). However, other forms of model misspecification are possible, such as violations of the EyreWalker fitnesstrait coupling model^{9} (see Discussion and refs. ^{27,28}) or of the assumption of gamma distributed SNP fitness effects. In summary, our results are somewhat supportive of T < 5%, i.e., the α model provides a good fit for common SNPs (MAF ≥ 5%) but may overestimate SNP effect magnitudes of SNPs with MAF < 5%, but this should not be viewed as a conclusive finding.
Finally, we sought to draw conclusions about the values of the average genomewide selection coefficient \(\bar s\) and the EyreWalker coupling parameter τ. First, a threshold T < 5% would imply an average selection coefficient \(\bar{s} > \frac{5k}{N_{{\mathrm{e}}}}\). Assuming N_{e} = 10,000 (ref. ^{29}) and k = 0.25 (ref. ^{24}), \(\bar s\) would be on the order of 10^{−4} or stronger. We caution that this bound on \(\bar s\) relies on our bound on T, which should not be viewed as a conclusive finding. Second, we determined that the bestfit estimate of \(\hat \alpha =  0.38\) across 25 traits corresponds to a τ value in the range [0.3,0.5] (Fig. 3; see Methods). We reached this conclusion by repeating our forward simulations for \(\tau \in \left[ {0,1} \right]\) (vs. τ = 0.4 above), \(\bar s\, \in \,\left\{ {0.0001,0.001} \right\}\) (vs. 0.001 above) and \(k\,{\in}\,\left\{ {0.125,0.25} \right\}\) (vs. 0.25 above) and fitting the α model using SNPs above the threshold T from Eq. (3). Figure 3 shows that the bestfit α depends primarily on τ, with only weak dependence on \(\bar s\) and k. Estimates of τ for each of the 25 traits are provided in Supplementary Table 8. We caution that the above conclusions about \(\bar s\) and τ rely on an estimate of the shape parameter k from ref. ^{24}, which focused on coding SNPs. It is possible that k may differ substantially between coding and noncoding variants. We thus repeated our analyses at a wider range of values of k (0.0625, 0.125, 0.25, 0.5, and 1). First, a value of k ≥ 0.0625 would imply that \(\bar s\) is likely on the order of 3 × 10^{−5} or stronger. Second, the bestfit estimate of \(\hat \alpha =  0.38\) across 25 traits now corresponds to a τ value in the range [0.3,0.8] (Supplementary Figure 5).
Discussion
We have quantified the MAFdependent architectures of 25 diseases and complex traits under the α model^{14,15} (Eq. 1). We inferred negative values of \(\hat \alpha\) for all 25 traits and significantly negative values for 20 traits, corresponding to higher trait effects for lowerfrequency SNPs. The bestfit distribution of α across traits had mean −0.38 (s.e. 0.02) and standard deviation 0.08 (s.e. 0.03), implying that only 8.9% (s.d. 2.7%) of SNPheritability is explained by rare SNPs (MAF < 1%), despite significantly larger effects for rare variants. Although rare variants explain relatively little heritability, rare variant association studies may still identify variants of large effect that reveal interesting biology and actionable drug targets^{11,30}. On the other hand, rare variants will likely play only a limited role in polygenic risk prediction, which will be largely driven by common variants.
Using evolutionary modeling and simulations, we determined that our results are somewhat supportive of T < 5%, i.e., the α model provides a good fit for common SNPs (MAF ≥ 5%) but may overestimate effect magnitudes of rare and lowfrequency SNPs; our estimate of 8.9% (s.d. 2.7%) of SNPheritability explained by rare SNPs (MAF < 1%) should therefore be viewed as a suggestive upper bound. This would imply an average genomewide negative selection coefficient on the order of 10^{−4} or stronger, given the MAFdependent architectures that we inferred. The bestfit α estimate across 25 traits implies an EyreWalker^{9} τ parameter between 0.3 and 0.5, quantifying the coupling between fitness effects and trait effects. These findings are conditional on the assumption that the shape parameter k of the fitness effect distribution of genomewide SNPs does not substantially differ from the value inferred for coding variants by ref. ^{24}. Under a broader range of possible values of k, \(\bar s\) would be on the order of 3 × 10^{−5} or stronger, and the bestfit α estimate across 25 traits implies a τ value between 0.3 and 0.8. We caution that these results may be impacted by violations of model assumptions, such as the EyreWalker fitnesstrait coupling model^{9} (see discussion below) or the gamma distribution of SNP fitness effects; these assumptions have been frequently employed^{6,9,12,13}, but may not perfectly fit UK Biobank traits. Our finding that estimates of α (and hence τ) vary only modestly across traits is consistent with the action of pleiotropic selection, in which SNPs that affect the target trait also affect other selected traits^{27,31}; under direct selection, greater variation in τ would be expected, and traits that are not directly selected would have τ = 0.
Recent studies have investigated MAFdependent architectures in genomewide analyses of schizophrenia^{3,5}, as well as height and BMI^{4}. These studies analyzed a small number of traits, and either did not analyze rare variants^{3,5} or aggregated all MAF < 10% variants into a single MAF bin^{4}, underscoring the difficulty of obtaining precise estimates of rare variant heritability using the MAF bin approach. Another study used targeted sequencing of 63 prostate cancer risk regions to conclude that 42% (s.e. 11%) of the prostate cancer SNPheritability attributable to these regions in African Americans is due to rare SNPs (MAF < 1%), although rare variant heritability in Europeans was nonsignificant^{6}.
A more recent study introduced a revised LDAK method^{19} (revising an earlier LDAK method^{14}) and estimated a parameter that it referred to as α. We refer to this parameter as α_{LDAK}, because it is different from the parameter α that was previously described in refs. ^{14,15} and that is defined and estimated in this paper. Specifically, the Discussion section of ref. ^{19} states that the SNP effect size variance is proportional to \([ p_{j}( 1  p_{j} ) ]^{\alpha _{{\mathrm{LDAK}}}}\). However, that statement is incorrect. Actually, under the model of ref. ^{19}, the SNP effect size variance is proportional to \([ p_{j}( 1  p_{j} ) ]^{\alpha _{{\mathrm{LDAK}}}} \cdot w_{j}\), where w_{j} is an LDdependent weight (see Eq. (1) of ref. ^{19}). Unlike the LDdependent weights that we use^{17}, w_{j} is dependent on MAF, with lower frequency SNPs having higher values of w_{j}. Thus, SNP effect size is specifically not proportional to \([ p_{j}( 1  p_{j} ) ]^{\alpha _{{\mathrm{LDAK}}}}\), and α_{LDAK} is a parameter that is different from α. Indeed, our simulations confirmed that estimates of α_{LDAK} obtained using the LDAK software were upward biased by roughly 0.4 compared to the true α as defined in previous work^{14,15} and this paper (see Supplementary Table 9). Thus, the revised LDAK method and software^{19} cannot be used to estimate α.
A study conducted in parallel to this work investigated MAFdependent architectures of 28 UK Biobank traits^{32} using a Bayesian method to estimate a parameter identical to the α parameter that we estimate. Results of ref. ^{32} were broadly similar to our results, but we note four key differences between the studies. First, ref. ^{32} analyzed 483,634 Affymetrix SNPs with MAF > 1%, noting that analyzing a larger number of imputed SNPs would be computationally challenging for their BayesS inference model. On the other hand, we were able to analyze 11,062,620 typed and imputed SNPs with MAF > 0.07%, because the most computationally intensive step of our method (running REML; see Methods) is independent of the number of SNPs. However, we determined here that inclusion or exclusion of rare variants does not significantly affect our results (see Supplementary Table 6). Second, ref. ^{32} used an elegant approach to infer the polygenicity of each trait. Third, ref. ^{32} estimated SNP effects jointly and conditionally using a sparse model, which accounts for LD between SNPs but does not account for LDdependent causal effect sizes^{17}. Our method accounts for LDdependent causal effects, and we show that this has a nonnegligible impact on our estimates of α (see Table 1); it is currently unclear whether estimates of ref. ^{32} would be impacted by LDdependent causal effect sizes. Fourth, although ref. ^{32} performed forward simulations to show that their findings implicate negative selection on traitaffecting SNPs, they did not use these simulation results to investigate the validity of their parametric inference model or to investigate evolutionary parameters. We note that both ref. ^{32} and our method rely on the α model (Eq. 1), a 1parameter model of the relationship between allele frequencies and trait effect sizes. Evaluating the full joint distribution of allele frequencies and trait effect sizes could yield interesting additional information, but would require new approaches that might be extremely computationally intensive when applied to very large data sets.
In addition, several recent studies have drawn inferences about evolutionary parameters that affect complex traits. Refs. ^{12,13}, estimated τ in type 2 diabetes to be approximately 0.1, by comparing the number of rare and lowfrequency associations in empirical studies to the number in simulations. Ref. ^{6} estimated τ by matching the heritability explained by rare SNPs (MAF < 1%) in their analysis of prostate cancer to simulation results, inferring \(\hat \tau = 0.48\) (95% CI [0.19,0.78]). We are not aware of any previous study that investigated plausible values of the genomewide average strength of negative selection, although ref. ^{27} used a different modeling approach to estimate the mutational target load.
We note several limitations in our work. First, our analyses are restricted to highprevalence diseases and quantitative traits, as lowprevalence diseases are not wellrepresented in the UK Biobank due to random ascertainment. This motivates additional analyses of lowprevalence diseases, which could potentially be subject to stronger direct selection. However, we caution that our method might be susceptible to biases when used to analyze ascertained casecontrol traits, as previously described for linear mixed model based heritability estimation methods^{33,34}, meriting further investigation. Second, we use the EyreWalker model^{9} to parameterize the coupling between fitness effects and trait effects. The EyreWalker model has previously proven useful in a variety of settings^{6,12,13}, but other coupling models are also possible^{27,28} and merit further exploration. One limitation of the EyreWalker model is that it does not allow for signed correlations between SNP trait effect and selection coefficient, i.e., the damaging allele is equally likely to reduce or increase the trait value. This assumption is violated when the target trait is under direct selection, but is plausible if selection on the SNP is mainly pleiotropic, which appears to be the dominant form of selection for the traits analyzed here (see above). Third, we assume that the distribution of selection coefficients follows a gamma distribution. This assumption implies that there are no outlier SNPs under exceptionally strong negative selection. Such extremely selected SNPs would stay at very low frequencies and only affect our results if they had extreme effects on the target trait. However, such SNPs have not been identified for most complex traits^{2}. Fourth, our analytic derivations ignore LD and assume a constant population size. Our derivations imply that α = −2τ (see Methods), but our forward simulations, which include realistic LD patterns and demography, suggest that α = −τ. The direction of this change is consistent with the action of background selection due to LD, since strong LD leads to a SNP’s frequency being influenced not only by its own selection coefficient but also by the selection coefficients of many other correlated SNPs, leading to a less negative α value for a given τ. However, this difference could potentially also be due to demography^{35}. The impact of LD and demography on α could potentially be investigated further using forward simulations. Finally, our forward simulations assume that negative (purifying) selection is the dominant mode of selection affecting complex traits. Although positive selection is likely to affect some loci, recent work has suggested that selective sweeps were rare in human evolution^{36} and hence unlikely to have substantial genomewide effects on MAFdependent trait architectures. We also did not investigate the potential effects of stabilizing selection^{27}. Despite these limitations, our quantification of MAFdependent effect sizes and investigation of the underlying evolutionary parameters is broadly informative for the genetic architectures of diseases and complex traits.
Methods
Inferring frequency dependence of SNP effects
We assume a linear complex trait model for N individuals and M SNPs with
Here, y is a vector of N phenotype values with mean zero, X is the meancentered genotype matrix, β is the vector of M SNP effects and ε is a vector of environmental effects (i.e., any nonSNP effects). Furthermore we assume the effect size of SNP j to be a random variable that follows a distribution depending on its minor allele frequency (MAF) p_{j}:
where effect sizes of two SNPs are independent conditional on their allele frequencies. A negative α value indicates larger trait effects on average for lowerfrequency SNPs, whereas \(\sigma _{{\mathrm{g}},\alpha }^2\) is the component of the SNP effect variance independent of frequency. This model, which we call the α model, has been used in previous analyses of complex traits^{14,15}. We note that β defines the perallele SNP effect which is distinct from the heritability explained by a SNP. Under HardyWeinberg equilibrium and given Eq. (5), the average heritability explained by a SNP of frequency p is proportional to [2p(1 − p)]^{1+α}.
From Eqs. (4) and (5) it follows that the distribution of the phenotype vector y is a multivariate normal distribution with
Given the genotype matrix X, SNP frequency vector p and phenotype vector y, the likelihood over the three parameters \(\sigma _{{\mathrm{g}},\alpha }^2\), \(\sigma _\varepsilon ^2\)and α is fully defined by Eq. (6). Hence, the MLE of the parameter triple \((\sigma _{{\mathrm{g}},\alpha }^2,\sigma _\varepsilon ^2,\alpha )\) can be found directly by maximizing the corresponding likelihood. Since we are primarily interested in estimating α, we used a profile likelihood based approach, with the profile likelihood of α defined as \(L_{{\mathrm{prof}}}(\alpha) = {\max}_ {(\sigma _{{\mathrm{g}},\alpha }^2,\sigma _{\varepsilon}^2)} L(\sigma _{{\mathrm{g}},\alpha }^2,\sigma _{\varepsilon}^2,\alpha )\). In this analysis we use \(\hat \alpha = {\mathrm{argmax}}_\alpha \,L_{{\mathrm{prof}}}(\alpha )\) as the estimator of α, given genotype and phenotype data X and y. \(\hat \alpha\) is also equal to the α value in \((\sigma _{{\mathrm{g}},\alpha }^2,\sigma _\varepsilon ^2,\alpha )\) that maximizes the total likelihood in Eq. (6).
In practice, the profile likelihood L_{prof}(α) was derived in the following way: for some α′, XD_{α′}X^{T} was calculated. Given phenotype values y and for a given α′, we inferred maximum likelihood estimates for \(\sigma _{{\mathrm{g}},\alpha }^2\) and \(\sigma _\varepsilon ^2\) via restricted maximum likelihood estimation^{37}, using the GCTA software implementation^{37}. This procedure was repeated for a range of α′. Here we used a minimal range of α′∈{−1.00, −0.95,…,0.00} for all traits, but extended the range to higher values if necessary, such that there is a minimal difference of 5 in log profile likelihood between the mode and the boundary. This ensures that the part of the curve that is significantly above zero is sampled. These data points were then interpolated with a natural cubic spline, yielding the final profile likelihood curve. Credible intervals for \(\hat \alpha\) were estimated by combining the profile likelihood curve with a flat prior. Although our above modeling assumes a quantitative trait, this method is equally applicable to randomly ascertained case–control traits since all likelihood calculations are performed using the GCTA software, which analyzes case–control traits accordingly via a liability threshold model^{38}.
Given \(\hat \alpha\) for a set of phenotypes, the crosstrait estimate, \(\hat \alpha _{{\mathrm{cross}}  {\mathrm{trait}}}\), was calculated as the inverse variance weighted mean across the traits. We tested for heterogeneity of true underlying α values across n traits by comparing \(\mathop {\sum }\limits_{i = 1}^n \frac{{(\hat \alpha _i  \hat \alpha _{{\mathrm{cross}}  {\mathrm{trait}}})^2}}{{{\mathrm{std}}.{\mathrm{error}}_i^2}}\) to a \(\chi _n^2\) null statistic. The bestfit standard deviation in true α values across traits, was calculated by assuming normally distributed true α with mean \(\hat \alpha _{{\mathrm{cross}}  {\mathrm{trait}}}\), and then choosing the standard deviation, for which the variance of the simulated \(\hat \alpha\) using the inferred standard errors matched the variance of the 25 α estimates most closely. We note that by accounting for the standard errors in our estimates of α, our approach ensures that any heterogeneity that is detected reflects true differences in frequencydependent architectures and not merely differences due to estimation noise, which varies across traits depending on heritability and sample size.
Correcting for LDdependent architectures
Ref. ^{17} showed that for a given MAF, SNPs with higher LD have lower perallele effects on average. Specifically, they use level of LD (LLD), defined as the rankbased inverse normal transform of the LD score. LLD is transformed separately in each part of the MAF spectrum, ensuring that it is independent of MAF. Ref. ^{17} reported that SNPs that have LLD one standard deviation above the mean have a squared perallele effect size reduced by (30 ± 2)% on average. This violates our assumption that, at a given MAF, all SNP effects are independent and identically distributed.
To avoid bias in our estimation due model misspecification, we incorporated LDdependent SNP effects by changing Eq. (5) to
This expression incorporates the LD dependence of ref. ^{17}, however, since LLD has mean zero and is independent of MAF, \(\beta _jp_j\sim N\left( {0,\sigma _{g,\alpha }^2 \cdot \left[ {2p_j\left( {1  p_j} \right)} \right]^\alpha } \right)\) still holds, even though effect sizes β are not i.i.d. given p. To remove the LD dependence in the effect size distribution, we calculated a renormalized genotype matrix \({\tilde{\mathbf X}}\), with \(\tilde X_{ij} = X_{ij} \cdot (1  0.3 \cdot {\mathrm{LLD}}_j)^{1/2}\). This effectively changes the complex trait model in Eq. (4) to \({\mathbf{y}} = {\tilde{\mathbf{X}}} {\tilde{\mathbf{\beta}}} + {\mathbf{\varepsilon}}\), where now \(\tilde \beta _jp_j\sim N\left( {0,\sigma _{g,\alpha }^2 \cdot \left[ {2p_j\left( {1  p_j} \right)} \right]^\alpha } \right)\) is again i.i.d. for a fixed p. Unless otherwise stated, we hence estimated α using \({\tilde{\mathbf X}}\) instead of X to avoid biases due to LDdependent architectures.
When estimating LDdependent architectures, we used an LDweight parameter τ^{*}, similar to ref. ^{17}. We assume that
We jointly estimated α and τ^{*} by identifying the pair of values (α, τ^{*}) that maximizes the profile likelihood using a 2D grid, with τ^{*} = −0.60, −0.45, −0.30, −0.15, 0.00 and α = −1.00, −0.95, −0.90,…(the same set of α values that we analyzed previously).
Genotype data
We use the UK Biobank phase 1 data release (see URLs), which comprises of data from 152,729 individuals genotyped at 847,131 SNP loci. Here, we only used data from 113,851 individuals following selection criteria previously used by ref. ^{39}: individuals were selected to have selfreported and confirmed British ancestry and related individuals were removed from the analysis such that the pairwise genetic relatedness is < 5% (after LDpruning SNPs). Individuals that had withdrawn consent to participate in the UK Biobank project after initial publication were removed from the analysis. We used imputed genotype data as provided by UK Biobank. These genotypes were imputed using the IMPUTE2 software^{40} and a joint reference panel from the UK10K project^{41} and 1000 Genomes Phase 3 (ref. ^{42}). The resulting imputed genotype data includes roughly 70,000,000 SNP loci across the 22 autosomal chromosomes. The data was downloaded in the BGEN file format (see URLs), a compressed file format that includes—for each individual and variant site—the probability of being homozygous reference, heterozygous, or homozygous alternative. Due to imputation uncertainty, the genotype matrix X and the allele frequencies p are not known precisely. Instead, we use the expected genotypes given these probabilities (genotype dosages). To exclude largeeffect SNP loci from human leukocyte antigen genes, SNPs on chromosome 6 in the 30–31 Mb region were masked and we verified that no significant associations were found in nearby regions after masking. Due to memory constraints, GCTA could not be run using a GRM of all 113,851 individuals at once. Instead, we divided all individuals into three equally sized batches, calculating the profile likelihood of α for each batch and using the sum of the resulting log likelihoods to compute the final likelihood curve.
Although our analysis does not require knowing all imputed genotypes precisely, we do assume that the genotype probabilities are well calibrated, i.e., that we are not overly confident in the imputation accuracy. Since imputation accuracy is difficult to assess if the number of minor alleles in the reference panel is very low, we only used SNP loci that had 5 or more minor alleles in the UK10K reference panel (MAF > 0.07%) in our main analysis. To further assess calibration of imputation noise, we compared the uncertainty implied by the genotype probabilities with an empirical assessment of imputation accuracy performed by the UK Biobank study (see URLs). Supplementary Figure 3 shows that imputation accuracy is significantly overestimated for SNPs of frequency 0.1% or less, which could potentially bias our results. However, repeating α estimation only using SNPs of MAF > 0.3% did not lead to significantly different results, implying that our results are not significantly affected (see Supplementary Table 3).
Simulations
Simulations were performed using genotype data from an N = 5000 random subset of the 113,851 unrelated British UK Biobank individuals. We used M = 100,000 consecutive SNPs from a 25 Mb block of chromosome 1. N and M where chosen to approximately match the power of the UK Biobank traits analyzed (which scales with \(N/\sqrt M\); ref. ^{21}). As in the main analysis of UK Biobank traits, only SNPs with at least 5 minor alleles (MAF > 0.07%) in the UK10K reference panel were included. Phenotype values were generated using the linear model described in Eq. (4). The trait effect of the j^{th} SNP was drawn from \(\beta _jp_j,{\mathrm{LLD}}_j\sim N( {0,\sigma _{g,\alpha }^2 \cdot [ {2p_j( {1  p_j} )} ]^\alpha \cdot ( {1 + \tau ^ \ast \cdot {\mathrm{LLD}}_j} )} )\), with τ^{*} = −0.3 when simulating LDdependent architectures^{17}, and τ^{*} = 0 otherwise. The environmental noise variance was chosen such that the simulated trait had the desired heritability. In simulations with only 1% of SNPs causal, the causal SNPs were chosen at random. Imputation noise was introduced by randomly sampling the genotypes used to simulate phenotypes from imputed genotype probabilities, as reported by UK Biobank. In simulations without imputation noise, genotype dosages, i.e., the expected number of minor alleles, were used. In the inference procedure, we used genotype dosages in both types of simulations. In analyses reported in Supplementary Table 1, we used a larger set of SNPs (860,000) and individuals (15,000). As above, these values were chosen to approximately match the power of the UK Biobank traits analyzed; we note that chromosome 1 contains < 900,000 SNPs in our analysis.
Simulations to estimate α_{LDAK} were performed using the same set of 5000 individuals and 100,000 SNP loci. Phenotype values were simulated as described above. α_{LDAK} estimation was performed in the same way as in the previous set of simulations, only now using the LDAK software^{19} to calculate the likelihood for a given α value instead of the GCTA software. This approach hence includes the LD weights proposed by LDAK and is identical to their proposed approach for estimating α, although, to enable a more accurate comparison, we used a finer set of tested α values (α′ ∈ {−1.00, −0.95,...,0.60}) than in their study (α′ ∈ {−1.25, −1.00, −0.75, −0.50, −0.25, 0.00, 0.25}). Due to computational constraints we did not use their workflow for imputed genotypes, but rather used the same hardcalled genotypes for both phenotype simulations and estimation, an option available in LDAK.
When simulating trait values with T_{sim} = 0%, T_{sim} = 5% and T_{sim} = 10%, we used genomewide SNPs (MAF > 0.07%; M = 11,062,620) and set the number of samples (N = 113,660), α = −0.45 and h^{2} = 0.61, to match UK Biobank height. We randomly selected 1% of SNPs to be causal. In simulations with T_{sim} = 0%, causal effect sizes were sampled from \(N\left( {0,\sigma _{g,\alpha }^2 \cdot \left[ {2p_j\left( {1  p_j} \right)} \right]^\alpha \cdot \left( {1 + \tau ^ \ast \cdot {\mathrm{LLD}}_j} \right)} \right)\). In simulations with T_{sim} = 5%, causal effect sizes were sampled from \(N\left( {0,\sigma _{g,\alpha }^2 \cdot \left[ {2 \cdot 0.05\left( {1  0.05} \right)} \right]^\alpha \cdot \left( {1 + \tau ^ \ast \cdot {\mathrm{LLD}}_j} \right)} \right)\) for all causal SNPs with MAF ≤ 5%, and accordingly in simulations with T_{sim} = 10%.
Correcting for bias in heritability estimation
Heritability estimation methods based on standard restricted maximum likelihood (REML) estimation in a linear mixed model framework^{16} require that all SNP effects are i.i.d. distributed in order to avoid biases. In the case of MAFdependent SNP effects, this assumption is clearly broken. This issue has been addressed in previous work and several solutions to this problem have been suggested^{15,19}. Here we show that knowing α for a given trait can provide another way to avoid heritability estimation biases due to MAFdependent architectures. As previously stated, our model assumes y = Xβ + ε, with \(\varepsilon _i\sim N\left( {0,\sigma _\varepsilon ^2} \right)\) i.i.d. and \(\beta _j\sim N\left( {0,\sigma _{g,\alpha }^2 \cdot \left[ {2p_j\left( {1  p_j} \right)} \right]^\alpha } \right)\). Here β_{j} is the perallele effect, the average effect on the phenotype of having one minor allele. However, one can define renormalized genotypes \(\tilde {\mathbf{X}}\), with \(\tilde X_{ij} = X_{ij} \cdot \left[ {2p_j\left( {1  p_j} \right)} \right]^{\alpha /2}\). The pernormalizedallele effects are now \(\tilde \beta _j\sim N(0,\sigma _{g,\alpha }^2)\) i.i.d. in \({\mathbf{y}} = \tilde {\mathbf{X}}\tilde {\mathbf{\beta }} + {\mathbf{\varepsilon }}\). Since \(\tilde \beta _j\) are now iid, \(\sigma _{g,\alpha }^2\) and \(\sigma _\varepsilon ^2\) can now be estimated without bias from \(\tilde {\mathbf{X}}\) and y using REML. The variance in the phenotype explained by M SNPs can be calculated in the following way:
where \(\tilde {\mathbf{x}}\) is a random renormalized genotype row vector. Here we used the fact that \(\left( {{\mathrm{Var}}\left( {\tilde {\mathbf{x}}} \right)} \right)_{jj} = 2p_j\left( {1  p_j} \right)\) under HardyWeinberg equilibrium and cross terms cancel since \(\tilde \beta _j\) are independent and mean zero. We define \(A = \mathop {\sum }\limits_{j = 1}^M \left[ {2p_j\left( {1  p_j} \right)} \right]^{1 + \alpha }\), with the genetic variance \(\sigma _{\mathrm{g}}^2 = A \cdot \sigma _{{\mathrm{g}},\alpha }^2\). If α = −1, as has been used in many previous methods^{14,16}, A is simply equal to M.
In practice, heritability estimation was performed in the following way: the renormalized genotype matrix \(\tilde {\mathbf{X}}\) was calculated using the \(\hat \alpha\) as estimated from the data. From \(\tilde {\mathbf{X}}\) and the phenotype vector, \(\hat \sigma _{{\mathrm{g}},\alpha }^2\) and \(\hat \sigma _\varepsilon ^2\) were obtained using GCTA REML^{37}. Our SNP heritability estimate \(\hat h_{\alpha ,{\mathrm{noLD}}}^2\) is then defined as \(\hat A\hat \sigma _{{\mathrm{g}},\alpha }^2/(\hat A\hat \sigma _{{\mathrm{g}},\alpha }^2 + \hat \sigma _\varepsilon ^2)\), with \(\hat A = \mathop {\sum }\limits_{j = 1}^M \left[ {2p_j\left( {1  p_j} \right)} \right]^{1 + \hat \alpha }\). \(\hat h_\alpha ^2\) was calculated equivalently only now including previously described LD weights, i.e. we used \(\left[ {2p_j\left( {1  p_j} \right)} \right]^{\hat \alpha /2} \cdot \left( {1  0.3 \cdot {\mathrm{LLD}}_j} \right)^{1/2}\) instead of \(\left[ {2p_j\left( {1  p_j} \right)} \right]^{\hat \alpha /2}\) when calculating \(\tilde {\mathbf{X}}\) and \(\hat A\).
Phenotype selection and preprocessing
In this analysis we investigated 25 highly heritable and polygenic human traits (see Table 2) from the UK Biobank study (see URLs). Specifically, we required a SNP heritability of 0.2 or more for quantitative traits and 0.1 or more for casecontrol traits (on the observed scale, see ref .^{38}), as well as at least 50% of the 113,851 British ancestry individuals to be phenotyped. We also removed phenotypes for which the top 10 SNPs explained 10% or more of the trait variance, so as to avoid α estimates that are dominated by a few top SNPs, as our goal is to study polygenic architectures. (Only one trait, mean platelet volume, was removed due to this restriction.) The 25 traits that we chose include 21 quantitative traits and 4 case–control traits. Eleven of the quantitative traits are blood cell traits, whereas the remaining 14 include a wider range of physiological measurements and diseases. Since the number of available blood cell traits was large and many of them were highly correlated, we additionally required blood cell traits to have a pairwise phenotypic correlation of r^{2} < 0.5, removing the less heritable trait for any correlated pair.
For each trait, phenotype values had outliers removed and fixed effects were regressed out. Specifically, phenotype values 4 or more standard deviations away from the mean (or similarly extreme outliers for skewed distributions) were removed from the analysis. Sex and ten principal components of the GRM were included as fixed effects for all traits, with additional trait specific covariates also included for some traits (see Supplementary Table 10). All trait values were then rankbased inverse normal transformed before being analyzed.
Inferring fitnesstrait coupling and selection parameters
We aimed to use the frequency dependence of SNP effects to draw conclusions about the fitness effects of SNPs, as well as the coupling between fitness and the target trait effects. Let β^{2}p be the squared trait effect size of a SNP given its MAF p, and s the fitness effect of the SNP, which is here assumed to be deleterious or neutral. From the law of total expectation it follows that E(β^{2}p) = E(E(β^{2}s, p)p). The main assumption of this analysis is that, at a given selection coefficient, the effect size of the SNP is independent of its frequency, i.e., E(β^{2}s, p) = E(β^{2}s). This is equivalent to the statement that the frequency dynamics of a SNP is influenced by β^{2} only through s. We then use the model of EyreWalker^{9}, where the absolute value of β is proportional to s^{τ}(1 + ε), with ε ~ N(0, σ^{2}) and τ indicating how strongly β depends on s. It follows that E(β^{2}s) ∝ s^{2τ} and from above, for some constant c,
Given a positive τ, this equation shows that increased average effects of lowerfrequency SNPs requires lowerfrequency SNPs having increased s and hence implies significant negative selection. Some previous analyses^{4,6,32} have argued that in the absence of selection, SNPs of MAF ranges of equal width (e.g., 5–10% and 10–15%) are expected to explain an equal fraction of heritability. However, even in the absence of selection, population expansion can lead to excess rare variants, leading to increased rare variant heritability^{43}. Increased rare variant heritability is therefore not necessarily a sign of selection.
Assuming we know τ and the joint distribution of s and p, E(β^{2}p) can be derived from Eq. (10). We simulated samples of this distribution using the evolutionary forward simulation framework SLiM2 (ref. ^{25}). Simulations were run with a European demographic model inferred by ref. ^{26}, a burnin of 3880 generations before the bottleneck, a mutation rate of \(2 \times 10^{  8}\) per base pair per individual per generation^{44}, and a recombination rate of 10^{−8} per base pair per individual per generation^{45}. These simulations also require assumptions about the distribution of fitness effects (DFE), i.e., the distribution of s for de novo mutations, but the DFE for genomewide SNPs in humans is currently not known. We assumed a gamma distributed DFE, using a plausible range of average fitness effects, \(\bar s \in \left\{ {10^{  3},10^{  4}} \right\}\) (note that \(\bar s \le 10^{  5}\) would lead to T close to or greater than 0.5 and hence no or almost no frequency dependence; see Supplementary Figure 4, panel (e)), and shape parameters of k = 0.125 and 0.25 which includes the range of plausible values derived by ref. ^{24}. In the analyses reported in Supplementary Figure 5, we considered a broader range of shape parameters (k = 1, 0.5, 0.25, 0.125, 0.0625). Although the gamma distribution does not include variants with exactly zero effect size, k effectively parametrizes the polygenicity of fitness effects. For example, at k = 0.0625, the mean SNP fitness effect is almost 7000 times larger than the median SNP fitness effect, indicating that fitness effects are extremely sparse. At k = 1, the mean is only 1.4 times larger than the median, indicating that fitness effects are extremely polygenic. Since SNPs with negligible fitness effects also have negligible effects on the target trait under the EyreWalker model^{9}, the shape parameter k determines the polygenicity of both fitness and the target trait.
For each choice of DFE we simulated 25 independent replicates over a 4 Mb block each, for a total of 100 Mb with each DFE. In all simulations the EyreWalker noise parameter, σ^{2}, was set to zero. This parameter does not change SNP effects on average and is therefore negligible in the limit of large SNP numbers. This was also noted in original analysis by ref. ^{9}.
In the absence of LD between selected SNPs and assuming a constant effective population size N_{e}, E(β^{2}p) can also be derived analytically. Under these assumptions and assuming mutation rate per base pair μ ≪ 1/N_{e} (ref. ^{44}), it is known that \(P\left( {p{\mathrm{}}s} \right) \propto [p\left( {1  p} \right)]^{  1}e^{  4N_{\mathrm{e}}sp}\) (ref. ^{46}). Given s is drawn from a gamma distribution with mean \(\bar s\) and shape parameter k, we obtain
This result shows that for \(p \ll \frac{k}{{4N_{\mathrm{e}}\bar s}}\), E(β^{2}p) is constant, whereas for \(p \gg \frac{k}{{4N_{\mathrm{e}}\bar s}}\) it falls off as p^{−2τ}. We note that these calculations imply α ≈ −2τ, whereas α is significantly less negative in simulations (see Fig. 3), with the difference likely being due to LD between SNPs with different selection coefficients (see Discussion). For simplicity, we have here assumed that p is the derived allele frequency – if p is the minor allele frequency (MAF), results are generally similar, although they differ for very common SNPs. Specifically, when using MAF, E(β^{2}p) ∝ ([p + T]^{−2τ−k} + [1−p + T]^{−2τ−k})/([p + T]^{−k} + [1−p + T]^{−k}), with threshold frequency \(T = \frac{k}{{4N_{\mathrm{e}}\bar s}}\) (see caption of Supplementary Figure 6). We show in Supplementary Figure 6 that our analytical result using MAF matches the α model more closely (though not perfectly), as the correction terms for very common SNPs match the (1 − p) factor in the E(β^{2}p) ∝ [p(1 − p)]^{α} model.
When fitting α to SNP effects from a simulation with a given \(\bar s\), k and τ in Fig. 3, we only used SNPs with frequency above \(\frac{k}{{4N_{\mathrm{e}}\bar s}}\). \(\left( {\hat c\prime ,\hat \alpha } \right)\) is calculated by minimizing the squared deviation between \(c\prime \cdot [p\left( {1  p} \right)]^\alpha\) and the simulated SNP effects summed over all SNPs from 25 independent simulations. Error bars were obtained by bootstrap resampling of these 25 simulations. The proportionality constant in Eq. (10) does not affect \(\hat \alpha\) and was set to c = 1. When estimating τ from \(\hat \alpha\) of a given trait, we assumed a flat prior on α over [−1,0] and on τ over [0,1], in which case \(P\left( {\tau {\mathrm{data}}} \right) \propto \mathop {\int }\limits_{  1}^0 P\left( {\alpha {\mathrm{}}\tau } \right)P\left( {\alpha {\mathrm{data}}} \right){\mathrm{d}}\alpha\). Here, \(P\left( {{\alpha} {\mathrm{data}}} \right)\) is proportional to the calculated profile likelihood and \(P\left( {\alpha {\mathrm{}}\tau } \right)\) is based on estimates and error bars displayed in Fig. 3, assuming equal probability for \(\bar s = 10^{  3}\) and \(\bar s = 10^{  4}\), and k = 0.25. Using k = 0.125 lead to similar results, e.g., α = −0.38 then corresponds to \(\tau \in [0.33,0.43]\) instead of \(\tau \in [0.32,0.48]\) for k = 0.25.
URLs
Opensource software package implementing our method, https://github.com/arminschoech/GRMMAFLD; UK Biobank website, http://www.ukbiobank.ac.uk/; BGEN file format, http://www.well.ox.ac.uk/~gav/bgen_format/; UK Biobank genotype imputation manual, http://www.ukbiobank.ac.uk/wpcontent/uploads/2014/04/imputation_documentation_May2015.pdf
Code availability
Source code of the GRMMAFLD software developed for this analysis is publicly available at https://github.com/arminschoech/GRMMAFLD.
Reporting summary
Further information on experimental design is available in the Nature Research Reporting Summary linked to this article.
Data availability
This work used data from the UK Biobank study (http://www.ukbiobank.ac.uk/). The data is not publicly available but researchers can apply to use the resource.
References
 1.
Pritchard, J. K. Are rare variants responsible for susceptibility to complex diseases? Am. J. Hum. Genet. 69, 124–137 (2001).
 2.
Gibson, G. Rare and common variants: twenty arguments. Nat. Rev. Genet. 13, 135–145 (2012).
 3.
Lee, S. H. et al. Estimating the proportion of variation in susceptibility to schizophrenia captured by common SNPs. Nat. Genet. 44, 247–250 (2012).
 4.
Yang, J. et al. Genetic variance estimation with imputed variants finds negligible missing heritability for human height and body mass index. Nat. Genet. 47, 1114–1120 (2015).
 5.
Loh, P.R. et al. Contrasting genetic architectures of schizophrenia and other complex diseases using fast variance components analysis. Nat. Genet. 47, 1385–1392 (2015).
 6.
Mancuso, N. et al. The contribution of rare variation to prostate cancer heritability. Nat. Genet. 48, 30–35 (2016).
 7.
Visscher, P. M. et al. 10 Years of GWAS discovery: biology, function, and translation. Am. J. Hum. Genet. 101, 5–22 (2017).
 8.
Kryukov, G. V., Pennacchio, L. A. & Sunyaev, S. R. Most rare missense alleles are deleterious in humans: implications for complex disease and association studies. Am. J. Hum. Genet. 80, 727–739 (2007).
 9.
EyreWalker, A. Genetic architecture of a complex trait and its implications for fitness and genomewide association studies. Proc. Natl Acad. Sci. 107, 1752–1756 (2010).
 10.
Price, A. L. et al. Pooled association tests for rare variants in exonresequencing studies. Am. J. Hum. Genet. 86, 832–838 (2010).
 11.
Zuk, O. et al. Searching for missing heritability: designing rare variant association studies. Proc. Natl Acad. Sci. 111, E455–E464 (2014).
 12.
Agarwala, V. et al. Evaluating empirical bounds on complex disease genetic architecture. Nat. Genet. 45, 1418–1427 (2013).
 13.
Fuchsberger, C. et al. The genetic architecture of type 2 diabetes. Nature 536, 41–47 (2016).
 14.
Speed, D., Hemani, G., Johnson, M. R. & Balding, D. J. Improved heritability estimation from genomewide SNPs. Am. J. Hum. Genet. 91, 1011–1021 (2012).
 15.
Lee, S. H. et al. Estimation of SNP heritability from dense genotype data. Am. J. Hum. Genet. 93, 1151–1155 (2013).
 16.
Yang, J. et al. Common SNPs explain a large proportion of the heritability for human height. Nat. Genet. 42, 565–569 (2010).
 17.
Gazal, S. et al. Linkage disequilibrium–dependent architecture of human complex traits shows action of negative selection. Nat. Genet. 49, 1421 (2017).
 18.
Gusev, A. et al. Quantifying missing heritability at known GWAS loci. PLoS Genet. 9, 1–19 (2013).
 19.
Speed, D. et al. Reevaluation of SNP heritability in complex human traits. Nat. Genet. 49, 986–992 (2017).
 20.
Sudlow, C. et al. UK Biobank: an open access resource for identifying the causes of a wide range of complex diseases of middle and old age. PLoS Med. 12, e1001779 (2015).
 21.
Visscher, P. M. et al. Statistical power to detect genetic (Co)variance of complex traits using SNP data in unrelated samples. PLoS Genet. 10, 1–10 (2014).
 22.
Yang, J., Lee, S. H., Goddard, M. E. & Visscher, P. M. GCTA: a tool for genomewide complex trait analysis. Am. J. Hum. Genet. 88, 76–82 (2011).
 23.
Evans, L. M. et al. Comparison of methods that use whole genome data to estimate the heritability and genetic architecture of complex traits. Nat. Genet. 50, 737 (2018).
 24.
Boyko, A. R. et al. Assessing the evolutionary impact of amino acid mutations in the human genome. PLoS Genet. 4, 1–13 (2008).
 25.
Haller, B. C. & Messer, P. W. SLiM 2: flexible, interactive forward genetic simulations. Mol. Biol. Evol. 34, 230–240 (2016).
 26.
Tennessen, J. A. et al. Evolution and functional impact of rare coding variation from deep sequencing of human exomes. Science 337, 64–69 (2012).
 27.
Simons, Y. B., Bullaughey, K., Hudson, R. R. & Sella, G. A population genetic interpretation of GWAS findings for human quantitative traits. PLoS Biol. 16, e2002985 (2018).
 28.
Caballero, A., Tenesa, A. & Keightley, P. D. The nature of genetic variation for complex traits revealed by GWAS and regional heritability mapping analyses. Genetics 201, 1601–1613 (2015).
 29.
Takahata, N. Allelic genealogy and human evolution. Mol. Biol. Evol. 10, 2–22 (1993).
 30.
Boyle, E. A., Li, Y. I. & Pritchard, J. K. An expanded view of complex traits: from polygenic to omnigenic. Cell 169, 1177–1186 (2017).
 31.
Johnson, T. & Barton, N. Theoretical models of selection and mutation on quantitative traits. Philos. Trans. R. Soc. Lond. B Biol. Sci. 360, 1411–1425 (2005).
 32.
Zeng, J. et al. Signatures of negative selection in the genetic architecture of human complex traits. Nat. Genet. 50, 746–753 (2018).
 33.
Yang, J., Zaitlen, N. A., Goddard, M. E., Visscher, P. M. & Price, A. L. Advantages and pitfalls in the application of mixedmodel association methods. Nat. Genet. 46, 100–106 (2014).
 34.
Golan, D., Lander, E. S. & Rosset, S. Measuring missing heritability: inferring the contribution of common variants. Proc. Natl Acad. Sci. 111, E5272–E5281 (2014).
 35.
Lohmueller, K. E. The impact of population demography and selection on the genetic architecture of complex traits. PLoS Genet. 10, e1004379 (2014).
 36.
Hernandez, R. D. et al. Classic selective sweeps were rare in recent human evolution. Science 331, 920–924 (2011).
 37.
Patterson, H. D. & Thompson, R. Recovery of interblock information when block sizes are unequal. Biometrika 58, 545–554 (1971).
 38.
Lee, S. H., Wray, N. R., Goddard, M. E. & Visscher, P. M. Estimating missing heritability for disease from genomewide association studies. Am. J. Hum. Genet. 88, 294–305 (2011).
 39.
Galinsky, K., Loh, P.R., Mallick, S., Patterson, N. J. & Price, A. L. Population structure of UK Biobank and ancient Eurasians reveals adaptation at genes influencing blood pressure. Am. J. Hum. Genet. 99, 1130–1139 (2016).
 40.
Howie, B., Marchini, J. & Stephens, M. Genotype imputation with thousands of genomes. Genes Genomes Genet. 1, 457–470 (2011).
 41.
Consortium, U. & Others The UK10K project identifies rare variants in health and disease. Nature 526, 82–90 (2015).
 42.
Consortium, 1000 Genomes Project & others. A global reference for human genetic variation. Nature 526, 68–74 (2015).
 43.
Uricchio, L. H., Zaitlen, N. A., Ye, C. J., Witte, J. S. & Hernandez, R. D. Selection and explosive growth alter genetic architecture and hamper the detection of causal rare variants. Genome Res. 26, 863–873 (2016).
 44.
Shendure, J. & Akey, J. M. The origins, determinants, and consequences of human mutations. Science 349, 1478–1483 (2015).
 45.
Dumont, B. L. & Payseur, B. A. Evolution of the genomic rate of recombination in mammals. Evolution 62, 276–294 (2008).
 46.
Ewens, W. J. Mathematical Population Genetics. (Springer, New York, 2004).
Acknowledgements
We are grateful to Ivana Cvijović, Kevin Galinsky, Alexander Gusev, Benjamin Neale, Nick Patterson and David Reich for helpful discussions. This research was funded by NIH grants R01 MH101244 and U01 HG009088 and by a Boehringer Ingelheim Fonds fellowship. This research was conducted using the UK Biobank Resource under Application Number 16549. Computational analyses were performed on the Orchestra HighPerformance Compute Cluster at Harvard Medical School.
Author information
Affiliations
Contributions
A.P.S., P.R.L., L.O., D.J.B., P.F.P., H.K.F., S.R.S. and A.L.P. conceived and designed the analysis. A.P.S., D.J. and S.G. performed the analysis. A.P.S., D.J., S.R.S. and A.L.P. analyzed the data. A.P.S. and A.L.P. wrote the manuscript with input from all authors.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Journal peer review information: Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Schoech, A.P., Jordan, D.M., Loh, PR. et al. Quantification of frequencydependent genetic architectures in 25 UK Biobank traits reveals action of negative selection. Nat Commun 10, 790 (2019). https://doi.org/10.1038/s41467019084246
Received:
Accepted:
Published:
Further reading

Disentangling selection on genetically correlated polygenic traits via wholegenome genealogies
The American Journal of Human Genetics (2021)

Analytic and Translational Genetics
Annual Review of Biomedical Data Science (2020)

Dissecting the heritable risk of breast cancer: From statistical methods to susceptibility genes
Seminars in Cancer Biology (2020)

Quantifying genetic effects on disease mediated by assayed gene expression levels
Nature Genetics (2020)

Iterative hard thresholding in genomewide association studies: Generalized linear models, prior weights, and double sparsity
GigaScience (2020)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.