Method, device and medium for predicting peptide key sites based on deep language model
Through the peptide sequence and key site prediction model based on the deep language model, the problem of insufficient identification of characterization information in the prediction of peptide key sites is solved, and high-precision prediction of peptide key sites is achieved, meeting the needs of practical applications.
Patent Information
- Application Number
- CN202311856298.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-12-29
AI Technical Summary
Existing peptide key site prediction methods are limited by the lack of discriminability of characterization information, resulting in insufficient recognition accuracy and unable to meet the needs of practical applications.
A deep language model-based method is used to construct a deep language model and a key site prediction model for peptide sequences. By training and optimizing model parameters, a highly discriminative representation of the peptide sequence is extracted, and a deep neural network is used to predict peptide key sites.
Significantly improves the performance of prediction of key peptide sites, improves prediction accuracy, and meets the needs of practical applications.
Smart Images

Figure CN117877580B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of polypeptide key site prediction, and in particular to a polypeptide key site prediction method, device and medium based on a deep language model. Background Art
[0002] In life activities, peptides interact with macromolecules such as proteins and RNA to complete specific biological functions. Accurately identifying the key residue sites on peptides is crucial for understanding the mechanism of intermolecular interactions and for the modification and design of peptide drugs. Although biological wet experiments are currently the most accurate method for identifying key sites of peptides, they are time-consuming, laborious and costly, which seriously hinders the identification of key sites of peptides and the process of peptide drug design. The prediction methods of peptide key sites based on computational methods have attracted the attention of more and more researchers, mainly including indirect and direct prediction methods. Indirect prediction methods are mainly macromolecule and peptide complex structure prediction methods. They first predict the three-dimensional structure of the complex of macromolecules (such as proteins) and peptides, and then predict the key sites of peptides by calculating the distance between atoms. The advantage of this method is that it provides additional spatial posture information of the interaction between peptides and macromolecules. The disadvantage is that it consumes huge computing resources and the prediction of key sites is only for a certain macromolecule, and is limited by the accuracy of complex structure prediction. Direct prediction methods are a type of method that directly predicts polypeptide key sites through polypeptide sequence or structure information by using machine learning, deep learning and other algorithms. Their advantage is that they can quickly predict polypeptide key sites without consuming a lot of computing resources. Their disadvantage is that it is currently difficult to extract high-discrimination features of polypeptide data, which limits the improvement of the prediction performance of polypeptide key sites.
[0003] Although existing methods can be used to predict peptide key sites, the peptide sequence features they use have weak discriminability, which limits the current prediction accuracy of peptide key sites.
[0004] The existing peptide key site prediction methods in the prior art are limited by the lack of discriminability of the characterization information and the large gap between the recognition accuracy and the requirements of practical applications. No effective solution has yet been proposed.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] To this end, the technical problem to be solved by the present invention is to overcome the problem that the existing polypeptide key site prediction methods in the prior art are limited by the lack of discriminability of characterization information and the recognition accuracy is far from the requirements of practical applications.
[0007] The present invention includes at least the following aspects:
[0008] In a first aspect, the present invention provides a method for predicting polypeptide key sites based on a deep language model, comprising:
[0009] Constructing an initial polypeptide sequence deep language model, wherein the initial polypeptide sequence deep language model comprises an encoding module and a decoding module;
[0010] Constructing a first training set, obtaining target residues selected for each sequence in the first training set, and inputting the first training set into the initial polypeptide sequence deep language model, adjusting the initial parameters of the model using a first optimizer and a first loss function until the probability of the target residues selected for each sequence being restored reaches a target probability, completing the training, and obtaining a target polypeptide sequence deep language model;
[0011] Constructing an initial polypeptide key site prediction model based on a deep neural network, wherein the initial polypeptide key site prediction model includes a convolutional layer and a fully connected layer;
[0012] Constructing a second training set, training the initial polypeptide key site prediction model based on the second training set, adjusting the initial parameters of the model using a second optimizer and a second loss function, until the output polypeptide key site prediction accuracy reaches a preset threshold, the training is completed, and a target polypeptide key site prediction model is obtained;
[0013] Inputting the polypeptide sequence for which key site prediction is to be performed into the target polypeptide sequence deep language model to obtain a representation of each residue in the polypeptide sequence;
[0014] The representation of each residue in the polypeptide sequence is input into the target polypeptide key site prediction model, and the prediction result of whether each residue in the polypeptide sequence is a key site is output.
[0015] In one embodiment of the present invention, the encoding module includes a protein language model module, a residual module and K fully connected layers; the number of the residual modules is 2, each of which includes 2 convolutional layers, 1 Dropout layer and 1 attention mechanism layer; the decoding module includes N fully connected layers; K≥1, N≥1.
[0016] In one embodiment of the present invention, constructing the first training set includes:
[0017] The fragments of the long LOOP region in the peptide data of the predicted sequence are intercepted as pseudo peptide data;
[0018] The pseudo polypeptide data and the polypeptide data with predicted sequences are combined to form the first training set.
[0019] In one embodiment of the present invention, when training the initial polypeptide sequence deep language model, among the target residues selected before each sequence is input into the initial polypeptide sequence deep language model, each residue has a 9.85% probability of being replaced with other residue types, a 6.05% probability of being masked, and a 4.10% probability of being deleted.
[0020] In one embodiment of the present invention, constructing the second training set includes:
[0021] The polypeptide sequences with the key site information annotated are collected to construct the second training set.
[0022] In one embodiment of the present invention, the initial polypeptide key site prediction model includes 2 convolutional layers and L fully connected layers; L≥1.
[0023] In one embodiment of the present invention, the polypeptide sequence to be predicted for key sites is input into the target polypeptide sequence deep language model to obtain the representation of each residue in the polypeptide sequence, including:
[0024] Inputting the polypeptide sequence into the target polypeptide sequence deep language model, and generating a first representation through the protein language model module;
[0025] Inputting the first representation into two residual modules simultaneously, and outputting a second representation;
[0026] The second representations are averaged, and the averaged result is input into N fully connected layers to obtain a representation of each residue in the polypeptide sequence.
[0027] In a second aspect, the present invention provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor when running to perform the steps of the method for predicting polypeptide key sites based on a deep language model as described in any of the above embodiments.
[0028] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for predicting polypeptide key sites based on a deep language model as described in any of the above embodiments are executed.
[0029] The above technical solution of the present invention has the following advantages compared with the prior art:
[0030] The method, device and medium for predicting polypeptide key sites based on a deep language model described in the present invention start from polypeptide sequence information, train a polypeptide sequence deep language model to extract high-discriminative representations of polypeptide sequences, and then use a polypeptide key site prediction model constructed based on a deep neural network model to predict polypeptide key sites, thereby further improving the sequence-based polypeptide key site prediction performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein:
[0032] Figure 1 A flowchart of a method for predicting polypeptide key sites based on a deep language model provided by the present invention;
[0033] Figure 2 A schematic diagram of the structure of functional modules of each model in a method for predicting key polypeptide sites based on a deep language model provided by the present invention. DETAILED DESCRIPTION
[0034] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0035] In order to solve the problems existing in the prior art, the present invention provides a method for predicting key sites of polypeptides based on a deep language model, such as Figure 1 As shown, Figure 1 A flowchart of a method for predicting polypeptide key sites based on a deep language model provided by the present invention, comprising the following steps:
[0036] S101: constructing an initial polypeptide sequence deep language model, wherein the initial polypeptide sequence deep language model comprises an encoding module and a decoding module.
[0037] In one embodiment, see Figure 2 , Figure 2 A schematic diagram of the structure of the functional modules of each model in a method for predicting key polypeptide sites based on a deep language model provided by the present invention, such as Figure 2As shown, the encoding module includes a protein language model module, a residual module and K fully connected layers; the number of the residual modules is 2, each of which includes 2 convolutional layers, 1 Dropout layer and 1 attention mechanism layer; the decoding module includes N fully connected layers; K≥1, N≥1.
[0038] Exemplarily, an initial polypeptide sequence deep language model is constructed, which includes 1 encoding module and 1 decoding module; the encoding module includes 1 pre-trained protein language model module ESM2 with frozen parameters, 2 parallel residual modules and K fully connected layers, each residual module includes 2 convolutional layers, 1 Dropout layer and 1 attention mechanism layer; the decoding module includes N fully connected layers.
[0039] S102: Construct a first training set, obtain the target residues selected for each sequence in the first training set, and input the first training set into the initial polypeptide sequence deep language model, and use a first optimizer and a first loss function to adjust the initial parameters of the model until the probability of the target residues selected for each sequence is restored reaches the target probability, then the training is completed and the target polypeptide sequence deep language model is obtained.
[0040] In one embodiment, constructing the first training set includes:
[0041] The fragments of the long LOOP region in the peptide data of the predicted sequence are intercepted as pseudo peptide data;
[0042] The pseudo polypeptide data and the polypeptide data with predicted sequences are combined to form the first training set.
[0043] Exemplarily, a fragment of a long loop region (containing at least n residues) is extracted from the sequenced polypeptide data as pseudo polypeptide data, and put together with the sequenced polypeptide data to form a first training set to train the initial polypeptide sequence deep language model constructed in step S101.
[0044] In one embodiment, when training the initial polypeptide sequence deep language model, among the target residues selected before each sequence is input into the initial polypeptide sequence deep language model, each residue has a 9.85% probability of being replaced with other residue types, a 6.05% probability of being masked, and a 4.10% probability of being deleted.
[0045] Exemplarily, in the process of training the initial peptide sequence deep language model, k residues are randomly selected for each sequence before being input into the model. Each residue has a 9.85% probability of being replaced by other residue types, a 6.05% probability of being masked, and a 4.10% probability of being deleted. During training, the Adam optimizer and the cross-entropy loss function are used to adjust the adjustable parameters in the network, with the goal of enabling the model to restore the selected residues of the input peptide sequence as closely as possible.
[0046] S103: constructing an initial polypeptide key site prediction model based on a deep neural network, wherein the initial polypeptide key site prediction model includes a convolutional layer and a fully connected layer.
[0047] In one embodiment, the initial polypeptide key site prediction model includes 2 convolutional layers and L fully connected layers; wherein L≥1.
[0048] Exemplarily, an initial polypeptide key site prediction model is constructed based on a deep neural network, which includes 2 convolutional layers and L fully connected layers.
[0049] S104: Construct a second training set, train the initial polypeptide key site prediction model based on the second training set, use a second optimizer and a second loss function to adjust the initial parameters of the model, until the output polypeptide key point prediction accuracy reaches a preset threshold, the training is completed, and the target polypeptide key site prediction model is obtained.
[0050] In one embodiment, constructing the second training set includes:
[0051] The polypeptide sequences with the key site information annotated are collected to construct the second training set.
[0052] Exemplarily, polypeptide sequences with annotated key site information are collected to construct a second training set required for training the initial polypeptide key site prediction model, and the Adam optimizer and the second-class cross entropy loss function are used to adjust the adjustable parameters in the network, with the goal of enabling the model to predict the key sites of the input polypeptide sequence with high accuracy.
[0053] S105: Inputting the polypeptide sequence for which key site prediction is to be performed into the target polypeptide sequence deep language model to obtain a representation of each residue in the polypeptide sequence.
[0054] In one embodiment, the step of inputting the polypeptide sequence to be predicted for key sites into the target polypeptide sequence deep language model to obtain a representation of each residue in the polypeptide sequence comprises:
[0055] Inputting the polypeptide sequence into the target polypeptide sequence deep language model, and generating a first representation through the protein language model module;
[0056] Inputting the first representation into two residual modules simultaneously, and outputting a second representation;
[0057] The second representations are averaged, and the averaged result is input into N fully connected layers to obtain a representation of each residue in the polypeptide sequence.
[0058] S106: Inputting the representation of each residue in the polypeptide sequence into the target polypeptide key site prediction model, and outputting a prediction result of whether each residue in the polypeptide sequence is a key site.
[0059] Exemplarily, a polypeptide sequence S for which key site prediction is to be performed is input, and the deep language model of the target polypeptide sequence first generates a representation using ESM2, which is then simultaneously input into two residual modules, and the outputs of the two residual modules are averaged and input into the fully connected layer to obtain a representation of each residue in the polypeptide sequence S. The representation is then input into the key site prediction model of the target polypeptide sequence, and finally a prediction result of whether each residue in the polypeptide sequence S is a key site is output.
[0060] In a specific embodiment, taking the prediction of key sites for the polypeptide sequence 1MW4B as an example, the following steps are included:
[0061] 1) Input a polypeptide sequence S for which key site prediction is to be performed;
[0062] 2) Build a deep language model for peptide sequences, which includes 1 encoding module and 1 decoding module; the encoding module includes 1 pre-trained protein language model ESM2 with frozen parameters, 2 parallel residual modules and 10 fully connected layers, each residual module includes 2 convolutional layers, 1 Dropout layer and 1 attention mechanism layer; the decoding module includes 5 fully connected layers; input the peptide sequence S, the model first uses ESM2 to generate a representation, and then inputs it into two residual modules at the same time, and then the outputs of the two residual modules are averaged and input into the fully connected layer to obtain the representation of each residue in the peptide sequence S;
[0063] 3) Extracting a fragment of a long loop region (containing at least 13 residues) from the sequenced peptide data as pseudo-peptide data, and putting it together with the sequenced peptide data to form a training set to train the peptide sequence deep language model built in step 2); in the process of training the peptide sequence deep language model, 3 residues are randomly selected for each sequence before being input into the model, and each residue has a 9.85% probability of being replaced with other residue types, a 6.05% probability of being masked, and a 4.10% probability of being deleted; during training, the Adam optimizer and the cross entropy loss function are used to adjust the adjustable parameters in the peptide sequence deep language model, with the goal of enabling the model to restore the selected residues of the input peptide sequence as much as possible;
[0064] 4) Build a peptide key site prediction model based on a deep neural network, which includes 2 convolutional layers and 7 fully connected layers, collect peptide sequences with labeled key site information, construct a training set required for training the peptide key site prediction model, and use the Adam optimizer and the second-class cross entropy loss function to adjust the adjustable parameters in the peptide key site prediction model, so that the model can predict the key sites of the input peptide sequence with high accuracy;
[0065] 5) Input the polypeptide sequence S into the polypeptide sequence deep language model trained in step 3), output the representation of the polypeptide sequence, and then input the representation into the polypeptide key site prediction model trained in step 4), and finally output the prediction result of whether each residue in the polypeptide sequence S is a key site.
[0066] Taking the prediction of polypeptide key sites of polypeptide sequence 1MW4B as an example, the key sites predicted by the above method are V1140, N1141, P1143 and D1144, with a true positive rate of 75% and a false positive rate of 25%, which proves that the method provided in this application is effective.
[0067] In summary, in order to improve the performance of sequence-based peptide key site prediction, this application starts from peptide sequence data, trains a peptide sequence deep language model to characterize the peptide sequence, and proposes a peptide key site prediction method based on a deep language model, which further improves the prediction performance of peptide key sites.
[0068] Based on the same application concept, the embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, the memory is used to store execution instructions, including internal memory and external memory; the internal memory here is also called internal memory, which is used to temporarily store the operation data in the processor, and the data exchanged with the external memory such as the hard disk. The processor exchanges data with the external memory through the internal memory. When the electronic device is running, the processor communicates with the memory through the bus, so that the processor can execute the steps of the method for predicting key sites of polypeptides based on the deep language model shown in the above method embodiment. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory through the bus, and the machine-readable instructions are executed by the processor when running to perform the steps of the method for predicting key sites of polypeptides based on the deep language model as described in any of the above embodiments.
[0069] Based on the same application concept, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the polypeptide key site prediction method based on the deep language model provided in the above embodiment are executed.
[0070] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned polypeptide key site prediction method based on the deep language model can be executed.
[0071] In the embodiment of the present application, the computer program can also execute other machine-readable instructions when run by the processor to execute other methods described in the embodiment. For the specific execution method steps and principles, please refer to the description of the embodiment, which will not be repeated here.
[0072] In the embodiments provided in the present application, it should be understood that the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0073] In addition, each functional module in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0074] If the functional module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0075] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0076] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for predicting polypeptide key sites based on a deep language model, characterized in that: include: Constructing an initial polypeptide sequence deep language model, wherein the initial polypeptide sequence deep language model comprises an encoding module and a decoding module; Constructing a first training set, obtaining target residues selected for each sequence in the first training set, and inputting the first training set into the initial polypeptide sequence deep language model, adjusting the initial parameters of the model using a first optimizer and a first loss function until the probability of the target residues selected for each sequence being restored reaches a target probability, completing the training, and obtaining a target polypeptide sequence deep language model; Constructing an initial polypeptide key site prediction model based on a deep neural network, wherein the initial polypeptide key site prediction model includes a convolutional layer and a fully connected layer; Constructing a second training set, training the initial polypeptide key site prediction model based on the second training set, adjusting the initial parameters of the model using a second optimizer and a second loss function, until the output polypeptide key site prediction accuracy reaches a preset threshold, the training is completed, and a target polypeptide key site prediction model is obtained; Inputting the polypeptide sequence for which key site prediction is to be performed into the target polypeptide sequence deep language model to obtain a representation of each residue in the polypeptide sequence; Inputting the representation of each residue in the polypeptide sequence into the target polypeptide key site prediction model, and outputting a prediction result of whether each residue in the polypeptide sequence is a key site; The encoding module includes a protein language model module, a residual module and K fully connected layers; the number of the residual modules is 2, each of which includes 2 convolutional layers, 1 Dropout layer and 1 attention mechanism layer; the decoding module includes N fully connected layers; K ≥ 1, N ≥ 1; The step of constructing a first training set comprises: The fragments of the long LOOP region in the peptide data of the predicted sequence are intercepted as pseudo peptide data; Merging the pseudo polypeptide data with the polypeptide data of the predicted sequence to form the first training set; The constructing of the second training set comprises: Collecting polypeptide sequences with annotated key site information to construct the second training set; The initial peptide key site prediction model includes 2 convolutional layers and L fully connected layers; L ≥ 1; The step of inputting the polypeptide sequence to be predicted for key sites into the target polypeptide sequence deep language model to obtain a representation of each residue in the polypeptide sequence comprises: Inputting the polypeptide sequence into the target polypeptide sequence deep language model, and generating a first representation through the protein language model module; Inputting the first representation into two residual modules simultaneously, and outputting a second representation; The second representations are averaged, and the averaged result is input into N fully connected layers to obtain a representation of each residue in the polypeptide sequence.
2. The method for predicting polypeptide key sites based on a deep language model according to claim 1, characterized in that: When training the initial polypeptide sequence deep language model, among the target residues selected before each sequence is input into the initial polypeptide sequence deep language model, each residue has a 9.85% probability of being replaced with other residue types, a 6.05% probability of being masked, and a 4.10% probability of being deleted.
3. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the method for predicting polypeptide key sites based on a deep language model as described in claim 1 or 2.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the method for predicting polypeptide key sites based on a deep language model as claimed in claim 1 or 2 are performed.
Citation Information
Patent Citations
Method and system for predicting protein-polypeptide binding site
CN113593631A
Protein interaction site prediction method based on deep learning
CN113643756A
