A method for screening polypeptide compounds and related devices
Through the combined method of peptide generation model and activity prediction model, the problem of manually adding compound features in peptide screening is solved, which is time-consuming and inaccurate, and fast and accurate peptide compound screening is achieved.
Patent Information
- Application Number
- CN202110013890.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-06
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-01-06
AI Technical Summary
Manually adding compound features for peptide compound screening in AI medical scenarios is time-consuming, labor-intensive, and error-prone, affecting the accuracy of screening.
Using a combined method of peptide generation model and activity prediction model, the peptide sequence is generated through the generation model and input into the prediction model to obtain activity prediction information, which is used to screen target peptides, avoid manual intervention, and improve screening efficiency and accuracy.
A fast and accurate peptide compound activity screening process is achieved, which improves the accuracy of peptide compound screening and reduces the need for manual intervention.
Smart Images

Figure CN114724643B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method for screening polypeptide compounds and related devices. Background Art
[0002] AI (Artificial Intelligence) is an emerging science and technology that is currently being studied and developed to simulate, extend and expand human intelligence. Currently, AI technology has been widely used in many scenarios, such as AI medical scenarios.
[0003] Generally, in AI medical scenarios, the activity of antimicrobial peptides can be predicted based on artificial intelligence, and the prediction process can use artificially added compound features to identify similar compounds.
[0004] However, the method of artificially adding compound features is not conducive to the screening of a large number of peptide compounds. It is time-consuming and labor-intensive, and the artificially added features are prone to errors, which affects the accuracy of peptide compound screening. Summary of the invention
[0005] In view of this, the present application provides a method for screening polypeptide compounds, which can effectively improve the accuracy of polypeptide compound screening.
[0006] The first aspect of the present application provides a method for screening polypeptide compounds, which can be applied to a system or program including a polypeptide compound screening function in a terminal device, and specifically includes:
[0007] acquiring a peptide generation model in response to a target instruction;
[0008] Generate at least one polypeptide sequence based on the polypeptide generation model, the polypeptide generation model includes an encoding layer and a decoding layer, the encoding layer is used to generate a latent space according to training data, the latent space is used to provide sampling points, and the polypeptide sequence is obtained by decoding the sampling points based on the decoding layer;
[0009] The polypeptide sequence is input into an activity prediction model to obtain activity prediction information, and the activity prediction information is used to screen and obtain the target polypeptide in the polypeptide sequence.
[0010] Optionally, in some possible implementations of the present application, generating at least one polypeptide sequence based on the polypeptide generation model includes:
[0011] Determining the latent space corresponding to the encoding layer in the polypeptide generation model;
[0012] Sampling the latent space based on Gaussian distribution to obtain the sampling points;
[0013] The sampling points are input into the decoding layer to obtain the polypeptide sequence.
[0014] Optionally, in some possible implementations of the present application, inputting the sampling points into the decoding layer to obtain the polypeptide sequence includes:
[0015] Inputting the sampling points into the decoding layer to obtain a candidate sequence;
[0016] Acquiring activity information indicated in the target instruction;
[0017] Determining compound parameter restriction information corresponding to the activity information;
[0018] The candidate sequences are screened based on the compound parameter restriction information to obtain the polypeptide sequence.
[0019] Optionally, in some possible implementations of the present application, determining the compound parameter restriction information corresponding to the activity information includes:
[0020] Determining the target polypeptide category according to the activity information;
[0021] Determining the amino acid quantity range corresponding to the target polypeptide category;
[0022] The compound parameter restriction information is determined according to the amino acid quantity range.
[0023] Optionally, in some possible implementations of the present application, the inputting the polypeptide sequence into an activity prediction model to obtain activity prediction information includes:
[0024] Determine a first amino acid string sequence corresponding to the polypeptide sequence;
[0025] Inputting the first amino acid string sequence into the embedding layer in the activity prediction model to obtain a first embedding matrix;
[0026] Inputting the first embedding matrix into an attention encoding layer in the activity prediction model to obtain a first encoding matrix;
[0027] Inputting the first encoding matrix into an average pooling layer in the activity prediction model to obtain first pooling information;
[0028] Inputting the first pooling information into a fully connected layer in the activity prediction model to obtain a first activity prediction value;
[0029] The activity prediction information is determined based on the first activity prediction value.
[0030] Optionally, in some possible implementations of the present application, determining the activity prediction information based on the first activity prediction value includes:
[0031] generating a target activity sequence based on the first activity prediction value;
[0032] Determining a target item in the target activity sequence according to a prediction rule, wherein the prediction rule is set based on a numerical value or a sorting position;
[0033] The target item is extracted to obtain the activity prediction information.
[0034] Optionally, in some possible implementations of the present application, the step of obtaining a polypeptide generation model in response to a target instruction includes:
[0035] Obtaining activity information corresponding to the target instruction;
[0036] calling the training data based on the activity information;
[0037] The initial generation model is trained according to the training data to generate the polypeptide generation model.
[0038] Optionally, in some possible implementations of the present application, the training of the initial generation model according to the training data to generate the polypeptide generation model includes:
[0039] Obtaining a second amino acid character string sequence corresponding to the training data;
[0040] Inputting the second amino acid string sequence into the embedding layer in the initial generative model to obtain a second embedding matrix;
[0041] Inputting the second embedding matrix into the encoding layer in the initial generation model to obtain distribution information of the training data in the latent space;
[0042] Decoding based on the distribution information to obtain decoded data;
[0043] Determining difference information between the decoded data and the training data;
[0044] The initial generation model is trained based on the difference information to generate the polypeptide generation model.
[0045] Optionally, in some possible implementations of the present application, the method further includes:
[0046] Collecting polypeptide activity data based on the activity information;
[0047] Determine a third amino acid string sequence corresponding to the polypeptide activity data;
[0048] Inputting the third amino acid string sequence into the embedding layer in the initial prediction model to obtain a third embedding matrix;
[0049] Inputting the third embedding matrix into the attention encoding layer in the initial prediction model to obtain a second encoding matrix;
[0050] Inputting the second encoding matrix into the average pooling layer in the initial prediction model to obtain second pooling information;
[0051] Inputting the second encoding matrix into a fully connected layer in the initial prediction model to obtain a second activity prediction value;
[0052] Determining a numerical difference between the second activity prediction value and a true value corresponding to the polypeptide activity data;
[0053] The initial prediction model is trained according to the numerical difference to obtain the polypeptide prediction model.
[0054] Optionally, in some possible implementations of the present application, the method further includes:
[0055] Obtaining a comparative polypeptide corresponding to the target instruction;
[0056] Determining the amino acid distribution information corresponding to the comparison polypeptide;
[0057] The amino acid distribution information corresponding to the comparison polypeptide is compared with the amino acid distribution information corresponding to the polypeptide sequence to obtain comparison information, and the comparison information is used to indicate the generation efficiency of the polypeptide generation model.
[0058] Optionally, in some possible implementations of the present application, the method further includes:
[0059] Obtain activity prediction information under multiple activity indicators;
[0060] The same items in the activity prediction information under the multiple activity indicators are extracted to obtain the target polypeptide.
[0061] Optionally, in some possible implementations of the present application, the target instruction is used to instruct the screening of antimicrobial peptides, the peptide generation model is a variational encoder, the activity prediction model is an attention mechanism encoder, and the activity prediction information is an antimicrobial prediction value sequence.
[0062] The second aspect of the present application provides a screening device for polypeptide compounds, comprising:
[0063] an acquisition unit, used for acquiring a polypeptide generation model in response to a target instruction;
[0064] A generating unit, configured to generate at least one polypeptide sequence based on the polypeptide generating model, wherein the polypeptide generating model comprises an encoding layer and a decoding layer, wherein the encoding layer is configured to generate a latent space according to training data, wherein the latent space is configured to provide sampling points, and the polypeptide sequence is obtained by decoding the sampling points by the decoding layer;
[0065] The screening unit is used to input the polypeptide sequence into an activity prediction model to obtain activity prediction information, and the activity prediction information is used to screen and obtain the target polypeptide in the polypeptide sequence.
[0066] Optionally, in some possible implementations of the present application, the generation unit is specifically used to determine the latent space corresponding to the encoding layer in the polypeptide generation model;
[0067] The generating unit is specifically used to sample the latent space based on Gaussian distribution to obtain the sampling points;
[0068] The generating unit is specifically used to input the sampling points into the decoding layer to obtain the polypeptide sequence.
[0069] Optionally, in some possible implementations of the present application, the generating unit is specifically configured to input the sampling points into the decoding layer to obtain a candidate sequence;
[0070] The generating unit is specifically used to obtain the activity information indicated in the target instruction;
[0071] The generating unit is specifically used to determine the compound parameter restriction information corresponding to the activity information;
[0072] The generating unit is specifically used to screen the candidate sequence based on the compound parameter restriction information to obtain the polypeptide sequence.
[0073] Optionally, in some possible implementations of the present application, the generating unit is specifically used to determine the target polypeptide category according to the activity information;
[0074] The generating unit is specifically used to determine the amino acid quantity range corresponding to the target polypeptide category;
[0075] The generating unit is specifically used to determine the compound parameter restriction information according to the amino acid quantity range.
[0076] Optionally, in some possible implementations of the present application, the screening unit is specifically used to determine a first amino acid string sequence corresponding to the polypeptide sequence;
[0077] The screening unit is specifically configured to input the first amino acid string sequence into an embedding layer in the activity prediction model to obtain a first embedding matrix;
[0078] The screening unit is specifically configured to input the first embedding matrix into an attention encoding layer in the activity prediction model to obtain a first encoding matrix;
[0079] The screening unit is specifically configured to input the first encoding matrix into an average pooling layer in the activity prediction model to obtain first pooling information;
[0080] The screening unit is specifically configured to input the first pooling information into a fully connected layer in the activity prediction model to obtain a first activity prediction value;
[0081] The screening unit is specifically configured to determine the activity prediction information based on the first activity prediction value.
[0082] Optionally, in some possible implementations of the present application, the screening unit is specifically configured to generate a target activity sequence based on the first activity prediction value;
[0083] The screening unit is specifically used to determine the target item in the target activity sequence according to a prediction rule, wherein the prediction rule is set based on a numerical value or a sorting position;
[0084] The screening unit is specifically used to extract the target item to obtain the activity prediction information.
[0085] Optionally, in some possible implementations of the present application, the acquisition unit is specifically used to acquire activity information corresponding to the target instruction;
[0086] The acquisition unit is specifically configured to call the training data based on the activity information;
[0087] The acquisition unit is specifically used to train the initial generation model according to the training data to generate the polypeptide generation model.
[0088] Optionally, in some possible implementations of the present application, the acquisition unit is specifically used to acquire a second amino acid string sequence corresponding to the training data;
[0089] The acquisition unit is specifically configured to input the second amino acid string sequence into an embedding layer in the initial generation model to obtain a second embedding matrix;
[0090] The acquisition unit is specifically configured to input the second embedding matrix into the encoding layer in the initial generation model to obtain the distribution information of the training data in the latent space;
[0091] The acquisition unit is specifically configured to perform decoding based on the distribution information to obtain decoded data;
[0092] The acquisition unit is specifically used to determine the difference information between the decoded data and the training data;
[0093] The acquisition unit is specifically used to train the initial generation model based on the difference information to generate the polypeptide generation model.
[0094] Optionally, in some possible implementations of the present application, the screening unit is specifically used to collect polypeptide activity data based on the activity information;
[0095] The screening unit is specifically used to determine the third amino acid string sequence corresponding to the polypeptide activity data;
[0096] The screening unit is specifically configured to input the third amino acid string sequence into an embedding layer in the initial prediction model to obtain a third embedding matrix;
[0097] The screening unit is specifically configured to input the third embedding matrix into the attention encoding layer in the initial prediction model to obtain a second encoding matrix;
[0098] The screening unit is specifically configured to input the second encoding matrix into an average pooling layer in the initial prediction model to obtain second pooling information;
[0099] The screening unit is specifically configured to input the second encoding matrix into a fully connected layer in the initial prediction model to obtain a second activity prediction value;
[0100] The screening unit is specifically used to determine the numerical difference between the second activity prediction value and the true value corresponding to the polypeptide activity data;
[0101] The screening unit is specifically used to train the initial prediction model according to the numerical difference to obtain the polypeptide prediction model.
[0102] Optionally, in some possible implementations of the present application, the screening unit is specifically used to obtain a comparison polypeptide corresponding to the target instruction;
[0103] The screening unit is specifically used to determine the amino acid distribution information corresponding to the comparison polypeptide;
[0104] The screening unit is specifically used to compare the amino acid distribution information corresponding to the comparison polypeptide with the amino acid distribution information corresponding to the polypeptide sequence to obtain comparison information, and the comparison information is used to indicate the generation efficiency of the polypeptide generation model.
[0105] Optionally, in some possible implementations of the present application, the screening unit is specifically used to obtain activity prediction information under multiple activity indicators;
[0106] The screening unit is specifically used to extract the same items in the activity prediction information under the multiple activity indicators to obtain the target polypeptide.
[0107] The third aspect of the present application provides a computer device, comprising: a memory, a processor and a bus system; the memory is used to store program codes; the processor is used to execute the screening method for polypeptide compounds described in the first aspect or any one of the first aspects according to the instructions in the program code.
[0108] The fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method for screening polypeptide compounds described in the first aspect or any one of the first aspects.
[0109] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the screening method for polypeptide compounds provided in the first aspect or various optional implementations of the first aspect.
[0110] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0111] The polypeptide generation model is obtained by responding to the target instruction; then at least one polypeptide sequence is generated based on the polypeptide generation model, the polypeptide generation model includes an encoding layer and a decoding layer, the encoding layer is used to generate a latent space according to the training data, the latent space is used to provide sampling points, and the polypeptide sequence is obtained by decoding the sampling points based on the decoding layer; then the polypeptide sequence is input into the activity prediction model to obtain activity prediction information, and the activity prediction information is used to screen the target polypeptide in the polypeptide sequence. Thus, a fast and accurate polypeptide compound activity screening process is achieved. Since the input of the activity prediction model adopts the polypeptide sequence obtained by sampling the feature dimension in the polypeptide generation model, the sampling validity is guaranteed, and no manual operation is required, which further improves the accuracy of polypeptide compound screening. BRIEF DESCRIPTION OF THE DRAWINGS
[0112] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0113] Figure 1 A network architecture diagram for the peptide compound screening system;
[0114] Figure 2 A flowchart of a polypeptide compound screening process provided in an embodiment of the present application;
[0115] Figure 3 A flowchart of a method for screening a polypeptide compound provided in an embodiment of the present application;
[0116] Figure 4 A schematic diagram of a scenario of a method for screening a polypeptide compound provided in an embodiment of the present application;
[0117] Figure 5 A schematic diagram of another method for screening polypeptide compounds provided in an embodiment of the present application;
[0118] Figure 6 A schematic diagram of another method for screening polypeptide compounds provided in an embodiment of the present application;
[0119] Figure 7 A flow chart of another method for screening polypeptide compounds provided in the embodiments of the present application;
[0120] Figure 8 A flow chart of another method for screening polypeptide compounds provided in the embodiments of the present application;
[0121] Fig. 9 A schematic diagram of another method for screening polypeptide compounds provided in an embodiment of the present application;
[0122] Fig.10 A schematic diagram of the structure of a polypeptide compound screening device provided in an embodiment of the present application;
[0123] Fig.11 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0124] Fig.12 A schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0125] The embodiment of the present application provides a method for screening polypeptide compounds and related devices, which can be applied to a system or program containing a polypeptide compound screening function in a terminal device, by responding to a target instruction to obtain a polypeptide generation model; then generating at least one polypeptide sequence based on the polypeptide generation model, the polypeptide generation model includes a coding layer and a decoding layer, the coding layer is used to generate a latent space according to the training data, the latent space is used to provide sampling points, and the polypeptide sequence is obtained by decoding the sampling points based on the decoding layer; then the polypeptide sequence is input into the activity prediction model to obtain activity prediction information, and the activity prediction information is used to screen the target polypeptide in the polypeptide sequence. Thus, a fast and accurate polypeptide compound activity screening process is achieved. Since the input of the activity prediction model adopts the polypeptide sequence obtained by sampling the feature dimension in the polypeptide generation model, the sampling validity is guaranteed, and no manual operation is required, which further improves the accuracy of polypeptide compound screening.
[0126] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0127] First, some terms that may appear in the embodiments of the present application are explained.
[0128] Antimicrobial peptide (AMP): A class of polypeptides with antimicrobial activity. It is an important component of the innate immune system of organisms. It has a broad-spectrum bactericidal effect and can be used to treat cancer, anti-virus, anti-infection, etc.
[0129] It should be understood that the polypeptide compound screening method provided in the present application can be applied to a system or program containing a polypeptide compound screening function in a terminal device, such as a drug development software. Specifically, the polypeptide compound screening system can be run on a computer such as Figure 1 In the network architecture shown in Figure 1As shown in FIG. 1 , it is a network architecture diagram of the operation of the polypeptide compound screening system. As can be seen from the figure, the polypeptide compound screening system can provide a polypeptide compound screening process with multiple information sources, that is, the terminal sends a screening instruction to the server through the compound screening demand on the terminal side, generates compounds based on the screening instruction in the server, and predicts the activity of the compounds, thereby feeding back the relevant active compounds to the terminal; it can be understood that Figure 1 A variety of terminal devices are shown in FIG. 1 . The terminal device may be a computer device. In actual scenarios, more or fewer types of terminal devices may be involved in the screening process of polypeptide compounds. The specific number and type depend on the actual scenario and are not limited here. In addition, Figure 1 One server is shown in the figure, but in actual scenarios, multiple servers may be involved, especially in scenarios of multi-model training interaction, such as prediction scenarios of different activities; the specific number of servers depends on the actual scenario.
[0130] In this embodiment, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected through wired or wireless communication, and the terminal and the server can be connected to form a blockchain network, which is not limited in this application.
[0131] It is understandable that the above-mentioned polypeptide compound screening system can be run on a personal mobile terminal, for example, as an application such as drug development software, or it can be run on a server, or it can be run on a third-party device to provide polypeptide compound screening to obtain the screening processing results of the polypeptide compounds of the information source; the specific polypeptide compound screening system can be run in the above-mentioned device in the form of a program, or it can be run as a system component in the above-mentioned device, or it can be used as a cloud service program. The specific operation mode depends on the actual scenario and is not limited here.
[0132] AI (Artificial Intelligence) is an emerging science and technology that is currently being studied and developed to simulate, extend and expand human intelligence. Currently, AI technology has been widely used in many scenarios, such as AI medical scenarios.
[0133] Generally, in AI medical scenarios, the activity prediction of antimicrobial peptides can be performed based on deep learning technology in artificial intelligence, where deep learning is a type of machine learning. Machine Learning (ML) is a multi-disciplinary cross-disciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and learning by teaching.
[0134] Specifically, in the process of predicting the activity of polypeptide compounds, compound features can be artificially added to identify similar compounds.
[0135] However, the method of artificially adding compound features is not conducive to the screening of a large number of peptide compounds. It is time-consuming and labor-intensive, and the artificially added features are prone to errors, which affects the accuracy of peptide compound screening.
[0136] In order to solve the above problems, the present application proposes a method for screening polypeptide compounds, which is applied to Figure 2 The process framework of the screening of peptide compounds is shown as follows: Figure 2 As shown, it is a process architecture diagram for screening a polypeptide compound provided in an embodiment of the present application. The user interacts with the screening instruction through the terminal, thereby triggering the server to collect training data, and then trains the polypeptide generation model and the activity prediction model based on the training data; for example, the polypeptide generation model is a variational encoder (Variational Auto-Encoder, VAE), and the activity prediction model is an encoder based on the attention mechanism; then, the polypeptide compound is generated based on the trained polypeptide generation model, and the activity prediction is performed based on the activity prediction model, and the feedback is sent to the terminal.
[0137] It is understandable that the method provided in the present application can be written as a program to serve as a processing logic in a hardware system, or as a screening device for polypeptide compounds, and the above processing logic is implemented in an integrated or external manner. As an implementation method, the screening device for polypeptide compounds obtains a polypeptide generation model by responding to a target instruction; then generates at least one polypeptide sequence based on the polypeptide generation model, and the polypeptide generation model includes an encoding layer and a decoding layer, the encoding layer is used to generate a latent space according to training data, the latent space is used to provide sampling points, and the polypeptide sequence is obtained by decoding the sampling points based on the decoding layer; and then the polypeptide sequence is input into the activity prediction model to obtain activity prediction information, and the activity prediction information is used to screen the target polypeptide in the polypeptide sequence. Thereby, a fast and accurate polypeptide compound activity screening process is realized. Since the input of the activity prediction model adopts the polypeptide sequence obtained by sampling the feature dimension in the polypeptide generation model, the sampling validity is guaranteed, and no manual operation is required, which further improves the accuracy of polypeptide compound screening.
[0138] The solution provided in the embodiments of the present application involves the machine learning technology of artificial intelligence, which is specifically described by the following embodiments:
[0139] In combination with the above process framework, the following will introduce the screening method of the polypeptide compound in this application, please refer to Figure 3 , Figure 3 A flowchart of a method for screening a polypeptide compound provided in an embodiment of the present application. The management method can be executed by a terminal, or by a server, or by both a terminal and a server. The following description is made by taking the execution of the terminal as an example. The embodiment of the present application includes at least the following steps:
[0140] 301. Acquire a polypeptide generation model in response to a target instruction.
[0141] In this embodiment, the target instruction may be a polypeptide compound screening instruction for an activity index. Specifically, the activity index is the activity type possessed by the polypeptide compound obtained by screening, such as antibacterial activity, cancer treatment ability, antiviral activity, anti-infection activity, etc. In the following embodiment, antibacterial activity is used as an example for explanation, that is, the polypeptide compound is an antimicrobial peptide. The specific compound form depends on the actual scenario and is not limited here.
[0142] It is understandable that different activity indicators correspond to different polypeptide generation models, and the polypeptide generation model is used to generate a plurality of polypeptide compounds containing the characteristics of the polypeptide compounds corresponding to the activity indicators.
[0143] 302. Generate at least one polypeptide sequence based on the polypeptide generation model.
[0144] In this embodiment, the polypeptide generation model includes an encoding layer and a decoding layer, wherein the encoding layer is used to generate a latent space (Latent Space) according to the training data, and the latent space is used to provide sampling points, and the polypeptide sequence is obtained based on the decoding layer decoding the sampling points; wherein the latent space is a latent vector obtained by quantizing the training data based on the compound feature vector corresponding to the activity index, and sampling based on the latent vector can ensure that the obtained sampling points are all obtained based on effective features (compound features corresponding to the activity index). For example, the training data for antimicrobial peptide screening is the antimicrobial peptide data collected from a public database, and the effective features (amino acid features, conformational features, functional group features, etc.) corresponding to these antimicrobial peptide data, so that sampling is performed based on the effective features to ensure the effectiveness of the generated antimicrobial peptides.
[0145] In one possible scenario, the peptide generation model can be a variational encoder, such as Figure 4 As shown, Figure 4 A scene diagram of a method for screening polypeptide compounds provided in an embodiment of the present application; in the figure, the antimicrobial peptides in the training data are input into the encoding layer in the variational encoder, and then the latent space is constructed based on the feature classification and the feature average value, so as to obtain the distribution of the training data in the latent space, and then a point in the latent space is sampled, and the sampled point is decoded by the decoding unit to calculate the reconstruction error, and the variational encoder is trained through the back propagation of the neural network. Among them, the encoding layer can be an inference network, which is used for variational inference of the original input data and generates a variational probability distribution of the latent variables; the decoding layer can be a generation network, which is restored to the approximate probability distribution of the original data based on the generated variational probability distribution of the latent variables, and the inference network and the generation network are both recurrent neural networks (RNN) containing multi-layer gated recurrent units (Gated Recurrent Unit, GRU).
[0146] Specifically, the sampling process in the latent space can be performed randomly, that is, first determine the latent space corresponding to the encoding layer in the peptide generation model; then sample the latent space based on the Gaussian distribution to obtain sampling points; and then input the sampling points into the decoding layer to obtain the peptide sequence. Specifically, taking antimicrobial peptides as an example, the antimicrobial peptides are represented as amino acid string sequences, and after an embedding layer (Embedding Layer), the corresponding embedding matrix (Embedding Matrix) is obtained; then the embedding matrix of the antimicrobial peptides is encoded into a distribution in the latent space through the encoding layer, so as to sample and decode in the distribution in the latent space to obtain the peptide sequence.
[0147] It can be understood that a polypeptide sequence is a collection of multiple polypeptide compounds, that is, a series of compounds based on effective features. Compared with the generation process of combining multiple features, sequence screening based on effective features ensures the comprehensiveness of compound generation.
[0148] Optionally, since different categories of polypeptides have certain parameter restrictions, the sampling points can be first input into the decoding layer to obtain candidate sequences; then the activity information indicated in the target instruction, such as antibacterial activity, is obtained; and the compound parameter restriction information corresponding to the activity information is determined, such as the chain length corresponding to the antimicrobial peptide; and then the candidate sequences are screened based on the compound parameter restriction information to obtain the polypeptide sequence, thereby ensuring the accuracy of the generated polypeptide sequence.
[0149] Furthermore, the target polypeptide category can be determined based on the activity information, for example, antibacterial activity corresponds to a short peptide; then the amino acid number range corresponding to the target polypeptide category is determined; and then the compound parameter restriction information is determined based on the amino acid number range. For example, antimicrobial peptide is a short peptide, and the length (number of amino acids) range is generally 20 to 30 amino acids. Therefore, it can be seen that the length of the generated antimicrobial peptide sequence is limited to 20 to 30 amino acids, thereby screening the polypeptide compounds in the polypeptide sequence, further ensuring the accuracy of the polypeptide sequence.
[0150] 303. Input the polypeptide sequence into the activity prediction model to obtain activity prediction information.
[0151] In this embodiment, the activity prediction information is used to screen the target polypeptide in the polypeptide sequence. Specifically, the activity prediction information can be the prediction value sequence corresponding to the polypeptide sequence. The corresponding process of screening the target polypeptide in the polypeptide sequence can be performed according to a preset rule, that is, firstly generate a target activity sequence based on the activity prediction value; then determine the target item in the target activity sequence according to the prediction rule, and the prediction rule is set based on the numerical value or the sorting position; and then extract the target item to obtain the activity prediction information. For example, the preset rule is to arrange in order from large to small, and take the polypeptide compound with a large prediction value, or take the polypeptide compound with a prediction value greater than a threshold value. The specific method depends on the actual scenario and is not limited here.
[0152] Specifically, for the process of obtaining activity prediction information, the first amino acid string sequence corresponding to the polypeptide sequence can be first determined; then the first amino acid string sequence is input into the embedding layer in the activity prediction model to obtain a first embedding matrix; then the first embedding matrix is input into the attention encoding layer in the activity prediction model to obtain a first encoding matrix; and the first encoding matrix is input into the average pooling layer in the activity prediction model to obtain first pooling information; and then the first pooling information is input into the fully connected layer in the activity prediction model to obtain a first activity prediction value; thereby determining the activity prediction information based on the first activity prediction value.
[0153] In one possible scenario, the above activity prediction model can adopt an encoder based on the attention mechanism, such as Figure 5 As shown, Figure 5 A scenario schematic diagram of a method for screening polypeptide compounds provided in an embodiment of the present application; the figure shows that the antimicrobial peptide is first represented as an amino acid string sequence (first amino acid string sequence), and passes through an embedding layer (first embedding matrix) to obtain a corresponding embedding matrix (first embedding matrix); then the embedding matrix of the antimicrobial peptide is input into the encoding layer (attention encoding) of the Transformer algorithm to obtain an encoding matrix of the antimicrobial peptide sequence (first encoding matrix), and then the encoding matrix of the antimicrobial peptide sequence is passed through an average pooling layer (Mean Pooling Layer) and a fully connected layer to obtain an activity prediction value (first activity prediction value).
[0154] Optionally, in order to evaluate the efficiency of the polypeptide generation model in the above embodiment, a comparison polypeptide corresponding to the target instruction can be obtained; then the amino acid distribution information corresponding to the comparison polypeptide is determined; and then the amino acid distribution information corresponding to the comparison polypeptide is compared with the amino acid distribution information corresponding to the polypeptide sequence to obtain comparison information, and the comparison information is used to indicate the generation efficiency of the polypeptide generation model.
[0155] In a possible scenario, the antimicrobial peptide generation algorithm in the present application can be compared with the previous algorithms in terms of the antimicrobial peptide generation efficiency (the proportion predicted as antimicrobial peptides by the activity prediction model); as shown in Table 1, it is a comparison of the antimicrobial peptide generation efficiency; it can be seen from the table that 88% of the antimicrobial peptide sequences are predicted to have antimicrobial activity, which is higher than the other two peptide generation methods.
[0156] Table 1 Comparison of the efficiency of antimicrobial peptide production
[0157] method Effectiveness (%) Random Generation 65 LSTM 82 This application 88
[0158] In addition, for the evaluation of the amino acid distribution in the generated antimicrobial peptides, e.g. Figure 6 As shown, Figure 6 A schematic diagram of another scenario of a method for screening polypeptide compounds provided in an embodiment of the present application; it can be seen that the amino acid distribution in the generated antimicrobial peptides is basically consistent with the amino acid distribution of the real antimicrobial peptides, indicating the effectiveness of the polypeptide sequence generated in the present application.
[0159] Furthermore, the antimicrobial peptide activity prediction algorithm in the present application can also be compared with other algorithms, for example, based on regression data. As shown in Table 2, the regression data effect comparison of antimicrobial peptide activity prediction shows that the regression performance of the algorithm in the present application is better than that of other algorithms.
[0160] Table 2 Comparison of regression data effects for predicting antimicrobial peptide activity
[0161] method Regression value R Ridge 0.627 CNN 0.77 This application 0.79
[0162] In addition, comparison can be made based on classification data. As shown in Table 3, it is a comparison of regression data effects for predicting antimicrobial peptide activity. It can be seen that the classification effect of the algorithm in this application is better than other algorithms.
[0163] Table 3 Comparison of the effects of classification data in predicting antimicrobial peptide activity
[0164] method AUC-ROC iAMP-2L 0.849 CAMP RF 0.9363 CAMP SVM 0.9063 AMP Scanner 0.9648 This application 0.972
[0165] In combination with the above embodiments, it can be known that a polypeptide generation model is obtained by responding to a target instruction; then at least one polypeptide sequence is generated based on the polypeptide generation model, the polypeptide generation model includes an encoding layer and a decoding layer, the encoding layer is used to generate a latent space according to the training data, the latent space is used to provide sampling points, and the polypeptide sequence is obtained by decoding the sampling points based on the decoding layer; then the polypeptide sequence is input into the activity prediction model to obtain activity prediction information, and the activity prediction information is used to screen the target polypeptide in the polypeptide sequence. Thus, a fast and accurate polypeptide compound activity screening process is achieved. Since the input of the activity prediction model adopts the polypeptide sequence obtained by sampling the feature dimension in the polypeptide generation model, the sampling validity is guaranteed, and no manual operation is required, which further improves the accuracy of polypeptide compound screening.
[0166] The following is based on Figure 4 and Figure 5 The model architecture shown in the figure illustrates the model training process. Figure 7 , Figure 7 A flowchart of another method for screening polypeptide compounds provided in an embodiment of the present application, wherein the embodiment of the present application at least comprises the following steps:
[0167] 701. Determine an activity index corresponding to a target instruction.
[0168] In this embodiment, the target instruction is a screening process for an activity index that has not been screened before, for example, the first screening of polypeptide compounds with anti-cancer activity requires model training before executing a specific compound screening process.
[0169] 702. Collect training data based on the activity indicator.
[0170] In this embodiment, the training data collection process corresponds to the peptide generation model and the activity prediction model respectively, that is, the training data corresponding to the peptide generation model and the activity prediction model can be the same or different. The specific data source can be public network data, local database data, or related data obtained based on crawler technology, etc. The specific data source depends on the actual scenario and is not limited here.
[0171] 703. Train the peptide generation model and activity prediction model based on the training data.
[0172] In this embodiment, the model training process needs to be carried out based on different activity information (activity indicators), that is, firstly, the activity information corresponding to the target instruction is obtained; then the training data is called based on the activity information; and then the initial generation model is trained according to the training data to generate a polypeptide generation model.
[0173] Specifically, for the training process of the peptide generation model, the second amino acid string sequence corresponding to the training data can be first obtained; then the second amino acid string sequence is input into the embedding layer in the initial generation model to obtain the second embedding matrix; and the second embedding matrix is input into the encoding layer in the initial generation model to obtain the distribution information of the training data in the latent space; then decoding is performed based on the distribution information to obtain decoded data; the difference information between the decoded data and the training data is determined; and the initial generation model is trained based on the difference information to generate a peptide generation model.
[0174] In addition, for the training process of the activity prediction model, the polypeptide activity data can be first collected based on the activity information; then the third amino acid string sequence corresponding to the polypeptide activity data is determined; the third amino acid string sequence is then input into the embedding layer in the initial prediction model to obtain a third embedding matrix; and the third embedding matrix is input into the attention coding layer in the initial prediction model to obtain a second coding matrix; the second coding matrix is further input into the average pooling layer in the initial prediction model to obtain second pooling information; the second coding matrix is input into the fully connected layer in the initial prediction model to obtain a second activity prediction value; the numerical difference between the second activity prediction value and the true value corresponding to the polypeptide activity data is determined; and the initial prediction model is trained according to the numerical difference to obtain a polypeptide prediction model.
[0175] The following describes the training and screening processes in conjunction with the scenario where the antimicrobial peptide screening is performed for the first time (or after the training data is adjusted).
[0176] In the first stage, the peptide generation model training is firstly based on the antimicrobial peptide data collected from the public database to train a variational encoder for subsequent antimicrobial peptide sequence generation. Specifically, Figure 1As shown, the present application uses two recurrent neural networks containing multi-layer GRUs, which are used as the encoding (Encoder) and decoding (Decoder) units of the variational encoder respectively. After training, the reconstruction error between the encoded and decoded data and the initial data is minimized. Specifically, the antimicrobial peptide can be first represented as an amino acid string sequence, and a corresponding embedding matrix (Embedding Matrix) is obtained through an embedding layer (Embedding Layer). Then the embedding matrix of the antimicrobial peptide is encoded as a distribution in the latent space (Latent Space) through the encoding unit. Further, from the above distribution, a point in the latent space is sampled, and the sampled point is decoded through the decoding unit. Finally, the reconstruction error is calculated and back-propagated through the neural network.
[0177] In the second stage, the activity prediction model is trained. First, according to the antimicrobial peptide activity data collected from the public database, an antimicrobial peptide activity prediction model based on the attention mechanism is trained for subsequent antimicrobial peptide activity prediction and screening. Specifically, the antimicrobial peptide is first represented as an amino acid string sequence, and then an embedding layer is passed to obtain the corresponding embedding matrix; then the embedding matrix of the antimicrobial peptide is input into the Encoder module of the Transformer algorithm to obtain the encoding matrix of the antimicrobial peptide sequence. Then, the encoding matrix of the antimicrobial peptide sequence is passed through the mean pooling layer and the fully connected layer to obtain the activity prediction value. Finally, the error between the activity prediction value and the true value is calculated and back-propagated through the neural network.
[0178] The third stage is the generation of peptide compounds; that is, the antimicrobial peptide generation model trained in the first stage is used to generate antimicrobial peptide sequences. Specifically, a point in the latent space can be sampled according to the Gaussian distribution. Then the sampling point obtained in the previous step is decoded by the decoding unit to obtain the antimicrobial peptide sequence. In addition, the length of the generated antimicrobial peptide can be limited during the decoding process. The antimicrobial peptide is a short peptide, and the length (number of amino acids) is generally in the range of 20 to 30 amino acids, so the length of the generated antimicrobial peptide sequence can be limited to 20 to 30 amino acids.
[0179] The fourth stage is the prediction of the activity of polypeptide compounds. That is, the antimicrobial peptide activity prediction model trained in the second stage is used to predict the activity of the antimicrobial peptides obtained in the third stage. The prediction results are sorted from large to small according to the predicted antimicrobial activity values, and the final antimicrobial peptides are screened out for subsequent wet experiment verification, that is, applied to chemical experiments in the laboratory.
[0180] It can be seen from the above embodiments that, on the one hand, the present application proposes an antimicrobial peptide generation algorithm based on a variational encoder, which improves the efficiency of antimicrobial peptide generation, and on the other hand, proposes an antimicrobial peptide activity prediction algorithm based on an attention mechanism, which improves the accuracy of antimicrobial peptide activity prediction.
[0181] It is understandable that the above-mentioned method for screening polypeptide compounds can be used for screening different activity indicators. The following is an explanation of this scenario. Figure 8 , Figure 8 A flowchart of another method for screening polypeptide compounds provided in an embodiment of the present application, wherein the embodiment of the present application at least comprises the following steps:
[0182] 801. Determine a plurality of activity prediction indicators in response to a target instruction.
[0183] In this embodiment, the target instruction is the screening requirement instruction for different activity prediction indicators (activity indicators), such as the screening of polypeptide compounds with dual antibacterial and anticancer activities. The specific number of activities depends on the actual scenario and is not limited here.
[0184] 802. Determine a polypeptide generation model corresponding to the activity prediction index.
[0185] 803. Generate a corresponding polypeptide sequence based on the polypeptide generation model.
[0186] 804. Input the polypeptide sequence into an activity prediction model to obtain multiple activity prediction information.
[0187] In this embodiment, the process of determining the activity prediction information for different activity prediction indicators is to use Figure 3 or Figure 7 The screening process and related features of the illustrated embodiment can be referred to and will not be described in detail here.
[0188] 805. Determine the same items in the multiple activity prediction information.
[0189] In this embodiment, by extracting the same items in multiple activity prediction information, a target polypeptide containing multiple activities can be obtained.
[0190] Specifically, the same item can be determined if the predicted values of a certain polypeptide compound in different activity indicators are all greater than the activity threshold, that is, it is determined to be the same item; or if the predicted values of a certain polypeptide compound in different activity indicators are all the maximum values or in the first three positions of the sequence, that is, it is determined to be the same item. The specific numerical range depends on the actual scenario and is not limited here.
[0191] In a possible scenario, this embodiment may adopt Fig. 9 The interface shown is displayed. Fig. 9A schematic diagram of another method for screening polypeptide compounds provided in an embodiment of the present application; the figure shows the predicted value sequence under different activity indicators, and the user can click on the details to query the calculation process of the predicted value of the relevant compound. The specific interface display parameters may include Figure 3 or Figure 7 The specific parameters of the arbitrary parameters mentioned above are similar to those determined in actual scenarios and are not limited here.
[0192] It can be seen from the above embodiments that by training the polypeptide generation model and the activity prediction model based on the training data under different activity indicators, the accuracy of polypeptide compound screening under different activity indicators is guaranteed, thereby ensuring the accuracy of multi-active polypeptide compound screening, and providing the possibility for the screening of multifunctional compounds.
[0193] In order to better implement the above solution of the embodiment of the present application, the following also provides related devices for implementing the above solution. Fig.10 , Fig.10 This is a schematic diagram of the structure of a polypeptide compound screening device provided in an embodiment of the present application. The screening device 1000 includes:
[0194] An acquisition unit 1001 is used to acquire a polypeptide generation model in response to a target instruction;
[0195] A generating unit 1002 is used to generate at least one polypeptide sequence based on the polypeptide generation model, wherein the polypeptide generation model includes an encoding layer and a decoding layer, wherein the encoding layer is used to generate a latent space according to training data, and the latent space is used to provide sampling points, and the polypeptide sequence is obtained by decoding the sampling points by the decoding layer;
[0196] The screening unit 1003 is used to input the polypeptide sequence into an activity prediction model to obtain activity prediction information, and the activity prediction information is used to screen and obtain the target polypeptide in the polypeptide sequence.
[0197] Optionally, in some possible implementations of the present application, the generating unit 1002 is specifically used to determine the latent space corresponding to the encoding layer in the polypeptide generation model;
[0198] The generating unit 1002 is specifically configured to sample the latent space based on Gaussian distribution to obtain the sampling points;
[0199] The generating unit 1002 is specifically configured to input the sampling points into the decoding layer to obtain the polypeptide sequence.
[0200] Optionally, in some possible implementations of the present application, the generating unit 1002 is specifically configured to input the sampling points into the decoding layer to obtain a candidate sequence;
[0201] The generating unit 1002 is specifically configured to obtain the activity information indicated in the target instruction;
[0202] The generating unit 1002 is specifically used to determine the compound parameter restriction information corresponding to the activity information;
[0203] The generating unit 1002 is specifically configured to screen the candidate sequences based on the compound parameter restriction information to obtain the polypeptide sequence.
[0204] Optionally, in some possible implementations of the present application, the generating unit 1002 is specifically configured to determine the target polypeptide category according to the activity information;
[0205] The generating unit 1002 is specifically used to determine the amino acid quantity range corresponding to the target polypeptide category;
[0206] The generating unit 1002 is specifically configured to determine the compound parameter restriction information according to the amino acid quantity range.
[0207] Optionally, in some possible implementations of the present application, the screening unit 1003 is specifically used to determine a first amino acid string sequence corresponding to the polypeptide sequence;
[0208] The screening unit 1003 is specifically configured to input the first amino acid string sequence into an embedding layer in the activity prediction model to obtain a first embedding matrix;
[0209] The screening unit 1003 is specifically configured to input the first embedding matrix into the attention encoding layer in the activity prediction model to obtain a first encoding matrix;
[0210] The screening unit 1003 is specifically configured to input the first encoding matrix into an average pooling layer in the activity prediction model to obtain first pooling information;
[0211] The screening unit 1003 is specifically configured to input the first pooling information into a fully connected layer in the activity prediction model to obtain a first activity prediction value;
[0212] The screening unit 1003 is specifically configured to determine the activity prediction information based on the first activity prediction value.
[0213] Optionally, in some possible implementations of the present application, the screening unit 1003 is specifically configured to generate a target activity sequence based on the first activity prediction value;
[0214] The screening unit 1003 is specifically used to determine the target item in the target activity sequence according to a prediction rule, wherein the prediction rule is set based on a numerical value or a sorting position;
[0215] The screening unit 1003 is specifically configured to extract the target item to obtain the activity prediction information.
[0216] Optionally, in some possible implementations of the present application, the acquisition unit 1001 is specifically used to acquire activity information corresponding to the target instruction;
[0217] The acquisition unit 1001 is specifically configured to call the training data based on the activity information;
[0218] The acquisition unit 1001 is specifically used to train the initial generation model according to the training data to generate the polypeptide generation model.
[0219] Optionally, in some possible implementations of the present application, the acquisition unit 1001 is specifically used to acquire a second amino acid string sequence corresponding to the training data;
[0220] The acquisition unit 1001 is specifically configured to input the second amino acid string sequence into an embedding layer in the initial generation model to obtain a second embedding matrix;
[0221] The acquisition unit 1001 is specifically configured to input the second embedding matrix into the encoding layer in the initial generation model to obtain the distribution information of the training data in the latent space;
[0222] The acquisition unit 1001 is specifically configured to perform decoding based on the distribution information to obtain decoded data;
[0223] The acquisition unit 1001 is specifically configured to determine difference information between the decoded data and the training data;
[0224] The acquisition unit 1001 is specifically configured to train the initial generation model based on the difference information to generate the polypeptide generation model.
[0225] Optionally, in some possible implementations of the present application, the screening unit 1003 is specifically used to collect polypeptide activity data based on the activity information;
[0226] The screening unit 1003 is specifically used to determine the third amino acid string sequence corresponding to the polypeptide activity data;
[0227] The screening unit 1003 is specifically configured to input the third amino acid string sequence into an embedding layer in the initial prediction model to obtain a third embedding matrix;
[0228] The screening unit 1003 is specifically configured to input the third embedding matrix into the attention encoding layer in the initial prediction model to obtain a second encoding matrix;
[0229] The screening unit 1003 is specifically configured to input the second encoding matrix into the average pooling layer in the initial prediction model to obtain second pooling information;
[0230] The screening unit 1003 is specifically configured to input the second encoding matrix into a fully connected layer in the initial prediction model to obtain a second activity prediction value;
[0231] The screening unit 1003 is specifically used to determine the numerical difference between the second activity prediction value and the true value corresponding to the polypeptide activity data;
[0232] The screening unit 1003 is specifically used to train the initial prediction model according to the numerical difference to obtain the polypeptide prediction model.
[0233] Optionally, in some possible implementations of the present application, the screening unit 1003 is specifically used to obtain a comparison polypeptide corresponding to the target instruction;
[0234] The screening unit 1003 is specifically used to determine the amino acid distribution information corresponding to the comparison polypeptide;
[0235] The screening unit 1003 is specifically used to compare the amino acid distribution information corresponding to the comparison polypeptide with the amino acid distribution information corresponding to the polypeptide sequence to obtain comparison information, and the comparison information is used to indicate the generation efficiency of the polypeptide generation model.
[0236] Optionally, in some possible implementations of the present application, the screening unit 1003 is specifically used to obtain activity prediction information under multiple activity indicators;
[0237] The screening unit 1003 is specifically used to extract the same items in the activity prediction information under the multiple activity indicators to obtain the target polypeptide.
[0238] The polypeptide generation model is obtained by responding to the target instruction; then at least one polypeptide sequence is generated based on the polypeptide generation model, the polypeptide generation model includes an encoding layer and a decoding layer, the encoding layer is used to generate a latent space according to the training data, the latent space is used to provide sampling points, and the polypeptide sequence is obtained by decoding the sampling points based on the decoding layer; then the polypeptide sequence is input into the activity prediction model to obtain activity prediction information, and the activity prediction information is used to screen the target polypeptide in the polypeptide sequence. Thus, a fast and accurate polypeptide compound activity screening process is achieved. Since the input of the activity prediction model adopts the polypeptide sequence obtained by sampling the feature dimension in the polypeptide generation model, the sampling validity is guaranteed, and no manual operation is required, which further improves the accuracy of polypeptide compound screening.
[0239] The present application also provides a terminal device, such as Fig.11 The figure is a schematic diagram of the structure of another terminal device provided by the embodiment of the present application. For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The terminal can be any terminal device including a mobile phone, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), a car computer, etc., taking the mobile phone as an example:
[0240] Fig.11 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application. Fig.11 The mobile phone includes: a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, a wireless fidelity (WiFi) module 1170, a processor 1180, and a power supply 1190. Those skilled in the art will appreciate that Fig.11 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0241] Combine the following Fig.11 A detailed introduction to the various components of the mobile phone:
[0242] The RF circuit 1110 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 1180 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 1110 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 1110 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.
[0243] The memory 1120 can be used to store software programs and modules. The processor 1180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1120. The memory 1120 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 sound 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 audio data, a phone book, etc.), etc. In addition, the memory 1120 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0244] The input unit 1130 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. The touch panel 1131, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1131 or near the touch panel 1131 using any suitable object or accessory such as a finger, stylus, etc., and the air touch operation within a certain range on the touch panel 1131), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 1131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1131, the input unit 1130 can also include other input devices 1132. Specifically, the other input devices 1132 can include but are not limited to one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc.
[0245] The display unit 1140 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1140 may include a display panel 1141. Optionally, the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 1131 may cover the display panel 1141. When the touch panel 1131 detects a touch operation on or near it, it is transmitted to the processor 1180 to determine the type of touch event. Subsequently, the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of touch event. Although in Fig.11 In the embodiment, the touch panel 1131 and the display panel 1141 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 1131 and the display panel 1141 can be integrated to realize the input and output functions of the mobile phone.
[0246] The mobile phone may also include at least one sensor 1150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 1141 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0247] The audio circuit 1160, the speaker 1161, and the microphone 1162 can provide an audio interface between the user and the mobile phone. The audio circuit 1160 can transmit the received audio data to the speaker 1161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1160 and converted into audio data, and then the audio data is output to the processor 1180 for processing, and then sent to another mobile phone through the RF circuit 1110, or the audio data is output to the memory 1120 for further processing.
[0248] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 1170. It provides users with wireless broadband Internet access. Fig.11 A WiFi module 1170 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0249] The processor 1180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes various functions of the mobile phone and processes data by running or executing software programs and / or modules stored in the memory 1120 and calling data stored in the memory 1120. Optionally, the processor 1180 may include one or more processing units; optionally, the processor 1180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1180.
[0250] The mobile phone also includes a power supply 1190 (such as a battery) for supplying power to various components. Optionally, the power supply can be logically connected to the processor 1180 through a power management system, thereby managing functions such as charging, discharging, and power consumption management through the power management system.
[0251] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0252] In the embodiment of the present application, the processor 1180 included in the terminal also has the function of executing each step of the above-mentioned page processing method.
[0253] The present application also provides a server. Fig.12 , Fig.12 1 is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server 1200 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1222 (for example, one or more processors) and memory 1232, and one or more storage media 1230 (for example, one or more mass storage devices) storing application programs 1242 or data 1244. Among them, the memory 1232 and the storage medium 1230 may be temporary storage or permanent storage. The program stored in the storage medium 1230 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 1222 may be configured to communicate with the storage medium 1230 to execute a series of instruction operations in the storage medium 1230 on the server 1200.
[0254] The server 1200 may also include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input and output interfaces 1258, and / or one or more operating systems 1241, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0255] The steps performed by the management device in the above embodiment can be based on the Fig.12 The server structure shown.
[0256] The present application also provides a computer-readable storage medium in which a screening instruction for a polypeptide compound is stored. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned Figures 3 to 9 The illustrated embodiments describe the steps performed by the screening device for polypeptide compounds in the method.
[0257] The present application also provides a computer program product including a polypeptide compound screening instruction, which, when executed on a computer, enables the computer to execute the above-mentioned Figures 3 to 9 The illustrated embodiments describe the steps performed by the screening device for polypeptide compounds in the method.
[0258] The present application also provides a polypeptide compound screening system, which may include Fig.10 A screening device for the polypeptide compounds described in the embodiments, or Fig.11 The terminal device in the described embodiment, or Fig.12 The server being described.
[0259] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0260] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0261] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0262] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0263] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a screening device for polypeptide compounds, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0264] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for screening polypeptide compounds, characterized in that: include: acquiring a peptide generation model in response to a target instruction; Generate at least one polypeptide sequence based on the polypeptide generation model, wherein the polypeptide generation model includes an encoding layer and a decoding layer, wherein the encoding layer is used to generate a latent space according to training data, and the latent space is used to provide sampling points; The generating at least one polypeptide sequence based on the polypeptide generation model comprises: inputting the sampling points into the decoding layer to obtain a candidate sequence, acquiring the activity information indicated in the target instruction, determining the compound parameter restriction information corresponding to the activity information, and screening the candidate sequence based on the compound parameter restriction information to obtain the polypeptide sequence; Determine a first amino acid string sequence corresponding to the polypeptide sequence; Inputting the first amino acid string sequence into an embedding layer in an activity prediction model to obtain a first embedding matrix; Inputting the first embedding matrix into an attention encoding layer in the activity prediction model to obtain a first encoding matrix; Inputting the first encoding matrix into an average pooling layer in the activity prediction model to obtain first pooling information; Inputting the first pooling information into a fully connected layer in the activity prediction model to obtain a first activity prediction value; Activity prediction information is determined based on the first activity prediction value, and the activity prediction information is used to screen and obtain a target polypeptide in the polypeptide sequence.
2. The method according to claim 1, characterized in that The step of generating at least one polypeptide sequence based on the polypeptide generation model comprises: Determining the latent space corresponding to the encoding layer in the polypeptide generation model; The latent space is sampled based on Gaussian distribution to obtain the sampling points.
3. The method according to claim 1, characterized in that The step of determining the compound parameter restriction information corresponding to the activity information includes: Determining the target polypeptide category according to the activity information; Determining the amino acid quantity range corresponding to the target polypeptide category; The compound parameter restriction information is determined according to the amino acid quantity range.
4. The method according to claim 1, characterized in that The determining the activity prediction information based on the first activity prediction value includes: generating a target activity sequence based on the first activity prediction value; Determining a target item in the target activity sequence according to a prediction rule, wherein the prediction rule is set based on a numerical value or a sorting position; The target item is extracted to obtain the activity prediction information.
5. The method according to claim 1, characterized in that The step of obtaining a polypeptide generation model in response to a target instruction comprises: Obtaining activity information corresponding to the target instruction; calling the training data based on the activity information; The initial generation model is trained according to the training data to generate the polypeptide generation model.
6. The method according to claim 5, characterized in that The step of training the initial generation model according to the training data to generate the polypeptide generation model comprises: Obtaining a second amino acid character string sequence corresponding to the training data; Inputting the second amino acid string sequence into the embedding layer in the initial generative model to obtain a second embedding matrix; Inputting the second embedding matrix into the encoding layer in the initial generation model to obtain distribution information of the training data in the latent space; Decoding based on the distribution information to obtain decoded data; Determining difference information between the decoded data and the training data; The initial generation model is trained based on the difference information to generate the polypeptide generation model.
7. The method according to claim 5, characterized in that The method further comprises: Collecting polypeptide activity data based on the activity information; Determine a third amino acid string sequence corresponding to the polypeptide activity data; Inputting the third amino acid string sequence into the embedding layer in the initial prediction model to obtain a third embedding matrix; Inputting the third embedding matrix into the attention encoding layer in the initial prediction model to obtain a second encoding matrix; Inputting the second encoding matrix into the average pooling layer in the initial prediction model to obtain second pooling information; Inputting the second encoding matrix into a fully connected layer in the initial prediction model to obtain a second activity prediction value; Determining a numerical difference between the second activity prediction value and a true value corresponding to the polypeptide activity data; The initial prediction model is trained according to the numerical difference to obtain the activity prediction model.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Obtaining a comparative polypeptide corresponding to the target instruction; Determining the amino acid distribution information corresponding to the comparison polypeptide; The amino acid distribution information corresponding to the comparison polypeptide is compared with the amino acid distribution information corresponding to the polypeptide sequence to obtain comparison information, and the comparison information is used to indicate the generation efficiency of the polypeptide generation model.
9. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Obtain activity prediction information under multiple activity indicators; The same items in the activity prediction information under the multiple activity indicators are extracted to obtain the target polypeptide.
10. The method according to claim 1, characterized in that The target instruction is used to instruct the screening of antimicrobial peptides, the peptide generation model is a variational encoder, the activity prediction model is an attention mechanism encoder, and the activity prediction information is an antimicrobial prediction value sequence.
11. A screening device for polypeptide compounds, characterized in that: include: an acquisition unit, for acquiring a polypeptide generation model in response to a target instruction; A generation unit, used to generate at least one polypeptide sequence based on the polypeptide generation model, wherein the polypeptide generation model includes an encoding layer and a decoding layer, wherein the encoding layer is used to generate a latent space according to training data, and the latent space is used to provide sampling points; The generating at least one polypeptide sequence based on the polypeptide generation model comprises: inputting the sampling points into the decoding layer to obtain a candidate sequence, acquiring the activity information indicated in the target instruction, determining the compound parameter restriction information corresponding to the activity information, and screening the candidate sequence based on the compound parameter restriction information to obtain the polypeptide sequence; A screening unit is used to determine a first amino acid string sequence corresponding to the polypeptide sequence; input the first amino acid string sequence into an embedding layer in an activity prediction model to obtain a first embedding matrix; input the first embedding matrix into an attention coding layer in the activity prediction model to obtain a first coding matrix; input the first coding matrix into an average pooling layer in the activity prediction model to obtain first pooling information; input the first pooling information into a fully connected layer in the activity prediction model to obtain a first activity prediction value; determine activity prediction information based on the first activity prediction value, and the activity prediction information is used to screen and obtain a target polypeptide in the polypeptide sequence.
12. The device according to claim 11, characterized in that The generating unit is specifically used for: Determining the latent space corresponding to the encoding layer in the polypeptide generation model; The latent space is sampled based on Gaussian distribution to obtain the sampling points.
13. The device according to claim 11, characterized in that The generating unit is specifically used for: Determining the target polypeptide category according to the activity information; Determining the amino acid quantity range corresponding to the target polypeptide category; The compound parameter restriction information is determined according to the amino acid quantity range.
14. The device according to claim 11, characterized in that The screening unit is specifically used for: generating a target activity sequence based on the first activity prediction value; Determining a target item in the target activity sequence according to a prediction rule, wherein the prediction rule is set based on a numerical value or a sorting position; The target item is extracted to obtain the activity prediction information.
15. The device according to claim 11, characterized in that The acquisition unit is specifically used for: Obtaining activity information corresponding to the target instruction; calling the training data based on the activity information; The initial generation model is trained according to the training data to generate the polypeptide generation model.
16. The device according to claim 15, characterized in that The acquisition unit is specifically used for: Obtaining a second amino acid character string sequence corresponding to the training data; Inputting the second amino acid string sequence into the embedding layer in the initial generative model to obtain a second embedding matrix; Inputting the second embedding matrix into the encoding layer in the initial generation model to obtain distribution information of the training data in the latent space; Decoding based on the distribution information to obtain decoded data; Determining difference information between the decoded data and the training data; The initial generation model is trained based on the difference information to generate the polypeptide generation model.
17. The device according to claim 15, characterized in that The screening unit is specifically used for: Collecting polypeptide activity data based on the activity information; Determine a third amino acid string sequence corresponding to the polypeptide activity data; Inputting the third amino acid string sequence into the embedding layer in the initial prediction model to obtain a third embedding matrix; Inputting the third embedding matrix into the attention encoding layer in the initial prediction model to obtain a second encoding matrix; Inputting the second encoding matrix into the average pooling layer in the initial prediction model to obtain second pooling information; Inputting the second encoding matrix into a fully connected layer in the initial prediction model to obtain a second activity prediction value; Determining a numerical difference between the second activity prediction value and a true value corresponding to the polypeptide activity data; The initial prediction model is trained according to the numerical difference to obtain the activity prediction model.
18. The device according to any one of claims 11 to 17, characterized in that: The screening unit is specifically used for: Obtaining a comparative polypeptide corresponding to the target instruction; Determining the amino acid distribution information corresponding to the comparison polypeptide; The amino acid distribution information corresponding to the comparison polypeptide is compared with the amino acid distribution information corresponding to the polypeptide sequence to obtain comparison information, and the comparison information is used to indicate the generation efficiency of the polypeptide generation model.
19. The device according to any one of claims 11 to 17, characterized in that: The screening unit is specifically used for: Obtain activity prediction information under multiple activity indicators; The same items in the activity prediction information under the multiple activity indicators are extracted to obtain the target polypeptide.
20. The device according to claim 11, characterized in that The target instruction is used to instruct the screening of antimicrobial peptides, the peptide generation model is a variational encoder, the activity prediction model is an attention mechanism encoder, and the activity prediction information is an antimicrobial prediction value sequence.
21. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store program codes; the processor is used to execute the method for screening polypeptide compounds according to any one of claims 1 to 10 according to the instructions in the program codes.
22. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer is enabled to execute the method for screening polypeptide compounds according to any one of claims 1 to 10.
23. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for screening polypeptide compounds described in any one of claims 1 to 10 above.
Citation Information
Patent Citations
Method for forecasting antimicrobial activity of antimicrobial peptide and antimicrobial peptide
CN104036155A
