Training of a regulatory relationship detection model, and regulatory relationship detection method and device
By training a regulatory relationship detection model using a neural network model, the problem of detecting gene regulatory relationships has been solved, improving the accuracy and efficiency of gene regulatory relationship detection and contributing to the understanding of the mechanisms of disease occurrence and development.
Patent Information
- Application Number
- CN202211295954.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-21
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-10-21
AI Technical Summary
Current technologies are insufficient for effectively detecting regulatory relationships between genes, which affects our understanding of the mechanisms of disease occurrence and development.
Based on the material composition data of multiple sample genes, a neural network model is used to determine the predictive regulatory relationships between sample genes. The neural network model is then trained using the labeled regulatory relationships to obtain a regulatory relationship detection model, which is used to detect whether there are regulatory relationships between target genes.
This has enabled a deeper understanding of disease mechanisms at the gene regulation level, and improved the accuracy and efficiency of detecting gene regulation relationships.
Smart Images

Figure CN117012286B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of biotechnology, and in particular to a method and apparatus for training a regulatory relationship detection model and detecting regulatory relationships. Background Technology
[0002] In the field of biotechnology, genes can direct protein synthesis. If a first gene directs the synthesis of a certain protein, and this protein can bind to a specific sequence in a second gene, thereby regulating the second gene to direct the synthesis of another protein, then there is a regulatory relationship between the first and second genes.
[0003] By analyzing the regulatory relationships between genes, we can understand the mechanisms of disease occurrence and development at the gene regulation level. Therefore, how to detect the regulatory relationships between genes has become an urgent problem to be solved. Summary of the Invention
[0004] This application provides a training method and apparatus for a regulatory relationship detection model, a method for detecting regulatory relationships, which can be used to detect regulatory relationships between genes. The technical solution includes the following contents.
[0005] On the one hand, a training method for a regulatory relationship detection model is provided, the method comprising:
[0006] Acquire materialome data of multiple sample genes and labeled regulatory relationships of at least one sample gene pair. The labeled regulatory relationship of any sample gene pair is information about the regulatory relationship between the two sample genes in the sample gene pair obtained through labeling.
[0007] Based on the material composition data of the multiple sample genes, a neural network model is used to determine the predicted regulatory relationship between any two sample genes. The predicted regulatory relationship between any two sample genes is the probability that there is a regulatory relationship between any two sample genes.
[0008] Based on the labeled regulatory relationships of at least one sample gene pair and the predicted regulatory relationships between each pair of sample genes, the neural network model is trained to obtain a regulatory relationship detection model, which is used to detect whether there is a regulatory relationship between two target genes.
[0009] On the other hand, a method for detecting regulatory relationships is provided, the method comprising:
[0010] Acquire materialome data and regulatory relationship detection models for multiple target genes, wherein the regulatory relationship detection models are trained according to the training method for regulatory relationship detection models described above.
[0011] Based on the material composition data of the multiple target genes, the regulatory relationship detection model determines the predicted regulatory relationship between any two target genes. The predicted regulatory relationship between any two target genes is the probability that there is a regulatory relationship between any two target genes.
[0012] For any two target genes, determine whether there is a regulatory relationship between them based on the probability that there is a regulatory relationship between them.
[0013] On the other hand, a training device for a regulatory relationship detection model is provided, the device comprising:
[0014] The acquisition module is used to acquire material composition data of multiple sample genes and the labeled regulatory relationship of at least one sample gene pair. The labeled regulatory relationship of any sample gene pair is information on the regulatory relationship between the two sample genes in the sample gene pair obtained through labeling.
[0015] The determination module is used to determine the predicted regulatory relationship between any two sample genes in the plurality of sample genes based on the material composition data of the plurality of sample genes through a neural network model. The predicted regulatory relationship between any two sample genes is the probability that there is a regulatory relationship between any two sample genes obtained by prediction.
[0016] The training module is used to train the neural network model based on the labeled regulatory relationship of the at least one sample gene pair and the predicted regulatory relationship between each pair of sample genes to obtain a regulatory relationship detection model. The regulatory relationship detection model is used to detect whether there is a regulatory relationship between two target genes.
[0017] In one possible implementation, the determining module is used to extract features from the material composition data of the plurality of sample genes based on the labeled regulatory relationship of the at least one sample gene pair using a neural network model, to obtain the gene features of each sample gene; and to determine the predicted regulatory relationship between every two sample genes in the plurality of sample genes based on the gene features of each sample gene using the neural network model.
[0018] In one possible implementation, the determining module is configured to, for any given sample gene, if it is determined based on the labeled regulatory relationship of the at least one sample gene pair that there is an adjacent gene of the given sample gene, then, using a neural network model, determine the gene characteristics of the given sample gene based on the plasmic data of the given sample gene and the plasmic data of the adjacent genes of the given sample gene, wherein the adjacent genes of the given sample gene are sample genes that have a regulatory relationship with the given sample gene; if it is determined based on the labeled regulatory relationship of the at least one sample gene pair that there is no adjacent gene of the given sample gene, then, using the neural network model, determine the gene characteristics of the given sample gene based on the plasmic data of the given sample gene.
[0019] In one possible implementation, the determining module is used to determine each sample node based on the material composition data of each sample gene, where each sample node represents the material composition data of one sample gene; for any two sample nodes, if a regulatory relationship is determined based on the labeled regulatory relationship of the at least one sample gene pair, then a sample edge is added between the two sample nodes; the sample gene graph is used to extract features from the sample gene graph through the neural network model to obtain the gene features of each sample gene, where the sample gene graph includes the sample nodes and the sample edges.
[0020] In one possible implementation, the determining module is configured to, for any sample node, if it is determined based on the sample gene graph that there are neighboring nodes of the sample node, then determine the gene characteristics of the sample gene corresponding to the sample node based on the sample node and its neighboring nodes, wherein the neighboring nodes of the sample node are sample nodes that have sample edges with the sample node; if it is determined based on the sample gene graph that there are no neighboring nodes of the sample node, then determine the gene characteristics of the sample gene corresponding to the sample node based on the sample node.
[0021] In one possible implementation, the determining module is configured to, for any two sample genes among the plurality of sample genes, determine the similarity between the gene features of the two sample genes using the neural network model; and, based on the similarity between the gene features of the two sample genes, determine the predictive regulatory relationship between the two sample genes.
[0022] In one possible implementation, the determining module is configured to, for any two sample genes among the plurality of sample genes, determine a sample scatter plot based on the plasmometric data of the two sample genes, wherein the plasmometric data of any sample gene includes the expression value of the any sample gene in multiple cells, the sample scatter plot includes multiple sample points, and any sample point represents the expression value of the two sample genes in the same cell; extract features from the sample scatter plot using a neural network model to obtain sample image features; classify the sample image features using the neural network model, and use the classification result as the predicted regulatory relationship between the two sample genes.
[0023] In one possible implementation, the determining module is used to divide the sample scatter plot into multiple sample image regions; and to extract features from the sample scatter plot based on the number of sample points in each sample image region using a neural network model to obtain sample image features.
[0024] In one possible implementation, the training module is used to determine a reference regulatory relationship between any two sample genes based on the predicted regulatory relationship between the two sample genes. The reference regulatory relationship between the two sample genes is information obtained by predicting whether there is a regulatory relationship between the two sample genes. Based on the labeled regulatory relationship of the at least one sample gene pair and the reference regulatory relationship between each pair of sample genes, the neural network model is trained to obtain a regulatory relationship detection model.
[0025] On the other hand, a detection device for regulatory relationships is provided, the device comprising:
[0026] The acquisition module is used to acquire materialome data of multiple target genes and a regulatory relationship detection model, wherein the regulatory relationship detection model is trained according to the training method of the regulatory relationship detection model described above.
[0027] The determination module is used to determine the predicted regulatory relationship between any two target genes based on the material composition data of the plurality of target genes through the regulatory relationship detection model. The predicted regulatory relationship between any two target genes is the probability that there is a regulatory relationship between any two target genes obtained by prediction.
[0028] The determining module is further configured to determine, for any two target genes, whether there is a regulatory relationship between them based on the probability that there is a regulatory relationship between them.
[0029] In one possible implementation, the determining module is configured to acquire the labeled regulatory relationship of at least one target gene pair, wherein the labeled regulatory relationship of any target gene pair is information obtained through labeling that there is a regulatory relationship between the two target genes in the target gene pair; based on the labeled regulatory relationship of the at least one target gene pair, the regulatory relationship detection model performs feature extraction on the material composition data of the plurality of target genes to obtain the gene features of each target gene; and based on the gene features of each target gene, the regulatory relationship detection model determines the predicted regulatory relationship between every two target genes.
[0030] In one possible implementation, the determining module is configured to, for any two target genes, determine a target scatter plot based on the plasmometric data of the two target genes, wherein the plasmometric data of any one target gene includes the expression value of the target gene in multiple cells, the target scatter plot includes multiple target points, and any target point represents the expression value of the two target genes in the same cell; extract features from the target scatter plot using the regulatory relationship detection model to obtain target image features; and classify the target image features using the regulatory relationship detection model to obtain the predicted regulatory relationship between the two target genes.
[0031] In one possible implementation, the determining module is configured to determine that there is a regulatory relationship between any two target genes if the probability of a regulatory relationship between any two target genes is greater than a threshold; and to determine that there is no regulatory relationship between any two target genes if the probability of a regulatory relationship between any two target genes is not greater than the threshold.
[0032] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, which is loaded and executed by the processor to enable the electronic device to implement the training method of any of the above-described regulation relationship detection models or to implement any of the above-described regulation relationship detection methods.
[0033] On the other hand, a computer-readable storage medium is also provided, wherein at least one computer program is stored in the computer-readable storage medium, the at least one computer program being loaded and executed by a processor, so as to enable an electronic device to implement the training method of any of the above-described regulation relationship detection models or to implement any of the above-described regulation relationship detection methods.
[0034] On the other hand, a computer program or computer program product is also provided, wherein at least one computer program is stored in the computer program or computer program product, and the at least one computer program is loaded and executed by a processor to enable an electronic device to implement the training method of any of the above-described regulatory relationship detection models or to implement the detection method of any of the above-described regulatory relationships.
[0035] The technical solution provided in this application brings at least the following beneficial effects:
[0036] The technical solution provided in this application uses a neural network model based on the material composition data of multiple sample genes to determine the predicted regulatory relationship between every two sample genes. Based on the labeled regulatory relationship of at least one sample gene pair and the predicted regulatory relationship between every two sample genes, the neural network model is trained to obtain a regulatory relationship detection model. This allows the regulatory relationship detection model to detect whether there is a regulatory relationship between two target genes, which is beneficial for understanding the mechanism of disease occurrence and development at the gene regulation level. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a schematic diagram of the implementation environment for a training method for a regulation relationship detection model or a regulation relationship detection method provided in the embodiments of this application;
[0039] Figure 2 This is a flowchart of a training method for a regulation relationship detection model provided in an embodiment of this application;
[0040] Figure 3 This is a flowchart of a method for detecting a regulatory relationship provided in an embodiment of this application;
[0041] Figure 4 This is a schematic diagram illustrating the detection of a regulatory relationship provided in an embodiment of this application;
[0042] Figure 5 This is a schematic diagram of the structure of a training device for a regulation relationship detection model provided in an embodiment of this application;
[0043] Figure 6 This is a schematic diagram of the structure of a detection device for a regulatory relationship provided in an embodiment of this application;
[0044] Figure 7This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application;
[0045] Figure 8 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0047] Figure 1 This is a schematic diagram illustrating the implementation environment of a training method for a regulation relationship detection model or a regulation relationship detection method provided in this application embodiment. Figure 1 As shown, the implementation environment includes a terminal device 101 and a server 102. The training method for the regulation relationship detection model or the detection method for the regulation relationship in this embodiment can be executed by the terminal device 101, by the server 102, or by both the terminal device 101 and the server 102.
[0048] Terminal device 101 can be a smartphone, game console, desktop computer, tablet computer, laptop computer, smart TV, smart in-vehicle device, smart voice interaction device, smart home appliance, etc. Server 102 can be a single server, a server cluster consisting of multiple servers, or any of the following: cloud computing platform and virtualization center. This application embodiment does not limit this. Server 102 can communicate with terminal device 101 via a wired network or wireless network. Server 102 can have functions such as data processing, data storage, and data transmission and reception. This application embodiment does not limit this. The number of terminal devices 101 and servers 102 is not limited and can be one or more.
[0049] The training method for the regulation relationship detection model or the detection method for regulation relationships provided in this application can be implemented based on artificial intelligence (AI) technology. Artificial intelligence is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results. In other words, artificial intelligence is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new type of intelligent machine that can react in a way similar to human intelligence. Artificial intelligence also studies the design principles and implementation methods of various intelligent machines, enabling them to possess perception, reasoning, and decision-making functions.
[0050] Artificial intelligence (AI) is a comprehensive discipline encompassing a wide range of fields, including both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies primarily include computer vision, speech processing, natural language processing, as well as machine learning / deep learning, autonomous driving, and intelligent transportation.
[0051] In the field of biotechnology, the regulatory relationships between genes are crucial. A gene-gene regulatory relationship refers to the situation where a protein synthesized under the guidance of one gene can bind to a specific sequence in another gene, thereby regulating the synthesis of a different protein by that gene. Analyzing these regulatory relationships allows us to understand the mechanisms of disease occurrence and development at the gene regulation level. Therefore, how to detect these regulatory relationships has become a pressing issue.
[0052] This application provides a method for training a regulatory relationship detection model, which can be applied to the aforementioned implementation environment. This method can be used to train a regulatory relationship detection model to detect whether a regulatory relationship exists between two target genes. Figure 2 The flowchart shown in this application embodiment illustrates a training method for a regulatory relationship detection model. For ease of description, the terminal device 101 or server 102 executing the training method for the regulatory relationship detection model in this application embodiment is referred to as an electronic device. This method can be executed by an electronic device. Figure 2 As shown, the method includes the following steps.
[0053] Step 201: Obtain material genomic data of multiple sample genes and labeled regulatory relationships of at least one sample gene pair. The labeled regulatory relationship of any sample gene pair is information about the regulatory relationship between the two sample genes in any sample gene pair obtained through labeling.
[0054] Optionally, the electronic device can acquire a sample dataset, which includes plasmomic data of multiple sample genes and labeled regulatory relationships of at least one sample gene pair. The plasmomic data of the sample genes and the labeled regulatory relationships of the sample gene pairs serve as training data for the neural network model.
[0055] The sample gene can be any gene; a gene is the complete nucleotide sequence required to produce a polypeptide chain or functional ribonucleic acid (RNA). Genes control the expression of hereditary traits by directing protein synthesis; the process of gene-directed protein synthesis can be simply referred to as gene expression.
[0056] Gene expression is generally divided into transcription and translation. Transcription is the process of generating RNA using a gene as a template; the generated RNA is also called the gene's transcriptome, and transcriptome data can be used to describe the gene's transcriptome. Translation is the process of generating proteins based on the gene's transcriptome; the generated proteins are also called the gene's proteome, and proteome data can be used to describe the gene's proteome. In this embodiment, the material genome of the sample gene includes at least one of the sample gene's transcriptome and sample gene's proteome; that is, the material genome data of the sample gene includes at least one of the sample gene's transcriptome data and sample gene's proteome data.
[0057] Optionally, the transcriptome of a gene can be extracted from cells or tissues, and the sequencing data obtained by sequencing the gene's transcriptome can be used as the gene's transcriptome data or a part of the gene's transcriptome data. Alternatively, the number of RNAs generated using the gene as a template can be detected in cells or tissues. This number of RNAs represents the gene's expression level in the cell, and the gene's expression level in the cell can be used as the gene's transcriptome data or a part of the gene's transcriptome data.
[0058] Similarly, the proteome of a gene can be extracted from cells or tissues, and the sequencing data obtained by sequencing the proteome can be used as the gene's proteome data or a part of the gene's proteome data. Alternatively, the quantity of proteins produced by a gene can be detected in cells or tissues; this quantity is also the gene's expression level in the cell, and the gene's expression level in the cell can be used as the gene's transcriptome data or a part of the gene's transcriptome data.
[0059] The cells mentioned above can be single-celled or multicellular, and can be of any type, such as brain cells or skin cells. Tissue is a substance composed of a group of morphologically similar and functionally identical cells and intercellular matrix; it can be tissue from a clinical sample. The gene expression value in cells can be the sum of the number of RNAs generated using the gene as a template and the number of proteins generated based on the gene. A matrix can be used to record the proteomics data of genes from multiple samples. Each row of the matrix represents the proteomics data of a single sample gene.
[0060] Any two sample genes can be considered as a single gene pair. When a regulatory relationship exists between the two genes in a gene pair, the labeled regulatory relationship can be obtained by annotating the gene pair. For example, two sample genes can be manually identified as having a regulatory relationship. If a relationship is found, these two genes are labeled to obtain the labeled regulatory relationship of the gene pair. Alternatively, reported regulatory relationships between genes can be collected from Gene Regulatory Network (GRN) databases. If a reported regulatory relationship exists between two sample genes, these genes are labeled to obtain the labeled regulatory relationship of the gene pair. GRN databases include, but are not limited to, RegNetwork, Kyoto Encyclopedia of Genes and Genomes (KEGG), Reactome, and Coessentiality.
[0061] Step 202: Based on the material composition data of multiple sample genes, the predicted regulatory relationship between any two sample genes is determined by a neural network model. The predicted regulatory relationship between any two sample genes is the probability that there is a regulatory relationship between any two sample genes.
[0062] The pharmacogenomic data of multiple sample genes can be input into a neural network model, which then outputs the probability of a regulatory relationship between any two sample genes. The probability of a regulatory relationship between two sample genes is greater than or equal to 0 and less than or equal to 1. A higher probability indicates a greater likelihood of a regulatory relationship between the two sample genes.
[0063] The neural network model in this application embodiment can be an initial network model. In this case, the model structure, model size, etc., of the neural network model are the same as those of the initial network model. This application embodiment does not limit the model structure, model size, etc., of the initial network model. For example, the initial network model includes an encoder and a decoder. The functions of the encoder and the decoder can be found in the relevant descriptions below, and will not be repeated here. Optionally, the neural network model can also be a model obtained by training the initial network model at least once according to steps 201 to 203.
[0064] In one possible implementation, step 202 includes steps 2021 to 2022.
[0065] Step 2021: Based on the labeled regulatory relationship of at least one sample gene pair, feature extraction is performed on the material composition data of multiple sample genes using a neural network model to obtain the gene features of each sample gene.
[0066] For any given sample gene, the encoder in the neural network model can extract features from the material composition data of that sample gene based on the labeled regulatory relationship of at least one sample gene pair, thereby obtaining the gene features of that sample gene.
[0067] This application does not limit the structure or size of the encoder. Exemplarily, the encoder can be a Convolutional Neural Network (CNN), comprising at least one convolutional block. The input to the first convolutional block includes the labeled regulatory relationship of at least one sample gene pair and the plasmic data of any sample gene. The output of the last convolutional block includes the gene features of any sample gene. Each convolutional block is concatenated with the next; therefore, the input to the next convolutional block includes the output of the previous convolutional block (which can be denoted as the first input). Furthermore, the input to the next convolutional block also includes the labeled regulatory relationship of at least one sample gene pair (which can be denoted as the second input). Any convolutional block can perform convolution processing on its first input based on its second input to reduce the data dimensionality of the first input and obtain the output of that convolutional block.
[0068] In implementation method A, step 2021 includes steps A1 to A2.
[0069] Step A1: For any sample gene, if it is determined that there is an adjacent gene of any sample gene based on the labeling and regulatory relationship of at least one sample gene pair, then the gene characteristics of any sample gene are determined by a neural network model based on the material composition data of any sample gene and the material composition data of the adjacent genes of any sample gene. The adjacent genes of any sample gene are sample genes that have a regulatory relationship with any sample gene.
[0070] Any sample gene can have at least one neighboring gene. The encoder can determine the gene characteristics of the sample gene based on its plasmomic data and the plasmomic data of each neighboring gene. This allows the gene characteristics of the sample gene to characterize not only its own plasmomic data but also the plasmomic data of genes with regulatory relationships with it, thus improving the characterization ability of the sample gene's gene features. Extracting the gene features of a sample gene can smooth its plasmomic data to some extent, reducing noise. Subsequently, when using the gene features of a sample gene to determine the predicted regulatory relationship between two sample genes, the accuracy of the predicted regulatory relationship can be improved, thereby increasing the accuracy of the model when training it using the predicted regulatory relationship.
[0071] In this embodiment, the two sample genes in any sample gene pair have a regulatory relationship, and the encoder can match the sample gene pair with any sample gene. If the sample gene pair includes the sample gene, then the other sample gene included in the sample gene pair is an adjacent gene of the sample gene. For example, the sample gene pair includes sample gene A and sample gene B, and sample gene A and sample gene B have a regulatory relationship. The encoder matches the sample gene pair with sample gene m. If sample gene A is sample gene m, then sample gene B is an adjacent gene of sample gene m; if sample gene B is sample gene m, then sample gene A is an adjacent gene of sample gene m.
[0072] Optionally, each sample gene has unique identification information. The encoder matches the sample gene pair with the identification information of any sample gene by matching the two identification information of the sample gene pair with the identification information of any sample gene.
[0073] Using the above method, the neighboring genes of any sample gene can be determined based on the labeled regulatory relationship of at least one sample gene pair. Each sample gene corresponds to at least one neighboring gene. The encoder can splice the plasmic data of the sample gene with the plasmic data of each neighboring gene to obtain spliced data. By extracting features from the spliced data, the gene characteristics of the sample gene can be obtained.
[0074] Optionally, the encoder includes at least one convolutional block. Since the convolutional block is used for convolution processing, for ease of description, the output of the k-th (k is a positive integer) convolutional block is denoted as the k-th convolution processing result. In this embodiment, the input of the first convolutional block includes the concatenated data obtained by splicing the material composition data of any sample gene and the material composition data of each of the sample gene's neighboring genes. The first convolutional block reduces the data dimension of the concatenated data by performing convolution processing on the concatenated data, and obtains and outputs the first convolution processing result of the sample gene. The input of the i-th (i is a positive integer greater than or equal to 2) convolutional block includes the concatenated result obtained by splicing the (i-1)-th convolution processing result of the sample gene and the (i-1)-th convolution processing result of each of the sample gene's neighboring genes. The i-th convolutional block reduces the data dimension of the concatenated structure by performing convolution processing on the concatenated result, and obtains and outputs the i-th convolution processing result of the sample gene. In this context, the last convolutional result of any sample gene output by the last convolutional block represents the gene characteristics of that sample gene.
[0075] Step A2: If it is determined that there are no adjacent genes for any sample gene based on the labeling and regulatory relationship of at least one sample gene pair, then the gene characteristics of any sample gene are determined by the neural network model based on the material composition data of any sample gene.
[0076] In this embodiment, the labeled regulatory relationship of a sample gene pair is used to describe the regulatory relationship between the two sample genes in the sample gene pair; that is, the sample gene pair has a regulatory relationship. In application, the encoder can match a sample gene pair with a regulatory relationship with any sample gene. If the sample gene pair with a regulatory relationship does not include that sample gene, then that sample gene does not have any adjacent genes.
[0077] For example, one pair of sample genes with a regulatory relationship includes sample gene A and sample gene B (i.e., sample gene A and sample gene B have a regulatory relationship), and another pair of sample genes with a regulatory relationship includes sample gene C and sample gene D (i.e., sample gene C and sample gene D have a regulatory relationship). However, sample genes A through D are all different from sample gene n. In other words, neither of these two pairs of sample genes with a regulatory relationship includes sample gene n. In this case, sample gene n has no adjacent genes.
[0078] When a sample gene has no adjacent genes, the encoder can extract features from the material composition data of that sample gene to obtain its gene features. Optionally, the encoder includes at least one convolutional block, and the output of the k-th (k is a positive integer) convolutional block is denoted as the k-th convolutional processing result.
[0079] In this embodiment, the input of the first convolutional block includes the material composition data of any sample gene. The first convolutional block performs convolution processing on the material composition data of the sample gene to reduce the data dimension of the material composition data of the sample gene, and obtains and outputs the first convolution processing result of the sample gene. The input of the i-th (i is a positive integer greater than or equal to 2) convolutional block includes the (i-1)-th convolution processing result of the sample gene. The i-th convolutional block performs convolution processing on the (i-1)-th convolution processing result of the sample gene to reduce the data dimension of the (i-1)-th convolution processing result of the sample gene, and obtains and outputs the i-th convolution processing result of the sample gene. The last convolution processing result of any sample gene output by the last convolutional block is the gene feature of that sample gene.
[0080] In implementation method B, step 2021 includes steps B1 to B3.
[0081] Step B1: Determine each sample node based on the material composition data of each sample gene. Each sample node represents the material composition data of one sample gene.
[0082] The material composition data of a sample gene can be used as a sample node, or features can be extracted from the material composition data of a sample gene to obtain the initial features of the sample gene, and these initial features can be used as a sample node. This application does not limit the method of feature extraction. For example, principal component analysis can be performed on the material composition data of a sample gene, and the extracted principal component data can be used as the initial features of the sample gene; alternatively, statistical analysis can be performed on the material composition data of the sample gene, and the statistically derived data can be used as the initial features of the sample gene.
[0083] In this embodiment of the application, one sample node corresponds to one sample gene. Therefore, the number of sample nodes is the same as the number of sample genes.
[0084] Step B2: For any two sample nodes, if it is determined that there is a regulatory relationship between the sample genes corresponding to any two sample nodes based on the labeled regulatory relationship of at least one sample gene pair, then add a sample edge between any two sample nodes.
[0085] In this embodiment, the labeled regulatory relationship of any sample gene pair is used to describe that the sample gene pair has a regulatory relationship. For a sample gene pair with a regulatory relationship, the two sample genes included in the sample gene pair have a regulatory relationship, and sample edges can be added between the sample nodes corresponding to the two sample genes included in the sample gene pair. It is understood that if two sample genes do not have a regulatory relationship, then there are no sample edges between the sample nodes corresponding to these two sample genes.
[0086] By identifying each sample node and determining whether to add a sample edge between every two sample nodes based on the labeled regulatory relationship of at least one sample gene pair, a sample gene graph containing multiple sample nodes and at least one sample edge can be obtained. This allows sample nodes of sample genes with regulatory relationships to be connected in the sample gene graph. The sample gene graph is a graph-structured data structure that reflects not only the plasmic data of a single sample gene but also information about the regulatory relationship between every two sample genes. Constructing a sample gene graph using the labeled regulatory relationship of at least one sample gene pair fully utilizes prior biological knowledge to determine the topological structure of the sample gene graph, increases the organization of the plasmic data of the sample genes, improves the input to the encoder, and helps to increase the accuracy of the encoder output.
[0087] Step B3: Extract features from the sample gene graph using a neural network model to obtain the gene features of each sample gene. The sample gene graph includes each sample node and sample edge.
[0088] Each sample node and each sample edge can form a graph structure, denoted as the sample gene graph. The encoder included in the neural network model can extract features from each sample node in the sample gene graph, obtaining the features of each sample node. The features of any sample node are the gene features of the sample gene corresponding to that sample node.
[0089] In this embodiment of the application, the encoder may include any one of Graph Convolutional Networks (GCN), Graph Attention Network (GAT), Graph Transformer, and molecular structure models (such as Graphormer).
[0090] For example, the encoder includes at least one GCN layer, whereby each GCN layer performs graph convolution processing on the input graph structure to update each sample node in the graph structure, thereby obtaining and outputting the updated graph structure. For ease of description, the graph structure output by the k-th (k is a positive integer) GCN layer is denoted as the k-th graph structure.
[0091] In this embodiment, the sample gene map is a graph structure. The input to the first-layer GCN is the sample gene map. The first-layer GCN performs graph convolution processing on the sample gene map to update each sample node in the sample gene map. The updated sample gene map is used as the first graph structure and is output. The upper layer GCN is concatenated with the lower layer GCN; therefore, the input of the lower layer GCN includes the output of the upper layer GCN. Any layer GCN can perform graph convolution processing on the graph structure input to that layer GCN to update the sample nodes of the graph structure, obtain the updated graph structure, and output it. The output of the last layer GCN is the last graph structure, and each sample node in the last graph structure represents the gene features of each sample gene.
[0092] Optionally, step B3 includes steps B31 to B32.
[0093] Step B31: For any sample node, if it is determined from the sample gene graph that there are neighboring nodes of any sample node, then based on any sample node and its neighboring nodes, determine the gene characteristics of the sample gene corresponding to any sample node. The neighboring nodes of any sample node are sample nodes that have sample edges with any sample node.
[0094] For any sample node in the sample gene graph, if there exists a sample edge between sample nodes in the sample gene graph, then that sample node is a neighboring node. For example, in the sample gene graph, if there is a sample edge between sample node A and sample node B, then sample node A is a neighboring node of sample node B, and sample node B is a neighboring node of sample node A.
[0095] Each sample node has at least one neighboring node. The encoder can update the sample node based on the sample node and each neighboring node, so that the sample node can not only represent the plasmomic data of the sample gene corresponding to the sample node itself, but also the plasmomic data of sample genes that have regulatory relationships with the sample gene corresponding to the sample node, thereby improving the representation ability of the sample node.
[0096] Optionally, the encoder includes at least one layer of GCN. The input of the first layer of GCN includes a sample gene graph. For any sample node in the sample gene graph, the first layer of GCN considers the sample nodes in the sample gene graph that have sample edges with that sample node as its neighboring nodes. By performing graph convolution processing on the sample node and each of its neighboring nodes, the sample node can be updated. In this way, each sample node in the sample gene graph is updated, and the updated sample gene graph is used as the first graph structure. The input of the i-th (i is a positive integer greater than or equal to 2) layer of GCN includes the (i-1)-th graph structure. For any sample node in the (i-1)-th graph structure, the i-th layer of GCN considers the sample nodes in the (i-1)-th graph structure that have sample edges with that sample node as its neighboring nodes. By performing graph convolution processing on the sample node and each of its neighboring nodes, the sample node can be updated. In this way, each sample node in the (i-1)-th graph structure is updated, and the updated sample gene graph is used as the i-th graph structure. The sample nodes in the last graph structure output by the last layer of GCN represent the gene features of each sample gene.
[0097] Step B32: If it is determined from the sample gene map that there are no adjacent nodes for any sample node, then the gene characteristics of the sample gene corresponding to any sample node are determined from the sample node.
[0098] For any sample node in the sample gene graph, if there may be no sample node in the sample gene graph that has a sample edge with it, then the sample node has no adjacent nodes. For example, in the sample gene graph, sample node A is an isolated node, and there are no sample edges between sample node A and other sample nodes in the sample gene graph. In this case, sample node A has no adjacent nodes.
[0099] When any sample node has no neighboring nodes, the encoder can update the sample node based on that sample node. Optionally, the encoder includes at least one GCN layer. The input of the first GCN layer includes the sample gene graph. For any sample node in the sample gene graph, when the sample node has no neighboring nodes, the sample node can be updated by performing graph convolution on the sample node. In this way, each sample node in the sample gene graph is updated, and the updated sample gene graph is used as the first graph structure. The input of the i-th (i is a positive integer greater than or equal to 2) GCN layer includes the (i-1)-th graph structure. For any sample node in the (i-1)-th graph structure, when the sample node has no neighboring nodes, the sample node can be updated by performing graph convolution on the sample node. In this way, each sample node in the (i-1)-th graph structure is updated, and the updated sample gene graph is used as the i-th graph structure. The sample nodes in the last graph structure output by the last GCN layer represent the gene features of each sample gene.
[0100] Step 2022: Based on the gene characteristics of each sample gene, determine the predictive regulatory relationship between every two sample genes using a neural network model.
[0101] The neural network model includes a decoder that can determine the predictive regulatory relationship between any two sample genes based on the gene characteristics of each sample gene. This application does not limit the structure or size of the decoder. For example, the decoder is a transformer-based decoder, which may include a fully connected network and an activation network, with the fully connected network having at least one layer. The functions of the fully connected network and the activation network are described below and will not be repeated here.
[0102] Optionally, step 2022 includes steps C1 to C2.
[0103] Step C1: For any two sample genes, determine the similarity between the gene features of any two sample genes using a neural network model.
[0104] The decoder, including a fully connected network, can calculate the similarity between the gene features of any two sample genes based on their gene features. Alternatively, the decoder can first perform dimensionality reduction on the gene features of each sample gene, and then calculate the similarity between the dimensionality-reduced gene features of any two sample genes. This application does not limit the method of similarity calculation. For example, the gene features of two sample genes can be multiplied, and the product is used as the similarity between the gene features of the two sample genes. Alternatively, the cosine of the angle between the gene features of two sample genes can be calculated, and this cosine is used as the similarity between the gene features of the two sample genes.
[0105] Step C2: Based on the similarity between the gene features of any two sample genes, determine the predicted regulatory relationship between any two sample genes.
[0106] The decoder includes an activation network that can activate the similarity between the gene features of any two sample genes. Through activation, this similarity is converted into a probability that a regulatory relationship exists between the two sample genes, thus obtaining the predicted regulatory relationship between them. Optionally, the activation network can be a sigmoid function, a rectified linear unit (ReLU), etc. The activation function maps its input to a probability. In this embodiment, the input to the activation function is the similarity between the gene features of two sample genes, and the mapped probability is the predicted regulatory relationship between the two sample genes.
[0107] In another possible implementation, step 202 includes steps 2023 to 2025.
[0108] Step 2023: For any two sample genes, determine a sample scatter plot based on the material composition data of any two sample genes. The material composition data of any sample gene includes the expression value of any sample gene in multiple cells. The sample scatter plot includes multiple sample points. Any sample point represents the expression value of any two sample genes in the same cell.
[0109] In this embodiment, the expression value of a sample gene in cells is used to measure the expression level of the sample gene in cells. As mentioned above, the product of sample gene expression includes the substance group of the sample gene; therefore, the expression value of a sample gene in cells can measure the size of the substance group of the sample gene. The more substances included in the substance group of the sample gene, the larger the substance group of the sample gene, and the higher the expression value of the sample gene in cells. For example, the more proteins a sample gene expresses, the larger the proteome of the sample gene, and the higher the expression value of the sample gene in cells.
[0110] A scatter plot can be generated using the proteomic data of two sample genes. Since the proteomic data of the sample genes includes the expression values of the sample genes in multiple cells, the expression values of the two sample genes in the same cell can be used as the x-axis and y-axis, respectively. Based on the x-axis and y-axis, a sample point can be determined in the sample scatter plot. Each sample point corresponds to one cell; therefore, the number of sample points equals the number of cells.
[0111] For example, the plasmometric data for sample gene A includes the expression values of sample gene A in cells 1 to 100, and the plasmometric data for sample gene B includes the expression values of sample gene B in cells 1 to 100. In this case, the expression value of sample gene A in cell 1 can be considered as the x-coordinate of the sample point corresponding to cell 1, and the expression value of sample gene B in cell 1 can be considered as the y-coordinate of the sample point corresponding to cell 1, thus determining the location of the sample point corresponding to cell 1. Similarly, the expression value of sample gene A in cell 2 can be considered as the x-coordinate of the sample point corresponding to cell 2, and the expression value of sample gene B in cell 2 can be considered as the y-coordinate of the sample point corresponding to cell 2, thus determining the location of the sample point corresponding to cell 2. And so on, the locations of the sample points corresponding to cells 1 to 100 can be determined, thus obtaining a sample scatter plot.
[0112] Step 2024: Extract features from the sample scatter plot using a neural network model to obtain sample image features.
[0113] A sample scatter plot is an image, therefore it includes multiple pixels. The pixel value of any given pixel can be either a first value or a second value. A pixel value being the first value indicates that the pixel belongs to a sample point in the sample scatter plot; a pixel value being the second value indicates that the pixel does not belong to any sample point in the sample scatter plot.
[0114] The encoder in the neural network model can extract features from the sample scatter plot based on the pixel values of each pixel, thereby obtaining sample image features. This application does not limit the method of feature extraction; for example, the feature extraction method can be Scale-Invariant Feature Transform (SIFT), Histogram of Oriented Gradient (HOG), etc.
[0115] Optionally, step 2024 includes: dividing the sample scatter plot into multiple sample image regions; and extracting features from the sample scatter plot based on the number of sample points in each sample image region using a neural network model to obtain sample image features.
[0116] The sample scatter plot can be divided into a set number of sample image regions, for example, the sample scatter plot can be divided into nine sample image regions. Alternatively, the sample scatter plot can be divided into multiple sample image regions of the same size as the set window, for example, the sample scatter plot can be divided into multiple sample image regions of 16*16.
[0117] Next, for any given sample image region, the number of sample points included in that region is counted. In one possible implementation, the number of sample points included in a sample image region is used as data in the input matrix, thus determining the input matrix. The number of data points in the input matrix is the same as the number of sample image regions. For example, if the sample scatter plot is divided into nine sample image regions, and these nine regions include 14, 18, 10, 21, 13, 14, 12, 17, and 15 sample points respectively, then the input matrix can be...
[0118] In another possible implementation, the ratio of the number of sample points in a sample image region to the size of that region is calculated, and this ratio is used as a data point in the input matrix. This method determines the input matrix. The number of data points in the input matrix is the same as the number of sample image regions. Since the ratio of the number of sample points in a sample image region to its size characterizes the sample point density of that region, any data point in the input matrix represents the sample point density of the corresponding sample image region.
[0119] The encoder in the neural network model reduces the dimensionality of the input matrix and uses the reduced matrix as the feature of the sample image. Specifically, the process of determining the input matrix based on the sample scatter plot and then reducing its dimensionality is equivalent to feature extraction from the sample scatter plot.
[0120] Step 2025: Classify the features of the sample images using a neural network model to obtain the predicted regulatory relationship between any two sample genes.
[0121] The neural network model includes a decoder that can classify sample image features to map them into a probability, which represents the predicted regulatory relationship between two sample genes. Optionally, the decoder includes an activation network that inputs sample image features into the activation network and maps the features to the predicted regulatory relationship between two sample genes.
[0122] In this embodiment, two sample genes are grouped together, and a scatter plot is defined for each group of sample genes. Based on this scatter plot, the predicted regulatory relationships of this group of sample genes are determined. Therefore, when it is necessary to determine the predicted regulatory relationships of multiple groups of sample genes, it is necessary to generate a scatter plot corresponding to each group, and determine the predicted regulatory relationships of each group of sample genes based on the scatter plot corresponding to each group.
[0123] Step 203: Based on the labeled regulatory relationship of at least one sample gene pair and the predicted regulatory relationship between every two sample genes, the neural network model is trained to obtain a regulatory relationship detection model. The regulatory relationship detection model is used to detect whether there is a regulatory relationship between two target genes.
[0124] The loss value of the neural network model can be calculated according to the formula for calculating the loss function, based on the labeled regulatory relationship of at least one sample gene pair and the predicted regulatory relationship between every two sample genes. This application does not limit the loss function; for example, the loss function can be the cross-entropy function, the mean absolute error (MAE) function, the root mean square error (MSE) function, etc.
[0125] Next, the neural network model is trained based on the loss value, resulting in a trained neural network model. Gradient descent can be used to train the neural network model; that is, the gradient of the loss value with respect to the model parameters is first calculated, and the model parameters are adjusted in the opposite direction of the gradient to obtain the trained neural network model.
[0126] If the trained neural network model meets the training termination condition, it will be used as the regulatory relationship detection model. If the trained neural network model does not meet the training termination condition, it will be used as the neural network model for the next training iteration, and the neural network model will be trained again according to steps 201 to 203 above, until the trained neural network model meets the training termination condition and is used as the regulatory relationship detection model.
[0127] This application does not limit the conditions for meeting the training termination criteria. For example, meeting the training termination criteria means that the neural network model has been trained a set number of times, such as 500 times. Alternatively, the difference between the loss value of the neural network model in the current training iteration and the loss value of the neural network model in the previous training iteration is within a set range, such as 0.003, which is within the set range [-0.002, 0.0033].
[0128] Optionally, step 203 includes steps 2031 to 2032.
[0129] Step 2031: For any two sample genes, based on the predicted regulatory relationship between the two sample genes, determine the reference regulatory relationship between the two sample genes. The reference regulatory relationship between the two sample genes is the information obtained by prediction on whether there is a regulatory relationship between the two sample genes.
[0130] In this embodiment, the predicted regulatory relationship between two sample genes is determined by the probability that a regulatory relationship exists between them. If the probability of a regulatory relationship between the two sample genes is greater than a threshold, then a regulatory relationship is determined to exist between the two sample genes. If the probability of a regulatory relationship between the two sample genes is not greater than the threshold, then a regulatory relationship is determined to exist between the two sample genes. The predicted regulatory relationship between the two sample genes is binarized using the threshold to obtain information on whether there is regulatory information between the two sample genes.
[0131] In this application embodiment, the value of the threshold is not limited. For example, the value of the threshold is a set value, such as 0.7. Alternatively, the probability of a regulatory relationship between two sample genes is sorted, and the reference number probability after sorting is used as the threshold, such as the 10th probability after sorting.
[0132] Step 2032: Based on the labeled regulatory relationship of at least one sample gene pair and the reference regulatory relationship between every two sample genes, train the neural network model to obtain the regulatory relationship detection model.
[0133] The reference regulatory relationship between two sample genes is used to characterize whether a regulatory relationship exists between them. The labeled regulatory relationship of a sample gene pair is used to characterize whether a regulatory relationship exists between the two genes in that pair. A third data point (e.g., 1) can be used to characterize a regulatory relationship between two sample genes, and a fourth data point (e.g., 0) can be used to characterize the absence of a regulatory relationship. By using either the third or fourth data point to characterize the labeled regulatory relationship of any sample gene pair, and by using the same data to characterize the reference regulatory relationship between any two sample genes, a loss value for the neural network model can be calculated based on the third and fourth data using the loss function formula. This loss value can then be used to train the neural network model to obtain a regulatory relationship detection model.
[0134] By automatically training the neural network model through steps 201 to 203, the cost and waiting time of manual analysis are saved, and the error problems caused by human analysis can be avoided.
[0135] As mentioned above, the neural network model in this application embodiment includes an encoder and a decoder. The encoder can extract features from the plasmic data of the sample genes to obtain the gene features of the sample genes, and the decoder can determine the predictive regulatory relationship between every two sample genes based on the gene features of each sample gene. The plasmic data of the sample genes includes the transcriptomic data and / or the proteomic data of the sample genes.
[0136] When the material genome data of a sample gene includes both transcriptome and proteome data, in one possible implementation, the neural network model includes two encoders and one decoder. One encoder extracts features from the transcriptome data of the sample gene to obtain its transcriptome features. The other encoder extracts features from the proteome data of the sample gene to obtain its proteome features. The transcriptome features and proteome features of a sample gene are concatenated to obtain its gene features. The decoder determines the predictive regulatory relationship between any two sample genes based on their gene features. The methods by which the encoder determines the transcriptome features and proteome features of the sample gene are similar to those used in step 2021, and will not be elaborated further here.
[0137] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the materialome data of sample genes and the labeled regulatory relationships of sample gene pairs involved in this application were obtained with full authorization.
[0138] The above method uses a neural network model based on the material composition data of multiple sample genes to determine the predicted regulatory relationship between every two sample genes. Based on the labeled regulatory relationship of at least one sample gene pair and the predicted regulatory relationship between every two sample genes, the neural network model is trained to obtain a regulatory relationship detection model. This allows the regulatory relationship detection model to detect whether there is a regulatory relationship between two target genes, which is beneficial for understanding the mechanism of disease occurrence and development at the gene regulation level.
[0139] This application also provides a method for detecting regulatory relationships, which can be applied to the above-described implementation environment. This method can utilize a regulatory relationship detection model to detect whether a regulatory relationship exists between two target genes. Figure 3The flowchart shown in this application embodiment illustrates a method for detecting a regulatory relationship. For ease of description, the terminal device 101 or server 102 executing the method for detecting the regulatory relationship in this application embodiment is referred to as an electronic device. This method can be executed by an electronic device. Figure 3 As shown, the method includes the following steps.
[0140] Step 301: Obtain materialome data and regulatory relationship detection models for multiple target genes.
[0141] The plasmomic data of the target gene can be found in the description of the plasmomic data of the sample gene above. The regulatory relationship detection model is based on... Figure 2 The training method for the relevant regulatory relationship detection model is described in steps 201 to 203 above, and will not be repeated here.
[0142] Step 302: Based on the materialome data of multiple target genes, the regulatory relationship detection model is used to determine the predicted regulatory relationship between any two target genes. The predicted regulatory relationship between any two target genes is the probability that there is a regulatory relationship between any two target genes.
[0143] The description of step 302 is the same as that of step 202, and the two are implemented in similar ways, so they will not be repeated here.
[0144] In implementation method C, step 302 includes: obtaining the labeled regulatory relationship of at least one target gene pair, wherein the labeled regulatory relationship of any target gene pair is information on the regulatory relationship between the two target genes in the target gene pair obtained by labeling; extracting features from the material composition data of multiple target genes based on the labeled regulatory relationship of at least one target gene pair using a regulatory relationship detection model to obtain the gene features of each target gene; and determining the predicted regulatory relationship between each pair of target genes based on the gene features of each target gene using a regulatory relationship detection model.
[0145] The description of implementation method C can be found in steps 201, 2021 to 2022. The implementation principles of the two are similar, and will not be repeated here.
[0146] In implementation method D, step 302 includes: for any two target genes, determining a target scatter plot based on the material composition data of any two target genes, wherein the material composition data of any one target gene includes the expression value of any one target gene in multiple cells, the target scatter plot includes multiple target points, and any one target point represents the expression value of any two target genes in the same cell; extracting features from the target scatter plot using a regulatory relationship detection model to obtain target image features; and classifying the target image features using a regulatory relationship detection model to obtain the predicted regulatory relationship between any two target genes.
[0147] The description of implementation method D can be found in steps 2023 to 2025. The implementation principles of the two are similar, and will not be repeated here.
[0148] Step 303: For any two target genes, determine whether there is a regulatory relationship between any two target genes based on the probability that there is a regulatory relationship between them.
[0149] Optionally, step 303 includes: if the probability that there is a regulatory relationship between any two target genes is greater than a threshold, then it is determined that there is a regulatory relationship between any two target genes; if the probability that there is a regulatory relationship between any two target genes is not greater than the threshold, then it is determined that there is no regulatory relationship between any two target genes.
[0150] In this embodiment, the value of the threshold is not limited. For example, the value of the threshold is a set value, such as 0.7. Alternatively, the probability of a regulatory relationship between any two target genes is sorted, and the reference number probability after sorting is used as the threshold, such as the 10th probability after sorting. The description of step 303 can be found in the description of step 2031, and the implementation principles of the two are similar, so they will not be repeated here.
[0151] After determining whether there is a regulatory relationship between any two target genes, the pharmacogenomic data or initial characteristics of each target gene can be used as nodes in the regulatory relationship network between target genes. Edges are added before the nodes of two target genes with a regulatory relationship to obtain the regulatory relationship network between target genes. When differentially expressed genes exist among the target genes, the target genes that have a regulatory relationship with the differentially expressed genes can be identified as the regulatory genes of the differentially expressed genes based on the regulatory relationship network between target genes.
[0152] Differentially expressed genes are those identified from various target genes that exhibit differential expression across different cells. For example, the plasmomic data of a target gene includes its expression values in multiple cells, which may be cells of a specific cell type from tissues in different disease states (e.g., cancerous tissue, adjacent normal tissue, etc.). By performing differential gene analysis on the plasmomic data of the target gene, information can be obtained regarding whether the target gene is a differentially expressed gene. For instance, the mean squared error, standard deviation, and other errors of the target gene's expression values in multiple cells are calculated to determine the target gene's error. If the target gene's error is greater than a predetermined error, then the target gene is considered a differentially expressed gene.
[0153] Once the regulatory genes of differentially expressed genes are identified, the products of these gene expression can be determined (i.e., gene function). The products of gene expression regulation include RNA and proteins. Based on these products, disease analysis can be performed, which is beneficial for disease treatment. For example, proteins that regulate gene expression can be used as candidate drug targets. Experimental validation can then identify target drug targets from among these candidate targets. Target drug targets facilitate the binding of small drug molecules and drug discovery, thus contributing to disease treatment.
[0154] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the plasmomic data of the target genes and the labeled regulatory relationships of the target gene pairs involved in this application were obtained with full authorization.
[0155] The aforementioned method uses a regulatory relationship detection model based on the proteomics data of multiple target genes to determine the predicted regulatory relationships between any two target genes. Based on the predicted regulatory relationships between any two target genes, it then determines whether a regulatory relationship exists between any two target genes. This enables the detection of regulatory relationships between two target genes using a regulatory relationship detection model, thereby facilitating the understanding of the mechanisms of disease occurrence and development at the gene regulation level.
[0156] The above describes the training method and detection method of the regulation relationship detection model provided in the embodiments of this application from the perspective of method steps. The following section combines... Figure 4 To describe further, Figure 4 This is a schematic diagram illustrating the detection of a regulatory relationship provided in an embodiment of this application. Wherein, Figure 4The encoder and decoder shown together constitute a neural network model. By training the neural network model, a regulatory relationship detection model is obtained. The regulatory relationship detection model can be used to detect whether there is a regulatory relationship between target genes.
[0157] A regulatory relationship detection model can be trained using sample genes. For example, genes A through F are used to characterize the sample genes. The proteomics data of genes A through F are used as nodes A through F, respectively. Furthermore, reported regulatory relationships between genes can be obtained. For instance, if gene A is reported to have a regulatory relationship with gene B, an edge is added between node A and node B; if gene B is reported to have regulatory relationships with genes A, C, D, and F, then edges are added between node B and nodes A, C, D, and F, and so on, thus obtaining a gene graph.
[0158] For any given node, if the encoder determines, based on the gene graph, that node has neighboring nodes, then the node is updated based on that node and its neighboring nodes. If the encoder determines, based on the gene graph, that node does not have neighboring nodes, then the node is updated based on that node. An edge exists between a node and its neighboring nodes. For example, if node A's neighbor is node B, then node A is updated based on nodes A and B; if node F's neighbors are nodes B and C, then node F is updated based on nodes B, C, and F, and so on. The encoder can update each node multiple times. The node obtained from the last update represents the gene feature of the corresponding gene. For example, node A obtained from the last update represents the gene feature of gene A (referred to as gene feature A), and node B obtained from the last update represents the gene feature of gene B (referred to as gene feature B).
[0159] For any two gene features, the decoder can perform dimensionality reduction on these two features. Using the dimensionality-reduced features, it determines the probability of a regulatory relationship between the two genes, thus determining whether a regulatory relationship exists between them. For example, while performing dimensionality reduction on gene feature A, it simultaneously performs dimensionality reduction on gene feature E, sharing weights during the dimensionality reduction of A and E; that is, the same decoder is used for both features. Next, the probability of an edge between nodes A and E is determined using the dimensionality-reduced features A and E. Since an edge between nodes indicates a regulatory relationship between the corresponding genes, the decoder can determine and output the probability of a regulatory relationship between genes A and E, thus determining whether a regulatory relationship exists between genes A and E.
[0160] By utilizing the probability of a regulatory relationship between any two genes and the reported regulatory relationships between genes, the encoder and decoder of a neural network model can be trained to obtain a regulatory relationship detection model. This model can be used to determine whether a regulatory relationship exists between any two target genes. The method by which the regulatory relationship detection model determines whether a regulatory relationship exists between two target genes is similar to the method by which the neural network model determines whether a regulatory relationship exists between two genes, and will not be elaborated further here.
[0161] By training a regulatory relationship detection model, it is possible to detect whether there is a regulatory relationship between two target genes, which is beneficial to understanding the mechanisms of disease occurrence and development at the gene regulation level.
[0162] Figure 5 The diagram shown is a schematic representation of the structure of a training device for a regulation relationship detection model provided in an embodiment of this application. Figure 5 As shown, the device includes:
[0163] The acquisition module 501 is used to acquire the material composition data of multiple sample genes and the labeled regulatory relationship of at least one sample gene pair. The labeled regulatory relationship of any sample gene pair is the information on the regulatory relationship between the two sample genes in any sample gene pair obtained through labeling.
[0164] The determination module 502 is used to determine the predicted regulatory relationship between any two sample genes in the multiple sample genes based on the material composition data of multiple sample genes through a neural network model. The predicted regulatory relationship between any two sample genes is the probability that there is a regulatory relationship between any two sample genes obtained by prediction.
[0165] Training module 503 is used to train a neural network model based on the labeled regulatory relationship of at least one sample gene pair and the predicted regulatory relationship between each pair of sample genes to obtain a regulatory relationship detection model. The regulatory relationship detection model is used to detect whether there is a regulatory relationship between two target genes.
[0166] In one possible implementation, the determining module 502 is used to extract features from the material composition data of multiple sample genes based on the labeled regulatory relationship of at least one sample gene pair through a neural network model to obtain the gene features of each sample gene; and to determine the predicted regulatory relationship between every two sample genes in the multiple sample genes based on the gene features of each sample gene through a neural network model.
[0167] In one possible implementation, the determining module 502 is configured to, for any sample gene, if it is determined based on the labeled regulatory relationship of at least one sample gene pair that there is an adjacent gene of any sample gene, then, through a neural network model, determine the gene characteristics of any sample gene based on the material composition data of any sample gene and the material composition data of the adjacent genes of any sample gene, wherein the adjacent genes of any sample gene are sample genes that have a regulatory relationship with any sample gene; if it is determined based on the labeled regulatory relationship of at least one sample gene pair that there is no adjacent gene of any sample gene, then, through a neural network model, determine the gene characteristics of any sample gene based on the material composition data of any sample gene.
[0168] In one possible implementation, the determination module 502 is used to determine each sample node based on the material composition data of each sample gene, where each sample node represents the material composition data of one sample gene; for any two sample nodes, if it is determined that there is a regulatory relationship between the sample genes corresponding to the two sample nodes based on the labeled regulatory relationship of at least one sample gene pair, then a sample edge is added between the two sample nodes; the sample gene graph is used to extract features from the sample gene graph through a neural network model to obtain the gene features of each sample gene, and the sample gene graph includes each sample node and sample edge.
[0169] In one possible implementation, the determining module 502 is configured to, for any sample node, if it is determined based on the sample gene graph that there are adjacent nodes of any sample node, then determine the gene characteristics of the sample gene corresponding to any sample node based on any sample node and its adjacent nodes, wherein the adjacent nodes of any sample node are sample nodes that have sample edges with any sample node; if it is determined based on the sample gene graph that there are no adjacent nodes of any sample node, then determine the gene characteristics of the sample gene corresponding to any sample node based on any sample node.
[0170] In one possible implementation, the determining module 502 is used to determine the similarity between the gene features of any two sample genes from a plurality of sample genes by means of a neural network model; and to determine the predictive regulatory relationship between the two sample genes based on the similarity between the gene features of any two sample genes.
[0171] In one possible implementation, the determining module 502 is used to determine a sample scatter plot based on the plasmometric data of any two sample genes from a plurality of sample genes. The plasmometric data of any sample gene includes the expression value of the sample gene in multiple cells. The sample scatter plot includes multiple sample points, and any sample point represents the expression value of any two sample genes in the same cell. The sample scatter plot is then used to extract features from the sample scatter plot using a neural network model to obtain sample image features. The sample image features are then classified using a neural network model, and the classification result is used as a predictive regulatory relationship between any two sample genes.
[0172] In one possible implementation, the determining module 502 is used to divide the sample scatter plot into multiple sample image regions; and to extract features from the sample scatter plot based on the number of sample points in each sample image region using a neural network model to obtain sample image features.
[0173] In one possible implementation, the training module 503 is used to determine a reference regulatory relationship between any two sample genes based on the predicted regulatory relationship between the two sample genes. The reference regulatory relationship between any two sample genes is information on whether there is a regulatory relationship between any two sample genes obtained through prediction. Based on the labeled regulatory relationship of at least one sample gene pair and the reference regulatory relationship between each pair of sample genes, a neural network model is trained to obtain a regulatory relationship detection model.
[0174] The aforementioned device uses a neural network model to determine the predicted regulatory relationship between every two sample genes based on the material composition data of multiple sample genes. Based on the labeled regulatory relationship of at least one sample gene pair and the predicted regulatory relationship between every two sample genes, the neural network model is trained to obtain a regulatory relationship detection model. This allows the regulatory relationship detection model to detect whether there is a regulatory relationship between two target genes, which is beneficial for understanding the mechanisms of disease occurrence and development at the gene regulation level.
[0175] It should be understood that the above Figure 5 The provided device, in implementing its functions, is only illustrated by the division of the above-described functional modules. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, and will not be repeated here.
[0176] Figure 6 The diagram shown is a structural schematic of a detection device for a regulatory relationship provided in an embodiment of this application. Figure 6As shown, the device includes:
[0177] The acquisition module 601 is used to acquire materialome data and regulatory relationship detection models of multiple target genes. The regulatory relationship detection model is trained according to the training method of the regulatory relationship detection model mentioned above.
[0178] The determination module 602 is used to determine the predicted regulatory relationship between any two target genes based on the material composition data of multiple target genes through the regulatory relationship detection model. The predicted regulatory relationship between any two target genes is the probability that there is a regulatory relationship between any two target genes obtained by prediction.
[0179] The determination module 602 is also used to determine whether there is a regulatory relationship between any two target genes based on the probability that there is a regulatory relationship between the two target genes.
[0180] In one possible implementation, the determining module 602 is used to obtain the labeled regulatory relationship of at least one target gene pair. The labeled regulatory relationship of any target gene pair is information about the regulatory relationship between the two target genes in the target gene pair obtained through labeling. Based on the labeled regulatory relationship of at least one target gene pair, the regulatory relationship detection model extracts features from the material composition data of multiple target genes to obtain the gene features of each target gene. Based on the gene features of each target gene, the regulatory relationship detection model determines the predicted regulatory relationship between every two target genes.
[0181] In one possible implementation, the determining module 602 is used to determine a target scatter plot based on the plasmometric data of any two target genes. The plasmometric data of any one target gene includes the expression value of the target gene in multiple cells. The target scatter plot includes multiple target points, and any target point represents the expression value of any two target genes in the same cell. The target scatter plot is then used to extract features from the target scatter plot through a regulatory relationship detection model to obtain target image features. The target image features are then classified through the regulatory relationship detection model to obtain the predicted regulatory relationship between any two target genes.
[0182] In one possible implementation, the determining module 602 is used to determine that any two target genes have a regulatory relationship if the probability of a regulatory relationship between them is greater than a threshold, and to determine that no two target genes have a regulatory relationship if the probability of a regulatory relationship between them is not greater than the threshold.
[0183] The aforementioned device, based on the materialome data of multiple target genes, uses a regulatory relationship detection model to determine the predicted regulatory relationship between any two target genes. Based on the predicted regulatory relationship between any two target genes, it then determines whether a regulatory relationship exists between any two target genes. This enables the detection of a regulatory relationship between two target genes using a regulatory relationship detection model, thereby facilitating the understanding of the mechanisms of disease occurrence and development at the gene regulation level.
[0184] It should be understood that the above Figure 6 The provided device, in implementing its functions, is only illustrated by the division of the above-described functional modules. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, and will not be repeated here.
[0185] Figure 7 A structural block diagram of a terminal device 700 provided in an exemplary embodiment of this application is shown. The terminal device 700 includes a processor 701 and a memory 702.
[0186] Processor 701 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 701 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 701 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 701 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 701 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0187] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 702 are used to store at least one computer program, which is executed by the processor 701 to implement the training method or the detection method of the regulation relationship detection model provided in the method embodiments of this application.
[0188] In some embodiments, the terminal device 700 may also optionally include a peripheral device interface 703 and at least one peripheral device. The processor 701, memory 702, and peripheral device interface 703 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, and a power supply 708.
[0189] Peripheral device interface 703 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 701 and memory 702. In some embodiments, processor 701, memory 702 and peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 701, memory 702 and peripheral device interface 703 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0190] The radio frequency (RF) circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 704 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 704 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 704 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0191] Display screen 705 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 705 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 701 for processing. In this case, display screen 705 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, display screen 705 may be a single screen, disposed on the front panel of terminal device 700; in other embodiments, display screen 705 may be at least two screens, disposed on different surfaces of terminal device 700 or in a folded design; in still other embodiments, display screen 705 may be a flexible display screen, disposed on a curved or folded surface of terminal device 700. Furthermore, display screen 705 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 705 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0192] The camera assembly 706 is used to acquire images or videos. Optionally, the camera assembly 706 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0193] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 701 for processing, or input to the radio frequency circuit 704 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal device 700. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 707 may also include a headphone jack.
[0194] Power supply 708 is used to supply power to the various components in terminal device 700. Power supply 708 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 708 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0195] In some embodiments, the terminal device 700 further includes one or more sensors 709. The one or more sensors 709 include, but are not limited to, an accelerometer 711, a gyroscope 712, a pressure sensor 713, an optical sensor 714, and a proximity sensor 715.
[0196] Accelerometer 711 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal device 700. For example, accelerometer 711 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 701 can control display screen 705 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 711. Accelerometer 711 can also be used for games or for acquiring user motion data.
[0197] The gyroscope sensor 712 can detect the orientation and rotation angle of the terminal device 700. The gyroscope sensor 712, in conjunction with the accelerometer sensor 711, can collect 3D motion data from the user on the terminal device 700. Based on the data collected by the gyroscope sensor 712, the processor 701 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0198] The pressure sensor 713 can be disposed on the side bezel of the terminal device 700 and / or on the lower layer of the display screen 705. When the pressure sensor 713 is disposed on the side bezel of the terminal device 700, it can detect the user's grip signal on the terminal device 700, and the processor 701 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed on the lower layer of the display screen 705, the processor 701 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 705. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0199] An optical sensor 714 is used to collect ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 714. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is decreased. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 based on the ambient light intensity collected by the optical sensor 714.
[0200] The proximity sensor 715, also known as a distance sensor, is typically located on the front panel of the terminal device 700. The proximity sensor 715 is used to detect the distance between the user and the front of the terminal device 700. In one embodiment, when the proximity sensor 715 detects that the distance between the user and the front of the terminal device 700 is gradually decreasing, the processor 701 controls the display screen 705 to switch from a screen-on state to a screen-off state; when the proximity sensor 715 detects that the distance between the user and the front of the terminal device 700 is gradually increasing, the processor 701 controls the display screen 705 to switch from a screen-off state to a screen-on state.
[0201] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on the terminal device 700, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0202] Figure 8 This is a schematic diagram of the server structure provided in the embodiments of this application. The server 800 can vary considerably due to different configurations or performance. It may include one or more processors 801 and one or more memories 802. The one or more memories 802 store at least one computer program, which is loaded and executed by the one or more processors 801 to implement the training method or detection method of the regulation relationship detection model provided in the above-described method embodiments. For example, the processor 801 is a CPU. Of course, the server 800 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 800 may also include other components for implementing device functions, which will not be elaborated here.
[0203] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one computer program, which is loaded and executed by a processor to enable an electronic device to implement the training method of any of the above-described regulatory relationship detection models or the regulatory relationship detection method.
[0204] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0205] In an exemplary embodiment, a computer program or computer program product is also provided, which stores at least one computer program, which is loaded and executed by a processor to enable an electronic device to implement the training method of any of the above-described regulatory relationship detection models or the regulatory relationship detection method.
[0206] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0207] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0208] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A training method for a regulatory relationship detection model, characterized in that, The method includes: The materialome data of multiple sample genes and the labeled regulatory relationship of at least one sample gene pair are obtained. The labeled regulatory relationship of any sample gene pair is information on the regulatory relationship between the two sample genes in the sample gene pair obtained by labeling. The materialome data of the sample genes includes the expression values of the sample genes in multiple cells. For any two sample genes among the multiple sample genes, the expression values of the two sample genes in the same cell are used as the x-coordinate and y-coordinate of the sample points, respectively, and a sample scatter plot is determined based on the x-coordinate and y-coordinate of the multiple sample points. The sample scatter plot is divided into a set number of sample image regions. An input matrix is constructed based on the set number of sample image regions. The input matrix includes a set number of data points. The i-th data point indicates the number of sample points in the i-th sample image region or the sample point density in the i-th sample image region. The i-th data point takes the value of any positive integer from 1 to the set number. The input matrix is reduced in dimensionality using a neural network model to obtain sample image features. The neural network model is used to classify the features of the sample images to obtain the predicted regulatory relationship between any two sample genes. The predicted regulatory relationship between any two sample genes is the probability that there is a regulatory relationship between any two sample genes. If, based on the labeled regulatory relationship of the at least one sample gene pair, it is determined that there is an adjacent gene of any sample gene, the material composition data of the sample gene and the material composition data of the adjacent gene are spliced together to obtain spliced data. The gene features of the sample gene are obtained by performing feature extraction on the spliced data through a neural network model. The adjacent gene is a sample gene that has a regulatory relationship with the sample gene. Based on the gene characteristics of each sample gene, the neural network model determines the predictive regulatory relationship between every two sample genes. The predicted regulatory relationship between any two sample genes is binarized by a threshold to obtain the reference regulatory relationship between the two sample genes. The reference regulatory relationship between the two sample genes is the information of whether there is a regulatory relationship between the two sample genes obtained by prediction. Based on the labeled regulatory relationship of at least one sample gene pair and the reference regulatory relationship between each pair of sample genes, cross-entropy loss is calculated. The neural network model is trained based on the cross-entropy loss to obtain a regulatory relationship detection model. The regulatory relationship detection model is used to detect whether there is a regulatory relationship between two target genes.
2. The method according to claim 1, characterized in that, The method further includes: If it is determined based on the labeling and regulatory relationship of the at least one sample gene pair that there is no adjacent gene for any of the sample genes, then the gene characteristics of any of the sample genes are determined by the neural network model based on the material composition data of any of the sample genes.
3. The method according to claim 1, characterized in that, Based on the labeled regulatory relationships of at least one sample gene pair, a neural network model is used to extract features from the material genome data of the multiple sample genes to obtain the gene features of each sample gene, including: Each sample node is determined based on the material composition data of each sample gene, and each sample node represents the material composition data of one sample gene. For any two sample nodes, if it is determined that there is a regulatory relationship between the sample genes corresponding to the at least one sample gene pair, then a sample edge is added between the two sample nodes. The neural network model is used to extract features from the sample gene graph to obtain the gene features of each sample gene. The sample gene graph includes each sample node and the sample edge.
4. The method according to claim 3, characterized in that, The step of extracting features from the sample gene map using the neural network model to obtain the gene features of each sample gene includes: For any sample node, if it is determined that there are adjacent nodes of the sample node based on the sample gene graph, then the gene characteristics of the sample gene corresponding to the sample node are determined based on the sample node and the adjacent nodes of the sample node. The adjacent nodes of the sample node are sample nodes that have sample edges with the sample node. If it is determined based on the sample gene map that there are no adjacent nodes for any of the sample nodes, then the gene characteristics of the sample gene corresponding to the sample node are determined based on the sample node.
5. The method according to claim 1, characterized in that, Based on the gene characteristics of each sample gene, the neural network model determines the predictive regulatory relationship between every two sample genes, including: For any two sample genes among the plurality of sample genes, the similarity between the gene features of the two sample genes is determined by the neural network model; Based on the similarity between the gene features of any two sample genes, the predictive regulatory relationship between the two sample genes is determined.
6. A method for detecting a regulatory relationship, characterized in that, The method includes: Acquire materialome data and regulatory relationship detection models for multiple target genes, wherein the regulatory relationship detection models are trained according to the method described in any one of claims 1 to 5; Based on the material composition data of the multiple target genes, the regulatory relationship detection model determines the predicted regulatory relationship between any two target genes. The predicted regulatory relationship between any two target genes is the probability that there is a regulatory relationship between any two target genes. For any two target genes, determine whether there is a regulatory relationship between them based on the probability that there is a regulatory relationship between them.
7. The method according to claim 6, characterized in that, The step of determining the predicted regulatory relationship between every two target genes based on the proteomics data of the multiple target genes using the regulatory relationship detection model includes: Obtain the labeled regulatory relationship of at least one target gene pair. The labeled regulatory relationship of any target gene pair is the information obtained by labeling that there is a regulatory relationship between the two target genes in the target gene pair. Based on the labeled regulatory relationship of the at least one target gene pair, the regulatory relationship detection model is used to extract features from the material composition data of the multiple target genes to obtain the gene features of each target gene. Based on the gene characteristics of each target gene, the regulatory relationship detection model determines the predicted regulatory relationship between every two target genes.
8. The method according to claim 6, characterized in that, The step of determining the predicted regulatory relationship between every two target genes based on the proteomics data of the multiple target genes using the regulatory relationship detection model includes: For any two target genes, a target scatter plot is determined based on the material composition data of the two target genes. The material composition data of any one target gene includes the expression value of the one target gene in multiple cells. The target scatter plot includes multiple target points, and any one target point represents the expression value of the two target genes in the same cell. The target image features are obtained by extracting features from the target scatter plot using the aforementioned regulation relationship detection model. The target image features are classified using the regulatory relationship detection model to obtain the predicted regulatory relationship between any two target genes.
9. The method according to claim 6, characterized in that, Determining whether there is a regulatory relationship between any two target genes based on the probability that there is a regulatory relationship between them includes: If the probability of a regulatory relationship between any two target genes is greater than a threshold, then a regulatory relationship between any two target genes is determined. If the probability of a regulatory relationship between any two target genes is not greater than the threshold, then it is determined that there is no regulatory relationship between any two target genes.
10. A training device for a regulatory relationship detection model, characterized in that, The device includes: The acquisition module is used to acquire the plasmic data of multiple sample genes and the labeled regulatory relationship of at least one sample gene pair. The labeled regulatory relationship of any sample gene pair is information on the regulatory relationship between the two sample genes in the sample gene pair obtained through labeling. The plasmic data of the sample genes includes the expression values of the sample genes in multiple cells. A determination module is used to, for any two sample genes among the plurality of sample genes, use the expression values of the two sample genes in the same cell as the x-coordinate and y-coordinate of the sample points, respectively, and determine a sample scatter plot based on the x-coordinate and y-coordinate of the plurality of sample points; divide the sample scatter plot into a set number of sample image regions, construct an input matrix based on the set number of sample image regions, the input matrix including a set number of data, the i-th data indicating the number of sample points or the sample point density of the i-th sample image region, where i takes the value of 1 to any positive integer from the set number; perform dimensionality reduction processing on the input matrix through a neural network model to obtain sample image features; perform classification processing on the sample image features through the neural network model to obtain the predicted regulatory relationship between any two sample genes, the predicted regulatory relationship between any two sample genes being the probability that there is a regulatory relationship between the predicted two sample genes; The determining module is further configured to, if determined based on the labeled regulatory relationship of the at least one sample gene pair, have an adjacent gene for any sample gene, splice the material composition data of the arbitrary sample gene and the material composition data of the adjacent gene to obtain spliced data, perform feature extraction on the spliced data using a neural network model to obtain the gene features of the arbitrary sample gene, wherein the adjacent gene is a sample gene that has a regulatory relationship with the arbitrary sample gene; and determine the predicted regulatory relationship between every two sample genes based on the gene features of each sample gene using the neural network model. The training module is used to binarize the predicted regulatory relationship between any two sample genes by using a threshold to obtain the reference regulatory relationship between the two sample genes. The reference regulatory relationship between the two sample genes is the information on whether there is a regulatory relationship between the two sample genes obtained by prediction. Based on the labeled regulatory relationship of the at least one sample gene pair and the reference regulatory relationship between each pair of sample genes, the cross-entropy loss is calculated. The neural network model is trained based on the cross-entropy loss to obtain a regulatory relationship detection model. The regulatory relationship detection model is used to detect whether there is a regulatory relationship between two target genes.
11. The apparatus according to claim 10, characterized in that, The determining module is further configured to, if it is determined based on the labeling and regulatory relationship of the at least one sample gene pair that there is no adjacent gene of any sample gene, then determine the gene characteristics of any sample gene based on the material composition data of any sample gene through the neural network model.
12. The apparatus according to claim 10, characterized in that, The determining module is used to determine each sample node based on the material composition data of each sample gene, where each sample node represents the material composition data of one sample gene. For any two sample nodes, if it is determined that there is a regulatory relationship between the sample genes corresponding to the at least one sample gene pair, then a sample edge is added between the two sample nodes; the neural network model is used to extract features from the sample gene graph to obtain the gene features of each sample gene, and the sample gene graph includes each sample node and the sample edge.
13. The apparatus according to claim 12, characterized in that, The determining module is used to determine the gene characteristics of the sample gene corresponding to any sample node based on the sample gene graph if it is determined that there are adjacent nodes of the sample node based on the sample gene graph. The adjacent nodes of the sample node are sample nodes that have sample edges with the sample node. If it is determined based on the sample gene map that there are no adjacent nodes for any of the sample nodes, then the gene characteristics of the sample gene corresponding to the sample node are determined based on the sample node.
14. The apparatus according to claim 10, characterized in that, The determining module is used to determine the similarity between the gene features of any two sample genes among the plurality of sample genes through the neural network model. Based on the similarity between the gene features of any two sample genes, the predictive regulatory relationship between the two sample genes is determined.
15. A detection device for a regulatory relationship, characterized in that, The device includes: An acquisition module is used to acquire materialome data and a regulatory relationship detection model for multiple target genes, wherein the regulatory relationship detection model is trained according to the method described in any one of claims 1 to 5; The determination module is used to determine the predicted regulatory relationship between any two target genes based on the material composition data of the plurality of target genes through the regulatory relationship detection model. The predicted regulatory relationship between any two target genes is the probability that there is a regulatory relationship between any two target genes obtained by prediction. The determining module is further configured to determine, for any two target genes, whether there is a regulatory relationship between them based on the probability that there is a regulatory relationship between them.
16. The apparatus according to claim 15, characterized in that, The determining module is used to obtain the labeled regulatory relationship of at least one target gene pair. The labeled regulatory relationship of any target gene pair is obtained by labeling information on the regulatory relationship between the two target genes in the target gene pair. Based on the labeled regulatory relationship of the at least one target gene pair, the regulatory relationship detection model is used to extract features from the material composition data of the multiple target genes to obtain the gene features of each target gene. Based on the gene characteristics of each target gene, the regulatory relationship detection model determines the predicted regulatory relationship between every two target genes.
17. The apparatus according to claim 15, characterized in that, The determining module is used to determine a target scatter plot based on the plasmometric data of any two target genes. The plasmometric data of any one target gene includes the expression value of the target gene in multiple cells. The target scatter plot includes multiple target points, and any target point represents the expression value of any two target genes in the same cell. The module then extracts features from the target scatter plot using the regulatory relationship detection model to obtain target image features. Finally, the module classifies the target image features using the regulatory relationship detection model to obtain the predicted regulatory relationship between the two target genes.
18. The apparatus according to claim 15, characterized in that, The determining module is configured to determine that there is a regulatory relationship between any two target genes if the probability of a regulatory relationship between any two target genes is greater than a threshold; and to determine that there is no regulatory relationship between any two target genes if the probability of a regulatory relationship between any two target genes is not greater than the threshold.
19. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one computer program, which is loaded and executed by the processor to enable the electronic device to implement the training method of the regulation relationship detection model as described in any one of claims 1 to 5 or the detection method of the regulation relationship as described in any one of claims 6 to 9.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to enable an electronic device to implement the training method of the regulation relationship detection model as described in any one of claims 1 to 5 or the detection method of the regulation relationship as described in any one of claims 6 to 9.
21. A computer program product, characterized in that, The computer program product stores at least one computer program, which is loaded and executed by a processor to enable the electronic device to implement the training method of the regulation relationship detection model as described in any one of claims 1 to 5 or the detection method of the regulation relationship as described in any one of claims 6 to 9.
Citation Information
Patent Citations
Omics data processing method and device, electronic equipment and storage medium
CN114429786A
