Intelligent phenotype prediction and training method and device based on gene significance enhancement

By calculating gene locus significance and weighting genetic data, the method enhances gene-phenotype prediction accuracy through improved feature extraction in deep learning models.

JP2024126005AActive Publication Date: 2024-09-19ZHEJIANG LAB
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024013809
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-06
Filing Date
2024-02-01
Publication Date
2024-09-19
Estimated Expiration
2044-02-01

AI Technical Summary

Technical Problem

Current gene-phenotype prediction methods using deep learning models fail to account for the contribution of each gene, resulting in low accuracy.

Method used

A method that calculates the significance value of each gene locus using a chi-square test, weights the encoded genetic data based on this significance, and uses a neural network for phenotype prediction, enhancing feature extraction with deep learning.

Benefits of technology

Improves the accuracy of gene-phenotype prediction by incorporating the contribution of each gene, enabling better feature extraction and prediction performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024126005000001
    Figure 2024126005000001
Patent Text Reader

Abstract

To provide intelligent phenotype prediction and training method and device based on gene significance enhancement.SOLUTION: The method includes the steps of: constructing an actual distribution contingency table through gene morphology and phenotype height; constructing an expected distribution contingency table of the gene morphology and phenotype height according to a chi-square hypothesis; carrying out the chi-square test of each gene locus and phenotype; on the basis of a chi-square contingency table, obtaining a probability that the chi-square hypothesis is established, obtaining a significance value of a gene locus to the phenotype; coding a gene; on the basis of the significance value of each gene locus, weighting the coded data of the gene to enhance the correlation between the gene data and the phenotype; and greatly improving the accuracy of predicting the phenotype based on the gene loci. The present invention is directed to an organism of which the chromosome is a diploid, adopts a deep learning training method, and enhances the data of the gene locus, thereby improving the prediction precision from the gene locus to the phenotype.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of artificial intelligence, in particular to an intelligent phenotype prediction, training method and apparatus based on gene significance enhancement. [Background technology]

[0002] In gene phenotype prediction, a method using a deep learning model has been widely used. One of the currently mainstream methods is to use a convolutional neural network to extract features from gene data and train a gene phenotype prediction model. However, this method ignores the contribution of each gene itself to the phenotype, and the accuracy of the phenotype prediction is low. Summary of the Invention

[0003] In order to solve the shortcomings of the prior art and achieve the goal of improving the prediction accuracy of gene phenotype prediction, the technical solutions used in the present invention are as follows:

[0004] An embodiment of the present invention provides a method for training an intelligent phenotype prediction based on gene significance enhancement, the method comprising: Step 1, obtaining a phenotypic value of a genetic sample and a corresponding genetic sequence, the genetic sequence including a set of genetic loci; 2. calculating a phenotype mean value using the phenotype value, classifying the phenotype of the gene according to the phenotype mean value, constructing an actual distribution contingency table between gene forms and phenotype categories, obtaining an expected distribution contingency table between gene forms and phenotype categories based on the hypothesis that there is no association between the gene forms and the phenotype categories, calculating a chi-square statistic using the actual distribution contingency table and the expected distribution contingency table, obtaining a probability value of the hypothesis being true by consulting the chi-square contingency table, and calculating a significance value of the gene locus for the phenotype based on the probability value; The encoded loci are weighted according to the significance value, and the gene enrichment data X corresponding to the gene sample is kStep 3 to obtain a weighted mean of multiplying each coded locus by the significance value of the corresponding gene; X k =-log 10 P k *x k where x k is the coding locus, P k is the probability that the chi-square hypothesis holds, -log 10 P k Step 3 represents the significance value of the gene, and and step 4 of constructing a neural network model and training it for phenotype prediction using the gene-augmented dataset to obtain a trained model for phenotype prediction of the gene-augmented data.

[0005] The step 2 is For locus k, for which we need to calculate a significance value, we use the chi-squared hypothesis H that there is no significant relationship between the morphology of locus k and phenotype y. 0k Step 2.1 and Calculate the average phenotype of N gene samples, classify all gene samples according to the average, and combine multiple forms of the gene locus to construct an actual distribution contingency table between gene forms and phenotype categories, and calculate the actual distribution situation of each gene form in different phenotype categories O mn Step 2.2, in which the multiple forms of the locus are three forms, AA, Aa, and aa, and deletions are not counted, and the classification refers to performing a binary classification on all gene samples based on the average value, where those above the average value are classified into a high phenotype category and those below the average value are classified into a low phenotype category; The chi-squared hypothesis H that there is no significant relationship between the morphology of locus k and phenotype y. 0k Based on this, a contingency table of expected distributions of gene forms and high and low phenotypes is constructed, and the expected distribution status E of each gene form in different phenotype categories is calculated. mn and obtain the chi-square statistic χ 2Calculate the probability value P that the chi-square hypothesis holds by querying the chi-square contingency table using the chi-square statistic. k and obtain the probability value P k 2.3 calculating significance values ​​for all loci based on

number

[0006] In step 2.2, performing a binary classification for all gene samples based on the average value,

number

number

number

number

[0007] The encoding method of the locus employs one-hot encoding.

[0008] In the step 4, the step of performing phenotype prediction training by the gene enrichment data set and obtaining a trained gene enrichment data phenotype prediction model includes: The method includes the steps of dividing the gene augmentation data set X into a training set and a test set, inputting the training set into the neural network model for learning and training, setting the amount of data (batch size) input into the network per batch, setting the input dimension as batch size*m*K, extracting the features of the gene augmentation data by the neural network, connecting the features through a fully connected layer, outputting the predicted phenotype value, comparing the true phenotype value and the predicted phenotype value, inputting the true phenotype value and the predicted phenotype value into a loss network for loss calculation, forward propagating the obtained loss value, updating the corresponding parameters, performing multiple iterative updates, and stopping the iteration until the loss value converges, to obtain a trained model of gene augmentation data phenotype prediction, where m represents the number of forms of gene locus and K represents the sequence length.

[0009] An embodiment of the present invention provides an apparatus for training intelligent phenotype prediction based on gene significance enhancement, the apparatus including: a memory; and one or more processors, wherein the memory stores executable code, and the one or more processors execute the executable code to implement a method for training intelligent phenotype prediction based on gene significance enhancement.

[0010] An embodiment of the present invention provides an intelligent phenotype prediction method based on gene significance enhancement, the method comprising: The phenotype of the gene sample is predicted by the gene enrichment data phenotype prediction model trained by the gene significance enhancement based intelligent phenotype prediction training method.

[0011] An embodiment of the present invention provides an intelligent phenotype prediction device based on gene significance enhancement, the device including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, the device implements an intelligent phenotype prediction method based on gene significance enhancement.

[0012] The advantages and beneficial effects of the present invention are as follows: The intelligent phenotype prediction, training method and device based on gene significance enhancement according to the present invention uses chi-square test to calculate the significance value of each SNP locus, and weights the gene coding data with the significance value as the contribution of the locus, and then uses deep learning neural network to extract the weighted gene data features. Unlike traditional intelligent prediction, the present invention not only makes it easier to extract the gene data features using deep learning network, but also weights the gene coding data through the significance value of different loci for the phenotype, and uses deep learning network to extract the gene data features, thereby adding the contribution of each gene itself to the phenotype, and improving the accuracy of gene phenotype prediction. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a schematic diagram showing the flow of an intelligent phenotype prediction method based on gene significance enhancement according to one embodiment of the present invention. [Diagram 2] FIG. 2 is a schematic diagram of a significance enhancement process according to one embodiment of the present invention. [Diagram 3] FIG. 1 is a schematic diagram showing the configuration of an intelligent phenotype prediction device based on gene significance enhancement according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for the purpose of illustrating and explaining the present invention, and are not intended to limit the present invention.

[0015] As shown in Figure 1, according to one embodiment of the present invention, there is provided an intelligent phenotype prediction method based on gene significance enhancement, which includes the following steps 1 to 5.

[0016] In step 1, a phenotypic value of a genetic sample and a corresponding genetic sequence are obtained, where the genetic sequence includes a set of genetic loci.

[0017] In one embodiment of the present invention, gene sequences corresponding to phenotype values ​​of N gene samples are obtained, the length of the gene sequence is K, and the gene sequence is composed of gene loci (single nucleotide polymorphisms (SNPs)).

[0018] In step 2, the phenotype value is used to calculate the phenotype average value, the phenotype of the gene is classified according to the phenotype average value, an actual distribution contingency table between the gene form and the phenotype category is constructed, and based on the hypothesis that there is no correlation between the gene form and the phenotype category, an expected distribution contingency table between the gene form and the phenotype category is obtained, the actual distribution contingency table and the expected distribution contingency table are used to calculate the chi-square statistic, and the probability value of the hypothesis being satisfied is obtained by consulting the chi-square contingency table, and the significance value of the gene locus for the phenotype is calculated based on the probability value.

[0019] In an embodiment of the present invention, the significance value of a locus for a phenotype is calculated. JPEG2024126005000007.jpg7126 was calculated and the average phenotype was calculated. Based on JPEG2024126005000008.jpg7126, a binary classification is performed on the phenotype, and an actual distribution contingency table of high and low phenotypes of the gene sample in the three gene forms is obtained according to the classification of the phenotype and the three forms of the gene. A hypothesis is made that there is no association between the form of the gene locus and the high and low phenotype, and an expected distribution contingency table of high and low phenotypes of the gene sample in the three gene forms is obtained. Using the actual distribution contingency table and the expected distribution contingency table, a chi-square statistic is calculated, and by consulting the chi-square contingency table, a probability value that the hypothesis holds is obtained, and a significance value of the gene locus for the phenotype is calculated based on the probability value. Specifically, the method includes the following steps 2.1 to 2.3.

[0020] In step 2.1, for locus k for which a significance value needs to be calculated, the chi-square hypothesis H 0k Set up a

[0021] In step 2.2, calculate the average phenotypes of N gene samples, classify all gene samples based on the average, combine multiple forms of the gene locus to construct an actual distribution contingency table between gene forms and phenotype categories, and calculate the actual distribution situation of each gene form in different phenotype categories. mn get. Specifically, the average value of the phenotype y of N gene samples Calculate JPEG2024126005000009.jpg6120.

number

[0022] In step 2.3, the chi-squared hypothesis H that there is no significant relationship between the morphology of locus k and phenotype y is 0k Based on this, a contingency table of expected distributions of gene forms and high and low phenotypes is constructed, and the expected distribution status E of each gene form in different phenotype categories is calculated. mn and obtain the chi-square statistic χ 2 Calculate the probability value P that the chi-square hypothesis holds by querying the chi-square contingency table using the chi-square statistic. k and obtain the probability value P k Based on this, the significance value of all loci is calculated.

[0023] Specifically, the chi-square hypothesis H 0k Based on this, in principle

number

[0024] Chi-square statistic χ 2 By calculating and querying the chi-squared contingency table, the probability value P k We can obtain the probability value P k Based on this, the significance value of all loci is calculated.

number

[0025] In step 3, the coded loci are weighted by the significance value to obtain gene enrichment data corresponding to the gene samples, where the weighting refers to multiplying each coded locus by the significance value of the corresponding gene.

[0026] In an embodiment of the present invention, the significance value of all K loci for the phenotype is calculated in step 2, and one-hot encoding is performed for each locus of each gene sample so that the weights of the three gene forms are balanced, and the encoded locus x k For example, we encode the locus form AA as [1, 0, 0], Aa as [0, 1, 0], aa as [0, 0, 1], and deletion as [0, 0, 0]. Then, we weight the encoded genetic data, i.e., for each encoded locus x k and the significance value of the corresponding gene -log 10 P k Multiply by the gene enrichment data corresponding to the gene sample, X k get. X k =-log 10 P k *x k

[0027] In step 4, a neural network model is constructed and phenotype prediction training is performed using the gene augmentation dataset, and a trained model of phenotype prediction of gene augmentation data is obtained.

[0028] The gene augmentation data set X is divided into a training set and a test set, and the training set is input to the neural network model for learning and training. First, the amount of data input to the network per batch (batch size) is set, and the input dimension is batch size*m*K, where m represents the number of gene locus forms and K represents the sequence length, and the features of the gene augmentation data are extracted by the neural network. Next, the features are connected through a fully connected layer to output the predicted phenotype value, and the true phenotype value and the predicted phenotype value are compared. The true phenotype value and the predicted phenotype value are input to the loss network to perform loss calculation, and the obtained loss value is forward propagated to update the corresponding parameters. Multiple iterative updates are performed, and the iterations are stopped until the loss value converges, and a trained model of gene augmentation data phenotype prediction is obtained.

[0029] In an embodiment of the present invention, in constructing a neural network model, a convolutional neural network for feature extraction is constructed using a convolutional neural network (CNN) and a fully connected neural network (FCNN), L1loss is used as the loss network of the model, and the parameters of the entire neural network, including condition parameters for stopping iterations and hyperparameters, are initialized, and the gene augmentation data set X obtained in step 3 is divided into a training set and a test set in a ratio of 7:3, and the training set is input into a deep learning network to perform learning and training. First, the amount of data input to the network per time (batch size) is set, the input dimension is set to batch size*3*K, and the features of the gene augmentation data are extracted by the convolutional neural network. Next, the features are connected through a fully connected layer to output the predicted phenotype value, the true phenotype value and the predicted phenotype value are compared, the true phenotype value and the predicted phenotype value are input into the loss network to perform loss calculation, the obtained loss value is forward propagated, and the corresponding parameters of the network are updated. After all the data has gone through one iteration, it can be recorded as one training iteration, and the number of iterations of the network can be set to 200, 300, etc., so that the loss value reaches convergence. When the loss value reaches convergence or a stopping condition, the iterations are stopped, and a trained model of gene-enhanced data phenotype prediction is obtained.

[0030] In step 5, the phenotype of the genetic sample is predicted by the trained model of genetic augmentation data phenotype prediction.

[0031] Corresponding to the embodiment of the intelligent phenotype prediction method based on gene significance enhancement, the present invention further provides an embodiment of an intelligent phenotype prediction device based on gene significance enhancement.

[0032] Referring to Figure 3, an intelligent phenotype prediction device based on gene significance enhancement according to an embodiment of the present invention includes a memory and one or more processors, wherein executable code is stored in the memory, and when the one or more processors execute the executable code, the intelligent phenotype prediction method based on gene significance enhancement in the above embodiment is implemented.

[0033] The embodiment of the intelligent phenotype prediction device based on the gene significance enhancement of the present invention can be applied to any device having data processing capabilities, and the any device having data processing capabilities may be a device or apparatus such as a computer. The embodiment of the device may be realized by software, hardware, or a combination of software and hardware. Taking the example of being realized by software, as a device in a logical sense, it is formed by loading and executing computer program instructions corresponding to a non-volatile memory into an internal memory through a processor of any device having data processing capabilities in which it is located. At the hardware level, as shown in FIG. 3, it is a hardware structure diagram of any device having data processing capabilities in which the intelligent phenotype prediction device based on the gene significance enhancement of the present invention is located. In addition to the processor, internal memory, network interface, and non-volatile memory shown in FIG. 3, any device having data processing capabilities in which the device is located in the embodiment may usually include other hardware according to the actual function of the any device having data processing capabilities, and the description here is omitted.

[0034] The process of implementing the functions and roles of each unit in the above-mentioned device can refer to the process of implementing the corresponding steps of the above-mentioned method, so the description will be omitted here.

[0035] The device embodiments generally correspond to the method embodiments, so that the relevant parts may refer to the description of some of the method embodiments. The above-mentioned device embodiments are merely exemplary, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed among multiple network units. According to actual requirements, some or all of the units may be selected to achieve the objective of the solution of the present invention. Those skilled in the art can understand and implement it without any creative effort.

[0036] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, realizes the intelligent phenotype prediction method based on gene significance enhancement in the above-mentioned embodiment.

[0037] The computer-readable storage medium may be an internal storage unit of any device having data processing capabilities described in any of the above-mentioned embodiments, such as a hard disk or an internal memory. The computer-readable storage medium may also be any external storage device having data processing capabilities, such as a plug-in hard disk, a Smart Media Card (SMC), an SD card, or a Flash Card, that is equipped in the device. Furthermore, the computer-readable storage medium may consist of both an internal storage unit and an external storage device of any device having data processing capabilities. The computer-readable storage medium may be used to store the computer program and other programs and data required for the device having data processing capabilities, and may also be used to temporarily store data that has been output or is to be output.

[0038] The above-mentioned embodiments are for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the above-mentioned embodiments, those skilled in the art can understand that the technical solutions described in the above-mentioned embodiments can be modified or equivalent replacements can be made for part or all of the technical features thereof, and these modifications or replacements do not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for training an intelligent phenotype prediction based on gene significance enhancement, comprising: Step 1, obtaining a phenotypic value of a genetic sample and a corresponding genetic sequence, the genetic sequence including a set of genetic loci; 2. using the phenotype value to calculate a phenotype average value, classifying the phenotype of the gene according to the phenotype average value, constructing an actual distribution contingency table between gene forms and phenotype categories, obtaining an expected distribution contingency table between gene forms and phenotype categories based on the hypothesis that there is no association between the gene forms and the phenotype categories, calculating a chi-square statistic using the actual distribution contingency table and the expected distribution contingency table, obtaining a probability value of the hypothesis being true by consulting the chi-square contingency table, and calculating a significance value of the gene locus for the phenotype based on the probability value; The encoded loci are weighted according to the significance value, and the gene enrichment data X corresponding to the gene sample is calculated. k Step 3 to obtain a weighting function, the weighting function referring to multiplying each coded locus by the significance value of the corresponding gene; [0010] x k is the coding locus, P k is the probability that the chi-square hypothesis holds, -log 10 P k Step 3: represents the significance value of the gene; Step 4 includes constructing a neural network model and training the phenotype prediction by the gene augmentation data set to obtain a trained model of gene augmentation data phenotype prediction; Step 2 includes: For locus k for which a significance value needs to be calculated, the chi-square hypothesis H that there is no significant relationship between the morphology of locus k and phenotype y 0k Step 2.1: Calculate the average phenotype of N gene samples, classify all gene samples according to the average, and combine multiple forms of the gene locus to construct an actual distribution contingency table of gene forms and phenotype categories, and calculate the actual distribution situation O of each gene form in different phenotype categories. mn Step 2.2, in which the multiple forms of the locus are three forms: AA, Aa, and aa, and deletions are not counted, and the classification refers to performing a binary classification on all gene samples based on the average value, where those above the average value are classified into a high phenotype category and those below the average value are classified into a low phenotype category; The chi-square hypothesis H that there is no significant relationship between the morphology of locus k and phenotype y. 0k Based on this, a contingency table of expected distributions of gene forms and high and low phenotypes is constructed, and the expected distribution status E of each gene form in different phenotype categories is calculated. mn We obtain the chi-square statistic χ 2 The chi-squared statistic is used to query a chi-squared contingency table, and the probability value P k and obtain the probability value P k 2.

3. calculating significance values ​​for all loci based on [0025] Step 2.3, where m represents the number of forms of the locus and n represents the number of phenotypic categories of the genetic sample; A method for training an intelligent phenotype prediction based on gene significance enhancement, comprising:

2. In step 2.2, performing a binary classification for all gene samples based on the average value, [0030] Here, 【number】 represents the average value, and those above the average value are classified into the high phenotype category and are collectively referred to as HN strains, and those below the average value are classified into the low phenotype category and are collectively referred to as LN strains. In step 2.3, The chi-square hypothesis H that there is no significant relationship between the morphology of locus k and phenotype y. 0k Based on [0045] The expected distribution of gene morphology and phenotype is obtained by Equation 4. [0050] Here, O 11 , E 11 are the actual and expected values ​​of the high phenotype with AA gene type, respectively, and O 12 , E 12 are the actual and expected values ​​of the low phenotype with AA genotype, respectively, and O 21 , E 21 are the actual and expected values ​​of the high phenotype with the genotype Aa, respectively, and O 22 , E 22 are the actual and expected values ​​of the low phenotype with the genotype Aa, respectively, and O 31 , E 31 are the actual and expected values ​​of the high phenotype with the genotype aa, respectively, and O 32 , E 32 represent the actual and expected values ​​of the low phenotype with the genotype aa, respectively. The method for training intelligent phenotype prediction based on gene significance enhancement according to claim 1.

3. The encoding method of the locus adopts one-hot encoding; The method for training intelligent phenotype prediction based on gene significance enhancement according to claim 1.

4. In the step 4, the step of performing phenotype prediction training by the gene enrichment data set and obtaining a trained gene enrichment data phenotype prediction model includes: The method includes the steps of dividing the gene augmentation data set X into a training set and a test set, inputting the training set into the neural network model to perform learning and training, setting the amount of data (batch size) input into the network per time, setting the input dimension as batch size*m*K, extracting the features of gene augmentation data by neural network, connecting the features through a fully connected layer, outputting a predicted phenotype value, comparing the true phenotype value and the predicted phenotype value, inputting the true phenotype value and the predicted phenotype value into a loss network to perform loss calculation, forward propagating the obtained loss value, updating the corresponding parameters, performing multiple iterative updates, and stopping the iteration until the loss value converges, thereby obtaining a trained model of gene augmentation data phenotype prediction. where m is the number of locus forms and K is the sequence length. The method for training intelligent phenotype prediction based on gene significance enhancement according to claim 1.

5. A training device for intelligent phenotype prediction based on gene significance enhancement, comprising a memory and one or more processors, the memory storing executable code, the one or more processors executing the executable code to perform the training method for intelligent phenotype prediction based on gene significance enhancement according to any one of claims 1 to 4. A training device for intelligent phenotype prediction based on gene significance enhancement, comprising:

6. The phenotype of the gene sample is predicted by the model of gene-enhanced data phenotype prediction trained by the method of training intelligent phenotype prediction based on gene significance enhancement as described in claim 1. A method for intelligent phenotype prediction based on gene significance enhancement, comprising:

7. A device for intelligent phenotype prediction based on gene significance enhancement, comprising a memory and one or more processors, the memory storing executable code, and the one or more processors executing the executable code to implement the method for intelligent phenotype prediction based on gene significance enhancement according to claim 6. An intelligent phenotype prediction device based on gene significance enhancement, characterized in that

Citation Information

Patent Citations

  • Genetic variant-phenotyping systems and methods of use

    JP2019515369A

  • Computer-implemented method and apparatus for analyzing genetic data

    JP2022546984A

  • Machine learning driven gene discovery and gene editing in plants

    WO2022197336A1