A multi-locus association analysis method for multiple traits in a large population cohort
Through the 'multi-site preliminary screening → multi-trait re-screening' two-stage analysis strategy and multivariate linear mixed model, combined with numerical optimization technology, the problem of low computational efficiency in large population cohort data is solved, and efficient multi-trait and multi-site data are achieved. Correlation analysis is suitable for millions of people's cohort data, and achieves efficient calculation on multiple operating systems.
Patent Information
- Application Number
- CN202310613593.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-05-29
AI Technical Summary
The existing technology lacks efficient multi-trait and multi-site correlation analysis methods, especially in large population cohort data. The calculation efficiency is low, and the existing software cannot effectively utilize GPU parallel design and adapt to multiple operating systems, making it unfeasible to analyze big data. .
Adopting a two-stage analysis strategy of 'multi-site preliminary screening → multi-trait re-screening', through multiple linear regression models and multivariate linear mixed models, combined with moment estimation, Hutchinson estimation and preconditioned conjugate gradient descent method, rapid parameter estimation and reduced calculation complexity, and implements CPU+GPU parallel computing through the Docker portable parallel computing software package, which is suitable for millions of people's queue data.
It realizes efficient multi-trait and multi-site correlation analysis, improves calculation efficiency, can discover more small effects and single-cause and multiple-effect mutation sites, is suitable for large population cohort data, supports multiple operating systems, and saves memory and video memory. use.
Smart Images

Figure CN116631504B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of genetic algorithm technology, which is applied to epidemiology and health statistics, and in particular to a multi-site association analysis method for multiple traits of a large population cohort. Background Art
[0002] The existing association analysis methods are mainly based on single-trait and multi-locus models, or multi-trait single-locus models. In particular, they are only applicable to situations with moderate or small sample sizes. There is a lack of research on the use of multi-locus models for joint analysis of multiple traits for large population cohort biobank data. When the sample size and number of markers are very large, the main problems faced in multiple and multivariate linear regression analysis are: ① The genotype matrix is too large, and direct calculation will exceed the memory size; ② The simple extension of the univariate analysis method to multivariate analysis will greatly increase the computational complexity, and some approximate strategies are not valid in multivariate analysis; ③ Many programs do not consider the time consumption of data exchange between memory and hard disk, so it is not feasible to analyze big data; ④ Most software only uses CPU multi-threading acceleration, and does not consider GPU parallel design, and there is a lot of room for improvement in computing efficiency; ⑤ Many software are limited to a specific operating system, and the construction of the operating environment is very complicated.
[0003] Regarding the above-mentioned technical issues, the applicant proposed the two-stage multi-site GWAS methods ScoreEB and HRePML based on linear mixed models in the preliminary work, and compared them with the widely used single-site method GEMMA. The simulation data showed that the statistical power of the multi-site method was better than GEMMA. Although ScoreEB and HRePML have been improved in computing speed compared with other multi-site GWAS methods, unfortunately, they are still limited to small and medium-sized samples, and their computational efficiency is too low when analyzing large population cohort data such as UKBioBank. At present, no scholar has proposed an efficient multi-trait multi-site association analysis method for large population cohorts of millions. Summary of the invention
[0004] The purpose of the present invention is to solve the technical problem of the lack of efficient multi-trait multi-site association analysis methods in the prior art. In this application, a new method for multi-trait multi-site whole-genome association analysis suitable for a million-person cohort is established, and a Docker portable parallel computing software package for the new method is developed. Its purpose is to build a multi-trait multi-site whole-genome association analysis technology platform suitable for a million-person cohort, and to provide new technology for exploring the minor effects of complex traits or diseases and one-cause multi-effect variant sites (or genes).
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A multi-locus association analysis method for multiple traits in a large population cohort adopts a two-stage analysis strategy of "multi-locus preliminary screening → multi-trait re-screening". In the first stage, a multi-locus linear regression model is established to explore the compression estimation method for solving the coefficients; in the second stage, a multi-trait linear mixed model is established, and the hypothesis that the correlation between traits mainly comes from genetic correlation is proposed. Based on this hypothesis, the test statistic is obtained by quickly estimating parameters through numerical optimization techniques such as moment estimation, Hutchinson estimation and preconditioned conjugate gradient descent method.
[0007] Preferably, the multi-site preliminary screening comprises the following steps: Establishing a multiple linear model:
[0008] Y=Cα+Xβ+ε
[0009] In the above formula, is the trait column vector, n is the sample size; is the correction matrix, is its corresponding effect vector; is the genotype matrix, q is the number of markers, is the marker effect column vector, is the random error term;
[0010] Perform variable selection on the multilinear model by minimizing the following equation:
[0011]
[0012] In the above formula, ||·|| w represents the w norm, λ is the adjustment parameter;
[0013] Perform a multi-site preliminary screening for d complex traits (d≥2) and take the union of the screening results, X ∪ =X S1 ∪…∪X Sd represents the genotype matrix obtained by multi-site initial screening, where X S1 (1≤i≤d) represents the genotype matrix obtained for the i-th trait.
[0014] Preferably, the method for preliminary screening of multiple sites in S1 is one of the following methods:
[0015] ① The global batch screening iterative Lasso method BASIL is implemented through the R language package snpnet;
[0016] ② Rapid single point screening was performed using PLINK 2.0, and P<10 -3 The site retention (this threshold can be flexibly set according to the actual data), with X SRepresents the retained genotype subset matrix, and uses the R language package biglasso to convert X S Subsets were subjected to multivariate screening;
[0017] ③ Divide the huge genotype matrix into m blocks, ensuring that each sub-matrix is smaller than the computer memory, use biglasso to perform multivariate selection on the m sub-matrices respectively, and summarize all the results to form the genotype matrix X′ S , for X′ S Run Lasso again.
[0018] Preferably, the multi-trait re-screening comprises the following steps: establishing a multivariate mixed linear model
[0019]
[0020] In the above formula, is a multi-trait matrix, d is the number of traits; is the correction matrix, For its fixed effect, x∈X ∪ is the n-dimensional column vector of the current test marker genotype, is the labeling effect row vector, β~N(0,V β ), is the Kronecker product; and denote the random polygenic effect and the residual error matrix, respectively. and It obeys multivariate normal distribution, K is the genetic relationship matrix, I n is the unit matrix, and are the genetic covariance and the residual covariance;
[0021] Y follows a multivariate normal distribution:
[0022]
[0023] Let θ=(α,V β ,V g ,V e ), then the log-likelihood function about Y can be expressed as:
[0024]
[0025] In the above formula, vec(·) represents the column vector formed by stacking all the columns of the matrix together;
[0026] Then the parameter θ is estimated to obtain the statistics and P value under the null hypothesis. 0:β=0, that is, the marker effect size of all traits is 0, 0 represents the d-dimensional zero vector, the alternative hypothesis H 1 :β≠0; because β~N(0,V β ), so the hypothesis test for β can also be done by testing V β Carry out, that is, H 0 :V β =0,H 1 :V β ≠0;
[0027] Assume that the correlation between traits is mainly determined by genetic correlation, and environmental correlation is not considered. In this case,
[0028]
[0029] The estimate of can be obtained by establishing linear equations for the 1st to dth traits in parallel, Y i =Ca i +xβ i +ξ i +ε i (1≤i≤d), the parameters have the same meaning as described above, and the moment estimation under the null model is:
[0030]
[0031] Constructing the Hutchinson estimator can quickly obtain an approximate solution:
[0032]
[0033] In the above formula, z 1 ,…,z B are B independent random column vectors with mean 0 and covariance I n Normal distribution of
[0034] The genetic correlation coefficient between traits i, j (1≤i, j≤d, i≠j) can be obtained by the following formula:
[0035]
[0036] From equations (3) to (6), we can obtain V g ,V e Estimated value of And the estimated value of V under the null model
[0037] Estimated value of α Construct a test statistic:
[0038]
[0039] In the statistic S, Therefore, the statistic S can be expressed under the null hypothesis as:
[0040]
[0041] Will Substitute the estimated value of Combining and simplifying the formula yields:
[0042]
[0043] Therefore, the statistic S can be simplified as:
[0044]
[0045]
[0046] Under the null hypothesis and when the sample size is large, the statistic S asymptotically follows a chi-square distribution with d degrees of freedom. and Calculate it as a whole and obtain its approximation through the preconditioned conjugate gradient descent method;
[0047] From X ∪ L markers (such as L = 50) are randomly selected from the matrix. At this time, the following calculations are performed on the L markers:
[0048]
[0049] Mean means adding each element of the vector and finding its arithmetic mean. Then the statistic S can be approximated as:
[0050]
[0051] This application intends to adopt a two-stage analysis strategy of "multi-site preliminary screening → multi-trait re-screening": first, use the large data Lasso solver to reduce the dimensionality of the original data; then, establish a multivariate linear mixed model, and cleverly use numerical optimization techniques such as moment estimation, Hutchinson estimation, and preconditioned conjugate gradient descent to quickly estimate parameters to obtain test statistics. The above method of this application can discover more small effects and one-cause multi-effect sites, which is of great significance for analyzing the genetic mechanism of complex traits or diseases, and will be applied to large cohort GWAS data such as UK BioBank and China Kadoorie BioBank, in order to decipher the relationship between genes and human diseases and provide assistance for the prevention and treatment of human diseases. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1The figure is a flow chart of a multi-locus association analysis method for multiple traits in a large population cohort according to one embodiment of the present invention. DETAILED DESCRIPTION
[0053] The present invention is further described in detail below in conjunction with specific embodiments.
[0054] See also Figure 1 , a multi-site association analysis method for multiple traits in a large population cohort, adopts a two-stage analysis strategy of "multi-site preliminary screening → multi-trait re-screening", and innovates an efficient solution for solving large-sample high-dimensional linear equations. In the first stage, a multiple (i.e., multi-site) linear regression model is established to explore the compression estimation method of the coefficients; in the second stage, a multivariate (i.e., multi-trait) linear mixed model is established, and the hypothesis that the correlation between traits mainly comes from genetic correlation is proposed. Based on this hypothesis, the test statistic is obtained by quickly estimating the parameters through numerical optimization techniques such as moment estimation, Hutchinson estimation, and preconditioned conjugate gradient descent.
[0055] This application also conducted simulated data analysis and UK BioBank real data analysis, and compared the new method with the multi-locus method BASIL used alone and the multi-trait methods MTMM and GEMMA used alone. The first purpose was to verify the hypotheses proposed in the above research content, and the second purpose was to verify the effectiveness and superiority of the new method.
[0056] This application also writes a parallel computing program of a new method, studies the use of multi-threading of CPU and GPU for acceleration, reduces the number of data exchanges between the hard disk, memory and video memory through sharing and mapping of memory and video memory, further improves computing efficiency and saves memory and video memory usage, packages parallel programs and dependent environments into Docker images, and enables them to run on mainstream Windows, Linux and Mac operating systems.
[0057] Specifically, the analysis method in this application comprises the following steps:
[0058] S1: Multi-site preliminary screening:
[0059] First, build a multilinear model
[0060] Y=Cα+Xβ+ε,
[0061] In the above formula, is the trait column vector, n is the sample size; is the correction matrix, including gender, age and principal components, is its corresponding effect vector; is the genotype matrix, q is the number of markers, is the marker effect column vector, is the random error term;
[0062] Perform variable selection on the multilinear model by minimizing the following equation:
[0063]
[0064] In the above formula, ||·|| w represents the w norm, and λ is the adjustment parameter.
[0065] Perform a multi-site preliminary screening for d complex traits (d≥2) and take the union of the screening results, X ∪ =X S1 ∪…∪X Sd represents the genotype matrix obtained by multi-site initial screening, where X Si (1≤i≤d) represents the genotype matrix obtained for the i-th trait. In this case, X ∪ The dimension of is greatly reduced compared to the original giant matrix X.
[0066] In one embodiment, the preliminary screening method is one of the following methods:
[0067] ① The global batch screening iterative Lasso method BASIL is implemented through the R language package snpnet;
[0068] ② Rapid single point screening was performed using PLINK 2.0, and P<10 -3 The site retention (this threshold can be flexibly set according to the actual data), with X S Represents the retained genotype subset matrix, and uses the R language package biglasso to convert X S Subsets were subjected to multivariate screening;
[0069] ③ Divide the huge genotype matrix into m blocks, ensuring that each sub-matrix is smaller than the computer memory, use biglasso to perform multivariate selection on the m sub-matrices respectively, and summarize all the results to form the genotype matrix X′ S , for X′ S Run Lasso again.
[0070] S2: Multiple traits re-screening:
[0071] Building a multivariate mixed linear model
[0072]
[0073] is a multi-trait matrix, d is the number of traits; is the correction matrix, For its fixed effect, x∈X ∪is the n-dimensional column vector of the current test marker genotype, is the labeling effect row vector, β~N(0,V β ), is the Kronecker product; and denote the random polygenic effect and the residual error matrix, respectively. and It obeys multivariate normal distribution, K is the genetic relationship matrix, I n is the unit matrix, and are the genetic covariance and the residual (i.e., environmental) covariance.
[0074] Y follows a multivariate normal distribution:
[0075]
[0076] Let θ=(α,V β ,V g ,V e ), then the log-likelihood function of Y can be expressed as
[0077]
[0078] In the above formula, Represents the column vector formed by stacking all the columns of a matrix together.
[0079] Then the parameter θ is estimated to obtain the statistics and P value under the null hypothesis. 0 :β=0, that is, the marker effect size of all traits is 0, 0 represents the d-dimensional zero vector, the alternative hypothesis H 1 :β≠0. Because β~N(0,V β ), so the hypothesis test for β can also be done by testing V β Carry out, that is, H 0 :V β =0,H 1 :V β ≠0.
[0080] Assuming that the correlation between traits is mainly determined by genetics, without considering environmental correlation, then
[0081]
[0082] The estimate of can be obtained by establishing linear equations for the 1st to dth traits in parallel, Y i =Cα i +xβ i +ξ i +ε i(1≤i≤d), the parameters have the same meaning as described above, and the moment estimation under the null model is:
[0083]
[0084] Here, W = I n -C(C T C) -1 C T , because for large population cohorts, the sample size n is usually very large, and it is not feasible to directly find the trace of the n×n dimensional matrix in terms of time and memory space. By constructing the Hutchinson estimator, an approximate solution can be quickly obtained:
[0085]
[0086] z 1 ,…,z B are B independent random column vectors with mean 0 and covariance I n The normal distribution of .
[0087] The genetic correlation coefficient between traits i, j (1≤i, j≤d, i≠j) can be obtained by the following formula:
[0088]
[0089] From equations (3) to (6), we can obtain V g ,V e Estimated value of And the estimated value of V under the null model
[0090] Estimated value of α Construct a test statistic:
[0091]
[0092] In the statistic S, Therefore, the statistic S can be expressed under the null hypothesis as:
[0093]
[0094] Will Substitute the estimated value of Combining and simplifying the formula yields:
[0095]
[0096] Therefore, the statistic S can be simplified as:
[0097]
[0098] Under the null hypothesis and when the sample size is large, the statistic S asymptotically follows a chi-square distribution with d degrees of freedom. 0 It is a giant positive definite matrix of n×n dimensions. Its storage and inversion calculation are currently impossible to achieve. We do not directly generate V 0 matrix, but and It is considered as a whole and its approximation is obtained by preconditioned conjugate gradient descent.
[0099] Since the statistic S contains R, the amount of calculation is huge. If the norm containing R is calculated once for each label, it will undoubtedly be very time-consuming. We use an approximate process to start from X ∪ L markers (such as L = 50) are randomly selected from the matrix. At this time, the following calculations are performed on the L markers:
[0100]
[0101] Mean means adding each element of the vector and finding its arithmetic mean. Then the statistic S can be approximated as:
[0102]
[0103] This technical solution has developed a new multi-trait and multi-site GWAS method with high computational efficiency, high precision, and low false positive rate to solve the problem of big data analysis of biobanks with growing sample size and dimensionality; it has also developed CPU+GPU parallel computing software that is easy to install, simple to operate, saves memory usage, and is suitable for various mainstream operating systems.
Claims
1. A multi-locus association analysis method for multiple traits in a large population cohort, characterized by: A two-stage analysis strategy of "multi-site preliminary screening → multi-trait secondary screening" was adopted. In the first stage, a multi-site linear regression model was established to explore the compression estimation method of the coefficients. In the second stage, a multi-trait linear mixed model was established, and the hypothesis that the correlation between traits mainly comes from genetic correlation was proposed. Based on this hypothesis, the test statistics were obtained by quickly estimating parameters through numerical optimization techniques such as moment estimation, Hutchinson estimation and preconditioned conjugate gradient descent method. The multi-site preliminary screening includes the following steps: Establish a multiple linear model: Y=Cα+Xβ+ε In the above formula, is the trait column vector, n is the sample size; is the correction matrix, is its corresponding effect vector; is the genotype matrix, q is the number of markers, is the marker effect column vector, is the random error term; Perform variable selection on the multilinear model by minimizing the following equation: In the above formula, ||·|| w represents the W norm, λ is the adjustment parameter; Perform a multi-locus preliminary screening of d complex traits, d ≥ 2, and take the union of the screening results, X ∪ =X S1 ∪...∪X Sd represents the genotype matrix obtained by multi-site initial screening, where X S1 (1≤i≤d) represents the genotype matrix obtained for the i-th trait.
2. The multi-locus association analysis method for multiple traits in a large population cohort according to claim 1, characterized in that: The method of the multi-site preliminary screening is one of the following methods: ① The global batch screening iterative Lasso method BASIL is implemented through the R language package snpnet; ② Rapid single point screening was performed using PLINK 2.0, and P < 10 -3 The site is retained and X S Represents the retained genotype subset matrix, and uses the R language package biglasso to convert X S Subsets were subjected to multivariate screening; ③ Divide the huge genotype matrix into m blocks, ensuring that each sub-matrix is smaller than the computer memory, use biglasso to perform multivariate selection on the m sub-matrices respectively, and summarize all the results to form the genotype matrix X′ S , for X′ S Run Lasso again.
3. The multi-locus association analysis method for multiple traits in a large population cohort according to claim 1, characterized in that: The multi-trait re-screening includes the following steps: Establish a multivariate mixed linear model: In the above formula, is a multi-trait matrix, d is the number of traits; is the correction matrix, For its fixed effect, x∈X ∪ is the n-dimensional column vector of the current test marker genotype, is the labeling effect row vector, β~N(0,V β ), is the Kronecker product: and denote the random polygenic effect and the residual error matrix, respectively. and It obeys multivariate normal distribution, K is the genetic relationship matrix, I n is the unit matrix, and are the genetic covariance and the residual covariance; Y follows a multivariate normal distribution: Let θ = (α, V β , V g , V e ), then the log-likelihood function about Y can be expressed as: In the above formula, vec(·) represents the column vector formed by stacking all the columns of the matrix together; Then the parameter θ is estimated to obtain the statistic and P value under the null hypothesis. H0: β = 0 means that the marker effect size of all traits is 0, 0 represents the d-dimensional zero vector, and the alternative hypothesis H1: β ≠ 0; because β ~ N (0, V β ), so the hypothesis test for β can also be done by testing V β Carry out, that is, H0: β = 0, H1: β ≠ 0; Assume that the correlation between traits is mainly determined by genetic correlation, and environmental correlation is not considered. In this case, The estimate of can be obtained by establishing linear equations for the 1st to dth traits in parallel, Y i =Cα i +xβ i +ξ i +ε i , the parameters have the same meaning as described above, and the moment estimation under the null model is: Constructing the Hutchinson estimator can quickly obtain an approximate solution: In the above formula, z1, ..., z B are B independent random column vectors with mean 0 and covariance I n Normal distribution of The genetic correlation coefficient between traits i, j (1≤i, j≤d, i≠j) can be obtained by the following formula: From equations (3) to (6), we can obtain V g ,V e Estimated value of And the estimated value of V under the null model Estimated value of α Construct a test statistic: In the statistic S, Therefore, the statistic S can be expressed under the null hypothesis as: Will Substitute the estimated value of Combining and simplifying the formula yields: Therefore, the statistic S can be simplified as: Under the null hypothesis and when the sample size is large, the statistic S asymptotically follows a chi-square distribution with d degrees of freedom. and Calculate it as a whole and obtain its approximation through the preconditioned conjugate gradient descent method; From X ∪ L markers are randomly selected from the matrix, L = 50. At this time, the following calculations are performed on the L markers: Mean means adding each element of the vector and finding its arithmetic mean. Then the statistic S can be approximated as:
Citation Information
Patent Citations
Gene-environment interaction correlation analysis method based on large sample
CN114678066A
