Method, device, equipment and storage medium for determining polypeptide toxicity
By combining the sequence, structure and composition characteristic information of polypeptides with the deep learning model, the cross-attention model is used to predict polypeptide toxicity, which solves the problem of low accuracy of polypeptide toxicity prediction, improves the accuracy and efficiency of prediction, and reduces the safety of the design. Sexual risks and costs.
Patent Information
- Application Number
- CN202410931014.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-11
AI Technical Summary
The low accuracy of peptide toxicity prediction leads to the failure of clinical trials and increases the cost and potential safety risks of peptide design and screening.
The deep learning model is used to combine the sequence information, structure information and composition feature information of the polypeptide, and the interaction characteristics between different types of information are obtained through the cross-attention model, and the classification model is used to predict the toxicity of the polypeptide to improve the accuracy and efficiency of the prediction.
It improves the accuracy and efficiency of peptide toxicity prediction and reduces the safety risks and screening costs of peptide design.
Smart Images

Figure CN118471346B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technology, and in particular to a method, device, equipment and storage medium for determining polypeptide toxicity. Background Art
[0002] Peptides have antiviral, antibacterial, and anticancer properties, and can cross the blood-brain barrier, making them a hot topic in drug development. However, the toxicity of peptides is one of the main reasons for the failure of clinical trials. In the field of peptide design and screening, it is crucial to accurately predict the toxicity of peptides, which can speed up the speed of peptide design and screening, reduce the potential safety risks of peptide design, and reduce the various costs of peptide screening. Summary of the invention
[0003] In view of this, the present invention provides a method, device, equipment and storage medium for determining polypeptide toxicity to solve the problem of low accuracy in polypeptide toxicity prediction.
[0004] In a first aspect, the present invention provides a method for determining polypeptide toxicity, the method comprising:
[0005] Obtaining sequence information, structural information, and composition characteristic information of the polypeptide to be determined for toxicity and the corresponding receptor;
[0006] Inputting the composition feature information of the polypeptide and the receptor into the first extraction model to obtain a first feature tensor; inputting the structural information of the polypeptide and the receptor into the second extraction model to obtain a second feature tensor; inputting the sequence information of the polypeptide and the receptor into the third extraction model to obtain a third feature tensor;
[0007] Obtaining an interactive feature tensor among the first feature tensor, the second feature tensor, and the third feature tensor through a cross attention model;
[0008] The interactive feature tensor is input into a classification model to obtain a polypeptide toxicity prediction value.
[0009] In an optional embodiment, the first extraction model is a 1-dimensional Vision Transformer model, the second extraction model is a 2-dimensional Vision Transformer model, the third extraction model is a Star-Transformer model, and the classification model is a plurality of convolutional neural networks.
[0010] In an optional embodiment, the structural information of the polypeptide and the receptor is input into a second extraction model to obtain a second feature tensor, including:
[0011] Obtaining a structural diagram of the polypeptide and a structural diagram of the receptor;
[0012] Cropping and / or adjusting the pixel size of the structure diagram of the polypeptide and the structure diagram of the receptor to obtain an adjusted structure diagram pair;
[0013] splicing the adjusted structural diagram pairs;
[0014] The spliced structure graph is input into the second extraction model to obtain the second feature tensor.
[0015] In an optional embodiment, the inputting the sequence information of the polypeptide and the receptor into the third extraction model to obtain the third feature tensor comprises:
[0016] Replacing modifications in the sequence information of the polypeptide and the receptor with modification group words respectively;
[0017] Separating the sequence information of the polypeptide and the receptor except for the modification into word units to obtain the sequence word unit information of the polypeptide and the receptor;
[0018] splicing the sequence word information of the polypeptide and the receptor to obtain spliced sequence word information;
[0019] The concatenated sequence word element information is input into the third extraction model to obtain the third feature tensor.
[0020] In an optional embodiment, the composition feature information includes amino acid composition, dipeptide composition, tripeptide composition, atomic composition, bond composition, physicochemical property composition, residue repeat information, physicochemical property repeat information, residue distance distribution, protein Shannon entropy, residue Shannon entropy, physicochemical property Shannon entropy, joint triplet descriptor, composition enhanced transition distribution, pseudo amino acid composition, amphipathic pseudo amino acid composition, quasi-sequence order and sequence coupling number descriptor.
[0021] In an optional implementation, the above method further includes:
[0022] Constructing a polypeptide toxicity prediction model based on cross-attention, wherein the polypeptide toxicity prediction model based on cross-attention includes the first extraction model, the second extraction model, the third extraction model, the cross-attention model and the classification model;
[0023] Collect sequence information, composition feature information, structure information and peptide toxicity labels of peptide samples and corresponding receptor samples;
[0024] Inputting the sequence information, composition feature information, and structure information of the polypeptide sample and the corresponding receptor sample into the polypeptide toxicity prediction model based on cross-attention, and outputting the corresponding sample polypeptide toxicity prediction value;
[0025] The parameters of the cross-attention-based polypeptide toxicity prediction model are adjusted based on the sample polypeptide toxicity prediction value and the polypeptide toxicity label.
[0026] In an optional embodiment, the adjusting parameters of the polypeptide toxicity prediction model based on cross-attention based on the sample polypeptide toxicity prediction value and the polypeptide toxicity label comprises:
[0027] calculating a gradient of the sample;
[0028] calculating the momentum and the second moment of the gradient;
[0029] Correcting the momentum and the second moment respectively;
[0030] The parameters of the cross-attention-based polypeptide toxicity prediction model are updated according to the corrected momentum, the second moment and the learning rate until the deviation between the sample polypeptide toxicity prediction value output by the cross-attention-based polypeptide toxicity prediction model and the polypeptide toxicity label is minimized.
[0031] In a second aspect, the present invention provides a device for determining polypeptide toxicity, the device comprising:
[0032] An acquisition module, used to obtain sequence information, structural information and composition characteristic information of the polypeptide to be determined for toxicity and the corresponding receptor;
[0033] The first feature extraction module is used to input the composition feature information of the polypeptide and the receptor into the first extraction model to obtain a first feature tensor; input the structural information of the polypeptide and the receptor into the second extraction model to obtain a second feature tensor; input the sequence information of the polypeptide and the receptor into the third extraction model to obtain a third feature tensor;
[0034] A second feature extraction module, used for obtaining an interactive feature tensor among the first feature tensor, the second feature tensor and the third feature tensor through a cross attention model;
[0035] The prediction module is used to input the interactive feature tensor into the classification model to obtain the polypeptide toxicity prediction value.
[0036] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for determining polypeptide toxicity of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0037] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the polypeptide toxicity determination method of the first aspect or any corresponding embodiment thereof.
[0038] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, wherein the computer instructions are used to cause a computer to execute the method for determining polypeptide toxicity according to the first aspect or any corresponding embodiment thereof.
[0039] The polypeptide toxicity determination method, device, equipment and storage medium provided in this embodiment constructs a deep learning model to predict polypeptide toxicity, and not only utilizes the sequence information of the polypeptide, but also utilizes the structural information and composition feature information of the polypeptide to predict polypeptide toxicity, and designs a cross-attention model in the deep learning model to obtain the interactive features between different types of information of the polypeptide, which not only improves the efficiency of polypeptide toxicity prediction, but also improves the accuracy of polypeptide toxicity prediction. Furthermore, the embodiment of the present invention also utilizes the sequence information, structural information and composition feature information of the receptor to predict polypeptide toxicity, further improving the accuracy of polypeptide toxicity prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 is a schematic diagram of a process for determining polypeptide toxicity according to an embodiment of the present invention;
[0042] Figure 2 is a schematic flow chart of another method for determining polypeptide toxicity according to an embodiment of the present invention;
[0043] Figure 3 is a schematic diagram of the composition characteristics of a polypeptide according to an embodiment of the present invention;
[0044] Figure 4 is a schematic diagram of the structure of a polypeptide toxicity prediction model according to an embodiment of the present invention;
[0045] Figure 5 is a schematic diagram of cropping and adjusting pixel size of a polypeptide and receptor structure diagram according to an embodiment of the present invention;
[0046] Figure 6 is a schematic diagram of mapping sequence word units and corresponding word unit embedding features according to an embodiment of the present invention;
[0047] Figure 7 is a schematic diagram of processing the composition feature information of polypeptides and receptors by a 1-dimensional Vision Transformer model according to an embodiment of the present invention;
[0048] Figure 8 is a schematic diagram of processing the structures of a polypeptide and a receptor by a 2D Vision Transformer model according to an embodiment of the present invention;
[0049] Fig. 9 is a schematic diagram of model input data according to an embodiment of the present invention;
[0050] Fig.10 is a schematic diagram showing a comparison between a model training evaluation value and a model ablation test evaluation value according to an embodiment of the present invention;
[0051] Fig.11 is a structural block diagram of a polypeptide toxicity determination device according to an embodiment of the present invention;
[0052] Fig.12 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0054] According to an embodiment of the present invention, an embodiment of a method for determining polypeptide toxicity is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of executable computer instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0055] In this embodiment, a method for determining polypeptide toxicity is provided, which can be used in various computer devices, including various terminals and servers. Figure 1 is a flow chart of a method for determining polypeptide toxicity according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0056] Step S101, obtaining sequence information, structural information and composition characteristic information of the polypeptide to be determined for toxicity and the corresponding receptor.
[0057] Among them, the composition feature information of the polypeptide is calculated based on the sequence information of the polypeptide, such as using the tool Pfeature [reference: Pande A, Patiyal S, Lathwal A, et al. Pfeature: A tool for computing wide range of protein features and building prediction models [J]. Journal of Computational Biology, 2023, 30 (2): 204-222.] to calculate. The composition feature information of the receptor is also calculated based on the sequence information of the receptor. The receptor here can be a protein or other component, such as a bacterial protein or a viral protein, or a human protein. Specifically, when the receptor is a human protein, the toxicity of the polypeptide to the human body can be directly derived, but in view of the large number of human protein types, it is not convenient to enumerate them. Therefore, the bacterial or viral protein targeted by the polypeptide as a drug can also be directly used as the corresponding receptor. In view of the difference between bacterial proteins, viral proteins and human proteins, the better the binding performance of the polypeptide with the receptor, the poorer the binding of the polypeptide with the human protein can be reflected from the side.
[0058] Specifically, the tool Pfeature includes six main modules, namely composition, binary profile, evolutionary information, structural features, patterns and model building, among which the composition module can calculate most existing composition features and new features. Based on the composition module of the tool Pfeature, as well as polypeptide sequences and receptor sequences, polypeptide composition features and receptor composition features are calculated. In an embodiment of the present invention, 18 polypeptide composition features and 18 receptor protein composition features can be calculated, for a total of 36 composition features.
[0059] The structural information of peptides and receptors is obtained based on sequence information, which can be predicted by artificial intelligence algorithms. For example, the artificial intelligence tool HelixFold-Single (reference: Fang X, Wang F, Liu L, et al. A method for multiple-sequence-alignment-free protein structure prediction using a protein language model [J]. Nature Machine Intelligence, 2023, 5 (10): 1087-1096.) is used to predict the structural information of peptides and receptors respectively. Other artificial intelligence tools can also be used for prediction, such as AlphaFold2, RoseTTAFold, ColabFold, OpenFold, Uni-Fold, FastFold, MEGA-Fold, HelixFold, ESM-Fold, OmegaFold, etc. The structures of peptides and receptors are 3D structures, and the structural information of peptides and receptors can be output as pictures.
[0060] Step S102, input the composition feature information of the polypeptide and the receptor into the first extraction model to obtain the first feature tensor; input the structural information of the polypeptide and the receptor into the second extraction model to obtain the second feature tensor; input the sequence information of the polypeptide and the receptor into the third extraction model to obtain the third feature tensor.
[0061] The information input into the model is all information after splicing. Specifically, the information input into the first extraction model is the information obtained by splicing the composition feature information of the polypeptide and the composition feature information of the receptor. The information input into the second extraction model is the information obtained by splicing the structure information of the polypeptide and the structure information of the receptor. The information input into the third extraction model is the information obtained by splicing the sequence information of the polypeptide and the sequence information of the receptor.
[0062] The composition characteristic information of the polypeptide and the composition characteristic information of the receptor can be spliced in such a way that the left and right are directly connected. Specifically, the composition characteristic information of the receptor can be on the left and the composition characteristic information of the polypeptide can be on the right, or the composition characteristic information of the polypeptide can be on the left and the composition characteristic information of the receptor can be on the right.
[0063] The splicing method of the sequence information of the polypeptide and the sequence information of the receptor can be directly connected on the left and the right. Specifically, the sequence information of the receptor can be on the left and the sequence information of the polypeptide can be on the right, or the sequence information of the polypeptide can be on the left and the sequence information of the receptor can be on the right.
[0064] The structural information of polypeptides and receptors is in the form of pictures. The splicing method of the polypeptide and receptor structural diagrams can be directly connected left and right, or directly connected up and down. The left-right order and up-down order of the polypeptide structural diagram and the receptor structural diagram are not restricted. The receptor structural diagram can be on the left and the polypeptide structural diagram can be on the right, or the polypeptide structural diagram can be on the left and the receptor structural diagram can be on the right; the receptor structural diagram can be on the top and the polypeptide structural diagram can be on the bottom, or the polypeptide structural diagram can be on the top and the receptor structural diagram can be on the bottom.
[0065] Step S103, obtaining the interactive feature tensor between the first feature tensor, the second feature tensor and the third feature tensor through the cross attention model.
[0066] That is, based on the first feature tensor, the second feature tensor and the third feature tensor, the interaction features between different features are obtained through the cross attention model. Specifically, the first feature tensor, the second feature tensor and the third feature tensor are combined in pairs and split into the query part and the key value part. The output is obtained by calculating the association between the query and the key value through the attention mechanism. First, the query and each key are dot-producted to calculate the similarity to obtain the weight, and then the weight is normalized using the softmax function. Finally, the weight and value are weighted and summed to obtain the final output.
[0067] Step S104, inputting the interactive feature tensor into the classification model to obtain a polypeptide toxicity prediction value.
[0068] The first extraction model, the second extraction model, the third extraction model and the classification model may adopt different model architectures.
[0069] The method for determining polypeptide toxicity provided in this embodiment constructs a deep learning model to predict polypeptide toxicity, and not only utilizes the sequence information of the polypeptide, but also utilizes the structural information and composition feature information of the polypeptide to predict polypeptide toxicity, and designs a cross-attention model in the deep learning model to obtain the interactive features between different types of polypeptide information, which not only improves the efficiency of polypeptide toxicity prediction, but also improves the accuracy of polypeptide toxicity prediction. Furthermore, the embodiment of the present invention also utilizes the sequence information, structural information and composition feature information of the receptor to predict polypeptide toxicity, further improving the accuracy of polypeptide toxicity prediction.
[0070] In this embodiment, a method for determining polypeptide toxicity is provided, which can be used in the above-mentioned mobile terminals, such as mobile phones, tablet computers, etc. Figure 2 is a flow chart of a method for determining polypeptide toxicity according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0071] Step S201, obtaining sequence information, structural information and composition characteristic information of the polypeptide to be determined for toxicity and the corresponding receptor.
[0072] In an embodiment of the present invention, 18 composition features of a polypeptide and a corresponding receptor are obtained. Specifically, the composition feature information includes amino acid composition (AAC), dipeptide composition (DPC), tripeptide composition (TPC), atomic composition (ATC), bond composition (BTC), physico-chemical properties composition (PCP), residue repeat information (RRI), physico-chemical properties repeat information (PRI), distance distribution of residues (DDR), Shannon entropy of protein (SEP), Shannon entropy of residues (SER), Shannon entropy of physico-chemical properties (SPC), conjoint triad descriptors (CTC), composition enhanced transition distribution (CETD), and protein Shannon entropy (SEP). distribution, CeTD), pseudo amino acid composition (Pseudo amino acid composition, PAAC), amphiphilic pseudo amino acid composition (Amphiphilic pseudo amino acid composition, APAAC), quasi sequence order (Quasi sequence order, QSO), sequence order coupling number descriptor (Sequence order coupling number, SOC). For details, please refer to Figure 3 , Figure 3The first column shows the name of the peptide or receptor, and the other columns show the corresponding calculated values of different composition features. For example, the second column "AAC_A" corresponds to one of the "amino acid composition" composition features, "DPC1_AA" is one of the "dipeptide composition" composition features, and "SOC1_SC1" is one of the "sequence coupling number descriptor" composition features.
[0073] Step S202, see Figure 4 , the composition feature information of the polypeptide and the receptor is input into the first extraction model to obtain the first feature tensor; the structural information of the polypeptide and the receptor is input into the second extraction model to obtain the second feature tensor; the sequence information of the polypeptide and the receptor is input into the third extraction model to obtain the third feature tensor.
[0074] In some optional specific embodiments, step S202, that is, inputting the structural information of the polypeptide and the receptor into the second extraction model to obtain the second feature tensor, includes:
[0075] Step S20211, obtaining a structure diagram of the polypeptide and a structure diagram of the receptor. In this embodiment, the structure information of the polypeptide and the receptor is in the form of pictures.
[0076] Step S20212, cropping and / or adjusting the pixel size of the polypeptide structure diagram and the receptor structure diagram to obtain an adjusted structure diagram pair.
[0077] Specifically, in the embodiments of the present invention, the receptor structure diagram and the polypeptide structure diagram can be cropped using the image center cropping method. For example, please refer to Figure 5 The initial receptor structure diagram and polypeptide structure diagram are both 804 pixels high and 1700 pixels wide. The transforms module of torchvision in the deep learning framework Pytorch is used to crop the receptor structure diagram and polypeptide structure diagram according to the center cropping method of the image, and then the pixel size of the receptor structure diagram and polypeptide structure diagram is changed to 224 pixels high and 224 pixels wide. The main purpose of cropping is to remove the blank part of the structure diagram. When cropping the receptor structure diagram and polypeptide structure diagram, the sizes of the two can be cropped to be consistent, or they can be cropped to be inconsistent as needed.
[0078] Step S20213, splicing the adjusted structure diagrams. Specifically, the splicing method of the structure diagrams of the polypeptide and the receptor can be directly connected left and right, or directly connected up and down. The left-right order and up-down order of the structure diagram of the polypeptide and the structure diagram of the receptor are not limited. The structure diagram of the receptor can be on the left and the structure diagram of the polypeptide can be on the right, or the structure diagram of the polypeptide can be on the left and the structure diagram of the receptor can be on the right; the structure diagram of the receptor can be on the top and the structure diagram of the polypeptide can be on the bottom, or the structure diagram of the polypeptide can be on the top and the structure diagram of the receptor can be on the bottom.
[0079] Step S20214, input the spliced structure graph into the second extraction model to obtain a second feature tensor.
[0080] In some optional specific embodiments, step S202, inputting the sequence information of the polypeptide and the receptor into the third extraction model to obtain the third feature tensor includes:
[0081] Step S20221, replacing modifications in the sequence information of the polypeptide and the receptor with modification group words respectively;
[0082] Step S20222, performing word segmentation on the sequence information of the polypeptide and the receptor except for the modified parts, respectively, to obtain the sequence word element information of the polypeptide and the receptor;
[0083] If the sequence does not include modifications, tokenization is performed directly.
[0084] Step S20223, concatenating the sequence word information of the polypeptide and the receptor to obtain concatenated sequence word information;
[0085] Step S20224, input the concatenated sequence word information into the third extraction model to obtain a third feature tensor.
[0086] In the embodiment of the present invention, the sequence information of the polypeptide and receptor can be converted into sequence word information by performing word segmentation on the polypeptide sequence and the receptor sequence. Specifically, the K-mer method can be used to segment the polypeptide sequence and the receptor sequence, with the K value set to 1 and the step size set to 1. For sequences containing modifications, the modifications are directly used as special words and are not segmented according to the K-mer method. For details, please refer to Figure 6 , 20 kinds of amino acid residues can be used as 20 words, namely Y (tyrosine), A (alanine), T (threonine), V (valine), L (leucine), D (aspartic acid), E (glutamic acid), G (glycine), R (arginine), H (histidine), I (isoleucine), W (tryptophan), Q (glutamine), K (lysine), M (methionine), F (phenylalanine), N (asparagine), S (serine), P (proline), C (cysteine). Three modifications correspond to three special words, namely: <modification1> 、 <modification2> 、 <modification3>. 1 special word <pad>Stands for fill.
[0087] In this embodiment, there are 25 words in total. <pad>The word is mapped to number 0, word Y is mapped to number 1, word A is mapped to number 2, word T is mapped to number 3, word V is mapped to number 4, word L is mapped to number 5, word D is mapped to number 6, word E is mapped to number 7, word G is mapped to number 8, word R is mapped to number 9, word H is mapped to number 10, word I is mapped to number 11, word W is mapped to number 12, word Q is mapped to number 13, word K is mapped to number 14, word M is mapped to number 15, word F is mapped to number 16, word N is mapped to number 17, word S is mapped to number 18, word P is mapped to number 19, word C is mapped to number 20, and the modified word <modification1>Mapped to number 21, modifier element <modification2>Mapped to number 22, modifier element <modification3>Mapped to number 23, unknown word <unknown>Mapped to the number 24.
[0088] In some optional specific implementations, the first extraction model is a 1-dimensional Vision Transformer model, the second extraction model is a 2-dimensional Vision Transformer model, and the third extraction model is a Star-Transformer model.
[0089] The 1D Vision Transformer model consists of a patch embedding part, a transformer encoder part, and a multi-layer perceptron head (MLP head). The main function of the patch embedding part is to convert the input into a token sequence that can be processed by the transformer encoder part. Figure 7 In Vision Transformer, the input is first divided into multiple patches of fixed size, and then these patches are passed through a linear mapping layer to obtain the corresponding token embeddings. In addition, a learnable positional embedding (Positional Encoding) is added so that the model can perceive the position information of the token. In this embodiment of the present invention, the spliced polypeptide composition feature information and receptor composition feature information are one-dimensional inputs. For one-dimensional input, the batch (patch) quantity calculation method is: number of columns / patch size. In this embodiment, each group of receptor composition feature information-polypeptide composition feature information contains a total of 36 types of composition feature information, a total of 18378 columns, and a shape of 1×18378. By setting the patch size to 18, the composition feature information is divided into 1021 different patches. Then the patch and position embedding are added and input into the encoder of Transformer. Please refer to Figure 7 , the encoder of Transformer includes a normalization layer, a multi-head self-attention layer, a residual connection layer, a normalization layer, a feedforward connection layer, and a residual connection layer.
[0090] The second extraction model is a 2D Vision Transformer model, which also includes a patch embedding part, a transformer encoder part, and a multi-layer perceptron head part. The structure diagram obtained by splicing the structure diagram of the peptide and the structure diagram of the receptor is a 2D input. For 2D input, the number of patches is calculated as: (height pixels × width pixels) / square of the patch size. In this example, the height pixels are 448 and the width pixels are 224. By setting the patch size to 16, the constituent features are divided into 392 different patches. Please refer to Figure 8 In VisionTransformer, the input is first split into multiple fixed-size patches, and then the patch and position embeddings are added and input into the Transformer encoder. The Transformer encoder includes a normalization layer, a multi-head self-attention layer, a residual connection layer, a normalization layer, a feedforward connection layer, and a residual connection layer.
[0091] In other implementations, the first extraction model, the second extraction model, and the third extraction model may all be convolutional neural network (CNN) models.
[0092] Step S203, see Figure 4 , the interactive feature tensor between the first feature tensor, the second feature tensor and the third feature tensor is obtained through the cross attention model.
[0093] Among them, the cross attention model is used to process the attention and relationship between the first feature tensor, the second feature tensor and the third feature tensor to obtain the interaction features between different types of features.
[0094] Step S204, see Figure 4 , the interactive feature tensor is input into the classification model to obtain the peptide toxicity prediction value. Specifically, the classification model can be multiple convolutional neural network (CNN) models. The classification model can also be a recurrent neural network (RNN) model.
[0095] In addition, before using the first extraction model, the second extraction model, the third extraction model, the cross-attention model and the classification model to predict peptide toxicity, a model construction and training process is also included, which may specifically include the following steps:
[0096] Step S2001, constructing a polypeptide toxicity prediction model based on cross-attention, wherein the polypeptide toxicity prediction model based on cross-attention includes a first extraction model, a second extraction model, a third extraction model, a cross-attention model and a classification model.
[0097] Specifically, see Figure 4 The outputs of the first extraction model (1-dimensional Vision Transformer model), the second extraction model (2-dimensional Vision Transformer model) and the third extraction model (Star-Transformer model) are used as the input of the cross-attention model, and the output of the cross-attention model is used as the input of the classification model.
[0098] Step S2002, collect the sequence information, composition feature information, structure information and peptide toxicity label of the peptide sample and the corresponding receptor sample. For example, please refer to Fig. 9 , input1_ids represents the composition feature information of the peptide sample and the corresponding receptor sample, which is a floating point number. The composition feature information of the receptor is in front and the composition feature information of the peptide is in the back. Each pair of composition feature information (the composition feature information of a peptide and the composition feature information of the corresponding receptor) contains 36 kinds of composition feature information, totaling 18378 columns. input2_ids represents the structural information, which is a floating point number. The structural information of the receptor is on top and the structural information of the peptide is in the back. The number of pixels of each pair of structural information (the structural information of a peptide and the structural information of the corresponding receptor) is 448 and the width is 224. input3_ids represents the sequence information, which is an integer. The sequence word information of the receptor is in front and the sequence word information of the peptide is in the back, and finally a special word is used. <pad>(Mapped to the number 0) to fill. input3_lens represents the length of the sequence information, which is the length of the receptor sequence plus the length of the peptide sequence. The length of each pair of sequences can be 112. If it is shorter than 112, a special word is used. <pad>The mapping number 0 is used to fill in the label. Labels represent toxicity labels, 1 represents toxicity, and 0 represents non-toxicity. Specifically, CC50 (cytotoxic concentration 50%, the concentration that causes 50% cytotoxicity) 40uM can be used as the threshold for classification. CC50 greater than or equal to 40uM represents non-toxicity, marked as 0. CC50 less than 40uM represents toxicity, marked as 1.
[0099] Step S2003, inputting the sequence information, composition feature information, and structure information of the polypeptide sample and the corresponding receptor sample into the polypeptide toxicity prediction model based on cross-attention, and outputting the corresponding sample polypeptide toxicity prediction value.
[0100] Among them, the sequence information of the polypeptide sample and the corresponding receptor sample is used to input into the third extraction model, the composition feature information of the polypeptide sample and the corresponding receptor sample is used to input into the first extraction model, and the structural information of the polypeptide sample and the corresponding receptor sample is used to input into the second extraction model, and the classification model outputs the sample polypeptide toxicity prediction value.
[0101] In addition, the amount of sample data is large and needs to be input into the peptide toxicity prediction model based on cross-attention in batches for prediction. Specifically, the samples can be divided into small batches according to the set batch size and whether to perform random shuffling operations.
[0102] Step S2004, adjusting the parameters of the cross-attention based peptide toxicity prediction model based on the sample peptide toxicity prediction value and the peptide toxicity label. Specifically, by adjusting the parameters of the cross-attention based peptide toxicity prediction model, the deviation between the sample peptide toxicity prediction value and the peptide toxicity label is minimized. The deviation between the sample peptide toxicity prediction value and the peptide toxicity label can be calculated by a loss function, such as a cross-entropy loss function (CrossEntropyLoss), or an exponential loss function, etc.
[0103] In some specific implementations, the training of the peptide toxicity prediction model based on cross-attention requires multiple parameter adjustments. After each parameter adjustment, the model (with adjusted parameters) will be used again to predict the sample, and the loss function value (i.e., deviation value) will be calculated based on the peptide toxicity prediction value and the peptide toxicity label until the calculated loss function value is minimized, and the parameter adjustment process can be stopped. Each parameter adjustment process clears the existing gradient and performs back propagation. The optimization algorithm uses the Adam algorithm, which uses an exponentially weighted moving average to estimate the momentum and second moment of the gradient, dynamically adjusts the learning rate of each parameter in the model, and accelerates model convergence. The details are as follows:
[0104] Step S2004, i.e., adjusting parameters of the cross-attention based peptide toxicity prediction model based on the sample peptide toxicity prediction value and the peptide toxicity label, includes:
[0105] Calculate the gradient of the sample;
[0106] Compute the momentum and second moment of the gradient; specifically, the momentum is: , the second moment (exponentially weighted moving average of the squared gradient) is: ,in and is a non-negative weight parameter, is the gradient, is the momentum of the previous iteration, is the second moment of the previous iteration, and the earliest momentum and second moment are the set initial values.
[0107] The momentum and the second moment are corrected respectively; the corrected momentum and the second moment can be specifically: , ;
[0108] The parameters of the peptide toxicity prediction model based on cross-attention are updated according to the corrected momentum and second moment and the learning rate until the deviation between the sample peptide toxicity prediction value and the peptide toxicity label output by the peptide toxicity prediction model based on cross-attention is minimized. The parameter update process can be specifically as follows: ,in, , represents the parameters before and after the update, ε is a very small number, such as 10 -8 , used to avoid division by zero errors, is the learning rate.
[0109] The embodiment of the present invention can adaptively adjust the learning rate of each parameter, and adjust it according to the momentum and second moment of its gradient, which helps to accelerate the convergence of the model. By performing an exponentially weighted moving average on the momentum and second moment of the gradient, the embodiment of the present invention takes into account the historical information of the gradient when updating the parameters, which helps to update the parameters smoothly. In addition, the selection of hyperparameters is relatively robust, and usually does not require too much parameter adjustment to perform well.
[0110] The model training process also includes a model validation process. In this embodiment, K-fold cross validation can be used. Specifically, the collected peptide samples and corresponding receptor samples are divided into K non-overlapping subsets, and then the model is trained on K-1 subsets, and the model validation operation is performed on the remaining 1 subset. A total of K model training and model validation are performed. The optimal cross-attention-based peptide toxicity prediction model is saved for each training, and K cross-attention-based peptide toxicity prediction models and K validation results are obtained (for example, the area under the ROC curve and the coordinate axis (Area Under Curve, AUC)). Finally, the average value is calculated based on the K validation results to evaluate the K cross-attention-based peptide toxicity prediction models. Finally, K cross-attention-based peptide toxicity prediction models with the best evaluation results are obtained. Subsequent peptide toxicity prediction is not performed using a cross-attention-based peptide toxicity prediction model, but using K cross-attention-based peptide toxicity prediction models to perform peptide toxicity prediction, and finally the average value is calculated as the final prediction value.
[0111] In a specific implementation, 397 samples were collected to obtain 397 sets of multimodal information (including sequence information, composition feature information, and structure information). The initially constructed cross-attention-based peptide toxicity prediction model was trained through 5-fold cross-validation to obtain 5 optimal cross-attention-based peptide toxicity prediction models, corresponding to 5 AUCs. The average value of the 5 AUCs was as high as 0.9403 ( Fig.10 The baseline is marked in the figure.
[0112] For comparison, we use the same samples and the same training method to conduct a model ablation test. That is, we reduce the information of different modalities and test the AUC changes of the model. Fig.10 It can be seen that after removing the composition feature information and the corresponding first extraction model, the AUC of the polypeptide toxicity prediction model based on cross-attention dropped to 0.9334, and the AUC dropped by 0.69%; after removing the structural information and the corresponding second extraction model, the AUC of the polypeptide toxicity prediction model based on cross-attention dropped to 0.9116, and the AUC dropped by 2.87%; after removing the sequence information and the corresponding third extraction model, the AUC of the polypeptide toxicity prediction model based on cross-attention dropped to 0.6269, and the AUC dropped by 31.34%. It can be seen that all modal information and models of the embodiments of the present invention are crucial. Using the polypeptide toxicity prediction model based on cross-attention of the present invention, multiple different aspects of information can be integrated to improve the accuracy of polypeptide toxicity prediction.
[0113] In this embodiment, a polypeptide toxicity determination device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0114] This embodiment provides a polypeptide toxicity determination device, such as Fig.11 As shown, including:
[0115] An acquisition module 1101 is used to obtain sequence information, structural information and composition characteristic information of the polypeptide to be determined for toxicity and the corresponding receptor;
[0116] The first feature extraction module 1102 is used to input the composition feature information of the polypeptide and the receptor into the first extraction model to obtain the first feature tensor; input the structural information of the polypeptide and the receptor into the second extraction model to obtain the second feature tensor; input the sequence information of the polypeptide and the receptor into the third extraction model to obtain the third feature tensor;
[0117] A second feature extraction module 1103, used to obtain an interactive feature tensor between the first feature tensor, the second feature tensor and the third feature tensor through a cross attention model;
[0118] The prediction module 1104 is used to input the interactive feature tensor into the classification model to obtain the polypeptide toxicity prediction value.
[0119] In some optional embodiments, the first extraction model is a 1-dimensional Vision Transformer model, the second extraction model is a 2-dimensional Vision Transformer model, the third extraction model is a Star-Transformer model, and the classification model is a plurality of convolutional neural networks.
[0120] In some optional implementations, the first feature extraction module 1102 includes:
[0121] A structure diagram acquisition unit, used to acquire a structure diagram of a polypeptide and a structure diagram of a receptor;
[0122] A structure diagram adjustment unit, used for cropping and / or adjusting the pixel size of the structure diagram of the polypeptide and the structure diagram of the receptor to obtain an adjusted structure diagram pair;
[0123] A structure graph splicing unit, used for splicing the adjusted structure graph pairs;
[0124] The structure graph feature extraction unit is used to input the spliced structure graph into the second extraction model to obtain a second feature tensor.
[0125] In some optional implementations, the first feature extraction module 1102 includes:
[0126] A replacement unit, used to replace modifications in the sequence information of the polypeptide and the receptor with modification group words respectively;
[0127] A segmentation unit, used for segmenting the sequence information of the polypeptide and the receptor except for the modified part, to obtain the sequence word information of the polypeptide and the receptor;
[0128] A sequence word unit splicing unit is used to splice the sequence word information of the polypeptide and the receptor to obtain the spliced sequence word information;
[0129] The sequence feature extraction unit is used to input the concatenated sequence word information into the third extraction model to obtain a third feature tensor.
[0130] In some optional embodiments, the composition feature information includes amino acid composition, dipeptide composition, tripeptide composition, atomic composition, bond composition, physicochemical property composition, residue repeat information, physicochemical property repeat information, residue distance distribution, protein Shannon entropy, residue Shannon entropy, physicochemical property Shannon entropy, joint triplet descriptor, composition enhanced transition distribution, pseudo amino acid composition, amphipathic pseudo amino acid composition, quasi-sequence order and sequence coupling number descriptor.
[0131] In some optional embodiments, the polypeptide toxicity determination device further comprises:
[0132] A model building module, used to build a peptide toxicity prediction model based on cross-attention, the peptide toxicity prediction model based on cross-attention includes a first extraction model, a second extraction model, a third extraction model, a cross-attention model and a classification model;
[0133] A sample collection module is used to collect sequence information, composition feature information, structure information and peptide toxicity labels of peptide samples and corresponding receptor samples;
[0134] A sample prediction module, which is used to input the sequence information, composition feature information, and structure information of the peptide sample and the corresponding receptor sample into the peptide toxicity prediction model based on cross-attention, and output the corresponding sample peptide toxicity prediction value;
[0135] The parameter adjustment module is used to adjust the parameters of the cross-attention based peptide toxicity prediction model based on the sample peptide toxicity prediction value and the peptide toxicity label.
[0136] In some optional implementations, the parameter adjustment module includes:
[0137] Gradient calculation unit, used to calculate the gradient of the sample;
[0138] Momentum and second moment calculation unit, used to calculate the momentum and second moment of the gradient;
[0139] A correction unit, used for correcting momentum and secondary moment respectively;
[0140] A parameter updating unit is used to update the parameters of the peptide toxicity prediction model based on cross-attention according to the corrected momentum and second moment and the learning rate until the deviation between the sample peptide toxicity prediction value output by the peptide toxicity prediction model based on cross-attention and the peptide toxicity label is minimized.
[0141] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0142] The polypeptide toxicity determination device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0143] The embodiment of the present invention also provides a computer device having the above Fig.11 The apparatus for determining peptide toxicity is shown.
[0144] See also Fig.12 , Fig.12 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig.12 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.12 A processor 10 is taken as an example.
[0145] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0146] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0147] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0148] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0149] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Fig.12 The example of connecting through bus is taken in the following.
[0150] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.
[0151] The computer device also includes a communication interface, which is used for the computer device to communicate with other devices or a communication network.
[0152] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0153] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0154] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.< / pad> < / pad> < / unknown> < / pad> < / pad> < / modification2> < / modification1>
Claims
1. A method for determining peptide toxicity, It is characterized in that The method comprises: Obtaining sequence information, structural information, and composition characteristic information of the polypeptide to be determined for toxicity and the corresponding receptor; Input the composition feature information of the polypeptide and the receptor into the first extraction model to obtain the first feature tensor; input the structural information of the polypeptide and the receptor into the second extraction model to obtain the second feature tensor; input the sequence information of the polypeptide and the receptor into the third extraction model to obtain the third feature tensor; wherein the first extraction model is a 1-dimensional Vision Transformer model, the second extraction model is a 2-dimensional Vision Transformer model, and the third extraction model is a Star-Transformer model; Obtaining an interactive feature tensor among the first feature tensor, the second feature tensor, and the third feature tensor through a cross attention model; Inputting the interactive feature tensor into a classification model to obtain a polypeptide toxicity prediction value, wherein the classification model is a plurality of convolutional neural networks; The step of inputting the structural information of the polypeptide and the receptor into a second extraction model to obtain a second feature tensor comprises: Obtaining a structural diagram of the polypeptide and a structural diagram of the receptor; Cropping and / or adjusting the pixel size of the structure diagram of the polypeptide and the structure diagram of the receptor to obtain an adjusted structure diagram pair; splicing the adjusted structural diagram pairs; Inputting the spliced structure graph into the second extraction model to obtain the second feature tensor; The step of inputting the sequence information of the polypeptide and the receptor into a third extraction model to obtain a third feature tensor includes: Replacing modifications in the sequence information of the polypeptide and the receptor with modification group words respectively; Separating the sequence information of the polypeptide and the receptor except for the modification into word units to obtain the sequence word unit information of the polypeptide and the receptor; splicing the sequence word information of the polypeptide and the receptor to obtain spliced sequence word information; Inputting the concatenated sequence word element information into the third extraction model to obtain the third feature tensor; The polypeptide toxicity determination method further comprises: Constructing a polypeptide toxicity prediction model based on cross-attention, wherein the polypeptide toxicity prediction model based on cross-attention includes the first extraction model, the second extraction model, the third extraction model, the cross-attention model and the classification model; Collect sequence information, composition feature information, structure information and peptide toxicity labels of peptide samples and corresponding receptor samples; Inputting the sequence information, composition feature information, and structure information of the polypeptide sample and the corresponding receptor sample into the polypeptide toxicity prediction model based on cross-attention, and outputting the corresponding sample polypeptide toxicity prediction value; The parameters of the cross-attention-based polypeptide toxicity prediction model are adjusted based on the sample polypeptide toxicity prediction value and the polypeptide toxicity label.
2. The method according to claim 1, It is characterized in that The composition feature information includes amino acid composition, dipeptide composition, tripeptide composition, atomic composition, bond composition, physicochemical property composition, residue repeat information, physicochemical property repeat information, residue distance distribution, protein Shannon entropy, residue Shannon entropy, physicochemical property Shannon entropy, joint triplet descriptor, composition enhanced transition distribution, pseudo amino acid composition, amphipathic pseudo amino acid composition, quasi-sequence order and sequence coupling number descriptor.
3. The method according to claim 1, It is characterized in that The step of adjusting parameters of the polypeptide toxicity prediction model based on cross-attention based on the sample polypeptide toxicity prediction value and the polypeptide toxicity label comprises: calculating a gradient of the sample; calculating the momentum and the second moment of the gradient; Correcting the momentum and the second moment respectively; The parameters of the cross-attention-based polypeptide toxicity prediction model are updated according to the corrected momentum, the second moment and the learning rate until the deviation between the sample polypeptide toxicity prediction value output by the cross-attention-based polypeptide toxicity prediction model and the polypeptide toxicity label is minimized.
4. A device for determining polypeptide toxicity, It is characterized in that The device comprises: An acquisition module, used to obtain sequence information, structural information and composition characteristic information of the polypeptide to be determined for toxicity and the corresponding receptor; The first feature extraction module is used to input the composition feature information of the polypeptide and the receptor into the first extraction model to obtain the first feature tensor; input the structural information of the polypeptide and the receptor into the second extraction model to obtain the second feature tensor; input the sequence information of the polypeptide and the receptor into the third extraction model to obtain the third feature tensor; wherein the first extraction model is a 1-dimensional Vision Transformer model, the second extraction model is a 2-dimensional Vision Transformer model, and the third extraction model is a Star-Transformer model; A second feature extraction module, used for obtaining an interactive feature tensor among the first feature tensor, the second feature tensor and the third feature tensor through a cross attention model; A prediction module, used for inputting the interactive feature tensor into a classification model to obtain a prediction value of polypeptide toxicity, wherein the classification model is a plurality of convolutional neural networks; Wherein, the first feature extraction module includes: A structure diagram acquisition unit, used to acquire a structure diagram of the polypeptide and a structure diagram of the receptor; A structure diagram adjustment unit, used for cropping and / or adjusting the pixel size of the structure diagram of the polypeptide and the structure diagram of the receptor to obtain an adjusted structure diagram pair; A structure graph splicing unit, used for splicing the adjusted structure graph pairs; A structure graph feature extraction unit, used for inputting the spliced structure graph into the second extraction model to obtain the second feature tensor; The first feature extraction module also includes: A replacement unit, used to replace modifications in the sequence information of the polypeptide and the receptor with modification group words respectively; A segmentation unit, used for segmenting the sequence information of the polypeptide and the receptor except for the modification, to obtain sequence word information of the polypeptide and the receptor; A sequence word unit splicing unit, used for splicing the sequence word information of the polypeptide and the receptor to obtain spliced sequence word information; A sequence feature extraction unit, used for inputting the concatenated sequence word information into the third extraction model to obtain the third feature tensor; The polypeptide toxicity determination device also includes: A model building module, used to build a polypeptide toxicity prediction model based on cross-attention, wherein the polypeptide toxicity prediction model based on cross-attention includes the first extraction model, the second extraction model, the third extraction model, the cross-attention model and the classification model; A sample collection module is used to collect sequence information, composition feature information, structure information and peptide toxicity labels of peptide samples and corresponding receptor samples; A sample prediction module, used to input the sequence information, composition feature information, and structure information of the polypeptide sample and the corresponding receptor sample into the polypeptide toxicity prediction model based on cross-attention, and output the corresponding sample polypeptide toxicity prediction value; A parameter adjustment module is used to adjust the parameters of the cross-attention-based polypeptide toxicity prediction model based on the sample polypeptide toxicity prediction value and the polypeptide toxicity label.
5. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for determining polypeptide toxicity according to any one of claims 1 to 3 by executing the computer instructions.
6. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the polypeptide toxicity determination method according to any one of claims 1 to 3.
