Construction and application of a model for detecting copy number variation of genetic sequences

Through the technology of GMM-HMM model combination, a model for detecting genetic sequence copy number variation is constructed, which solves the problem of individual fetal concentration differences affecting detection accuracy and achieves higher detection accuracy and lower noise impact.

CN118016150BActive Publication Date: 2024-10-01CAPITALBIO GENOMICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311642948.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2024-10-01
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

When existing non-invasive prenatal genetic testing technology detects fetal chromosomal microdeletion/microduplication syndrome, due to differences in individual fetal concentrations, sensitivity and specificity are insufficient, and false positive and false negative test results often occur.

Method used

Using a combination of Gaussian Mixture Model (GMM) and Hidden Markov Model (HMM), K-means algorithm and EM algorithm are used to construct a model for detecting genetic sequence copy number variation, and the viterbi algorithm or Baum-welch algorithm is used to detect copy number. Decode and preset copy number abnormality detection thresholds under various fetal concentrations to improve detection accuracy.

Benefits of technology

It improves the accuracy of detection, reduces the impact of noise, enhances the ability to identify fetal chromosomal abnormalities, and reduces false positive and false negative results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118016150B_ABST
    Figure CN118016150B_ABST
Patent Text Reader

Abstract

The present invention discloses a model construction for detecting genetic sequence copy number variation and its application. The method for constructing the model can accurately determine non-invasive prenatal genetic sequence copy number variation. In a computer-readable carrier including a model constructed by the model construction method, and in the application of the model in preparing a genetic sequence copy number variation detection product, by presetting copy number abnormality detection thresholds under a variety of different fetal concentrations and comparing the CNV fragment sizes detected under different fetal concentrations, the accuracy of detection can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bioinformatics, and in particular to the construction of a model for detecting genetic sequence copy number variation and its application. Background Art

[0002] Fetal chromosomal microdeletion / microduplication syndrome is one of the important causes of congenital defects and is caused by a series of complex and diverse clinical symptoms due to the deletion or duplication of chromosomal fragments (Copy number variation, CNV) in the genome and the complex chromosomal structural variations derived from their mutual combination.

[0003] The non-invasive prenatal genetic test for fetal chromosomal microdeletion / microduplication (NIPT-plus) relies on the second-generation high-throughput gene sequencing platform to evaluate whether the fetus has a variety of chromosomal abnormalities such as chromosomal microdeletion / microduplication syndrome and other chromosomal substructural abnormalities by testing maternal peripheral blood. Therefore, NIPT-plus can prevent and reduce birth defects more comprehensively and efficiently, and help solve clinical problems encountered in the prevention and treatment of chromosomal diseases. The samples tested by NIPT-plus are derived from maternal peripheral blood, and the fetal concentration distribution mostly ranges from 5% to 30%. There are certain differences between different individuals. These factors will affect the sensitivity and specificity of NIPT-plus.

[0004] Therefore, the existing technology is affected by the difference in individual fetal concentrations. Usually, a reference database is constructed based on a high-throughput sequencing database and the sample data to be tested, and the average fetal concentration of the reference database is used as the detection threshold, resulting in many false positive and false negative test results.

[0005] Patent CN104204220B describes a method for detecting genetic variation, which determines genetic variation only based on statistics and preset thresholds, and does not involve the impact of the concentration of free fetal DNA in the sample on genetic variation.

[0006] This scheme presets CNV detection thresholds under a variety of different fetal concentrations, and improves the accuracy of detection by comparing the sizes of CNV fragments detected under different fetal concentrations. Summary of the invention

[0007] The present invention aims to solve at least one of the above-mentioned technical problems existing in the prior art. To this end, the purpose of the present invention is to provide a method for constructing a model for detecting genetic sequence copy number variation, specifically, the model construction method is a model construction method for non-invasive prenatal genetic sequence copy number variation.

[0008] The present application also proposes a computer-readable carrier comprising a model constructed by the model construction method.

[0009] The present application also proposes the use of the computer-readable carrier in preparing a genetic sequence copy number variation detection product.

[0010] The present application also proposes a genetic sequence copy number variation detection system, which has a module for reading and executing the computer-readable carrier, and / or has an application in preparing a genetic sequence copy number variation detection product.

[0011] In the first aspect of the present application, a model construction method for detecting genetic sequence copy number variation is provided, comprising the following steps: 1) constructing a Gaussian mixture model (GMM) using a training set to obtain the GMM mean and variance; wherein, the Kmeans algorithm and the EM algorithm are used in the GMM; 2) constructing a hidden Markov model (HMM) based on the GMM mean and variance obtained in step 1) to obtain a model for detecting genetic sequence copy number variation; wherein, the viterbi algorithm or the Baum-welch algorithm is used for copy number decoding.

[0012] The GMM (Gaussian Mixture Model)-HMM (Hidden Markov Model) model refers to the combination of the Gaussian Mixture Model and the Hidden Markov Model. GMM is a method used to model multidimensional data. It describes the probability distribution of a random variable through a weighted combination of multiple Gaussian distributions. HMM is a probability model that describes random sequences and is usually used in speech recognition, handwriting recognition, natural language processing and other fields.

[0013] In the GMM-HMM model, a Gaussian mixture model is first used to model each discrete state to describe the probability distribution of samples generated by each state, and then a hidden Markov model is used to describe the state sequence, and the parameters of the model are learned through the observed sample sequence.

[0014] The GMM-HMM model is commonly used in the field of speech recognition and can adaptively process different types of sound signals, such as the speaker's voice features, noise, etc. The GMM-HMM model supports modeling of complex acoustic features in speech signals, such as fundamental frequency, harmonic relationships, etc., and can learn the characteristics of speech signals, thereby improving the accuracy during recognition. The sequencing data of NIPT-plus belongs to low-depth whole genome sequencing, and its sequencing sequence has characteristics similar to a speech band. In the acoustic features, each feature is determined by a phoneme, that is, different features can be clustered by phonemes; in the sequencing sequence, each feature is determined by a regional sequencing fragment.

[0015] According to the model building method of the first aspect of the present invention, the formula for calculating the GMM-HMM model is as follows:

[0016] 1.GMM model:

[0017] Assume that an observed variable x can be fitted by multiple Gaussian distributions, and the weight of each Gaussian distribution is w i , the mean value is u i , the covariance is Then the probability density function of x is:

[0018]

[0019] Where M is a positive integer, representing the number of Gaussian functions or models used in the formula. Each Gaussian function represents a central position (u i ), variance (σ i ) and a weight (w i ). In this model, a total of M Gaussian functions are used to fit the function P(x).

[0020] 2.HMM model:

[0021] Assuming that the observed text can be randomly generated from multiple states, the probability distribution of each state is π, and the transition probability between states is A, then the probability of the text is:

[0022] P(text)=∑ s1 ∑ s2 ...∑ sT (π s1 *P(o1|s1)*P(o2|s2)*...*P(oT|sT)*A s1s2 *A s2s3 *...*A sT-1sT )

[0023] Among them, T represents the length of the text, m i represents the i-th state, o i represents the observation value generated in the i-th state, π s1 Indicates that the initial state is S 1 The probability of the text appearing in the case of A s1s2 Indicates that from state S 1 Transfer to state S 2 probability.

[0024] According to the construction method of the first aspect of the present invention, the construction method of the GMM model comprises the following steps:

[0025] 1) Each chromosome in the training set is divided into windows, and then the data of all windows of the chromosome are merged. The copy numbers of all windows are clustered by the Kmeans algorithm to obtain the initial parameters of 5 different state classifications; among them,

[0026] The status classification includes normal, non-maternal duplication, non-maternal deletion, maternal duplication, and maternal deletion;

[0027] 2) Iterate the initial parameters through the EM algorithm to obtain the GMM mean and variance.

[0028] According to the construction method of the first aspect of the present invention, the size of the window division is 20 to 60 units.

[0029] According to the construction method of the first aspect of the present invention, the construction method of the HMM model comprises the following steps:

[0030] 1) Set the finite set N of states as the required number of state classifications, and the finite set M of observations as the number of copies of all windows of the chromosome;

[0031] 2) Use the GMM mean and variance as the HMM emission probability matrix B, and obtain the state transition probability matrix A by initializing and aligning the HMM;

[0032] 3) Using the Viterbi algorithm or the Baum-Welch algorithm, the copy number of all windows divided in the GMM is decoded from the short arm to the long arm of the chromosome, and it is iterated cyclically until convergence or the maximum number of iterations is reached to obtain a model for detecting genetic sequence copy number variation.

[0033] According to the model building method of the first aspect of the present invention, the iterative EM algorithm specifically includes:

[0034] Assuming that the reference genome position corresponding to each window is time t, all windows divided by the reference genome represent the total number of observation time periods T, where the main formulas are as follows:

[0035] Calculate the posterior probability in step E:

[0036]

[0037] Among them, α j is the forward probability of state j in the HMM, b j (o t ) is the observation value o generated by state j t The probability density function of , N represents the number of hidden states, that is, the number of possible states in the HMM model.

[0038] Update model parameters in the M step:

[0039] a. Update state transition probability:

[0040]

[0041] Among them, ξ t(i, i) represents the probability of being in state i at time t and transitioning to state j at time t+1.

[0042] b. Update the mean and covariance matrix of the Gaussian mixture model:

[0043] For the jth Gaussian distribution, the update formula for its mean and covariance matrix is:

[0044]

[0045]

[0046] Among them, y t,j is the posterior probability calculated in step E.

[0047] EM algorithm convergence:

[0048] First, we need to define a function Q(θ,θ t ) means that given the model parameter θ, the current parameter θ t The expected value of the calculated Q value is the expected value required to solve the expected likelihood, and the formula is:

[0049] Q(θ,θ t )=E[log(L(θ;X,Z))|X,θ t ]

[0050] Where L(θ; X, Z) is the likelihood function of the model under known parameters θ, given data X and latent variables Z, log is its logarithm, and E is the expected operation.

[0051] Next, consider proving a lemma: Under the true value θ of the parameter, Q(θ, θ t ) is monotonically increasing. Specifically, Q(θ,θ t ) satisfies the following properties:

[0052] Q(θ t ,θ t )>=Q(θ t ,θ t-1 )>=...>=Q(θ t ,θ 1 )

[0053] The way to prove this property is to use conditional independence and Jensen's inequality. We can first write Q(θ,θ t ) is:

[0054] Q(θ,θ t )=E[log(p(X, Z; θ))|X, θ t ]=∫log(p(X,Z;θ))p(Z|X,θt )dZ

[0055] Where p(X, Z; θ) is the joint probability density function under the known parameter θ. Then, the Jensen inequality transformation is performed on it to obtain:

[0056] Q(θ,θ t )=E[log(p(X, Z; θ))|X, θ t ]>=log(E[p(X, Z; θ)|X, θ t ])

[0057] The equal sign corresponds to the case where p(X, Z; θ) is a convex function. In this case, we can use the conditional independence and marginalization formula to calculate E[p(X, Z; θ)|X, θ t ],get:

[0058] E[p(X, Z; θ)|X, θ t ]=∫p(X,Z;θ)p(Z|X,θ t )dZ=p(X|θ,θ t )

[0059] where p(X|θ,θ t ) is the known θ, θ t Under this condition, the marginal probability density function of data X is:

[0060] Q(θ,θ t )>=log(p(X|θ,θ t ))

[0061] This means that Q(θ,θ t ) is monotonically increasing, and when θ = θ t When t ,θ t ).

[0062] Since each iteration of the EM algorithm will make Q(θ, θ t ) is added or unchanged, so the convergence of the EM algorithm can be proved, even if Q(θ, θ t ) converges to its maximum value, which is the maximum likelihood solution of the probability model. Specifically, when the EM algorithm iterates enough times, Q(θ, θ t ) will converge to its maximum value, even if Q(θ,θ t ) iteration becomes Q(θ*,θ*), where θ* is the maximum likelihood solution of the probability model. However, in actual use, when approaching the local extreme value, the convergence speed will become slow, and a maximum number of iterations is usually set to end early.

[0063] In a second aspect of the present application, a computer-readable carrier is provided, on which is written a model constructed by the model construction method.

[0064] In the third aspect of the present application, there is provided a use of the computer-readable carrier in preparing a genetic sequence copy number variation detection product.

[0065] According to the third aspect of the present application, the use of the computer-readable carrier in preparing a genetic sequence copy number variation detection product comprises the following steps:

[0066] 1) Divide each chromosome of the reference genome into multiple windows of equal length, and calculate the number of unique alignment sequence reads of the sample to be tested aligned to each window;

[0067] 2) The number of reads in each window is GC-corrected by the loess method to reduce GC bias, so that the frequency of the genomic region represented by the reads is linearly correlated with the copy number in a wider region;

[0068] 3) Construct a reference set based on the sequencing data of multiple known negative samples, and perform median normalization on the samples to be tested according to the reference set;

[0069] 4) Multiply each window data after median normalization by 2 to represent the corresponding copy number;

[0070] 5) using the algorithm written on the computer-readable medium of claim 5 to identify the state of each window, and merging adjacent windows with the same state into segments according to a set segment size threshold;

[0071] 6) According to the preset copy number abnormality detection threshold, determine whether the segment is CNV.

[0072] During the PCR amplification process of the second-generation sequencing, GC bias is introduced, resulting in fewer sequencing fragments covering regions with low and high G and C content on the genome, resulting in erroneous copy number amplification or reduction in subsequent genome copy number analysis. The number of reads in each window is corrected by the loess method to reduce the impact of GC bias on subsequent analysis. After correcting the systematic bias (such as GC bias and reference genome chromosome structural component regions), the frequency of genomic regions represented by reads is linearly correlated with the copy number in a wider region, so analyzing the relative number of reads in a region can reveal the copy number of that region.

[0073] A normal human cell is usually diploid, so each window data after median normalization is multiplied by 2 to represent the corresponding copy number.

[0074] GMM-HMM often encounters resolution issues, that is, it cannot accurately distinguish the relative number of reads in adjacent regions. If the difference between adjacent windows is smaller than the set window, the model may not be able to accurately distinguish them, and ultimately fail to identify small CNV fragments. In order to maximize the resolution of the model, it is necessary to select a suitable window. In theory, the smaller the window divided for the sequencing sequence, the more effective the resolution improvement is. However, sequencing data is usually mixed with a lot of noise. The main difficulty in copy number variation detection in maternal and child DNA mixed data is that the average proportion of fetuses is only 11%. If a window that is too small is selected, the change in the number of window reads caused by noise may be mistakenly identified as fetal CNV.

[0075] Therefore, according to the use of the computer-readable carrier in the preparation of a genetic sequence copy number variation detection product in the third aspect of the present application, the steps further include: firstly dividing the reference genome sequence into 20kb windows in step 1), and then merging them into 60kb windows after GC correction in step 2). The steps can effectively improve the resolution and reduce the noise.

[0076] According to the use of the computer-readable carrier in the preparation of a genetic sequence copy number variation detection product in the third aspect of the present application, the step further includes: before step 2), removing regions where the sequencing data cannot be aligned and where there is a large amount of noise, the regions being structural regions on the chromosome. The step can effectively improve resolution and reduce noise.

[0077] According to the use of the computer-readable carrier in the preparation of a genetic sequence copy number variation detection product in the third aspect of the present application, the structural component region on the chromosome is the centromere and the stalk loop. The step can effectively improve the resolution and reduce the noise.

[0078] According to the use of the computer-readable carrier in the preparation of a genetic sequence copy number variation detection product in the third aspect of the present application, the scheme presets copy number abnormality detection thresholds under a variety of different fetal concentrations, and effectively improves the accuracy of detection by comparing the CNV fragment sizes detected under different fetal concentrations.

[0079] According to the third aspect of the present application, the computer-readable carrier is used in the preparation of a genetic sequence copy number variation detection product, and the preset copy number abnormality detection threshold is a copy number abnormality detection threshold with a preset fetal concentration (FetalFaction, FF) of 5% to 50%, and the preset copy number abnormality detection threshold is obtained according to the state classification.

[0080] According to the use of the computer-readable carrier in the preparation of a genetic sequence copy number variation detection product in the third aspect of the present application, the correspondence between the preset copy number abnormality detection threshold and the state classification is:

[0081] When the status classification is maternal duplication Dup-M, the preset copy number abnormality detection threshold is calculated according to Dup-M ≥ 3×(1 - FF)+

[0082] 2×FF,

[0083] When the status classification is non-maternal duplication Dup, the preset copy number abnormality detection threshold is calculated according to Dup-M > Dup ≥ 2×

[0084] (1 - FF)+3×FF,

[0085] When the status classification is maternal deletion Del-M, the preset copy number abnormality detection threshold is calculated according to Del-M ≤ 1×(1 - FF)+

[0086] 2×FF,

[0087] When the status classification is non-maternal deletion Del, the preset copy number abnormality detection threshold is calculated according to Del-M < Del ≤ 2×(1 - FF)

[0088] +1×FF,

[0089] When the status classification is normal Dip, the preset copy number abnormality detection threshold is calculated according to Del < Dip < Dup;

[0090] Among them, FF in each formula is the fetal concentration.

[0091] The application of the computer-readable carrier according to the third aspect of the present application in the preparation of a genetic sequence copy number variation detection product, wherein the preset copy number abnormality detection threshold is the copy number abnormality detection threshold when the preset fetal concentration (FetalFaction, FF) is 5%, 10%, 15%, 20%, 25%, 30%, 35%, 40%, 45%, 50%.

[0092] In the fourth aspect of the present application, a genetic sequence copy number variation detection system is provided. The detection system has a module for reading and executing the computer-readable carrier described in the present application, and the detection system has the application of the computer-readable carrier in the preparation of a genetic sequence copy number variation detection product.

[0093] The beneficial effects of the present invention are:

[0094] 1. The present invention provides a method for constructing a model for detecting genetic sequence copy number variation, and through this method, non-invasive prenatal genetic sequence copy number variation can be accurately judged.

[0095] 2. The present invention provides a computer-readable carrier comprising a model constructed by the model construction method, and its application in the preparation of a genetic sequence copy number variation detection product. The scheme presets copy number abnormality detection thresholds under a variety of different fetal concentrations, and effectively improves the accuracy of detection by comparing the CNV fragment sizes detected under different fetal concentrations.

[0096] 3. In the application of computer-readable carriers in the preparation of genetic sequence copy number variation detection products, by first dividing the reference genome sequence into 20kb windows and then merging them into 60kb windows after GC correction, the resolution can be effectively improved and the noise can be reduced.

[0097] 4. In the application of computer-readable carriers in the preparation of genetic sequence copy number variation detection products, by removing areas where sequencing data cannot be matched and areas with high noise, such as centromeres, stalk loops and other structural parts on chromosomes, the resolution can be effectively improved and the noise can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] Figure 1 Figure 1 is the process of using the GMM-HMM model to determine CNV; A shows the original data, the X-axis is the chromosome after dividing the window, from left to right (chromosome short arm p to long arm q), and the Y-axis is the copy number of each window; B is the state of each window identified by the GMM-HMM model, and the scattered points of different colors represent different states; C is to calculate the mean of adjacent windows of the same type (segment line), and the adjacent windows with the same state are merged; D shows the setting of the threshold to determine whether the segment is a CNV.

[0099] Figure 2 This is a flowchart of data analysis in the non-invasive prenatal genetic sequence copy number variation detection method.

[0100] Figure 3 Schematic diagram of the CNV visualization module.

[0101] Figure 4 The genomic copy number information corresponding to the CNV-seq test results of sample 22GB27_15q11_5 (A) and the test results of the method of the present invention (B).

[0102] Figure 5 The genomic copy number information corresponding to the CNV-seq test results of sample 22GB26_15q11_10 (A) and the test results of the method of the present invention (B).

[0103] Figure 6 The genomic copy number information corresponding to the CNV-seq test results of sample 22GB17_15q11_15 (A) and the test results of the method of the present invention (B).

[0104] Figure 7 The genomic copy number information corresponding to the CNV-seq test results of sample 22GB35_15q11_5 (A) and the test results of the method of the present invention (B).

[0105] Figure 8 The genomic copy number information corresponding to the CNV-seq test results of sample 22GB34_15q11_10 (A) and the test results of the method of the present invention (B).

[0106] Fig. 9 The genomic copy number information corresponding to the CNV-seq test results of sample 22GB33_15q11_15 (A) and the test results of the method of the present invention (B). DETAILED DESCRIPTION

[0107] The present invention is further described in detail below by specific examples. Unless otherwise specified, the raw materials, reagents or devices used in the examples and comparative examples can be obtained from conventional commercial sources or can be obtained by prior art methods. Unless otherwise specified, the experiments or test methods are conventional methods in the art.

[0108] Example 1. Model construction and detection method construction for non-invasive prenatal detection of gene microdeletions and microduplications

[0109] 1.1 Model construction

[0110] For a chromosome of the sample to be tested, it is assumed that it has five states: normal, duplication, deletion, maternal duplication, and maternal deletion. The copy numbers of all windows are clustered using the Kmeans algorithm to obtain the initial parameters classified by the five different states. The EM algorithm is then used to iterate the initial parameters to finally obtain the mean and variance of the GMM model.

[0111] When constructing HMM, N (a finite set of states) is set to 5, and M (a finite set of observations) is the number of copies of all windows of the chromosome. One state corresponds to one GMM model, and the mean and variance of the GMM model are used as B (the emission probability matrix) of the HMM model. A (the state transition probability matrix) can be obtained by initializing and aligning the HMM. When N, M, A, and B are known, the Viterbi algorithm or the Baum-Welch algorithm can be used to decode the number of copies of all windows from left to right on the chromosome, obtain a new optimal path, and continuously update A and B. The iteration cycle continues until convergence or the maximum number of iterations is reached, and the GMM-HMM model training is completed.

[0112] The formula for calculating the GMM-HMM model is as follows:

[0113] 1.1.1GMM model:

[0114] Assume that an observed variable x can be fitted by multiple Gaussian distributions, and the weight of each Gaussian distribution is w i , the mean value is u i , the covariance is Then the probability density function of x is:

[0115]

[0116] Where M is a positive integer, representing the number of Gaussian functions or models used in the formula. Each Gaussian function represents a central position (u i ), variance (σ i ) and a weight (w i ). In this model, a total of M Gaussian functions are used to fit the function P(x).

[0117] 1.1.2HMM model:

[0118] Assuming that the observed text can be randomly generated from multiple states, the probability distribution of each state is π, and the transition probability between states is A, then the probability of the text is:

[0119] P(text)=∑ s1 ∑ s2 ...∑ sT (π s1 *P(o1|s1)*P(o2|s2)*...*P(oT|sT)*A s1s2 *A s2s3 *...*A sT-1sT )

[0120] Among them, T represents the length of the text, S i represents the i-th state, o i represents the observation value generated in the i-th state, π s1 Indicates that the initial state is S 1 The probability of the text appearing in the case of A s1s2 Indicates that from state S 1 Transfer to state S 2 probability.

[0121] 1.1.3 The iterative process of GMM-HMM uses the EM algorithm. This scheme assumes that the reference genome position corresponding to each window is time t, and all windows divided by the reference genome represent the total number of observation time periods T. The main formulas are as follows:

[0122] Calculate the posterior probability in step E:

[0123]

[0124] Among them, a j is the forward probability of state j in the HMM, b j (o t ) is the observation value o generated by state j t The probability density function of , N represents the number of hidden states, that is, the number of possible states in the HMM model.

[0125] Update model parameters in the M step:

[0126] a. Update state transition probability:

[0127]

[0128] Among them, ξ t (i, j) represents the probability of being in state i at time t and transitioning to state j at time t+1.

[0129] b. Update the mean and covariance matrix of the Gaussian mixture model:

[0130] For the jth Gaussian distribution, the update formula for its mean and covariance matrix is:

[0131]

[0132]

[0133] Among them, y t,j is the posterior probability calculated in step E.

[0134] EM algorithm convergence:

[0135] First, we need to define a function Q(θ,θ t ) means that given the model parameter θ, the current parameter θ t The expected value of the calculated Q value is the expected value required to solve the expected likelihood, and the formula is:

[0136] Q(θ,θ t )=E[log(L(θ;X,Z))|X,θ t ]

[0137] Where L(θ; x, Z) is the likelihood function of the model under known parameters θ, given data X and latent variables Z, log is its logarithm, and E is the expected operation.

[0138] Next, consider proving a lemma: Under the true value θ of the parameter, Q(θ, θ t ) is monotonically increasing. Specifically, Q(θ,θ t ) satisfies the following properties:

[0139] Q(θ t ,θ t )>=Q(θ t ,θ t-1 )>=...>=Q(θ t ,θ 1 )

[0140] The way to prove this property is to use conditional independence and Jensen's inequality. We can first write Q(θ,θ t ) is:

[0141] Q(θ,θ t )=E[log(p(X, Z; θ))|X, θ t ]=∫log(p(X,Z;θ))p(Z|X,θ t )dZ

[0142] Where p(X, Z; θ) is the joint probability density function under the known parameter θ. Then, the Jensen inequality transformation is performed on it to obtain:

[0143] Q(θ,θ t )=E[log(p(X, Z; θ))|X, θ t ]>=log(E[p(X, Z; θ)|X, θ t ])

[0144] The equal sign corresponds to the case where p(X, Z; θ) is a convex function. In this case, we can use the conditional independence and marginalization formula to calculate E[p(X, Z; θ)|X, θ t ],get:

[0145] E[p(X, Z; θ)|X, θ t ]=∫p(X,Z;θ)p(Z|X,θ t )dZ=p(X|θ,θ t )

[0146] where p(X|θ,θ t ) is the known θ, θ t Under this condition, the marginal probability density function of data X is:

[0147] Q(θ,θ t )>=log(p(X|θ,θ t ))

[0148] This means that Q(θ,θ t ) is monotonically increasing, and when θ = θ t When t ,θ t ).

[0149] Since each iteration of the EM algorithm will make Q(θ, θ t ) is added or unchanged, so the convergence of the EM algorithm can be proved, even if Q(θ, θ t ) converges to its maximum value, which is the maximum likelihood solution of the probability model. Specifically, when the EM algorithm iterates enough times, Q(θ, θ t ) will converge to its maximum value, even if Q(θ,θ t ) iteration becomes Q(θ*,θ*), where θ* is the maximum likelihood solution of the probability model. However, in actual use, when approaching the local extreme value, the convergence speed will become slow, and a maximum number of iterations is usually set to end early.

[0150] 1.2 Construction of detection method

[0151] It is assumed that most chromosomes in the sample to be tested are normal and copy number variation is a rare occurrence.

[0152] Each chromosome of the reference genome is divided into multiple fixed-length windows, and the number of unique alignment sequences (reads) of the sample to be tested aligned to each window is calculated.

[0153] The reference genome sequence was divided into 20 kb windows.

[0154] After correcting for systematic biases, including GC bias and noisy regions of chromosomal structural components on the reference genome, the frequency of genomic regions represented by reads is linearly correlated with copy number over a wide region, so analyzing the relative number of reads falling on a region can reveal the copy number of that region.

[0155] Reference genome sequences were binned into 60 kb windows.

[0156] A reference set was constructed based on the sequencing data of multiple known negative samples, and the median of the samples to be tested was normalized according to the reference set. Each window data after median normalization was multiplied by 2 to represent the corresponding copy number.

[0157] The GMM-HMM model of Example 1.1 is used to identify the state of each window, and adjacent windows with the same state are merged into fragments according to the set fragment size threshold. Subsequently, whether the fragment is a CNV is determined according to the set threshold. The merging process is as follows: Figure 1 shown; Figure 1 A shows the original data, the X-axis is the chromosome after dividing the window, from left to right (chromosome short arm p to long arm q), and the Y-axis is the copy number of each window; Figure 1 B is the state of each window identified by the GMM-HMM model, and scattered points of different colors represent different states; Figure 1C is to find the mean of adjacent windows of the same type (segment line), and merge adjacent windows with the same status; Figure 1 D shows the threshold setting to determine whether a segment is a CNV.

[0158] The fetal concentration is preset as 5%, 10%, 15%, 20%, 25%, 30%, 35%, 40%, 45%, 50% copy number abnormality detection threshold to determine whether the copy number mean of the fragment exceeds the threshold. The fetal concentration of each chromosome is preset as 5%, 10%, 15%, 20%, 25%, 30%, 35%, 40%, 45%, 50%, 10 GMM-HMM models are trained, and a total of 240 models for 24 chromosomes are used. With reference to common microdeletion and microduplication syndromes such as Angelman syndrome / Prader-Willi syndrome, cat cry syndrome, 22q11.2 deletion (DiGeorge) syndrome, etc., different chromosomes are set with different CNV detection thresholds, as shown in Table 1 below:

[0159] Table 1. Detection fragment size thresholds (Mb) for different chromosomal CNVs at different preset fetal concentrations

[0160]

[0161] Here, in order to fully illustrate the relationship shown in Table 1 above, the situation in Table 1 is exemplified, and it should be understood that this example is not considered to be a limitation on the scope of protection. For example: when the preset fetal concentration is 5%, the CNV detection threshold of chromosome 1 is ≥9.96Mb.

[0162] The fetal concentration (FetalFaction, FF) of 5%, 10%, 15%, 20%, 25%, 30%, 35%, 40%, 45%, and 50% is preset to calculate the tag intervals of the fragment copy number of five states: maternal duplication, non-maternal duplication, maternal deletion, non-maternal deletion, and normal. The calculation formula for each tag interval is:

[0163] Dup-M (maternal duplication): Dup-M ≥ 3×(1-FF)+2×FF;

[0164] Dup (non-maternal duplication): Dup-M>Dup≥2×(1-FF)+3×FF;

[0165] Del-M (maternal deletion): Del-M ≤ 1×(1-FF)+2×FF;

[0166] Del (non-maternal deletion): Del-M <Del≤2×(1-FF)+1×FF;

[0167] Dip(Normal):Del <Dip<Dup。

[0168] The label interval thresholds of the fragment copy numbers in the five states are shown in Table 4.

[0169] If the size and the copy number of the detected segment fall within the range of the size and the copy number of the segment at a specific preset fetal concentration, then the detected segment corresponds to the state corresponding to the copy number of the segment at the preset fetal concentration;

[0170] If the detected segment only meets the range of one of the fragment size and the fragment copy number at a specific preset fetal concentration, the detected segment is first marked as Dip; then the adjacent windows with the same state are merged, and the merging process is as follows: Figure 1 The method further comprises the following steps: recalculating the fragment size and the fragment copy number of the merged detection fragment segment; repeating the above steps until the values ​​of the size and the fragment copy number of the detection fragment segment fall within the range of the fragment size and the fragment copy number under a specific preset fetal concentration, and the detection fragment segment corresponds to the state corresponding to the fragment copy number under the preset fetal concentration.

[0171] Example 2. Non-invasive prenatal detection of genetic sequence copy number variation

[0172] Step 1: Sample Collection

[0173] 100 NIPT-plus negative samples were collected, and 12 CNV-seq positive samples were verified (as shown in Table 2). CNV-seq uses NGS technology to perform low-depth whole-genome sequencing of sample DNA, compares the sequencing results with the human reference genome base sequence, and uses bioinformatics analysis to discover CNVs in the tested samples. CNV-seq can be used as a first-line diagnostic technology for prenatal diagnosis of pregnant women who may have fetal chromosomal abnormalities. Therefore, samples verified by CNV-seq can be used to evaluate the accuracy of the method of the present invention.

[0174] The circular binary segmentation CBS (Circular Binary Segmentation) algorithm (R package DNAcopy) was validated on 12 CNV-seq positive samples and 100 NIPT-plus negative samples (as shown in Table 3). The CBS algorithm is a very concise but very effective copy number variation detection algorithm, which is suitable for copy number variation detection of second-generation sequencing data. Therefore, the detection results of the CBS algorithm and the method of the present invention were compared.

[0175] Table 2: Sample type and quantity

[0176] Verification Method Sample Type Number of samples NIPT-plus Negative samples 100 CNV-seq Positive samples 12

[0177] Table 3: CNV-seq algorithm validation positive sample detection results

[0178]

[0179] Step 2: Analyze the data

[0180] The flow chart of data analysis is as follows Figure 2 As shown in the flowchart, the working principle or function of each step is described as follows:

[0181] S101, a module for aligning the sequenced sequence with the reference genome sequence;

[0182] S101A, the original data after comparison is a bam format file;

[0183] S102, a module for dividing the reference genome sequence into 20K windows and counting the number of sequencing fragments (reads number, RN) aligned to each window;

[0184] S102A, RN of each window after dividing into 20K windows;

[0185] S103, remove the regions that cannot be aligned in the sequencing data (structural parts on the chromosome, such as centromeres, stalk loops, etc.), calculate the GC content of each window of the sample data to be tested, and use the LOESS regression method to correct the GC bias; S103A, RN of each 20K window after GC correction;

[0186] S104, merging every three 20K windows into a module of a 60K window;

[0187] S104A, RN of each 60K window after GC correction;

[0188] S105, each 60K window RN (RN i ) divided by the module of the median RN of all 60K window sequences of the sample to be tested; specifically: the value after sample window standardization = RN i / Median of all window RN;

[0189] S105A, 60K window median-normalized data;

[0190] S105B, constructing the data of the 100 negative samples selected in the embodiment after being processed in the above steps as a reference set database;

[0191] S105C, a reference set constructed by selecting samples with karyotypes of XY and XX from the database;

[0192] S105D, calculate the median RN of each 60K window of the reference set samples and use it as the copy number reference (CNR);

[0193] S106, compare the sample to be tested with the CNR, and calculate the copy number (CNR) of each window. i ) module; specifically: CN i =2*sample window median normalized value / CNR.

[0194] S106A, record the CN of the sample to be tested i data;

[0195] S107. Use the hmmlearn 0.2.7 module of python to identify the state of each window; specifically, divide the window of the sample to be tested into 24 chromosomes, namely chr1, chr2, chr3…chrY, and input the GMM-HMM model with 5 preset states in sequence. The output result is the state (0, 1, 2, 3, 4) corresponding to each window, and calculate the CN mean of each state.

[0196] S107A, data of CN mean for each state;

[0197] S108, a module for setting thresholds according to different fetal concentrations to identify window states and label the states. The thresholds under various preset fetal concentrations are shown in Table 4:

[0198] Table 4. Fragment copy number (CN) thresholds for various pre-set fetal concentrations

[0199]

[0200] S108A, labeling the state according to the set threshold;

[0201] S108B, record the data of each window status label;

[0202] Specifically: determine in which interval the CN mean of all windows with state 0 is located. Assuming that the CN mean of state 0 is in the interval of Dup, state 0 is marked as Dup; labels of different states can be repeated. Assuming that states 0, 1, 2, 3, and 4 are all in the interval of Dip, the labels of states 0, 1, 2, 3, and 4 are all Dip.

[0203] S109, a module whose function is to merge windows with the same label into segments;

[0204] S109A, record the CN mean data of each segment;

[0205] S110, a module for setting a threshold to identify segment labels according to different fetal concentrations and segment sizes;

[0206] S110A, record the label and CN mean data of each segment;

[0207] S111, the functions are: 1. Merge segments with the same label; 2. Merge segments whose length is less than the threshold into adjacent segments;

[0208] S111A, record the label and CN mean data of each segment after merging;

[0209] S112, a module for calculating the Z value of abnormal segments and annotating disease names;

[0210] S112A: data recording CNV information;

[0211] S113, module for CNV visualization;

[0212] S113A, CNV diagram as shown Figure 3 As shown in the figure, in the CNV diagram, the X-axis is the position on the chromosome and the annotation of the chromosome components and chromosome regions; the Y-axis is the copy number of the window; the top "chr22" is the chromosome number; the gray area is the N area, which is eliminated during the CNV analysis process; the scattered points of the scatter plot represent the copy number of each window; the line in the scatter points is the segment line, the blue segment line represents no abnormality, the red represents the fetal CNV, and the orange represents the maternal CNV;

[0213] After the above analysis process, the CNV results of 12 positive samples can be obtained, as shown in Table 5:

[0214] Table 5: Comparison of the results of the method of the present invention and CNV-seq results

[0215]

[0216]

[0217] Among them, the genome copy number information corresponding to the CNV-seq detection of sample 22GB27_15q11_5 and the detection results of the method of the present invention is as follows Figure 4 The genome copy number information corresponding to the CNV-seq detection of sample 22GB26_15q11_10 and the detection results of the method of the present invention is shown in Figure 5 The CNV-seq detection of sample 22GB17_15q11_15 and the genome copy number information corresponding to the detection results of the method of the present invention are shown in Figure 6The genome copy number information corresponding to the CNV-seq detection of sample 22GB35_15q11_5 and the detection results of the method of the present invention is shown in Figure 7 The genome copy number information corresponding to the CNV-seq detection of sample 22GB34_15q11_10 and the detection result of the method of the present invention is shown in Figure 8 The genome copy number information corresponding to the CNV-seq detection of sample 22GB33_15q11_15 and the detection results of the method of the present invention is shown in Fig. 9 shown.

[0218] Table 6: Comparison of detection accuracy between the method of the present invention and CBS:

[0219]

[0220]

[0221] The comparison of the detection accuracy of the method of the present invention and CBS is shown in Table 6. Overall, the consistency of the method of the present invention with CNV-seq and CBS algorithms in the detection of the target area is as high as 100%, but the window size divided by this scheme is different from that of CNV-seq and CBS algorithms, and the specific positions analyzed will be slightly different. Among the 100 negative NIPT-plus sample test results, CBS detected 8 false positives, while the method of the present invention did not detect any false positives. This is due to the fact that the present invention presets CNV detection thresholds under a variety of different fetal concentrations, and improves the accuracy of the detection by comparing the sizes of CNV fragments detected under different fetal concentrations.

[0222] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. Use of a computer-readable carrier in preparing a genetic sequence copy number variation detection product, characterized in that: The computer readable carrier has a model constructed by a method for constructing a model for detecting genetic sequence copy number variation, and the method for constructing a model for detecting genetic sequence copy number variation comprises the following steps: (1) Use the training set to construct a Gaussian mixture model GMM and obtain the GMM mean and variance; the Kmeans algorithm and EM algorithm are used in GMM; (2) constructing a hidden Markov model HMM based on the GMM mean and variance obtained in step (1) to obtain a model for detecting copy number variation of genetic sequences; wherein the Viterbi algorithm or the Baum-Welch algorithm is used for copy number decoding; The method for using the genetic sequence copy number variation detection product comprises the following steps: 1) Divide each chromosome of the reference genome into multiple windows of equal length, and calculate the number of unique alignment sequence reads of the sample to be tested to each window; 2) The number of reads in each window is GC-corrected by the loess method to reduce GC bias, so that the frequency of the genomic region represented by the reads is linearly correlated with the copy number in a wider area; 3) Construct a reference set based on the sequencing data of negative samples, and perform median normalization on the samples to be tested according to the reference set; 4) Multiply each window data after median normalization by 2 to represent the corresponding copy number; 5) using the algorithm written on the computer-readable carrier to identify the state of each window, and merging adjacent windows with the same state into segments according to a set segment size threshold; 6) Determine whether the segment is CNV based on the preset copy number abnormality detection threshold.

2. The use according to claim 1, characterized in that: In the method for constructing a model for detecting genetic sequence copy number variation, the method for constructing the GMM is: 1) Each chromosome in the training set is divided into windows, and then the data of all windows of the chromosome are merged, and the copy numbers of all windows are clustered by the Kmeans algorithm to obtain the initial parameters of 5 different state classifications; wherein the state classification includes normal, non-maternal duplication, non-maternal deletion, maternal duplication, and maternal deletion; 2) Iterate the initial parameters through the EM algorithm to obtain the GMM mean and variance.

3. The use according to claim 2, characterized in that: The size of the window division is 20 to 60 units.

4. The use according to claim 1, characterized in that: In the method for constructing a model for detecting genetic sequence copy number variation, step (2) is: 1) Set the finite set N of states as the number of required state classifications, and the finite set M of observations as the number of copies of all chromosome windows; 2) Use the GMM mean and variance as the HMM emission probability matrix B, and obtain the state transition probability matrix A by initializing and aligning the HMM; 3) Use the Viterbi algorithm or the Baum-Welch algorithm to decode the copy number of all windows divided in the GMM from the short arm to the long arm of the chromosome, and iterate cyclically until convergence or the maximum number of iterations is reached to obtain a model for detecting genetic sequence copy number variation.

5. The use according to claim 1, characterized in that: The preset copy number abnormality detection threshold is the copy number abnormality detection threshold when the preset fetal concentration is 5% - 50%, and the preset copy number abnormality detection threshold is obtained according to the status classification.

6. The use according to claim 5, characterized in that: The corresponding relationship between the preset copy number abnormality detection threshold and the status classification is as follows: When the status classification is maternal duplication Dup-M, the preset copy number abnormality detection threshold is calculated according to Dup-M ≥ 3×(1 - FF) + 2×FF. When the status classification is non-maternal duplication Dup, the preset copy number abnormality detection threshold is calculated according to Dup-M > Dup ≥ 2×(1 - FF) + 3×FF. When the status classification is maternal deletion Del-M, the preset copy number abnormality detection threshold is calculated according to Del-M ≤ 1×(1 - FF) + 2×FF. When the status classification is non-maternal deletion Del, the preset copy number abnormality detection threshold is calculated according to Del-M < Del ≤ 2×(1 - FF) + 1×FF. When the status classification is normal Dip, the preset copy number abnormality detection threshold is calculated according to Del < Dip < Dup. Among them, FF in each formula is the fetal concentration.