CCS prediction model construction method, device, equipment and readable storage medium
The CCS prediction model that combines the self-attention mechanism and the convolutional neural network solves the problems of poor accuracy and low computational efficiency of long short-term memory models in predicting peptide CCS, and achieves accurate and efficient prediction of peptide CCS.
Patent Information
- Application Number
- CN202210054378.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-18
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-01-18
AI Technical Summary
When the existing long short-term memory model predicts the collision cross-sectional area (CCS) of peptides in proteomics, there are problems such as poor prediction accuracy and low computational efficiency. Information loss is prone to occur especially when processing long sequence data. And it is difficult to perform efficient parallel operations.
A CCS prediction model construction method is used to encode the peptide sequence through one-hot vector, combined with the self-attention mechanism and convolutional neural network, to generate an encoding-decoding model for predicting the CCS of the peptide, and the self-attention network captures amino acids global information between them to achieve efficient parallel operations.
It achieves accurate and efficient prediction of peptide CCS, improves prediction accuracy and computing efficiency, and does not need to rely on the timing of peptide sequences.
Smart Images

Figure CN114496064B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of bioinformatics, and in particular to a CCS prediction model construction method, device, equipment and readable storage medium. Background Art
[0002] In recent years, mass spectrometry-based proteomics has developed rapidly and has played a very important role in scientific research and clinical practice. 4D proteomics technology is one of the proteomics methods that has performed particularly well recently. Among them, 4D proteomics adds ion mobility as the fourth dimension of information on the basis of 3D information composed of chromatographic retention time, ion charge-to-mass ratio and mass spectrometry signal intensity. Ion mobility refers to the movement rate of ions under a unit electric field. Under gas phase conditions, the difference in ion size, structure and charge number will lead to different ion mobility, so ion separation can be achieved through ion mobility spectrum (IMS); for example, for some isomers with the same mass number but different structures, they can be effectively separated through ion mobility spectrum. Ion mobility can be converted into another inherent property representing the molecular structure properties through a formula: collision cross-section area (CCS), that is, CCS can be used to reflect the structural properties of the measured ions. Post-translational modifications of peptides, such as common phosphorylation, glycosylation and acetylation modifications, have also changed in structure relative to the original peptides. If the CCS of peptides and modified peptides can be predicted directly from peptide sequences, it will be of great help in proteomics identification.
[0003] With the rapid development of deep learning, there are many applications of deep learning in proteomics, such as predicting peptide secondary spectra and tumor antigen peptides through deep learning. In related technologies, the long short-term memory (LSTM) model is often used to predict the CCS of peptides, and good prediction results are achieved on the test set. However, as a classic model for processing indefinite length sequence data, the long short-term memory model will process amino acids in sequence order to explore the interaction relationship between amino acids; however, this property will make the model prone to information loss when processing long sequence data, resulting in low accuracy of CCS prediction results, and processing amino acids by relying on the temporal nature of peptide sequences will make it difficult to perform efficient parallel operations, resulting in low computational efficiency. Summary of the invention
[0004] The present application provides a CCS prediction model construction method, device, equipment and readable storage medium to solve the problems of poor prediction result accuracy and low computational efficiency caused by predicting CCS through a long short-term memory model in the related art.
[0005] In a first aspect, a CCS prediction model construction method is provided, comprising the following steps:
[0006] Acquire a peptide CCS training set, wherein the peptide CCS training set includes multiple peptide sequences and experimental CCS values corresponding to each peptide sequence;
[0007] Based on the one-hot vector, multiple amino acids in each peptide sequence are encoded to obtain an amino acid vector, and each amino acid vector and the corresponding peptide sequence are encoded to obtain a corresponding two-dimensional matrix;
[0008] The encoding-decoding model is trained based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model. The encoding-decoding model includes an encoding part and a decoding part. The encoding part includes a data preprocessing module, a layer of fully connected network and multiple sub-encoders connected in series, each of the sub-encoders includes a multi-head self-attention network and a forward feedback network, and the decoding part includes a convolutional neural network and a four-layer fully connected network.
[0009] In some embodiments, before the step of obtaining the peptide CCS training set, the method further includes:
[0010] The peptide sequences with the same charge number are integrated as the peptide CCS training set.
[0011] In some embodiments, when the charge number of the peptide sequence in the peptide CCS training set is 2, after the step of training the encoding-decoding model based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model, the method further includes:
[0012] Acquire a new peptide CCS training set, wherein the new peptide CCS training set includes a plurality of trivalent peptide sequences with a charge number of 3 and new experimental CCS values corresponding to each trivalent peptide sequence;
[0013] Based on the one-hot vector, multiple amino acids in each trivalent peptide sequence are encoded to obtain a new amino acid vector, and each of the new amino acid vectors and the corresponding trivalent peptide sequence are encoded to obtain a corresponding new two-dimensional matrix;
[0014] The CCS prediction model is trained based on the new two-dimensional matrix and the new experimental CCS value to generate a trivalent CCS prediction model.
[0015] In some embodiments, before the step of obtaining the peptide CCS training set, the method further includes:
[0016] The protein was digested by trypsin and chymotrypsin to obtain multiple peptide sequences.
[0017] In some embodiments, the peptide sequence includes a phosphorylated modified peptide sequence and / or a non-phosphorylated modified peptide sequence.
[0018] In some embodiments, encoding multiple amino acids in each peptide sequence based on a one-hot vector to obtain an amino acid vector includes:
[0019] Based on a one-hot vector with a length of M, multiple amino acids in each peptide sequence are encoded to obtain an amino acid vector, wherein the first 20 bits of the amino acid vector are used to identify the amino acid, and the last M-20 bits of the amino acid vector are used to identify the post-translational modification group, which includes the phosphorylation modification group; wherein M≥20, and M is a positive integer.
[0020] In some embodiments, the data preprocessing module is used to perform position encoding on the two-dimensional matrix so that each amino acid in the two-dimensional matrix carries position information.
[0021] In a second aspect, a CCS prediction model construction device is provided, comprising:
[0022] An acquisition unit, which is used to acquire a peptide CCS training set, wherein the peptide CCS training set includes a plurality of peptide sequences and experimental CCS values corresponding to each peptide sequence;
[0023] An encoding unit, which is used to encode multiple amino acids in each peptide sequence based on the one-hot vector to obtain an amino acid vector, and encode each amino acid vector and the corresponding peptide sequence to obtain a corresponding two-dimensional matrix;
[0024] A training unit is used to train the encoding-decoding model based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model, wherein the encoding-decoding model includes an encoding part and a decoding part, wherein the encoding part includes a data preprocessing module, a layer of fully connected network and multiple serially connected sub-encoders, each of the sub-encoders includes a multi-head self-attention network and a forward feedback network, and the decoding part includes a convolutional neural network and a four-layer fully connected network.
[0025] In a third aspect, a CCS prediction model building device is provided, comprising: a memory and a processor, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the aforementioned CCS prediction model building method.
[0026] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the aforementioned CCS prediction model construction method is implemented.
[0027] The beneficial effects brought about by the technical solution provided in this application include: accurate and efficient prediction of peptide CCS can be achieved.
[0028] The present application provides a method, apparatus, device and readable storage medium for constructing a CCS prediction model, including obtaining a peptide CCS training set, wherein the peptide CCS training set includes multiple peptide sequences and experimental CCS values corresponding to each peptide sequence one by one; encoding multiple amino acids in each peptide sequence based on a one-hot vector to obtain an amino acid vector, and encoding each amino acid vector and the corresponding peptide sequence to obtain a corresponding two-dimensional matrix; training an encoding-decoding model based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model, wherein the encoding-decoding model includes an encoding part and a decoding part, wherein the encoding part includes a data preprocessing module, a layer of fully connected network and multiple sub-encoders connected in series, each of the sub-encoders includes a multi-head self-attention network and a forward feedback network, and the decoding part includes a convolutional neural network and a four-layer fully connected network. This application combines the self-attention mechanism with a convolutional neural network to obtain a CCS prediction model. By predicting the peptide CCS through the self-attention network in the CCS prediction model, the global information of the interactions between amino acids in the peptide sequence can be better captured for efficient parallel operations. Without relying on the temporal nature of the peptide sequence, accurate and efficient prediction of the peptide CCS can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0030] Figure 1 A schematic diagram of a CCS prediction model construction method provided in an embodiment of the present application;
[0031] Figure 2 A schematic diagram of the structure of the encoding-decoding model provided in the embodiment of the present application;
[0032] Figure 3 A schematic diagram of the structure of a CCS prediction model building device provided in an embodiment of the present application;
[0033] Figure 4 A schematic diagram of the structure of a CCS prediction model building device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0035] The embodiments of the present application provide a CCS prediction model construction method, device, equipment and readable storage medium, which can solve the problems of poor prediction result accuracy and low computational efficiency caused by predicting CCS through long short-term memory model in related technologies.
[0036] Figure 1 A CCS prediction model construction method provided in an embodiment of the present application includes the following steps:
[0037] Step S10: obtaining a peptide CCS training set, wherein the peptide CCS training set includes a plurality of peptide sequences and experimental CCS values corresponding to each peptide sequence;
[0038] Exemplarily, in the present embodiment, the peptide CCS training set can be obtained by sorting out the relevant data that has been published, or it can be obtained by data obtained after experiments, and the training data is formed after the data is processed. However, no matter which method is used to form the training set, the peptide CCS training set in this embodiment includes multiple peptide sequences and experimental CCS values corresponding to each peptide sequence. The experimental CCS value already exists in the relevant data that has been published or is obtained through experiments, and it is mainly used to train the CCS prediction model in this embodiment.
[0039] Of course, since the publicly published relevant data or the data obtained through experiments include not only the peptide sequence and its corresponding experimental CCS value, but also the post-translational modification site information and the charge number information of the peptide sequence, the peptide sequence can be classified based on the charge number to obtain different types of training sets. The amino acids can also be processed based on the post-translational modification site information to enrich the effective information of the peptide sequence, providing a basis for the prediction of the CCS value of the modified peptide in this embodiment.
[0040] Furthermore, before the step of obtaining the peptide CCS training set, the method further includes: enzymatically hydrolyzing the protein based on trypsin and chymotrypsin to obtain a plurality of peptide sequences.
[0041] Exemplarily, the related art mainly predicts the CCS of peptides based on the long short-term memory (LSTM) model, and achieves good prediction results on the test set. However, the peptides in its data set are mainly obtained by enzymatic digestion of proteins with Trypsin, so that the C-termini of most peptides are arginine and lysine, which affects the abundance of peptide species. Therefore, adding other C-terminal types of peptides to the data set is also very important for the universality of the model. If the peptide CCS training set in this embodiment is formed based on the data obtained from the experiment, the extracted proteins can be hydrolyzed with trypsin and chymotrypsin in the proteomics experiment to increase the abundance of the C-termini of the peptides, thereby effectively improving the universality of the model.
[0042] Furthermore, the peptide sequence includes a phosphorylated modified peptide sequence and / or a non-phosphorylated modified peptide sequence.
[0043] Exemplarily, for a peptide sequence, phosphorylation is a very important modification, and the peptide sequences in the training set in the related technology often only focus on acetylation modification and oxidation modification. Therefore, it can only predict the CCS of acetylated modified peptides and oxidized modified peptides; and in the embodiment of the present application, the peptides obtained after enzymatic hydrolysis are specifically enriched with phosphorylated peptides by titanium dioxide to obtain non-phosphorylated peptides and phosphorylated peptide samples, and then the TIMS-Pro mass spectrometer (the mass spectrometer uses a proprietary captured ion mobility spectrometry technology, which can achieve higher speed, higher sensitivity, and more powerful proteomics analysis, and has excellent single peptide and protein identification performance) is used for analysis and detection, and the mass spectrometry detection results are searched and identified by Maxquant software (i.e., proteomics software), thereby obtaining a large number of phosphorylated modified peptide sequences, non-phosphorylated modified peptide sequences and corresponding experimental CCS.
[0044] This embodiment performs model training based on a peptide CCS training set containing phosphorylated modified peptide sequences and non-phosphorylated modified peptide sequences, so that the CCS prediction model obtained in this embodiment can not only perform CCS predictions for acetylated modified peptides and oxidized modified peptides, but also perform CCS predictions for phosphorylated modified peptides, further improving the universality of the model.
[0045] Furthermore, before the step of obtaining the peptide CCS training set, the method further includes the following steps: integrating peptide sequences with the same charge number as the peptide CCS training set.
[0046] For example, in the related art, all peptide sequences with different charge numbers are often used as a training set (that is, the training set includes both divalent peptides and trivalent peptides, etc.) for model training, and the peptide sequences with different charge numbers are not classified. However, since peptides with different charge numbers may have differences in spatial configuration, if the model is trained using a training set of peptide sequences with different charge numbers, the accuracy of the trained model will be low, making it impossible to accurately predict the CCS of the peptide sequence.
[0047] The embodiments of the present application process peptide sequences in a modular manner. For example, all peptide sequences with a divalent charge number are used as a training set, and all peptide sequences with a trivalent charge number are used as another training set. The model can be first trained with a training set containing only divalent peptides to obtain a trained model, and then the trained model can be trained with a training set containing only trivalent peptides. That is, the model can be trained separately for peptide sequences with the same charge number, which can effectively improve the accuracy and effect of the model.
[0048] Step S20: encoding multiple amino acids in each peptide sequence based on the one-hot vector to obtain an amino acid vector, and encoding each amino acid vector and the corresponding peptide sequence to obtain a corresponding two-dimensional matrix;
[0049] Furthermore, encoding multiple amino acids in each peptide sequence based on the one-hot vector to obtain an amino acid vector includes:
[0050] Based on a one-hot vector with a length of M, multiple amino acids in each peptide sequence are encoded to obtain an amino acid vector, wherein the first 20 bits of the amino acid vector are used to identify the amino acid, and the last M-20 bits of the amino acid vector are used to identify the post-translational modification group, which includes the phosphorylation modification group; wherein M≥20, and M is a positive integer.
[0051] Exemplarily, in this embodiment, a peptide sequence including a phosphorylated modified peptide sequence and / or a non-phosphorylated modified peptide sequence is taken as an example, and a one-hot vector (a one-hot vector is a process of converting a categorical variable into a form that is easy to use for a machine learning algorithm) with a length of M (M>=20) is used to encode amino acids to obtain an amino acid vector, where the first 20 bits of the amino acid vector represent 20 amino acids in a peptide sequence, and the last M-20 bits represent M-20 post-translational modification groups that need to be considered in the peptide sequence, such as acetylation modification groups, oxidation modification groups, and phosphorylation modification groups; then the peptide sequence with a length of N is encoded with the amino acid vector corresponding to the peptide sequence to obtain an N×M one-hot two-dimensional matrix; in this embodiment, the maximum length of the peptide is set to 50, and finally the one-hot two-dimensional matrix is filled with zero values to obtain a 50×M matrix. For example, the one-hot two-dimensional matrix of a phosphorylated peptide with a length of 8 is:
[0052] [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
[0053] [0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
[0054] [0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
[0055] [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
[0056] [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
[0057] [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0]
[0058] [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1]
[0059] [0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0]
[0060] Step S30: The encoding-decoding model is trained based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model, wherein the encoding-decoding model includes an encoding part and a decoding part, wherein the encoding part includes a data preprocessing module, a layer of fully connected network and multiple sub-encoders connected in series, each of the sub-encoders includes a multi-head self-attention network and a forward feedback network, and the decoding part includes a convolutional neural network and a four-layer fully connected network.
[0061] Furthermore, the data preprocessing module is used to perform position encoding on the two-dimensional matrix so that each amino acid in the two-dimensional matrix carries position information.
[0062] Furthermore, when the charge number of the peptide sequence in the peptide CCS training set is 2, after the step of training the encoding-decoding model based on the two-dimensional matrix and the experimental CCS value to generate the CCS prediction model, it also includes:
[0063] Acquire a new peptide CCS training set, wherein the new peptide CCS training set includes a plurality of trivalent peptide sequences with a charge number of 3 and new experimental CCS values corresponding to each trivalent peptide sequence;
[0064] Based on the one-hot vector, multiple amino acids in each trivalent peptide sequence are encoded to obtain a new amino acid vector, and each of the new amino acid vectors and the corresponding trivalent peptide sequence are encoded to obtain a corresponding new two-dimensional matrix;
[0065] The CCS prediction model is trained based on the new two-dimensional matrix and the new experimental CCS value to generate a trivalent CCS prediction model.
[0066] For example, since the deep learning model based on the self-attention mechanism is widely used in various natural language processing tasks, its core self-attention mechanism does not need to rely on sequence timing, has a very good effect on the representation of sequence data, and can achieve efficient parallel operation. Therefore, the inventors found that the deep learning model based on the self-attention mechanism has great potential in the task of predicting the CCS of peptide sequences. Figure 2 As shown, in this embodiment, an encoding-decoding model (i.e., the model is an Encoder-Decoder structure) is first created. The Encoder part is mainly composed of a multi-head self-attention mechanism and a fully connected layer, while the Decoder part is composed of a convolutional neural network and a fully connected layer. The implementation of the model can rely on the open source framework Pytorch (Pytorch is used for applications such as natural language processing).
[0067] Specifically, the encoder part includes a data preprocessing module, a fully connected network layer, and multiple serially connected sub-encoders, each of which includes a multi-head self-attention network and a forward feedback network. The data preprocessing module is used to positionally encode the two-dimensional matrix so that each amino acid in the two-dimensional matrix carries position information, that is, position encoding is added to the one-hot two-dimensional matrix input to the encoder. The encoding method can be:
[0068]
[0069]
[0070] Where PE represents the position code of each position in the two-dimensional matrix, pos is the sequence of amino acids, 2i and 2i+1 represent the even and odd dimensions in the amino acid vector, respectively, and d model is the length of the amino acid vector (d model =M), position encoding allows the model to distinguish the position of each amino acid when the self-attention mechanism itself is not temporal and cannot capture the sequence order.
[0071] Then, a layer of fully connected network with dimension L1 (L1>M) is used as the second part of the Encoder to convert the original matrix of dimension 50×M into a matrix of dimension 50×L1. The role of a layer of fully connected network is to increase the information dimension of amino acids, so that the subsequent self-attention part can extract more structural feature information of peptide segments.
[0072] Then multiple (for example, 10) serially connected sub-encoders (i.e., sub-Encoders) are used as the third part of the Encoder. Each sub-Encoder consists of a multi-head self-attention network and a feedforward network. The multi-head self-attention network and the feedforward network can be connected with residuals to prevent gradient explosion or disappearance, and layer normalization is added. A PaddingMask (for handling non-fixed-length sequences) mechanism is added to the input of the first sub-Encoder. By setting the Padding part to a minimum value and using the Softmax (normalized exponential function) function to make the output of the corresponding part of the Padding in the matrix approach zero, the network's attention is focused on the effective coding part of the peptide sequence. Therefore, after the Encoder part, the dimension of the one-hot two-dimensional matrix is 50×L1.
[0073] The decoder part includes a convolutional neural network and a four-layer fully connected network. Among them, the convolutional neural network constitutes the first part of the decoder, and the convolutional neural network includes K convolutional layers and K Maxpool layers (i.e., maximum pooling layers). The peptide information represented by the encoder is first extracted locally through the convolutional layer, and then the local information is fused, so that the structural information of the peptide is more complete and three-dimensional. The four-layer fully connected network is used as the second part of the decoder, which can first stretch the output of the convolutional neural network into a one-dimensional vector, and then output the final predicted CCS through the four-layer fully connected network. It can be seen that the high-dimensional data output by the convolutional layer can be gradually reduced in dimension and information fused through the four-layer fully connected network, and finally the high-dimensional abstract structural information is transformed into a low-dimensional peptide sequence CCS.
[0074] After the encoding-decoding model is created, the two-dimensional matrix and experimental CCS value obtained in step S20 can be input into the encoding-decoding model for training. Among them, before step S10, the peptide sequences in the training set can be classified according to the charge number to form a CCS training set of peptide sequences with different charge numbers. Assuming that there are only divalent and trivalent peptides in the acquired data, all peptide sequences with a charge number of divalent and their corresponding experimental CCS values are used as the first training set, and all peptide sequences with a charge number of trivalent and their corresponding experimental CCS values are used as the second training set. First, the encoding-decoding model is trained based on the first training set, and the loss function is MSE (i.e., mean square error). After the training is completed, a divalent CCS prediction model is obtained; then the second training set is used to transfer learning of the divalent CCS prediction model with fixed partial parameters to obtain a trivalent CCS prediction model. It can be seen from this that the final CCS prediction model can not only retain the common structural properties between peptides at different valence states, but also explore the unique properties of peptides at different valence states, and finally obtain a CCS prediction model suitable for different valence states.
[0075] The embodiment of the present application combines the self-attention mechanism with the convolutional neural network to obtain a CCS prediction model. The self-attention network in the CCS prediction model is used to predict the peptide CCS, which can better capture the global information of the interaction between amino acids in the peptide sequence for efficient parallel operation. It does not need to rely on the temporal nature of the peptide sequence to achieve accurate and efficient prediction of the peptide CCS.
[0076] The following will explain the process of constructing a CCS prediction model based on a training set compiled from publicly available relevant data.
[0077] First, download the public dataset and split it into groups according to the charge number:
[0078] Specifically, the public dataset of peptide CCS published by Matthias et al. was downloaded. The training set contained 533,669 biological peptides obtained through experiments and their corresponding experimental CCS values, and the test set contained 185,248 synthetic peptides and their corresponding experimental CCS values. Both the training set and the test set contained peptides with three charge numbers: divalent, trivalent, and tetravalent. Subsequently, the training set and the test set were divided into three parts according to the different charge numbers (i.e., there were three peptide sequence CCS training sets with different valence states). The numbers of divalent, trivalent, and tetravalent peptides in the training set were 370,087, 139,401, and 24,181, respectively, and the numbers of divalent, trivalent, and tetravalent peptides in the test set were 115,686, 56,037, and 13,525, respectively. In order to accelerate the training speed of the deep learning network, the CCS of all peptides can be uniformly divided by 100 as a label (label refers to the object that the model needs to predict) so that the model can converge faster.
[0079] Secondly, one-hot encoding is performed on the peptide sequences in the training set and the test set respectively:
[0080] Each amino acid in the peptide sequence is encoded with a 23-bit one-hot vector, the first 20 bits represent 20 amino acids, and the last three bits represent acetylation modification groups, oxidation modification groups, and phosphorylation modification groups, respectively, and the peptide sequence length N is limited to less than 50. After obtaining the N×23 one-hot two-dimensional matrix of each peptide sequence, the one-hot two-dimensional matrix is filled with zero values to a dimension of 50×23.
[0081] Again, build the encoding-decoding model (see Figure 2 shown):
[0082] First, the one-hot two-dimensional matrix with an input dimension of 50×23 is positionally encoded, and then it passes through a fully connected layer with a dimension of 500, and the data dimension becomes 50×500; the number of multi-head attention mechanisms in the sub-encoder is set to 5, and the dimension of the middle layer of the feedforward network is set to 1200; and the sub-encoder in the entire encoder is set to 10 layers in series, that is, the output data dimension is 50×500. The decoder consists of two layers of convolutional neural networks and four layers of fully connected networks. The convolutional neural network contains two convolutional layers and two maxpooling layers. The dimension of the input matrix is converted from 50×500 to 5×24×124. Finally, the output of the convolutional layer is stretched to a one-dimensional vector of 14880 and input into the fully connected network. The dimensions of the four layers of fully connected networks are 1000, 100, 23 and 1 respectively, and then the encoding-decoding model is generated.
[0083] Finally, train the model and test it:
[0084] First, the bivalent peptide training set with the largest amount of data is used to train the encoding-decoding model to obtain the bivalent CCS prediction model. Among them, the initial parameters of the network can be set as random parameters, the loss function uses MSELoss (root mean square error loss function), BatchSize (that is, the number of samples selected for one training) is set to 100, the initial learning rate is set to 0.0001, and the custom learning rate optimizer: it remains unchanged in 0-2Epoch (Epoch refers to a complete training of the model using all the data in the training set, that is, "one generation of training"), decreases five times in 3-7Epoch, decreases five times in 9-20Epoch, and decreases 10 times after 20Epoch and remains unchanged.
[0085] After the training of the bivalent CCS prediction model is completed, the parameters of the first 5 sub-encoders in the bivalent CCS prediction model are fixed, and the data of the trivalent peptide training set are used to perform transfer learning with the parameters of the bivalent CCS prediction model as the initial parameters. At this time, the initial learning rate can be set to 0.00001, and the learning rate planning-cosine annealing is used to optimize the learning rate. The training of the tetravalent peptide CCS prediction model is based on the parameters of the trivalent CCS prediction model, and its training method is the same as that of the trivalent CCS prediction model.
[0086] The three trained CCS prediction models were tested on the test sets of three valence states, and the MRE (Median Relative Error) was used to measure the model effect. Finally, the MRE of the CCS prediction model obtained in the embodiment of the present application on the divalent, trivalent, and quadrivalent test sets were 1.03%, 1.70%, and 1.84%, respectively, while the MRE of the existing LSTM model on the divalent, trivalent, and quadrivalent test sets were 1.17%, 1.81%, and 1.96%, respectively. It can be seen that the relative error of the prediction of the three valence states of CCS by the CCS prediction model in the embodiment of the present application is lower than that of the existing deep learning method.
[0087] The following will explain the process of constructing a CCS prediction model based on a training set compiled from relevant data obtained from experiments.
[0088] First, protein extraction, enzymatic hydrolysis, peptide enrichment, mass spectrometry detection and library search and identification were performed respectively:
[0089] Proteins were extracted from a variety of biological samples (such as Hela cells, HepG2 cells, mouse brain tissue, liver tissue, kidney tissue and yeast, etc.), and the extracted proteins were enzymatically hydrolyzed with Trypsin and Chymotrypsin, respectively, to increase the abundance of peptide C-terminal species; the peptide sequences obtained after enzymatic hydrolysis were specifically enriched for phosphorylated peptides using titanium dioxide to obtain non-phosphorylated peptides and phosphorylated peptide samples; then the non-phosphorylated peptides and phosphorylated peptide samples were analyzed and detected using Tims-Pro mass spectrometry, and the mass spectrometry detection results were searched and identified based on the Maxquant software, thereby obtaining a large number of peptide sequences and their corresponding experimental CCS values.
[0090] Secondly, the data is corrected, screened and integrated to construct a data set:
[0091] Since the CCS measurement by the instrument will have a certain degree of fluctuation, the experimental CCS value obtained can be corrected by tuning solution; peptides with a CCS coefficient of variation of less than 0.4% in repeated injections are screened and retained. For the case where different CCS values appear in the same peptide under the same charge number, only the CCS with the highest mass spectrometry signal intensity is retained; and for phosphorylated peptides, only peptides with a phosphorylation site confidence level greater than 0.95 are retained; then the peptides in different samples are integrated together, and peptides with a CCS coefficient of variation of less than 0.4% in repeated injections are also screened and retained, and the data are divided into different data sets according to the charge number, that is, the data can be divided into divalent peptides and trivalent peptides, and 10% of the data set is randomly selected as a test set, and the remaining 90% is used as a training set. Among them, both the non-phosphorylated peptide training set and the phosphorylated peptide training set contain bivalent training sets and trivalent training sets. The bivalent training set in the non-phosphorylated peptide training set contains 227,419 bivalent non-phosphorylated peptides, the trivalent training set in the non-phosphorylated peptide training set contains 74,874 trivalent non-phosphorylated peptides, the bivalent training set in the phosphorylated peptide training set contains 39,835 bivalent phosphorylated peptides, and the trivalent training set in the phosphorylated peptide training set contains 6,684 trivalent phosphorylated peptides.
[0092] Again, build an encoding-decoding learning model: The model structure here is consistent with the aforementioned model structure and the construction method is also consistent. For the convenience and brevity of description, it will not be repeated here.
[0093] Finally, train the model and test it:
[0094] The training of the non-phosphorylated peptide CCS prediction model in this embodiment can be based on the training set compiled from the publicly published relevant data to perform transfer learning using the CCS prediction model parameters of the corresponding valence state generated in the construction of the CCS prediction model as the initial parameters, and the training method is the same. The training of the phosphorylated peptide CCS prediction model can be based on the parameters of the non-phosphorylated peptide CCS prediction model as the initial parameters for the same transfer learning.
[0095] The trained non-phosphorylated peptide CCS prediction model and phosphorylated peptide CCS prediction model were tested on three valence test sets, and MRE was used to measure the model effect. In the end, the test set MREs of the divalent non-phosphorylated peptide and trivalent non-phosphorylated peptide obtained in the embodiment of the present application were 0.804% and 1.318%, respectively, while the test set MREs of the divalent phosphorylated peptide and trivalent phosphorylated peptide were 0.655% and 1.254%, respectively. It can be seen that the CCS prediction model constructed in this application is still accurate in predicting the experimentally constructed data set.
[0096] See also Figure 3 As shown, the embodiment of the present application also provides a CCS prediction model construction device, including:
[0097] An acquisition unit, which is used to acquire a peptide CCS training set, wherein the peptide CCS training set includes a plurality of peptide sequences and experimental CCS values corresponding to each peptide sequence;
[0098] An encoding unit, which is used to encode multiple amino acids in each peptide sequence based on the one-hot vector to obtain an amino acid vector, and encode each amino acid vector and the corresponding peptide sequence to obtain a corresponding two-dimensional matrix;
[0099] A training unit is used to train the encoding-decoding model based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model, wherein the encoding-decoding model includes an encoding part and a decoding part, wherein the encoding part includes a data preprocessing module, a layer of fully connected network and multiple serially connected sub-encoders, each of the sub-encoders includes a multi-head self-attention network and a forward feedback network, and the decoding part includes a convolutional neural network and a four-layer fully connected network.
[0100] The embodiment of the present application combines the self-attention mechanism with the convolutional neural network to obtain a CCS prediction model. The self-attention network in the CCS prediction model is used to predict the peptide CCS, which can better capture the global information of the interaction between amino acids in the peptide sequence for efficient parallel operation. It does not need to rely on the temporal nature of the peptide sequence to achieve accurate and efficient prediction of the peptide CCS.
[0101] Furthermore, the device also includes a processing unit, which is used to integrate peptide sequences with the same charge number as a peptide CCS training set.
[0102] Furthermore, when the charge number of the peptide sequence in the peptide CCS training set is 2, the acquisition unit is also used to: acquire a new peptide CCS training set, wherein the new peptide CCS training set includes multiple trivalent peptide sequences with a charge number of 3 and new experimental CCS values corresponding to each trivalent peptide sequence; the encoding unit is also used to: encode multiple amino acids in each trivalent peptide sequence based on the one-hot vector to obtain a new amino acid vector, and encode each of the new amino acid vectors and the corresponding trivalent peptide sequence to obtain a corresponding new two-dimensional matrix; the training unit is also used to: train the CCS prediction model based on the new two-dimensional matrix and the new experimental CCS value to generate a trivalent CCS prediction model.
[0103] Furthermore, the processing unit is also used to: perform enzymatic hydrolysis on the protein based on trypsin and chymotrypsin to obtain multiple peptide sequences.
[0104] Furthermore, the peptide sequence includes a phosphorylated modified peptide sequence and / or a non-phosphorylated modified peptide sequence.
[0105] Furthermore, the encoding unit is specifically used for:
[0106] Based on a one-hot vector with a length of M, multiple amino acids in each peptide sequence are encoded to obtain an amino acid vector, wherein the first 20 bits of the amino acid vector are used to identify the amino acid, and the last M-20 bits of the amino acid vector are used to identify the post-translational modification group, which includes the phosphorylation modification group; wherein M≥20, and M is a positive integer.
[0107] Furthermore, the data preprocessing module is used to perform position encoding on the two-dimensional matrix so that each amino acid in the two-dimensional matrix carries position information.
[0108] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device and each unit can refer to the corresponding process in the aforementioned CCS prediction model construction method embodiment, and will not be repeated here.
[0109] The apparatus provided in the above embodiment may be implemented in the form of a computer program. The computer program may be Figure 4 The CCS prediction model shown is built and run on the device.
[0110] An embodiment of the present application also provides a CCS prediction model building device, including: a memory, a processor and a network interface connected via a system bus, the memory storing at least one instruction, and the at least one instruction being loaded and executed by the processor to implement all or part of the steps of the aforementioned CCS prediction model building method.
[0111] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0112] The processor may be a GPU, a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc. The processor is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device.
[0113] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the computer device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a video playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as video data, image data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device or other volatile solid-state storage device.
[0114] The 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, all or part of the steps of the aforementioned CCS prediction model construction method are implemented.
[0115] The embodiment of the present application implements all or part of the aforementioned process, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of each of the above methods when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0116] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, servers or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
[0117] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0118] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0119] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A method for constructing a CCS prediction model. It is characterized in that The following steps are involved: Acquire a peptide CCS training set, wherein the peptide CCS training set includes multiple peptide sequences and experimental CCS values corresponding to each peptide sequence; Based on the one-hot vector, multiple amino acids in each peptide sequence are encoded to obtain an amino acid vector, and each amino acid vector and the corresponding peptide sequence are encoded to obtain a corresponding two-dimensional matrix; The encoding-decoding model is trained based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model, wherein the encoding-decoding model includes an encoding part and a decoding part, wherein the encoding part includes a data preprocessing module, a layer of fully connected network, and a plurality of sub-encoders connected in series, each of the sub-encoders includes a multi-head self-attention network and a forward feedback network, and the decoding part includes a convolutional neural network and a four-layer fully connected network; The data preprocessing module is used to perform position encoding on the two-dimensional matrix so that each amino acid in the two-dimensional matrix carries position information, and the encoding method is: Where PE represents the position code of each position in the two-dimensional matrix, pos represents the sequence of amino acids, 2i and 2i+1 represent the even and odd dimensions in the amino acid vector, respectively, and d model Represents the length of the amino acid vector.
2. The CCS prediction model construction method according to claim 1, It is characterized in that Before the step of obtaining the peptide CCS training set, the method further includes: The peptide sequences with the same charge number are integrated as the peptide CCS training set.
3. The CCS prediction model construction method according to claim 2, It is characterized in that When the charge number of the peptide sequence in the peptide CCS training set is 2, after the step of training the encoding-decoding model based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model, the method further includes: Acquire a new peptide CCS training set, wherein the new peptide CCS training set includes a plurality of trivalent peptide sequences with a charge number of 3 and new experimental CCS values corresponding to each trivalent peptide sequence; Based on the one-hot vector, multiple amino acids in each trivalent peptide sequence are encoded to obtain a new amino acid vector, and each of the new amino acid vectors and the corresponding trivalent peptide sequence are encoded to obtain a corresponding new two-dimensional matrix; The CCS prediction model is trained based on the new two-dimensional matrix and the new experimental CCS value to generate a trivalent CCS prediction model.
4. The CCS prediction model construction method according to claim 1, It is characterized in that Before the step of obtaining the peptide CCS training set, the method further includes: The protein was digested by trypsin and chymotrypsin to obtain multiple peptide sequences.
5. The CCS prediction model construction method according to claim 1, Features: The peptide sequence includes a phosphorylated modified peptide sequence and / or a non-phosphorylated modified peptide sequence.
6. The CCS prediction model construction method according to claim 5, It is characterized in that The method of encoding multiple amino acids in each peptide sequence based on the one-hot vector to obtain an amino acid vector includes: Based on a one-hot vector with a length of M, multiple amino acids in each peptide sequence are encoded to obtain an amino acid vector, wherein the first 20 bits of the amino acid vector are used to identify the amino acid, and the last M-20 bits of the amino acid vector are used to identify the post-translational modification group, which includes the phosphorylation modification group; wherein M≥20, and M is a positive integer.
7. A CCS prediction model construction device, It is characterized in that include: An acquisition unit, which is used to acquire a peptide CCS training set, wherein the peptide CCS training set includes a plurality of peptide sequences and experimental CCS values corresponding to each peptide sequence; An encoding unit, which is used to encode multiple amino acids in each peptide sequence based on the one-hot vector to obtain an amino acid vector, and encode each amino acid vector and the corresponding peptide sequence to obtain a corresponding two-dimensional matrix; A training unit, which is used to train the encoding-decoding model based on the two-dimensional matrix and the experimental CCS value to generate a CCS prediction model, wherein the encoding-decoding model includes an encoding part and a decoding part, wherein the encoding part includes a data preprocessing module, a layer of fully connected network and a plurality of sub-encoders connected in series, each of the sub-encoders includes a multi-head self-attention network and a forward feedback network, and the decoding part includes a convolutional neural network and a four-layer fully connected network; The data preprocessing module is used to perform position encoding on the two-dimensional matrix so that each amino acid in the two-dimensional matrix carries position information, and the encoding method is: Where PE represents the position code of each position in the two-dimensional matrix, pos represents the sequence of amino acids, 2i and 2i+1 represent the even and odd dimensions in the amino acid vector, respectively, and d model Represents the length of the amino acid vector.
8. A CCS prediction model building device, It is characterized in that include: A memory and a processor, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the CCS prediction model construction method according to any one of claims 1 to 6.
9. A computer-readable storage medium, Features: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the CCS prediction model construction method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Method and system for predicting protein-polypeptide binding site
CN113593631A
Sequence variation detection using deep learning
EP3739590A1
