m6a rna methylation site prediction method, device, equipment and medium
By constructing features and training models on the target genome, and combining conserved features, one-hot coding, and distance coding, high-accuracy prediction of m6A RNA methylation sites was achieved, solving the problem of inaccurate prediction caused by ignoring different regions of transcripts in existing technologies.
Patent Information
- Application Number
- CN202310764944.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-06-26
AI Technical Summary
Existing methods for predicting m6A RNA methylation sites only consider the sequence information of the transcript and ignore different regions of the transcript, resulting in low prediction accuracy.
By constructing features on the target genome, conserved features, one-hot coding sequences, and distance coding are obtained. Pre-trained information extraction and classification models are used to extract hidden state sequence information and predict probabilities, taking into account the sequence information of transcripts and the characteristics of different regions.
It improves the accuracy of m6A RNA methylation site prediction and fully considers the sequence information of transcripts and the characteristics of different regions.
Smart Images

Figure CN116884482B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of artificial intelligence and medical health technology, and in particular to a method, apparatus, device and medium for predicting m6A RNA methylation sites. Background Technology
[0002] RNA (ribonucleic acid) methylation is a common epigenetic modification of RNA that regulates RNA structure and function, and participates in RNA metabolism at various stages of life. N6-methyladenine (m6A) is the most prevalent modification in eukaryotic mRNA (messenger ribonucleic acid) and is involved in various biological processes and disease mechanisms. Therefore, the prediction of m6A RNA methylation sites is of great significance to the healthcare industry. Existing methods for predicting m6A RNA methylation sites only consider the sequence information of the transcript, ignoring different regions of the transcript that also have a significant impact on the formation and function of the modification, resulting in low accuracy in predicting m6A RNA methylation sites. Summary of the Invention
[0003] Based on this, it is necessary to address the technical problem of low accuracy in predicting m6A RNA methylation sites in existing technologies, and propose a method, device, equipment, and medium for predicting m6A RNA methylation sites.
[0004] Firstly, a method for predicting m6A RNA methylation sites is provided, the method comprising:
[0005] Obtain the target genome;
[0006] The target genome is used to construct features, resulting in conserved features, one-hot coding sequences, positional coding, and distance coding.
[0007] The one-hot encoded sequence, the positional encoding, and the distance encoding are input into a pre-trained information extraction model to extract hidden state sequence information.
[0008] The hidden state sequence information and the conservation features are input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, thus obtaining a prediction vector.
[0009] The prediction result is determined based on the prediction vector.
[0010] Secondly, an m6A RNA methylation site prediction device is provided, the device comprising:
[0011] The data acquisition module is used to acquire the target genome;
[0012] The feature construction module is used to construct features from the target genome to obtain conserved features, one-hot coding sequences, positional codes, and distance codes.
[0013] The information extraction module is used to input the one-hot encoded sequence, the positional encoding, and the distance encoding into a pre-trained information extraction model to extract hidden state sequence information.
[0014] The probability prediction module is used to input the hidden state sequence information and the conservation features into a pre-trained classification model to predict the probability of each nucleotide being an m6A RNA methylation site, and to obtain a prediction vector.
[0015] The prediction result determination module is used to determine the prediction result based on the prediction vector.
[0016] Thirdly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described m6ARNA methylation site prediction method.
[0017] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described m6A RNA methylation site prediction method.
[0018] The method for predicting m6A RNA methylation sites in this application involves constructing features from the target genome to obtain conserved features, one-hot coding sequences, positional codes, and distance codes. The one-hot coding sequences, positional codes, and distance codes are then input into a pre-trained information extraction model to extract hidden state sequence information. The hidden state sequence information and the conserved features are then input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, resulting in a prediction vector. The prediction result is determined based on the prediction vector. This method achieves probability prediction of each nucleotide being an m6A RNA methylation site based on the conserved features, one-hot coding sequences, positional codes, and distance codes of the target genome. It considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, thus improving the accuracy of m6A RNA methylation site prediction. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] in:
[0021] Figure 1 This is a diagram illustrating the application environment of the m6A RNA methylation site prediction method in one embodiment.
[0022] Figure 2 This is a flowchart of a method for predicting m6A RNA methylation sites in one embodiment;
[0023] Figure 3 This is a structural block diagram of an m6A RNA methylation site prediction device in one embodiment;
[0024] Figure 4 This is a structural block diagram of a computer device in one embodiment;
[0025] Figure 5 This is another structural block diagram of a computer device in one embodiment. Detailed Implementation
[0026] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0027] The m6A RNA methylation site prediction method provided in this invention can be applied to, for example... Figure 1In this application environment, client 110 communicates with server 120 via a network. Server 120 can obtain the target genome through client 110. Server 120 performs feature construction on the target genome to obtain conserved features, one-hot coding sequences, position codes, and distance codes. The one-hot coding sequences, position codes, and distance codes are input into a pre-trained information extraction model to extract hidden state sequence information. The hidden state sequence information and the conserved features are input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, resulting in a prediction vector. Based on the prediction vector, the prediction result is determined. Server 120 sends the prediction result to client 110. This achieves probability prediction of each nucleotide being an m6A RNA methylation site based on the conserved features, one-hot coding sequences, position codes, and distance codes of the target genome. This considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, improving the accuracy of m6A RNA methylation site prediction.
[0028] In another embodiment, client 110 acquires the target genome, constructs features from the target genome to obtain conserved features, one-hot coding sequences, positional codes, and distance codes. The one-hot coding sequences, positional codes, and distance codes are input into a pre-trained information extraction model to extract hidden state sequence information. The hidden state sequence information and the conserved features are input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, resulting in a prediction vector. Based on the prediction vector, the prediction result is determined. This achieves probability prediction of each nucleotide being an m6A RNA methylation site based on the conserved features, one-hot coding sequences, positional codes, and distance codes of the target genome. It considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, improving the accuracy of m6A RNA methylation site prediction.
[0029] The client 110 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server 120 can be implemented using a standalone server or a server cluster consisting of multiple servers. The invention will now be described in detail through specific embodiments.
[0030] Please see Figure 2 As shown, Figure 2 A flowchart illustrating the m6A RNA methylation site prediction method provided in this embodiment of the invention includes the following steps:
[0031] S1: Obtain the target genome;
[0032] The target genome is the genome of the organism whose m6A RNA methylation sites are to be predicted. The target organism is a living organism, such as a human or animal.
[0033] Specifically, it can obtain the target genome input by the user, the target genome from storage space, the target genome from a third-party application, or the target genome from the client.
[0034] S2: Perform feature construction on the target genome to obtain conserved features, one-hot coding sequences, positional coding, and distance coding;
[0035] The conservatism feature is a vector, and each element of the vector corresponds to a conservatism assessment tool. The value of each element is the conservatism score.
[0036] A one-hot coding sequence contains multiple one-hot coding vectors, each corresponding to a nucleotide in the transcript. The i-th one-hot coding vector in the one-hot coding sequence is the set of one-hot codes for the i-th nucleotide in the transcript, where i is an integer greater than 0.
[0037] Positional encoding contains multiple positional data points, each corresponding to a single nucleotide in the transcript. The positional encoding is the set of positions of the i-th nucleotide within the i-th positional data point.
[0038] The distance encoding contains multiple distance data points, each corresponding to a single nucleotide in the transcript. The distance encoding is a set of distances to the i-th nucleotide in the i-th distance data point.
[0039] Transcripts are one or more mature mRNAs that can encode proteins, formed by the transcription of a gene.
[0040] In this application, each locus corresponds to one transcript. A locus, also known as a gene locus, is a specific location on a chromosome where a gene resides.
[0041] Optionally, the vector information of 101 nucleotides surrounding each site (50 upstream and 50 downstream) can be taken as a transcript.
[0042] Nucleotides are compounds composed of purine or pyrimidine bases, ribose or deoxyribose, and phosphate. They are also known as nucleotides. Pentoses react with organic bases to form nucleosides, which in turn react with phosphate to form nucleotides. These eight types of nucleotides make up nucleic acids. Nucleotides primarily participate in the formation of nucleic acids, and many mononucleotides also have various important biological functions, such as adenosine triphosphate (ATP) and dehydrogenases, which are involved in energy metabolism.
[0043] Specifically, the target genome is characterized by transcriptome feature construction to obtain conserved features for different species, one-hot coding sequences for nucleotide information, positional coding for the region to which the nucleotide belongs, and distance coding for the distance information of the nucleotide.
[0044] S3: Input the one-hot encoded sequence, the positional encoding, and the distance encoding into the pre-trained information extraction model to extract hidden state sequence information;
[0045] Specifically, the one-hot encoded sequence, the positional encoding, and the distance encoding are input into a pre-trained information extraction model. This model performs information transformation on the one-hot encoded sequence, the positional encoding, and the distance encoding to extract more important information, which is then used as hidden state sequence information. This provides a foundation for predicting the probability of each nucleotide being an m6A RNA methylation site based on the hidden state sequence information, fully considering the sequence information of the transcript.
[0046] S4: Input the hidden state sequence information and the conservation features into the pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, and obtain the prediction vector;
[0047] Specifically, the hidden state sequence information and the conservation features are input into a pre-trained classification model. The classification model will predict the probability of each nucleotide in the transcript being an m6A RNA methylation site and use the predicted data as a prediction vector.
[0048] Each vector element in the prediction vector corresponds to a nucleotide in the transcript, and the value of the vector element in the prediction vector is the probability that the nucleotide corresponding to that vector element is an m6A RNA methylation site.
[0049] S5: Determine the prediction result based on the prediction vector.
[0050] Specifically, K vector elements with the largest values are selected from the prediction vectors, and all nucleotides corresponding to all selected vector elements are used as the prediction results corresponding to the target genome, where K is an integer greater than 0.
[0051] Optionally, K vector elements with the largest values are selected from the prediction vectors, and the nucleotides corresponding to each selected vector element and their positions in the transcript are associated to obtain associated data; each associated data is used as the prediction result corresponding to the target genome.
[0052] This embodiment constructs features from the target genome to obtain conserved features, one-hot coding sequences, positional codes, and distance codes. The one-hot coding sequences, positional codes, and distance codes are then input into a pre-trained information extraction model to extract hidden state sequence information. The hidden state sequence information and the conserved features are then input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, resulting in a prediction vector. Based on the prediction vector, the prediction result is determined. This achieves probability prediction of each nucleotide being an m6A RNA methylation site based on the conserved features, one-hot coding sequences, positional codes, and distance codes of the target genome. It considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, improving the accuracy of m6A RNA methylation site prediction.
[0053] In one embodiment, the step of feature construction on the target genome to obtain conserved features, one-hot coding sequences, positional coding, and distance coding includes:
[0054] S21: Calculate the conservation characteristics of the transcripts in the target genome;
[0055] Specifically, the conservation characteristics of transcripts (i.e., transcripts corresponding to sites) in the target genome are calculated across different species.
[0056] S22: Perform one-hot coding on each nucleotide in the transcript of the target genome to obtain the one-hot coding sequence;
[0057] Specifically, each nucleotide in the transcript of the target genome is individually encoded using a one-hot encoding method, and each one-hot encoding corresponding to each nucleotide is used as an one-hot encoding vector; according to the order of each nucleotide in the transcript, the sequence of each one-hot encoding vector is generated to obtain the one-hot encoding sequence.
[0058] Each nucleotide is identified by a four-dimensional vector, which is called the one-hot encoding vector, where only one element is 1 and the rest are 0. For example, the four-dimensional vector includes: A = [1,0,0,0], C = [0,1,0,0], G = [0,0,1,0], U = [0,0,0,1], where adenine (A), cytosine (C), guanine (G), and uracil (U) are represented.
[0059] S23: Encode the region to which each nucleotide in the transcript belongs in the target genome to obtain the positional encoding;
[0060] Specifically, the target genome is encoded by encoding the region to which each nucleotide in the transcript belongs, and all the codes of each nucleotide region are used as position data; according to the order of each nucleotide in the transcript, the position data are sequenced to obtain the position code.
[0061] For example, the regions to which the nucleotides belong include: 5'UTR, CDS, 3'UTR, introns, and exons. If a nucleotide is in the CDS, then the corresponding CDS value is represented by 1, and other characteristics are represented by 0. CDS is the DNA (deoxyribonucleic acid) sequence that corresponds one-to-one with the protein sequence, and there are no other sequences unrelated to the protein in the middle of the sequence, making it closest to reality. 5'UTR, or 5' untranslated region, refers to the region of mature mRNA located upstream of the coding region (CDS) and downstream of the 5' cap, which is not translated into protein. 3'UTR, or 3' untranslated region, is the 3' untranslated region at the 3' end of the mRNA.
[0062] S24: Calculate the distance to each nucleotide in the transcript of the target genome to obtain the distance code.
[0063] Specifically, the distance to each nucleotide in the transcript of the target genome is calculated, and all distances calculated for each nucleotide are used as distance data; according to the order of each nucleotide in the transcript, the distance data is sequenced to obtain the distance code.
[0064] This embodiment analyzes the transcriptomic conservation characteristics, one-hot coding sequences, positional coding, and distance coding of the target genome, providing a basis for predicting the probability of each nucleotide being an m6A RNA methylation site based on the conservation characteristics, one-hot coding sequences, positional coding, and distance coding of the target genome.
[0065] In one embodiment, the step of calculating the conservation characteristics of transcripts of the target genome includes:
[0066] S211: Using each preset conservation assessment tool, calculate the conservation score of transcripts of the target genome in different species;
[0067] The range of conservation assessment tools includes, but is not limited to, PhastCons (which calculates sequence conservation based on the phylo-HMM model) and PhyloP.
[0068] PhastCons is a method based on hidden Markov models that estimates the probability that each nucleotide belongs to a conserved element based on multiple alignments.
[0069] PhyloP measures both acceleration (evolution faster than expected under neutral drift) and conservation (evolution slower than expected). In a phyloP plot, sites predicted to be conserved are assigned positive scores (shown in blue), while sites predicted to evolve rapidly are assigned negative scores (shown in red). The absolute value of the score represents the logarithm p-value under the null hypothesis of neutral evolution. In contrast, the phastCons score represents the probability of negative selection, ranging between 0 and 1.
[0070] Specifically, based on the multiple sequence comparison method, each preset conservation assessment tool is used to calculate the conservation score of transcripts in different species for the target genome.
[0071] Conservative score, also known as conservative value, indicates that the higher the conservative score, the more conservative the locus.
[0072] S212: Concatenate the conservatism scores into vectors to obtain the conservatism features of the transcript.
[0073] Specifically, the conservation scores are concatenated into vectors according to a preset first concatenation order, and the concatenated vectors are used as the conservation features of the transcript.
[0074] Methylation information from other species also provides some reference information for predicting methylation sites in humans. When the corresponding site is methylated in other species, it indicates that the probability of methylation at that site is also higher. Therefore, this embodiment uses different tools to perform vector concatenation of the conservation scores of transcripts in different species for the target genome as the conservation feature of the transcripts, thereby enabling the use of methylation information from different species as a reference and further improving the accuracy of m6A RNA methylation site prediction.
[0075] In one embodiment, the step of calculating the distance to each nucleotide in the transcript of the target genome to obtain the distance encoding includes:
[0076] S241: Calculate the distance between each nucleotide in the transcript of the target genome and the 5' exon to obtain a first distance;
[0077] The 5' end is a term used in biochemistry and molecular biology to define a single strand of DNA or RNA that has a free 5'-hydroxyl group or its phosphate ester. A nucleic acid strand is typically written from the 5' end to the 3' end.
[0078] An exon, short for expressed region, is a coding sequence within a spliced gene and is part of a eukaryotic gene. Exons are preserved after splicing and can be expressed as proteins during protein biosynthesis. Exons are the gene sequences that are the last to appear in mature RNA and are also known as expressed sequences.
[0079] Specifically, the distance between each nucleotide in the transcript and the 5' exon in the target genome is calculated, and the distance calculated for each nucleotide is used as the first distance.
[0080] S242: Calculate the distance between each nucleotide in the transcript of the target genome and the 3' exon to obtain a second distance;
[0081] The 3' end is a term in biochemistry and molecular biology used to define a single strand of DNA or RNA that has a free 3'-hydroxyl group or its phosphate ester at one end.
[0082] Specifically, the distance between each nucleotide in the transcript and the 3' exon in the target genome is calculated, and the distance calculated for each nucleotide is used as a second distance.
[0083] S243: Calculate the distance between each nucleotide in the transcript and the CDS of the target genome to obtain a third distance;
[0084] CDS stands for DNA (deoxyribonucleic acid) sequence, which is a one-to-one correspondence between a protein sequence and a protein sequence, and contains no other sequences unrelated to the protein in between, making it the closest to the actual situation.
[0085] Specifically, the distance between each nucleotide in the transcript and the CDS is calculated for the target genome, and the distance calculated for each nucleotide is used as the third distance.
[0086] S244: Calculate the distance between each nucleotide in the transcript and the start position of the transcript in the target genome to obtain the fourth distance;
[0087] Specifically, the distance between each nucleotide in the transcript and the start position of the transcript is calculated for the target genome, and the distance calculated for each nucleotide is used as a fourth distance.
[0088] S245: Calculate the distance between each nucleotide in the transcript and the termination position of the transcript in the target genome to obtain the fifth distance;
[0089] Specifically, the distance between each nucleotide in the transcript and the termination position of the transcript is calculated for the target genome, and the distance calculated for each nucleotide is used as the fifth distance.
[0090] S246: Combine the first distance, second distance, third distance, fourth distance and fifth distance corresponding to the same nucleotide into a vector to obtain a single nucleotide vector;
[0091] Specifically, the first distance, the second distance, the third distance, the fourth distance, and the fifth distance corresponding to the same nucleotide are combined into a vector according to a preset second splicing order, and this vector is used as a single nucleotide vector.
[0092] S247: Concatenate the sequences of each of the single nucleotide vectors to obtain the distance code.
[0093] Specifically, based on the nucleotide sequence in the transcript, the individual single nucleotide vectors are concatenated, and the concatenated sequence is used as the distance code.
[0094] This embodiment calculates the distance features of different regions of the transcript, providing a basis for predicting m6A RNA methylation sites based on the features of different regions of the transcript.
[0095] In one embodiment, the step of inputting the one-hot encoded sequence, the positional encoding, and the distance encoding into a pre-trained information extraction model to extract hidden state sequence information includes:
[0096] S31: Concatenate the one-hot encoded sequence, the positional encoding, and the distance encoding to obtain the first concatenated data;
[0097] Specifically, the one-hot encoded sequence, the positional encoding, and the distance encoding are concatenated according to a preset third concatenation order, and the concatenated data is used as the first concatenated data.
[0098] S32: Input the first spliced data into the information extraction model to extract the hidden state sequence information;
[0099] The information extraction model is a model trained based on the LSTM (Long Short-Term Memory) artificial neural network model.
[0100] Specifically, the first spliced data is input into the information extraction model to extract the hidden state sequence information. The information extraction model is used to transform the information in the first spliced data to extract more important information, which is then used as the hidden state sequence information. This provides a basis for predicting the probability of each nucleotide being an m6A RNA methylation site based on the hidden state sequence information, fully considering the sequence information of the transcript.
[0101] An LSTM model consists of multiple memory cells, each with three gates: a forget gate, an input gate, and an output gate. The forget gate determines whether to retain information from the previous memory cell, the input gate determines whether to accept the current input, and the output gate determines whether to output the information from the current memory cell.
[0102] This embodiment extracts hidden state sequence information through an information extraction model, realizing the extraction of sequence information based on artificial intelligence and improving the accuracy of the extracted sequence information.
[0103] In one embodiment, the step of inputting the hidden state sequence information and the conserved features into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, and obtaining a prediction vector, includes:
[0104] S41: The hidden state sequence information and the conservatism feature are concatenated to obtain the second concatenated data;
[0105] Specifically, the hidden state sequence information and the conservative feature are spliced together according to a preset fourth splicing order to obtain the second spliced data.
[0106] S42: Input the second spliced data into the classification model to predict the probability that each nucleotide is an m6A RNA methylation site, and obtain the prediction vector;
[0107] The classification model includes multiple fully connected layers and activation layers. The multiple fully connected layers are connected in series, and the data output by the last fully connected layer is used as the input of the activation layer. The activation layer is a network layer that uses the softmax activation function.
[0108] Specifically, the second spliced data is input into the classification model, which predicts the probability that each nucleotide in the transcript is an m6A RNA methylation site for the second spliced data, and uses the predicted data as a prediction vector.
[0109] The softmax activation function is a normalization function.
[0110] The fully connected layer of the classification model integrates information from the input feature vector, while the activation layer outputs the probability of each nucleotide being an m6A RNA methylation site. The fully connected layer consists of multiple neurons, each with a weight vector and a bias value. The output of the fully connected layer is the dot product of the input feature vector and the weight vector, plus the bias value, followed by a non-linear transformation through an activation function. During classification model training, the fully connected layer can be trained using backpropagation to update the weight vector and bias value.
[0111] This embodiment enables probability prediction of each nucleotide as an m6A RNA methylation site based on the conservation characteristics, one-hot coding sequence, position coding, and distance coding of the target genome. It considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, thus improving the accuracy of m6A RNA methylation site prediction.
[0112] In one embodiment, the step of determining the prediction result based on the prediction vector includes:
[0113] S51: Select vector elements with a probability greater than a preset value from the predicted vector and use them as the set of hit vector elements;
[0114] Specifically, a vector element with a probability greater than a preset value means that the vector element is likely to be an m6A RNA methylation site. Therefore, vector elements with a probability greater than a preset value are selected from the predicted vectors, and all selected vector elements are used as the set of hit vector elements.
[0115] S52: Identify the nucleotide corresponding to each vector element in the hit vector element set as an m6A RNA methylation site to obtain the prediction result.
[0116] Specifically, the nucleotide corresponding to each vector element in the set of hit vector elements is determined as an m6A RNA methylation site, and all m6A RNA methylation sites are used as the prediction result.
[0117] This embodiment enables probability prediction of each nucleotide as an m6A RNA methylation site based on the conservation characteristics, one-hot coding sequence, position coding, and distance coding of the target genome. It considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, thus improving the accuracy of m6A RNA methylation site prediction.
[0118] Please see Figure 3 As shown, in one embodiment, an m6A RNA methylation site prediction device is provided, the device comprising:
[0119] Data acquisition module 801 is used to acquire the target genome;
[0120] The feature construction module 802 is used to construct features on the target genome to obtain conserved features, one-hot coding sequences, position codes, and distance codes.
[0121] Information extraction module 803 is used to input the one-hot encoded sequence, the position encoding and the distance encoding into a pre-trained information extraction model to extract hidden state sequence information;
[0122] The probability prediction module 804 is used to input the hidden state sequence information and the conservation features into a pre-trained classification model to predict the probability of each nucleotide being an m6A RNA methylation site, and to obtain a prediction vector.
[0123] The prediction result determination module 805 is used to determine the prediction result based on the prediction vector.
[0124] This embodiment constructs features from the target genome to obtain conserved features, one-hot coding sequences, positional codes, and distance codes. The one-hot coding sequences, positional codes, and distance codes are then input into a pre-trained information extraction model to extract hidden state sequence information. The hidden state sequence information and the conserved features are then input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, resulting in a prediction vector. Based on the prediction vector, the prediction result is determined. This achieves probability prediction of each nucleotide being an m6A RNA methylation site based on the conserved features, one-hot coding sequences, positional codes, and distance codes of the target genome. It considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, improving the accuracy of m6A RNA methylation site prediction.
[0125] In one embodiment, the step of feature construction module 802 in constructing features from the target genome to obtain conserved features, one-hot coding sequences, positional coding, and distance coding includes:
[0126] The conservation characteristics of transcripts in the target genome are calculated;
[0127] Each nucleotide in the transcript of the target genome is individually encoded using a one-hot encoding method to obtain the one-hot encoded sequence.
[0128] The target genome is encoded by encoding the region to which each nucleotide in the transcript belongs, thereby obtaining the positional encoding;
[0129] The distance encoding is obtained by calculating the distance of each nucleotide in the transcript of the target genome.
[0130] In one embodiment, the step of calculating the conservation characteristics of transcripts of the target genome in the feature construction module 802 includes:
[0131] Each preset conservation assessment tool was used to calculate the conservation score of transcripts in different species for the target genome;
[0132] The conservation scores are concatenated into vectors to obtain the conservation features of the transcript.
[0133] In one embodiment, the step of the feature construction module 802 calculating the distance to each nucleotide in the transcript of the target genome to obtain the distance code includes:
[0134] The distance between each nucleotide in the transcript and the 5' exon in the target genome is calculated to obtain the first distance;
[0135] The distance between each nucleotide in the transcript of the target genome and the 3' exon is calculated to obtain the second distance;
[0136] The distance between each nucleotide in the transcript and the CDS in the target genome is calculated to obtain the third distance;
[0137] The distance between each nucleotide in the transcript and the start position of the transcript is calculated for the target genome to obtain the fourth distance;
[0138] The distance between each nucleotide in the transcript and the termination position of the transcript is calculated for the target genome to obtain the fifth distance;
[0139] The first distance, second distance, third distance, fourth distance, and fifth distance corresponding to the same nucleotide are combined into a vector to obtain a single nucleotide vector;
[0140] The distance code is obtained by concatenating the sequences of each single nucleotide vector.
[0141] In one embodiment, the step of extracting hidden state sequence information by inputting the one-hot encoded sequence, the positional encoding, and the distance encoding into a pre-trained information extraction model in the information extraction module 803 includes:
[0142] The one-hot encoded sequence, the positional encoding, and the distance encoding are concatenated to obtain the first concatenated data;
[0143] The first spliced data is input into the information extraction model to extract the hidden state sequence information.
[0144] The information extraction model is a model trained based on the LSTM model.
[0145] In one embodiment, the step of the probability prediction module 804 inputting the hidden state sequence information and the conserved features into a pre-trained classification model to predict the probability of each nucleotide being an m6A RNA methylation site, and obtaining a prediction vector, includes:
[0146] The hidden state sequence information and the conservation feature are concatenated to obtain the second concatenated data;
[0147] The second spliced data is input into the classification model to predict the probability that each nucleotide is an m6A RNA methylation site, and the prediction vector is obtained.
[0148] The classification model includes multiple fully connected layers and activation layers. The multiple fully connected layers are connected in series, and the data output by the last fully connected layer is used as the input of the activation layer. The activation layer is a network layer that uses the softmax activation function.
[0149] In one embodiment, the step of determining the prediction result based on the prediction vector in the prediction result determination module 805 includes:
[0150] Select vector elements with a probability greater than a preset value from the predicted vectors and use them as the set of hit vector elements;
[0151] The nucleotide corresponding to each vector element in the hit vector element set is identified as an m6A RNA methylation site to obtain the prediction result.
[0152] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 4 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computational and control capabilities. The memory includes non-volatile and / or volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface is used to communicate with external clients via a network connection. When executed by the processor, the computer program implements the functions or steps of a server-side method for predicting m6A RNA methylation sites.
[0153] In one embodiment, a computer device is provided, which may be a client, and its internal structure diagram may be as follows: Figure 5 As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with an external server via a network connection. When executed by the processor, the computer program implements the client-side functions or steps of an m6A RNA methylation site prediction method.
[0154] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, performs the following steps:
[0155] Obtain the target genome;
[0156] The target genome is used to construct features, resulting in conserved features, one-hot coding sequences, positional coding, and distance coding.
[0157] The one-hot encoded sequence, the positional encoding, and the distance encoding are input into a pre-trained information extraction model to extract hidden state sequence information.
[0158] The hidden state sequence information and the conservation features are input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, thus obtaining a prediction vector.
[0159] The prediction result is determined based on the prediction vector.
[0160] This embodiment constructs features from the target genome to obtain conserved features, one-hot coding sequences, positional codes, and distance codes. The one-hot coding sequences, positional codes, and distance codes are then input into a pre-trained information extraction model to extract hidden state sequence information. The hidden state sequence information and the conserved features are then input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, resulting in a prediction vector. Based on the prediction vector, the prediction result is determined. This achieves probability prediction of each nucleotide being an m6A RNA methylation site based on the conserved features, one-hot coding sequences, positional codes, and distance codes of the target genome. It considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, improving the accuracy of m6A RNA methylation site prediction.
[0161] In one embodiment, a computer-readable storage medium is provided that stores a computer program, which, when executed by a processor, performs the following steps:
[0162] Obtain the target genome;
[0163] The target genome is used to construct features, resulting in conserved features, one-hot coding sequences, positional coding, and distance coding.
[0164] The one-hot encoded sequence, the positional encoding, and the distance encoding are input into a pre-trained information extraction model to extract hidden state sequence information.
[0165] The hidden state sequence information and the conservation features are input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, thus obtaining a prediction vector.
[0166] The prediction result is determined based on the prediction vector.
[0167] This embodiment constructs features from the target genome to obtain conserved features, one-hot coding sequences, positional codes, and distance codes. The one-hot coding sequences, positional codes, and distance codes are then input into a pre-trained information extraction model to extract hidden state sequence information. The hidden state sequence information and the conserved features are then input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, resulting in a prediction vector. Based on the prediction vector, the prediction result is determined. This achieves probability prediction of each nucleotide being an m6A RNA methylation site based on the conserved features, one-hot coding sequences, positional codes, and distance codes of the target genome. It considers not only the sequence information of the transcript but also the characteristics of different regions of the transcript, improving the accuracy of m6A RNA methylation site prediction.
[0168] It should be noted that the functions or steps that can be implemented by the computer-readable storage medium or computer device described above can be referred to the relevant descriptions on the server side and client side in the foregoing method embodiments. To avoid repetition, they will not be described one by one here.
[0169] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0170] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0171] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for predicting m6A RNA methylation sites, the method comprising: Obtain the target genome; The target genome is used to construct features, resulting in conserved features, one-hot encoded sequences, positional codes, and distance codes. The conserved features are obtained by calculating the conservation scores of the target genome transcripts across different species using multiple pre-defined conservation assessment tools, and then concatenating these scores into vectors. Each transcript consists of 101 nucleotides (50 upstream and 50 downstream nucleotides, including each site). The conservation assessment tools are PhastCons and PhyloP. Each nucleotide in the target genome transcript is one-hot encoded, and the corresponding one-hot codes are used as one-hot encoded vectors. Sequences are generated from the one-hot encoded vectors based on the nucleotide order in the transcript to obtain the one-hot encoded sequence. The target genome is then encoded to determine the region to which each nucleotide belongs in the transcript, and all codes within that region are used as positional data. Sequences are generated from the positional data based on the nucleotide order in the transcript to obtain the positional codes. The one-hot encoded sequences, positional codes, and distance codes are input into a pre-trained information extraction model for hidden state sequence information extraction. The hidden state sequence information and the conservation features are input into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, thus obtaining a prediction vector. The prediction result is determined based on the prediction vector; The feature construction of the target genome to obtain distance coding includes: calculating the distance to each nucleotide in the transcript of the target genome to obtain the distance coding; including: The distance between each nucleotide in the transcript and the 5' exon in the target genome is calculated to obtain the first distance; The distance between each nucleotide in the transcript of the target genome and the 3' exon is calculated to obtain the second distance; The distance between each nucleotide in the transcript and the CDS in the target genome is calculated to obtain the third distance; The distance between each nucleotide in the transcript and the start position of the transcript is calculated for the target genome to obtain the fourth distance; The distance between each nucleotide in the transcript and the termination position of the transcript is calculated for the target genome to obtain the fifth distance; The first distance, second distance, third distance, fourth distance, and fifth distance corresponding to the same nucleotide are combined into a vector to obtain a single nucleotide vector; The distance code is obtained by concatenating the sequences of each single nucleotide vector. The step of inputting the one-hot encoded sequence, the positional encoding, and the distance encoding into a pre-trained information extraction model to extract hidden state sequence information includes: The one-hot encoded sequence, the positional encoding, and the distance encoding are concatenated to obtain the first concatenated data; The first spliced data is input into the information extraction model to extract the hidden state sequence information. The information extraction model is a model trained based on an LSTM model. The step of inputting the hidden state sequence information and the conserved features into a pre-trained classification model to predict the probability that each nucleotide is an m6A RNA methylation site, and obtaining a prediction vector, includes: The hidden state sequence information and the conservation feature are concatenated to obtain the second concatenated data; The second spliced data is input into the classification model to predict the probability that each nucleotide is an m6A RNA methylation site, and the prediction vector is obtained. The classification model includes multiple fully connected layers and activation layers. The multiple fully connected layers are connected in series, and the data output by the last fully connected layer is used as the input of the activation layer. The activation layer is a network layer that uses the softmax activation function. The step of determining the prediction result based on the prediction vector includes: Select vector elements with a probability greater than a preset value from the predicted vectors and use them as the set of hit vector elements; The nucleotide corresponding to each vector element in the hit vector element set is identified as an m6A RNA methylation site to obtain the prediction result.
2. A device for predicting m6A RNA methylation sites, characterized in that, The device includes: The data acquisition module is used to acquire the target genome; A feature construction module is used to construct features for the target genome, obtaining conserved features, one-hot coding sequences, positional codes, and distance codes. The conserved features are obtained by calculating the conservation scores of the target genome transcripts in different species using multiple preset conservation assessment tools and concatenating the calculated conservation scores into vectors. A transcript is defined as 101 nucleotides (50 upstream and 50 downstream nucleotides, including each site). The conservation assessment tools are PhastCons and PhyloP. Each nucleotide in the target genome transcript is one-hot coded, and the one-hot codes corresponding to each nucleotide are used as one-hot coding vectors. Sequences are generated from the one-hot coding vectors based on the order of the nucleotides in the transcript to obtain the one-hot coding sequence. The target genome is also encoded by encoding the region to which each nucleotide in the transcript belongs, and all codes of the region to which each nucleotide belongs are used as positional data. Sequences are generated from the positional data based on the order of the nucleotides in the transcript to obtain the positional codes. The information extraction module is used to input the one-hot encoded sequence, the positional encoding, and the distance encoding into a pre-trained information extraction model to extract hidden state sequence information. The probability prediction module is used to input the hidden state sequence information and the conservation features into a pre-trained classification model to predict the probability of each nucleotide being an m6A RNA methylation site, and to obtain a prediction vector. The prediction result determination module is used to determine the prediction result based on the prediction vector; The feature construction module is used to construct features for the target genome to obtain distance codes. Specifically, it is used to calculate the distance of each nucleotide in the transcript of the target genome to obtain the distance codes. The feature construction module, used for calculating the distance to each nucleotide in the transcript of the target genome to obtain the distance encoding, specifically includes the following steps: The distance between each nucleotide in the transcript and the 5' exon in the target genome is calculated to obtain the first distance; The distance between each nucleotide in the transcript of the target genome and the 3' exon is calculated to obtain the second distance; The distance between each nucleotide in the transcript and the CDS in the target genome is calculated to obtain the third distance; The distance between each nucleotide in the transcript and the start position of the transcript is calculated for the target genome to obtain the fourth distance; The distance between each nucleotide in the transcript and the termination position of the transcript is calculated for the target genome to obtain the fifth distance; The first distance, second distance, third distance, fourth distance, and fifth distance corresponding to the same nucleotide are combined into a vector to obtain a single nucleotide vector; The distance code is obtained by concatenating the sequences of each single nucleotide vector. The information extraction module is used to extract hidden state sequence information by inputting the one-hot encoded sequence, the positional encoding, and the distance encoding into a pre-trained information extraction model. Specifically, it is used for: The one-hot encoded sequence, the positional encoding, and the distance encoding are concatenated to obtain the first concatenated data; The first spliced data is input into the information extraction model to extract the hidden state sequence information. The information extraction model is a model trained based on an LSTM model. The probability prediction module, used to input the hidden state sequence information and the conserved features into a pre-trained classification model to predict the probability of each nucleotide being an m6A RNA methylation site, and to obtain a prediction vector, specifically includes the following steps: The hidden state sequence information and the conservation feature are concatenated to obtain the second concatenated data; The second spliced data is input into the classification model to predict the probability that each nucleotide is an m6A RNA methylation site, and the prediction vector is obtained. The classification model includes multiple fully connected layers and activation layers. The multiple fully connected layers are connected in series, and the data output by the last fully connected layer is used as the input of the activation layer. The activation layer is a network layer that uses the softmax activation function. The prediction result determination module is used to determine the prediction result based on the prediction vector, specifically for the following steps: Select vector elements with a probability greater than a preset value from the predicted vectors and use them as the set of hit vector elements; The nucleotide corresponding to each vector element in the hit vector element set is identified as an m6A RNA methylation site to obtain the prediction result.
3. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the m6A RNA methylation site prediction method as described in claim 1.
4. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the m6A RNA methylation site prediction method as described in claim 1.
Citation Information
Patent Citations
Method for predicting N6-methyladenosine modification site in RNA based on stacking integration
CN111161793A
