Binding affinity prediction method and device based on antigen and antibody sequences
Through feature fusion and neural network models of antigen and antibody amino acid sequences, the problem of complexity and low efficiency of antibody affinity prediction in the existing technology is solved, and high-precision antibody affinity prediction is achieved, which is suitable for large and diverse data sets.
Patent Information
- Application Number
- CN202210114590.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-01-30
AI Technical Summary
Existing antibody affinity determination methods are complex and inefficient, and cannot effectively infer important factors affecting antibody affinity, especially in the absence of three-dimensional protein structure information and PPI thermodynamic information, resulting in low accuracy in predicting the binding affinity of antigens and antibodies. .
By obtaining the amino acid sequences of antigens and antibodies, multi-dimensional initial features are determined, feature fusion is performed, and neural network models are used for prediction to achieve prediction of antibody affinity parameters and avoid reliance on three-dimensional structural information.
It achieves high-precision antibody affinity prediction without requiring three-dimensional structural information, is suitable for large and diverse data sets, improves prediction accuracy, simplifies the antibody development process, and reduces costs and risks.
Smart Images

Figure CN114464247B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular, to a method and device for predicting binding affinity based on antigen and antibody sequences. Background Art
[0002] Protein-protein interaction (PPI) is essential for a wide range of biological activities and functions in the human body, including the immune system. The antibody-antigen system is one of the most important systems among all PPIs. The commonly used antibody affinity determination method is time-consuming and labor-intensive, and has great limitations. It cannot effectively infer the important factors affecting antibody affinity. In recent years, the use of computational-assisted models to predict antibody affinity has become an important breakthrough, but these computational models often require three-dimensional protein structure information or PPI thermodynamic information to be input into the computational model. Considering that this information is still difficult to obtain, it is not suitable for processing large and diverse data sets, resulting in complex prediction methods for antigen-antibody binding affinity in related technologies and low prediction accuracy.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a method and device for predicting binding affinity based on antigen and antibody sequences, so as to at least solve the technical problems existing in the related art that the prediction method of binding affinity between antigen and antibody is complicated and the prediction efficiency is low.
[0005] According to one aspect of an embodiment of the present application, a method for predicting binding affinity based on antigen and antibody sequences is provided, comprising: obtaining a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody; determining initial features of M dimensions based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, wherein M is an integer greater than or equal to 2; fusing the initial features of the M dimensions to obtain M fused features; determining predicted binding affinity parameters based on the M fused features, wherein the predicted binding affinity parameters are used to represent the predicted binding affinity of the target antigen and the target antibody.
[0006] According to one aspect of an embodiment of the present application, a binding affinity training method based on antigen and antibody sequences is provided, comprising: obtaining T training samples and corresponding T actual binding affinity parameters, wherein each training sample comprises a first sample amino acid sequence of a sample antigen and a second sample amino acid sequence of a sample antibody, and each actual binding affinity parameter is used to represent the actual binding affinity of the sample antigen and the sample antibody in the corresponding training sample; determining a corresponding set of sample initial features according to the first sample amino acid sequence of the sample antigen and the second sample amino acid sequence of the sample antibody in each training sample, and obtaining a total of T sets of sample initial features, wherein each set of sample initial features comprises sample initial features of M dimensions; using the T sets of sample initial features and the T actual binding affinity parameters, training an initial feature fusion model to be trained and an initial prediction neural network model to be trained, and obtaining the target feature fusion model and the target prediction neural network model, wherein the initial feature fusion model comprises N initial expert network models to be trained and M initial gate network models, and T, M, and N are all integers greater than or equal to 2.
[0007] According to one aspect of an embodiment of the present application, a binding affinity prediction device based on antigen and antibody sequences is provided, comprising: an acquisition module, used to acquire a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody; a determination module, used to determine initial features of M dimensions based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, wherein M is an integer greater than or equal to 2; a first processing module, used to fuse the initial features of the M dimensions to obtain M fused features; and a second processing module, used to determine predicted binding affinity parameters based on the M fused features, wherein the predicted binding affinity parameters are used to represent the predicted binding affinity of the target antigen and the target antibody.
[0008] Optionally, the device is used to determine initial features in M dimensions based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in at least two of the following ways: determining protein structural dynamics characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody; determining sequence word vector characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody; determining functional or structural characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody.
[0009] Optionally, the device is used to determine the protein structure dynamics characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: obtaining a protein structure information file corresponding to the first amino acid sequence and the second amino acid sequence; inputting the protein structure information file into a first target feature generation network model to obtain the protein structure dynamics characteristics, wherein the first target feature generation network model is used to determine the protein structure dynamics characteristics based on the structural information of the target protein in the protein structure information file.
[0010] Optionally, the device is used to determine the sequence word vector feature based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: according to a preset target sequence length, the first amino acid sequence is converted into a third amino acid sequence, and the second amino acid sequence is converted into a fourth amino acid sequence, wherein the sequence length of the third amino acid sequence and the sequence length of the fourth amino acid sequence are both the target sequence length; the third amino acid sequence and the fourth amino acid sequence are input into a second target feature generation network model to obtain the sequence word vector feature, wherein the second target feature generation network model is used to convert the third amino acid sequence and the fourth amino acid sequence into the sequence word vector feature.
[0011] Optionally, the device is used to determine the functional or structural characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: sequence encoding the first amino acid sequence and the second amino acid sequence to obtain sequence encoding information, wherein the sequence encoding information is used to represent the amino acids in the first amino acid sequence and the second amino acid sequence; obtaining target biological information matching the sequence encoding information, and determining the functional or structural characteristics based on the target biological information.
[0012] Optionally, the device is used to obtain target biological information matching the sequence coding information in the following manner, and determine the functional or structural feature based on the target biological information: when the functional or structural feature includes multiple features, for each of the multiple features, perform the following steps, wherein when performing the following steps, each feature is a current feature: obtain current biological information matching the sequence coding information and used to determine the current feature, call a current feature extraction module corresponding to the current feature, perform an operation corresponding to the current feature on the current biological information, and obtain the current feature.
[0013] Optionally, the device is used to perform sequence encoding on the first amino acid sequence and the second amino acid sequence to obtain sequence encoding information in the following manner: encode each amino acid in the first amino acid sequence and the second amino acid sequence to obtain a corresponding sequence encoding vector, wherein the sequence encoding information includes the sequence encoding vector obtained by encoding each amino acid.
[0014] Optionally, the device is used to fuse the initial features of the M dimensions to obtain M fused features in the following manner: input the initial features of the M dimensions into a target feature fusion model to obtain M fused features, wherein the target feature fusion model includes the N target expert network models and the M target gate network models, each fused feature is a fused feature obtained by processing the initial features of a corresponding dimension by the N target expert network models and a corresponding target gate network model, and N is an integer greater than or equal to 2.
[0015] Optionally, the device is used to input the initial features of the M dimensions into a target feature fusion model to obtain M fused features in the following manner: in the target feature fusion model, perform the following operations on the initial features of each dimension to obtain a corresponding fused feature, wherein when performing the following operations, the initial feature of each dimension is the current initial feature: input the current initial feature into the N target expert network models to obtain N candidate fused features; input the current initial feature into the corresponding current target gate network model in the M target gate network models to obtain a current feature weight vector, wherein the current feature weight vector is used to represent the weight of the corresponding candidate fused feature in the N candidate fused features; determine the fused feature corresponding to the current initial feature based on the N candidate fused features and the current feature weight vector.
[0016] Optionally, the device is used to input the current initial feature into the N target expert network models to obtain N candidate fusion features in the following manner: when the current initial feature includes feature data of a dimension of 1×P, the current initial feature is input into the N target expert network models to obtain the N candidate fusion features, wherein each of the N candidate fusion features includes feature data of a dimension of 1×Q, P and Q are integers greater than or equal to 2, P>Q or P=Q.
[0017] Optionally, the device is used to determine the fusion feature corresponding to the current initial feature according to the N candidate fusion features and the current feature weight vector in the following manner: when each of the N candidate fusion features includes feature data with a dimension of 1×Q and the current feature weight vector includes feature weight data with a dimension of N×Q, perform a dot multiplication operation on the feature data with a dimension of 1×Q in each of the N candidate fusion features and the corresponding feature weight data with a dimension of 1×Q in the current feature weight vector to obtain N weighted fusion features, wherein each weighted fusion feature includes weighted feature data with a dimension of 1×Q, and Q is an integer greater than or equal to 2; perform a corresponding addition operation on the weighted feature data with a dimension of 1×Q in each of the N weighted fusion features to obtain a fusion feature corresponding to the current initial feature, wherein the fusion feature corresponding to the current initial feature includes fusion feature data with a dimension of 1×Q.
[0018] Optionally, the device is used to obtain a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody in the following manner: obtaining the first amino acid sequence of the target antigen, the heavy chain amino acid sequence of the target antibody, and the light chain amino acid sequence of the target antibody, wherein the second amino acid sequence includes the heavy chain amino acid sequence and the light chain amino acid sequence.
[0019] According to another aspect of an embodiment of the present application, a binding affinity training device based on antigen and antibody sequences is provided, comprising: a sampling module, used to obtain T training samples and corresponding T actual binding affinity parameters, wherein each training sample comprises a first sample amino acid sequence of a sample antigen and a second sample amino acid sequence of a sample antibody, and each actual binding affinity parameter is used to represent the actual binding affinity of the sample antigen and the sample antibody in the corresponding training sample; a construction module, used to determine a corresponding set of sample initial features according to the first sample amino acid sequence of the sample antigen and the second sample amino acid sequence of the sample antibody in each training sample, and obtain a total of T groups of sample initial features, wherein each group of sample initial features comprises sample initial features of M dimensions; a training module, used to train an initial feature fusion model to be trained and an initial prediction neural network model to be trained using the T groups of sample initial features and the T actual binding affinity parameters, and obtain the target feature fusion model and the target prediction neural network model, wherein the initial feature fusion model comprises N initial expert network models to be trained and M initial gate network models, and T, M, and N are all integers greater than or equal to 2.
[0020] Optionally, the device is used to train the initial feature fusion model to be trained and the initial prediction neural network model to be trained in the following manner: each time a group of sample initial features are input into the initial feature fusion model to obtain M training fusion features, each training fusion feature is a fusion feature obtained by processing the sample initial features of a corresponding dimension by N initial expert network models and a corresponding initial gate network model; the M training fusion features are input into the initial prediction neural network model to obtain predicted sample binding affinity parameters, wherein the predicted sample binding affinity parameters are used to represent the corresponding sample antigen and the sample antibody. Predicted binding affinity; when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter does not meet the preset loss condition, adjust the parameters of the N initial expert network models, the M initial gate network models, and at least part of the network models in the initial prediction neural network model, and when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter meets the preset loss condition, end the training, determine the initial feature fusion model at the end of the training as the target feature fusion model, and determine the initial prediction neural network model at the end of the training as the target prediction neural network model.
[0021] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned binding affinity prediction method based on antigen and antibody sequences when running.
[0022] According to another aspect of the embodiments of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, 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 above binding affinity prediction method based on antigen and antibody sequences.
[0023] According to another aspect of an embodiment of the present application, there is also provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned binding affinity prediction method based on antigen and antibody sequences through the computer program.
[0024] In an embodiment of the present application, a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody are obtained; initial features of M dimensions are determined based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, wherein M is an integer greater than or equal to 2; the initial features of the M dimensions are fused to obtain M fused features; predicted binding affinity parameters are determined based on the M fused features, wherein the predicted binding affinity parameters are used to represent the predicted binding affinity of the target antigen and the target antibody. By developing a computationally assisted model, highly accurate antibody affinity prediction can be achieved, and the most developable antibody molecules can be quickly and effectively identified, thereby saving time and cost, and reducing the risk of downstream clinical development.
[0025] In addition, the present application can accurately predict antibody affinity using only the amino acid sequences of antigens and antibodies as inputs, without the need for additional information such as three-dimensional structure, and has strong applicability, achieving the purpose of having the ability to process large and diverse data sets, thereby achieving the technical effect of stable and effective antibody affinity prediction and improving the accuracy of affinity prediction, thereby solving the technical problems of complex antigen and antibody binding affinity prediction methods and low prediction efficiency in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0027] Figure 1 is a schematic diagram of an application environment of an optional method for predicting binding affinity based on antigen and antibody sequences according to an embodiment of the present application;
[0028] Figure 2 is a schematic flow chart of an optional method for predicting binding affinity based on antigen and antibody sequences according to an embodiment of the present application;
[0029] Figure 3 is a schematic diagram of an optional binding affinity prediction method based on antigen and antibody sequences according to an embodiment of the present application;
[0030] Figure 4 is a schematic diagram of another optional binding affinity prediction method based on antigen and antibody sequences according to an embodiment of the present application;
[0031] Figure 5 is a schematic diagram of another optional binding affinity prediction method based on antigen and antibody sequences according to an embodiment of the present application;
[0032] Figure 6is a schematic diagram of another optional binding affinity prediction method based on antigen and antibody sequences according to an embodiment of the present application;
[0033] Figure 7 is a schematic diagram of another optional binding affinity prediction method based on antigen and antibody sequences according to an embodiment of the present application;
[0034] Figure 8 is a schematic diagram of another optional binding affinity prediction method based on antigen and antibody sequences according to an embodiment of the present application;
[0035] Fig. 9 is a schematic diagram of another optional binding affinity prediction method based on antigen and antibody sequences according to an embodiment of the present application;
[0036] Fig.10 is a schematic structural diagram of an optional binding affinity prediction device based on antigen and antibody sequences according to an embodiment of the present application;
[0037] Fig.11 is a schematic structural diagram of an optional binding affinity prediction product based on antigen and antibody sequences according to an embodiment of the present application;
[0038] Fig.12 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0040] It should be noted that the terms "first", "second", etc. 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. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0041] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretation:
[0042] Antibodies are large proteins that play an important role in the immune system by neutralizing antigens. At the top of the antibody, there is an antigen-binding fragment that contains a paratope that is used to recognize a unique antigen by its epitope.
[0043] The strength of antibody affinity depends on the degree of coordination between the antibody countertope and the antigen epitope used, including the size of the contact area, the degree of affinity, and the distribution of charged groups and hydrophobic genes. Antibody affinity reflects the ability of an antibody molecule to react with a determinant cluster of an antigen molecule or hapten. It is an important indicator for evaluating antibody quality and reflects the binding strength between the antibody and the corresponding antigen. The higher the affinity, the higher the degree of binding between the antibody and the corresponding antigen, which plays an important guiding role in the application of antibodies.
[0044] Protein structural dynamics characteristics: Protein dynamics is a bridge for studying the relationship between the static structure and dynamic structure of proteins. It can give the characteristics of structural changes over time, that is, it can link the microscopic internal movement of protein molecules with biological functions, understand the biological functions of protein molecules at the atomic and molecular levels, and reveal the molecular mechanism that produces such functions. Proteins are important macromolecular organic compounds on which organisms depend for existence and growth. They are composed of 20 different amino acids connected by peptide bonds into linear polymer chains and have a special three-dimensional spatial structure. The biological functions of proteins are closely related to their structural dynamics characteristics. Different structural motion modes determine the different biological functions of proteins in biochemical processes. Given a spatial structure of a protein, by establishing a structural dynamics model, the motion trajectory of the protein structure can be obtained, or the overall motion of the structure can be decomposed into a superposition of vibration modes of different frequencies, which can help further understand the motion characteristics of protein biological active points during ligand binding and catalysis.
[0045] Sequence word vector feature: Word embedding, also known as word embedded natural language processing (NLP), is a general term for a set of language modeling and feature learning techniques in which words or phrases from a vocabulary are mapped to vectors of real numbers. Conceptually, it involves mathematical embedding from a one-dimensional space for each word to a continuous vector space with a lower dimension. The sequence word vector feature of this application is the word embedding vector feature of n-gram in biological sequences (such as DNA, RNA, and proteins) for bioinformatics applications, usually referring to protein vectors for proteins (amino acid sequences) and gene vectors (GeneVec) for biological sequences of gene sequences. This representation can be widely used in deep application learning proteomics and genomics, and can describe biological sequences based on biochemical and biophysical interpretations of underlying patterns.
[0046] Functional or structural characteristics: The biological activity of protein depends not only on the primary structure of protein molecules, but also on the spatial structure of biological macromolecules that play an important role in life activities. Abnormal spatial structure of protein is likely to lead to the reduction or loss of its biological activity, and even cause disease. The study of protein spatial structure is not only conducive to understanding the function of protein, but also to understanding the biological function of protein and the interaction between proteins. Any biological cell contains a variety of proteins, each with different structures and special functions. The diversity of their functions is determined by their diverse structures. The primary structure of protein: protein is a macromolecule composed of one or several polypeptide chains with a certain amino acid sequence. The primary structure of protein refers to the amino acid residue sequence of protein polypeptide chain. A peptide chain is composed of L-type amino acids arranged in a certain sequence. Adjacent amino acids are condensed to remove a molecule of water to form a peptide bond, which is connected by carbonyl carbon and amide nitrogen. Each protein molecule has its own unique amino acid composition and arrangement order, namely the primary structure. The amino acid arrangement order determines its specific spatial structure, that is, the primary structure of the protein determines the secondary and tertiary structures of the protein. The binding function of the protein, the protein can bind to other molecules or proteins. Specific recognition of other molecules is the key to the function of the protein, which is mainly due to the diversity of protein structure and surface chemical properties. Proteins can serve as components of some major structures in living organisms. The biological function of proteins depends largely on the three-dimensional structural properties of proteins.
[0047] The present application is described below in conjunction with embodiments:
[0048] According to one aspect of the embodiments of the present application, a method for predicting binding affinity based on antigen and antibody sequences is provided. Optionally, in this embodiment, the above-mentioned method for predicting binding affinity based on antigen and antibody sequences can be applied to Figure 1 In the hardware environment composed of the server 101 and the terminal device 103 shown in FIG. Figure 1 As shown, the server 101 is connected to the terminal 103 through a network, and can be used to provide services for the terminal device or the application installed on the terminal device. The application can be a video application, an instant messaging application, a browser application, an educational application, a game application, etc. A database 105 can be set on the server or independently of the server to provide data storage services for the server 101, for example, a protein data storage server. The above network can include but is not limited to: a wired network, a wireless network, wherein the wired network includes: a local area network, a metropolitan area network and a wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that realize wireless communication. The terminal device 103 can be a terminal configured with an application, and can include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop, a tablet computer, a PDA, a MID (Mobile Internet Devices, mobile Internet devices), a PAD, a desktop computer, a smart TV and other computer devices. The above server can be a single server, or a server cluster composed of multiple servers, or a cloud server. The application 107 using the above-mentioned antigen and antibody sequence-based binding affinity prediction method is displayed through the terminal device 103.
[0049] Combination Figure 1 As shown, the above binding affinity prediction method based on antigen and antibody sequences can be implemented in the terminal device 103 through the following steps:
[0050] S1, obtaining a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody at a terminal device 103;
[0051] S2, determining initial features of M dimensions based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody at the terminal device 103, where M is an integer greater than or equal to 2;
[0052] S3, the terminal device 103 fuses the initial features of the M dimensions to obtain M fused features;
[0053] S4, the terminal device 103 determines a predicted binding affinity parameter according to the M fusion features, wherein the predicted binding affinity parameter is used to represent the predicted binding affinity between the target antigen and the target antibody.
[0054] Optionally, in this embodiment, the above-mentioned binding affinity prediction method based on antigen and antibody sequences can also be implemented by a server, for example, Figure 1 It is implemented in the server 101 shown; or it is implemented by the user terminal and the server together.
[0055] The above is only an example and is not specifically limited in this embodiment.
[0056] Optionally, as an optional implementation, as Figure 2 As shown, the above-mentioned binding affinity prediction method based on antigen and antibody sequences includes:
[0057] S202, obtaining a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody;
[0058] S204, determining initial features in M dimensions according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, where M is an integer greater than or equal to 2;
[0059] S206, fusing the initial features of M dimensions to obtain M fused features;
[0060] S208, determining predicted binding affinity parameters according to the M fusion features, wherein the predicted binding affinity parameters are used to represent the predicted binding affinity between the target antigen and the target antibody.
[0061] Optionally, in this embodiment, artificial intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that the machines have the functions of perception, reasoning and decision-making.
[0062] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0063] Machine Learning (ML) is a multi-disciplinary subject that involves 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 self-learning.
[0064] With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
[0065] The solution provided in the embodiments of the present application relates to an artificial intelligence technology for predicting the binding affinity between antigen and antibody based on antigen-antibody sequences, which is specifically described by the following embodiments:
[0066] Optionally, in this embodiment, the above antibody refers to a protein with a protective effect produced by the body due to the stimulation of an antigen. It is a protein used by the immune system to identify and neutralize foreign substances such as bacteria, viruses, etc. Antibodies can recognize a unique feature of a specific foreign object, and the foreign target is called an antigen.
[0067] Optionally, in this embodiment, the first amino acid sequence and the second amino acid sequence may be achieved by methods including but not limited to sequencing. For example, antibody sequencing is direct de novo sequencing of antibody proteins.
[0068] Optionally, in this embodiment, binding affinity refers to the binding force between an antibody and an antigen epitope or antigenic determinant, which is essentially a non-covalent force, including the attraction between amino acids, hydrogen bonds, hydrophobic forces, etc. The strength of the binding affinity depends on the degree of coordination between the antibody countertope and the antigen epitope used, including the size of the contact area, the degree of affinity, and the distribution of the charged group and the hydrophobic gene. Binding affinity reflects the ability of an antibody molecule to react with an antigen molecule or a determinant of a hapten, and is an important indicator for evaluating the quality of antibodies. It reflects the binding strength between the antibody and the corresponding antigen. The higher the affinity, the higher the degree of binding between the antibody and the corresponding antigen, which has an important guiding role in the application of antibodies.
[0069] Optionally, in this embodiment, the above-mentioned amino acids refer to glycine, alanine, valine, leucine, isoleucine, methionine (methionine), proline, tryptophan, serine, tyrosine, cysteine, phenylalanine, asparagine, glutamine, threonine, aspartic acid, glutamic acid, lysine, arginine and histidine, which are the main units of proteins in living organisms. The 21st and 22nd amino acids, selenocysteine and lysine, are encoded by the common stop codons UGA and UAG, respectively, and appear in a few proteins.
[0070] Optionally, in this embodiment, the first amino acid sequence is an amino acid sequence obtained by sequencing the target antigen, and the second amino acid sequence is an amino acid sequence obtained by sequencing the target antibody, wherein the second amino acid sequence may include but is not limited to a heavy chain amino acid sequence and a light chain amino acid sequence.
[0071] For example, Figure 3 is a schematic diagram of an optional method for predicting binding affinity based on antigen and antibody sequences according to an embodiment of the present application, such as Figure 3 As shown, the above target antigen is Figure 3 The antigen antigen shown, the first amino acid sequence is the amino acid sequence obtained by sequencing the antigen, and the target antibody is Figure 3 The L shown is composed of a light chain L-chain, a heavy chain H-chain and an antibody binding site paratope, and the above-mentioned second amino acid sequence is the amino acid sequence obtained by sequencing the antibody, which may include but is not limited to the amino acid sequence obtained by sequencing the light chain L-chain and the amino acid sequence obtained by sequencing the heavy chain H-chain.
[0072] Optionally, in this embodiment, the initial features of the above-mentioned M dimensions may include but are not limited to initial features of M modes, and M being an integer greater than or equal to 2 can be understood as the initial features being multimodal initial features, for example, multimodal initial features composed of at least two modes such as protein structure dynamics features, sequence word vector features, and multiple functional or structural features. The above-mentioned determination of the initial features of M dimensions based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody may include but is not limited to inputting the first amino acid sequence and the second amino acid sequence into different feature extraction models to extract the initial features of M dimensions or modes.
[0073] For example, the above-mentioned protein structure dynamics characteristics may include but are not limited to being determined by the anisotropic network model ANM, the above-mentioned sequence word vector characteristics may include but are not limited to being extracted by a bidirectional LSTM network model, and the above-mentioned multiple functional or structural characteristics may include but are not limited to being extracted by a protein feature library (Pfeature library).
[0074] Optionally, in this embodiment, the target feature fusion model may include but is not limited to a neural network model capable of multimodal feature fusion. There are generally three methods for multimodal feature fusion: front-end fusion, middle fusion and back-end fusion.
[0075] Front-end fusion refers to fusing multiple independent data sets into a single feature vector, which is then input into a machine learning classifier. Multimodal front-end fusion methods are often combined with feature extraction methods to remove redundant information, such as principal component analysis (PCA), maximum relevance minimum redundancy (mRMR), and autoencoders.
[0076] It should be noted that the method may include but is not limited to using a deep joint autoencoder model to convert the features of the three modalities into the same dimension using three linear layers, then add them together, and finally restore the three back.
[0077] Middle fusion refers to converting different modal data into high-dimensional feature expressions first, and then fusing them in the middle layer of the model. Taking neural networks as an example, middle fusion first uses neural networks to convert raw data into high-dimensional feature expressions, and then obtains the commonalities of different modal data in high-dimensional space. Back-end fusion refers to fusing the output scores (decisions) of classifiers trained separately for different modal data.
[0078] In this embodiment, the method of multimodal feature fusion is intermediate fusion as an example. For example, it is implemented based on a multi-gate mixture of experts (Multi-gate Mixture-of-Experts, MMoE for short), aiming to make full use of the complementarity and intersection of the initial features of M dimensions, and use principal component analysis (Principal Component Analysis) or autoencoder (Autoencoder) and other methods to eliminate redundant information, and use neural networks to convert raw data into high-dimensional feature expressions. After obtaining the commonality in the high-dimensional space, the attention mechanism can be introduced to improve the fusion effect and improve the model interpretability. In addition to the attention mechanism, other methods that can calculate the importance of features by back propagation based on the output results can also be used to identify important features that affect antibody affinity, which can be used as an effective expression of model interpretability.
[0079] It should be noted that the above multi-gate mixed expert model can use the mechanism of multi-gate control network to balance the importance of each modal feature, flexibly learn different combinations of expert network mixed modes, and realize the selective use of expert network through different final output weights. The MMoE model can be formally expressed as y k =h k (fk (x)), where f i where i=1,…,n are n expert networks based on fully connected layers, g is a gating network combining multiple expert networks (which can be considered as the weighted sum of all expert networks), g k (x) = softmax(W gk x), matrix W gk Represents the weight value of the kth feature in the gth expert network.
[0080] Optionally, in this embodiment, the above-mentioned target prediction neural network model may include but is not limited to a convolutional neural network model CNN, and other machine learning (deep learning) models other than convolutional neural networks may also be used, such as a linear regression model LR, a decision tree regression model DTR, etc.
[0081] Optionally, in this embodiment, Figure 4 is a schematic diagram of another optional binding affinity prediction method based on antigen and antibody sequences according to an embodiment of the present application, such as Figure 4 As shown, taking the initial features of M dimensions as protein structure dynamics features, sequence word vector features, and multiple functional or structural features as examples, the implementation may include but is not limited to the following steps:
[0082] S1, input the first amino acid sequence ( Figure 4 The antigen amino acid sequence shown) and the second amino acid sequence ( Figure 4 The antibody amino acid sequence (heavy chain) and the antibody amino acid sequence (light chain) shown;
[0083] S2-1-1, searching the RCSB PDB database based on the first amino acid sequence and the second amino acid sequence;
[0084] S2-1-2, download and analyze the corresponding PDB file;
[0085] S2-1-3, input the PDB file into the anisotropic network model ANM (also called anisotropic network model) to obtain the protein structure dynamic characteristics (A);
[0086] S2-2-1, performing sequence filling on the first amino acid sequence and the second amino acid sequence to obtain a new pair of amino acid sequences with the same dimension;
[0087] S2-2-2, input a pair of amino acid sequences with the same dimension into the bidirectional LSTM network model to obtain the sequence word vector feature (B);
[0088] S2-3-1, performing sequence encoding on the first amino acid sequence and the second amino acid sequence to obtain sequence encoding information;
[0089] S2-3-2, determining multiple functional or structural features from a protein feature library based on sequence coding information (C);
[0090] S3, inputting protein structure dynamics features, sequence word vector features and multiple functional or structural features into a multimodal feature fusion module (corresponding to the aforementioned target feature fusion model) to obtain fused features A, B and C;
[0091] S4, input the fused features A, B and C into the regression model based on the convolutional neural network to obtain the output binding affinity parameters.
[0092] The above is only an example, and this embodiment does not make any specific limitation.
[0093] Through this embodiment, the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody are obtained; based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, initial features of M dimensions are determined, wherein M is an integer greater than or equal to 2; the initial features of the M dimensions are fused to obtain M fusion features; predicted binding affinity parameters are determined based on the M fusion features, wherein the predicted binding affinity parameters are used to represent the predicted binding affinity of the target antigen and the target antibody. By developing a computationally assisted model, highly accurate antibody affinity prediction can be achieved, and the most developable antibody molecules can be quickly and effectively identified, thereby saving time and cost, and reducing the risk of downstream clinical development.
[0094] In addition, the present application can accurately predict antibody affinity using only the amino acid sequences of antigens and antibodies as inputs, without the need for additional information such as three-dimensional structure, and has strong applicability, achieving the purpose of having the ability to process large and diverse data sets, thereby achieving the technical effect of stable and effective antibody affinity prediction and improving the accuracy of affinity prediction, thereby solving the technical problems of complex antigen and antibody binding affinity prediction methods and low prediction efficiency in related technologies.
[0095] As an optional solution, based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, initial features in M dimensions are determined, including at least two of the following:
[0096] determining protein structural dynamic characteristics based on a first amino acid sequence of the target antigen and a second amino acid sequence of the target antibody;
[0097] Determine a sequence word vector feature according to a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody;
[0098] Based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, a functional or structural characteristic is determined.
[0099] Optionally, in this embodiment, the above-mentioned protein structure dynamic characteristics may include but are not limited to extracting directional information of residue motion using an anisotropic network model based on the acquired RCSB PDB file, extracting heterogeneous X-ray structure information using principal component analysis, etc.
[0100] Optionally, in this embodiment, the above sequence word vector features may include but are not limited to patterns for identifying the influence of individual residue differences in the amino acid sequence on the strength of affinity, that is, the same antibody and antigen amino acid sequence often have multiple motif sequences (motif sequences refer to local conserved regions in the sequence, or a small sequence pattern shared by a group of sequences), and there will be individual residue differences in the above motif sequences. These subtle differences will significantly affect the strength of affinity. After sequence filling, an embedding layer can be used to map to the vector space, and then a deep learning model (such as a bidirectional LSTM network or a transformer model based on a self-attention mechanism) can be used for supervised training, and finally the embedding vector can be obtained through the weight of the embedding layer as a sequence word vector feature.
[0101] Optionally, in this embodiment, the above functional or structural features may include but are not limited to extraction by amino acid sequence analysis tools based on machine learning or statistical analysis, such as PROFEAT, PyBioMed, Pfeature, etc. These tools can be used to directly calculate the characteristic information that can reveal the functionality or structure of the amino acid sequence, such as physico-chemical properties composition, amino acid composition, repetitive residue information, etc.
[0102] As an optional scheme, the protein structure dynamic characteristics are determined according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, including: obtaining a protein structure information file corresponding to the first amino acid sequence and the second amino acid sequence; inputting the protein structure information file into a first target feature generation network model to obtain the protein structure dynamic characteristics, wherein the first target feature generation network model is used to determine the protein structure dynamic characteristics according to the structural information of the target protein in the protein structure information file.
[0103] Optionally, in this embodiment, there are many kinds of forces for maintaining the protein structure: the primary structure is a covalent bond, such as a peptide bond and a disulfide bond; the secondary structure is a hydrogen bond; the forces of the tertiary structure are mainly some so-called weak interactions, namely secondary bonds or non-covalent bonds, including hydrogen bonds, salt bonds, hydrophobic bonds and van der Waals forces, etc.; some proteins have quaternary structures, while others do not, and most of them are some secondary bonds, such as hydrogen bonds. The above-mentioned protein structure information file is used to represent the above-mentioned protein structure maintenance, and the above-mentioned target protein is the protein corresponding to the above-mentioned antibody or antigen. As an option, the PDB database number of the complex of the antigen and the antibody is determined according to the amino acid sequence of the antigen and the antibody. The RCSB PDB file can also be downloaded and used to extract the principal component information of the protein structure in the next step to add additional feature information.
[0104] Optionally, in this embodiment, the above-mentioned protein structure information file may include but is not limited to a PDB file. The PDB protein structure database (Protein Data Bank, referred to as PDB) is maintained by the Research Collaboratory for Structural Bioinformatics (RCSB). Like the nucleic acid sequence database, data can be submitted directly to the PDB database through the network. The PDB is currently the most important database for collecting 2.5-dimensional (three-dimensional data represented in two-dimensional form) structures of biological macromolecules (proteins, nucleic acids and sugars). It is a three-dimensional structure database of biological macromolecules such as proteins, polysaccharides, nucleic acids, and viruses determined by experimental means such as X-ray single crystal diffraction, nuclear magnetic resonance, and electron diffraction. Its content includes atomic coordinates, references, first-level and second-level structural information of biological macromolecules, as well as crystal structure factors and NMR experimental data, etc. The PDB database allows users to search in various ways and Boolean logic combinations (AND, OR and NOT). The searchable fields include functional category, PDB code, name, author, space group, resolution, source, entry time, molecular formula, references, biological source, etc. The PDB database stores data in the form of text files, with each molecule using a separate file.
[0105] Optionally, in this embodiment, the first target feature generation network model may include but is not limited to an anisotropic network model ANM, etc., which is used to extract protein structure dynamics features from the protein structure file.
[0106] For example, Figure 5 is a schematic diagram of another optional method for predicting binding affinity based on antigen and antibody sequences according to an embodiment of the present application, such as Figure 5 As shown, the following steps may be included but not limited to:
[0107] S1, searching the RCSB PDB database based on the first sequence information and the second sequence information to determine the target protein;
[0108] S2, download and parse the PDB file of the target protein;
[0109] S3, input the PDB file into the anisotropic network model ANM;
[0110] S4, output protein structural mechanical characteristics.
[0111] The above is only an example, and this embodiment does not make any specific limitation.
[0112] As an optional solution, the sequence word vector features are determined according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, including:
[0113] According to a preset target sequence length, converting the first amino acid sequence into a third amino acid sequence, and converting the second amino acid sequence into a fourth amino acid sequence, wherein the sequence length of the third amino acid sequence and the sequence length of the fourth amino acid sequence are both the target sequence length;
[0114] The third amino acid sequence and the fourth amino acid sequence are input into the second target feature generation network model to obtain a sequence word vector feature, wherein the second target feature generation network model is used to convert the third amino acid sequence and the fourth amino acid sequence into a sequence word vector feature. Optionally, in the present embodiment, the above-mentioned conversion of the first amino acid sequence into the third amino acid sequence according to the preset target sequence length, and the conversion of the second amino acid sequence into the fourth amino acid sequence may include but is not limited to standardization of the first amino acid sequence and the second amino acid sequence, i.e., sequence filling. Since the lengths of the amino acid sequences are different, sequence filling is required to ensure that each sequence can obtain a sequence vector expression in a unified dimensional space. Generally, the target sequence length can be set in advance, and then each amino acid sequence is fixed to the target sequence length. If the original sequence is longer than the target sequence length, it is truncated; if the original sequence is shorter than the target sequence length, it is padded (generally 0).
[0115] Optionally, in this embodiment, the second target feature generation network model may include but is not limited to an LSTM long short-term memory model.
[0116] For example, Figure 6 is a schematic diagram of another optional method for predicting binding affinity based on antigen and antibody sequences according to an embodiment of the present application, such as Figure 6 As shown, the following steps may be included but not limited to:
[0117] S1, performing sequence filling according to the first sequence information and the second sequence information to determine a third amino acid sequence and a fourth amino acid sequence;
[0118] S2, inputting the third amino acid sequence and the fourth amino acid sequence into the bidirectional LSTM network model;
[0119] S4, output sequence word vector features.
[0120] The above is only an example, and this embodiment does not make any specific limitation.
[0121] As an optional approach, the functional or structural characteristics are determined based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, including:
[0122] Performing sequence encoding on the first amino acid sequence and the second amino acid sequence to obtain sequence encoding information, wherein the sequence encoding information is used to represent amino acids in the first amino acid sequence and the second amino acid sequence;
[0123] Obtain target biological information that matches the sequence encoding information, and determine functional or structural characteristics based on the target biological information.
[0124] Optionally, in this embodiment, the above-mentioned target biological information may include but is not limited to biological information determined based on human prior knowledge, such as physical composition information, chemical property information, amino acid composition, repetitive residue information, etc.
[0125] Optionally, in this embodiment, the sequence encoding of the first amino acid sequence and the second amino acid sequence can obtain sequence encoding information including but not limited to one-hot encoding of amino acids. For example, the proteins of living organisms are mainly composed of twenty kinds of amino acids, which are represented by single-letter abbreviations, such as A for alanine, E for glutamic acid, and X for other or unknown amino acid species. Therefore, it is necessary to complete the conversion through sequence encoding, such as one-hot encoding in machine learning, that is, one-bit effective encoding. Various amino acids will be mapped to different integer values, and then represented by corresponding binary vectors, respectively, and the corresponding index position will be marked as 1, and the rest will be 0.
[0126] For example, Figure 7 is a schematic diagram of another optional method for predicting binding affinity based on antigen and antibody sequences according to an embodiment of the present application, such as Figure 7 As shown, the following steps may be included but not limited to:
[0127] S1, performing sequence coding according to the first sequence information and the second sequence information to determine sequence coding information;
[0128] S2, determining functional or structural features from the Pfeature library based on sequence coding information, wherein the functional or structural features include but are not limited to physicochemical property components, amino acid composition, and repetitive residue information statistics.
[0129] The above is only an example, and this embodiment does not make any specific limitation.
[0130] As an optional solution, obtaining target biological information that matches the sequence encoding information and determining functional or structural characteristics based on the target biological information include:
[0131] When the functional or structural feature includes multiple features, for each of the multiple features, the following steps are performed, wherein each feature is a current feature when the following steps are performed:
[0132] The current biological information that matches the sequence coding information and is used to determine the current feature is obtained, the current feature extraction module corresponding to the current feature is called, and the operation corresponding to the current feature is performed on the current biological information to obtain the current feature.
[0133] Optionally, in this embodiment, the above biological information includes but is not limited to amino acid-related biological information, etc., and the current features may include but are not limited to extraction by amino acid sequence analysis tools based on machine learning or statistical analysis, such as PROFEAT, PyBioMed, Pfeature, etc. The above tools can be used to directly calculate feature information that can reveal the functionality or structure of the amino acid sequence, such as physico-chemical properties composition, amino acid composition, repetitive residue information, etc. (corresponding to the aforementioned multiple features).
[0134] As an optional solution, performing sequence coding on the first amino acid sequence and the second amino acid sequence to obtain sequence coding information includes:
[0135] Each amino acid in the first amino acid sequence and the second amino acid sequence is encoded to obtain a corresponding sequence encoding vector, wherein the sequence encoding information includes the sequence encoding vector obtained by encoding each amino acid.
[0136] Optionally, in this embodiment, the encoding of each amino acid in the first amino acid sequence and the second amino acid sequence to obtain the corresponding sequence encoding vector may include but is not limited to one-hot encoding in machine learning, i.e., one-bit effective encoding. Various amino acids will be mapped to different integer values, and then represented by corresponding binary vectors, respectively, with the corresponding index position marked as 1 and the rest as 0.
[0137] For example, Figure 8 is a schematic diagram of another optional method for predicting binding affinity based on antigen and antibody sequences according to an embodiment of the present application, such as Figure 8 As shown, taking the first amino acid sequence including amino acid A, amino acid B and amino acid C as an example, the encoding of each amino acid in the first amino acid sequence may include but is not limited to:
[0138] The order of amino acids in the first amino acid sequence is amino acid B, amino acid A, and amino acid C. The sequence encoding vector after encoding is amino acid B[1,0,0], amino acid A[0,1,0], and amino acid C[0,0,1].
[0139] The above is only an example, and this embodiment does not make any specific limitation.
[0140] As an optional solution, the initial features of M dimensions are fused to obtain M fused features, including:
[0141] The initial features of M dimensions are input into the target feature fusion model to obtain M fused features, wherein the target feature fusion model includes N target expert network models and M target gate network models, and each fused feature is a fused feature obtained by processing the initial features of a corresponding dimension by N target expert network models and a corresponding target gate network model, and N is an integer greater than or equal to 2.
[0142] Optionally, in this embodiment, the target expert network model may include but is not limited to N, wherein the N target expert network modules can be understood as a mixture of experts model, the idea of which is to train multiple neural networks (that is, multiple experts), each neural network (expert) being specified to be applied to a different part of the data set. That is to say, the data set may have multiple different sources (multimodal features, corresponding to the initial features of the aforementioned M dimensions), and the data provided by different sources are quite different (but true), therefore, an expert neural network is specified for processing the initial features of each dimension, and the model also has a managing neural net to determine which neural network an input should be given to process.
[0143] It should be noted that as the size of the data set increases, the performance of the model will improve significantly. More importantly, a single model is often good at processing a part of the data, but not good at processing another part of the data (making more mistakes on this part of the data), while the multi-expert system solves this problem very well: each neural network in the system, that is, each expert, will have a data area that it is good at, and it performs better than other experts in this area.
[0144] As an optional solution, the initial features of M dimensions are input into the target feature fusion model to obtain M fusion features, including:
[0145] In the target feature fusion model, the following operations are performed on the initial features of each dimension to obtain a corresponding fusion feature, wherein when performing the following operations, the initial features of each dimension are the current initial features:
[0146] Input the current initial features into N target expert network models to obtain N candidate fusion features;
[0147] Input the current initial feature into the current target gate network model corresponding to the M target gate network models to obtain a current feature weight vector, wherein the current feature weight vector is used to represent the weight of the corresponding candidate fusion feature in the N candidate fusion features;
[0148] According to the N candidate fusion features and the current feature weight vector, a fusion feature corresponding to the current initial feature is determined.
[0149] Optionally, in this embodiment, the target gate network model is used to determine a current feature weight vector according to the current initial feature, which is used to represent the weight of a corresponding candidate fusion feature among the N candidate fusion features.
[0150] For example, taking the Multi-gate Mixture-of-Experts (MMoE) model as an example, principal component analysis or autoencoder can be used to eliminate redundant information, and neural networks can be used to convert raw data into high-dimensional feature expressions. After obtaining the commonalities in the high-dimensional space, the attention mechanism is introduced to improve the fusion effect and the interpretability of the model.
[0151] Fig. 9 is a schematic diagram of another optional method for predicting binding affinity based on antigen and antibody sequences according to an embodiment of the present application, such as Fig. 9As shown, taking M=3 as an example, light colors A, B, and C are three initial features, and dark colors A, B, and C are fusion features corresponding to the three initial features. The multi-gate hybrid expert model aims to utilize the mechanism of multi-gated networks to balance the importance of each modality feature, flexibly learn different combinations of expert network hybrid modes, and realize the selective use of expert networks through different final output weights.
[0152] The MMoE model can be formally expressed as:
[0153]
[0154] where f i where i=1,…,n are n expert networks based on fully connected layers, g is a gating network combining multiple expert networks (which can be considered as the weighted sum of all expert networks), g k (x) = softmax(W gk x), matrix W gk Represents the weight value of the kth feature in the gth expert network.
[0155] The above is only an example, and this embodiment does not make any specific limitation.
[0156] 10. According to the method of claim 9, as an optional solution, the current initial features are input into N target expert network models to obtain N candidate fusion features, including:
[0157] When the current initial feature includes feature data with a dimension of 1×P, the current initial feature is input into N target expert network models to obtain N candidate fusion features, wherein each of the N candidate fusion features includes feature data with a dimension of 1×Q, P and Q are integers greater than or equal to 2, P>Q or P=Q.
[0158] 11. According to the method of claim 9, as an optional solution, determining the fusion feature corresponding to the current initial feature according to the N candidate fusion features and the current feature weight vector comprises:
[0159] When each of the N candidate fusion features includes feature data of dimension 1×Q and the current feature weight vector includes feature weight data of dimension N×Q, a dot multiplication operation is performed on the feature data of dimension 1×Q in each of the N candidate fusion features and the feature weight data of dimension 1×Q corresponding to the current feature weight vector to obtain N weighted fusion features, wherein each weighted fusion feature includes weighted feature data of dimension 1×Q, and Q is an integer greater than or equal to 2;
[0160] A corresponding addition operation is performed on the weighted feature data of dimension 1×Q in each of the N weighted fusion features to obtain a fusion feature corresponding to the current initial feature, wherein the fusion feature corresponding to the current initial feature includes fusion feature data of dimension 1×Q.
[0161] Optionally, in this embodiment, the above Fig. 9 For example, the current initial feature represented by the light-colored A is feature data with a dimension of 1×3. After being input into expert network 1, expert network 2, expert network 3 until expert network N respectively, N candidate fusion features are obtained. Each candidate fusion feature includes feature data with a dimension of 1×Q. The current feature weight vector obtained by the gate network is then weighted and summed to obtain the fusion feature corresponding to the current initial feature represented by the dark-colored A.
[0162] The above is only an example, and this embodiment does not make any specific limitation.
[0163] As an optional scheme, obtaining the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody includes:
[0164] The first amino acid sequence of the target antigen, the heavy chain amino acid sequence of the target antibody and the light chain amino acid sequence of the target antibody are obtained, wherein the second amino acid sequence includes the heavy chain amino acid sequence and the light chain amino acid sequence.
[0165] Optionally, in this embodiment, if Figure 3 As shown, the above heavy chain amino acid sequence represents the heavy chain of the target antibody, and the above light chain amino acid sequence represents the light chain of the target antibody.
[0166] According to one aspect of an embodiment of the present application, a binding affinity training method based on antigen and antibody sequences is provided, comprising:
[0167] S1, obtaining T training samples and corresponding T actual binding affinity parameters, wherein each training sample includes a first sample amino acid sequence of a sample antigen and a second sample amino acid sequence of a sample antibody, and each actual binding affinity parameter is used to represent the actual binding affinity of the sample antigen and the sample antibody in the corresponding training sample;
[0168] S2, according to the first sample amino acid sequence of the sample antigen and the second sample amino acid sequence of the sample antibody in each training sample, determine a corresponding set of sample initial features, and obtain a total of T sets of sample initial features, wherein each set of sample initial features includes sample initial features of M dimensions;
[0169] S3, using T groups of sample initial features and T actual binding affinity parameters, train the initial feature fusion model to be trained and the initial prediction neural network model to be trained to obtain the target feature fusion model and the target prediction neural network model, wherein the initial feature fusion model includes N initial expert network models and M initial gate network models to be trained, and T, M, and N are all integers greater than or equal to 2.
[0170] Optionally, in this embodiment, the above-mentioned T training samples may include but are not limited to first sample amino acid sequences corresponding to T first amino acid sequences, second sample amino acid sequences corresponding to T second amino acid sequences, and the above-mentioned T actual binding affinity parameters may include but are not limited to actual binding affinity parameters determined based on prior knowledge.
[0171] Optionally, in this embodiment, the preset loss condition corresponding to the loss value between the above-mentioned predicted sample binding affinity parameters and the corresponding actual binding affinity parameters may include but is not limited to using the Spearman's Rank Correlatoin to measure to determine the correlation and difference between the predicted results (predicted sample binding affinity parameters) and the true labels (actual binding affinity parameters).
[0172] As an optional solution, the initial feature fusion model to be trained and the initial prediction neural network model to be trained are trained, including:
[0173] Each time a group of sample initial features is input into the initial feature fusion model, M training fusion features are obtained, each training fusion feature is a fusion feature obtained by processing the sample initial features of a corresponding dimension through N initial expert network models and a corresponding initial gate network model; the M training fusion features are input into the initial prediction neural network model to obtain predicted sample binding affinity parameters, wherein the predicted sample binding affinity parameters are used to represent the predicted binding affinity of the corresponding sample antigen and the sample antibody; when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter does not meet the preset loss condition, the parameters in the N initial expert network models, the M initial gate network models, and at least part of the network models in the initial prediction neural network model are adjusted, and when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter meets the preset loss condition, the training is terminated, and the initial feature fusion model at the end of the training is determined as the target feature fusion model, and the initial prediction neural network model at the end of the training is determined as the target prediction neural network model.
[0174] Optionally, in this embodiment, the above-mentioned adjustment of parameters in at least part of the network models in the N initial expert network models, the M initial gate network models, and the initial prediction neural network model can be understood as adjusting the parameters of any type of network model in the N initial expert network models, the M initial gate network models, and the initial prediction neural network model when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter does not meet the preset loss condition, or the parameters of any two types of models in the N initial expert network models, the M initial gate network models, and the initial prediction neural network model, or the parameters of all types of models in the N initial expert network models, the M initial gate network models, and the initial prediction neural network model.
[0175] The following is a further explanation of this application with reference to specific examples:
[0176] Protein-protein interactions (PPIs) are essential for a wide range of biological activities and functions in the human body, including the immune system. The antibody-antigen system is one of the most important systems among all PPIs and plays a unique role in PPI research. Antibodies are large proteins that play an important role in the immune system by counteracting antigens. At the top of the antibody, there is an antigen-binding fragment that contains a complementary site that is used to recognize a unique antigen through its epitope. The strength of antibody affinity depends on the degree of coordination between the antibody countertope and the antigen epitope used, including the size of the contact area, the degree of affinity, and the distribution of charged groups and hydrophobic genes. Antibody affinity reflects the ability of an antibody molecule to react with a determinant cluster of an antigen molecule or a hapten. It is an important indicator for evaluating antibody quality and reflects the binding strength between the antibody and the corresponding antigen. The higher the affinity, the higher the degree of binding between the antibody and the corresponding antigen, which plays an important guiding role in the application of antibodies. Each protein molecule has its own specific amino acid composition and arrangement order. The amino acid sequence (Primary Sequence) of the primary structure of the protein contains and determines all the information of its three-dimensional folding structure, that is, the primary structure determines the higher-level structure of the protein.
[0177] Therefore, this application proposes a machine learning method based on antigen-antibody sequences for predicting antigen-antibody binding affinity, effectively utilizing massive biological data, realizing a dry-wet closed loop, optimizing antibody development, and improving antibody research and development efficiency.
[0178] This application is based on machine learning, deep learning, representation learning, and statistical methods. The specific steps are as follows:
[0179] (1) Standardization operations such as padding and encoding of the amino acid sequences of antigens and antibodies (light chains and heavy chains);
[0180] (2) Determine the PDB database number of the complex based on the amino acid sequence of the antigen and antibody;
[0181] (3) Use a range of commonly used machine learning and statistical methods to calculate functional or structural protein properties based on amino acid sequences;
[0182] (4) Using representation learning methods to determine the word embedding vector of the amino acid sequence;
[0183] (5) Use deep learning methods to model the word embedding expression vector of the amino acid sequence and identify important features that can affect the binding affinity between antigen and antibody;
[0184] (6) For complexes with identifiable PDB database numbers, PDB or DCD files are quickly and flexibly obtained to perform protein structure variation analysis and dynamics analysis, relying on network models to extract relevant feature information between structure, dynamics and function.
[0185] (7) Based on the extracted different feature matrices as input, a multimodal data fusion strategy is adopted to train an effective regression model and predict the binding affinity value of a given antigen and antibody amino acid sequence.
[0186] The present application may have, but is not limited to, the following beneficial effects:
[0187] (1) By developing a computationally assisted model, highly accurate antibody affinity predictions can be achieved, which can quickly and efficiently identify the most promising antibody molecules, thereby saving time and cost.
[0188] (2) This application can accurately predict antibody affinity using only the amino acid sequences of antigens and antibodies as input, without the need for additional information such as three-dimensional structure. It has strong applicability and the ability to process large and diverse data sets.
[0189] (3) This application constructs a multidimensional and multimodal regression model based on machine learning (deep learning), which can not only stably achieve effective antibody affinity prediction, but also has good model interpretability. It uses multiple hidden layers contained in the deep learning model to analyze the relationships implicit in large and diverse data sets, providing support for complex antibody design and optimization processes from a data-driven perspective.
[0190] (4) The present application can extract feature information of up to three modalities based on the amino acid sequences of antigens and antibodies: protein structure dynamics features (optional), sequence word vector features, and functional or structural features (multiple). This solves the problem of feature sparsity when only relying on the extracted features of the amino acid sequences of antigens and antibodies. The multimodal feature fusion module is then used to effectively solve the mutual exclusivity problem caused by the non-uniformity of the dimensional space in multimodal fusion. The network model based on the attention mechanism is used to achieve the collaborative expression of multimodal data fusion, taking into account the correlation and interaction between each modal feature, thereby further improving the fusion effect and enhancing the prediction performance of the overall model.
[0191] This application uses machine learning (deep learning) technology to predict the strength of antigen-antibody binding affinity based on the amino acid sequence information of antigens and antibodies as input, with the aim of training an effective regression model for predicting and inferring completely unseen and new antibody variants. Because only the amino acid sequence of antigens and antibodies is needed as input to complete the prediction, no additional information such as three-dimensional structure is required, and it has strong applicability and is conducive to analyzing the vast antibody sequence space.
[0192] This application consists of three parts: data processing, feature extraction, and regression model. Figure 4 As shown:
[0193] Data processing: The amino acid sequences of antigens and antibodies are standardized, i.e., sequence filling and sequence encoding. Since the lengths of the amino acid sequences are different, sequence filling is required to ensure that each sequence can obtain sequence vector expression in a unified dimensional space. Usually, a sequence length can be determined first, and then each amino acid sequence is fixed to this length. If the original sequence is longer than this value, it is truncated; if the original sequence is shorter than this value, it is filled (usually filled with 0). The proteins of living organisms are mainly composed of twenty kinds of amino acids, which are represented by single-letter abbreviations, such as A for alanine, E for glutamic acid, and X for other or unknown amino acid types. Therefore, it is necessary to complete the conversion through sequence encoding, such as one-hot encoding in machine learning, that is, one-bit effective encoding. Various amino acids will be mapped to different integer values, and then represented by corresponding binary vectors, respectively. The corresponding index position is marked as 1, and the rest is 0. According to the amino acid sequence of the antigen and antibody, the PDB database number of its complex is determined. The RCSBPDB file can also be downloaded and used to extract the main component information of the protein structure in the next step to add additional feature information.
[0194] Feature extraction: Based on the amino acid sequence, useful feature information is extracted from three different aspects, namely, multiple functional or structural features, sequence word vector features, and protein structure dynamics analysis. Amino acid sequence analysis tools based on machine learning or statistical analysis, such as PROFEAT, PyBioMed, Pfeature, etc., can directly calculate the functional or structural feature information that can reveal the amino acid sequence, such as physical and chemical properties composition, amino acid composition, repetitive residue information, etc. The sequence word vector feature is mainly used to identify the pattern in which the affinity is affected by the difference of individual residues in the amino acid sequence, that is, the same antibody and antigen amino acid sequences often have multiple motif sequences, and there will be individual residue differences in these motif sequences. These subtle differences will significantly affect the affinity. After the sequence is filled, it can be mapped to the vector space using an embedding layer, and then a deep learning model (such as a bidirectional LSTM network or a transformer model based on a self-attention mechanism) can be used for supervised training. Finally, the embedding vector can be obtained as the sequence word vector feature through the weight of the embedding layer. Structural dynamics analysis can use the anisotropic network model to extract directional information of residue motion based on the acquired RCSB PDB file, and use principal component analysis to extract heterogeneous X-ray structural information.
[0195] Regression prediction: multimodal feature fusion module and regression model. The multimodal fusion module aims to make full use of the complementarity and cross-relationship of multiple modal feature data. It can use principal component analysis or autoencoder to remove redundant information, use neural networks to convert raw data into high-dimensional feature expressions, and after obtaining commonalities in high-dimensional space, introduce attention mechanisms to improve fusion effects and model interpretability.
[0196] The multimodal fusion module of this application is based on the Multi-gate Mixture-of-Experts (MMoE) model, which aims to use the mechanism of multi-gate control networks to balance the importance of each modality feature, flexibly learn different combinations of expert network mixed modes, and realize the selective use of expert networks through different final output weights. The MMoE model can be formally expressed as y k =h k (f k (x)), where f i where i=1,…,n are n expert networks based on fully connected layers, g is a gating network combining multiple expert networks (which can be considered as the weighted sum of all expert networks), g k (x) = softmax(W gk x), matrix W gk Represents the weight value of the kth feature in the gth expert network.
[0197] Then, based on the data expression after multimodal feature fusion, a conventional regression model can be used to complete the training and prediction tasks. This application is based on a convolutional neural network as a regression model.
[0198] This application was tested on antibody affinity data collected from public data sets and literature, with a total of 1706 training sets (involving 473 antibody-antigen complexes) and 178 test sets (involving 37 antibody-antigen complexes). The Spearman's Rank Correlatoin was used to measure the correlation and difference between the predicted results and the true labels, and the following results were obtained:
[0199]
[0200] The implementation of this application does not rely on three-dimensional protein structure information or PPI thermodynamic properties. It only needs to be based on the amino acid sequence of antigens and antibodies to complete the prediction. It has the applicability to process large and diverse data sets, and can provide support for complex antibody design and optimization processes from the biological big data level. This application has good model interpretability, and uses multiple hidden layers contained in the deep learning model to analyze the relationships implicit in large and diverse data sets, so that it can analyze the huge antibody sequence space and has strong generalization capabilities. This application also has strong scalability and great application potential. Other functions can be developed based on this, such as early screening of monoclonal antibodies, prediction of the association between T cell receptors and antigen epitopes, etc.
[0201] The regression problem of the present application can be replaced by a classification problem, which is mainly determined by the output properties of the model. If it is a numerical fitting, it is a regression problem; if it is a discrete value (i.e., whether the antigen and antibody can bind), it is a classification problem.
[0202] The regression model of the present application can use other machine learning (deep learning) models besides convolutional neural networks, such as linear regression model LR, decision tree regression model DTR, etc.
[0203] In addition to using the available RCSB PDB files, this application can also use the three different levels of protein (i.e., secondary structure, tertiary structure, and quaternary structure) to predict based on the amino acid sequence, thereby extracting the corresponding structural information and enhancing the prediction performance. For example, an effective computational model can be used to effectively predict the three-dimensional folding structure of a protein based only on the one-dimensional amino acid sequence of the protein, such as AlphaFold2.
[0204] In terms of interpretability, in addition to the attention mechanism, other methods that can calculate the importance of features through back propagation based on the output results can also be used to identify important features that affect antibody affinity, which can serve as an effective expression of model interpretability.
[0205] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0206] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0207] According to another aspect of the embodiments of the present application, a binding affinity prediction device based on antigen and antibody sequences for implementing the above-mentioned binding affinity prediction method based on antigen and antibody sequences is also provided. Fig.10 As shown, the device comprises:
[0208] An acquisition module 1002 is used to acquire a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody;
[0209] A determination module 1004 is used to determine initial features in M dimensions according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, where M is an integer greater than or equal to 2;
[0210] The first processing module 1006 is used to fuse the initial features of M dimensions to obtain M fused features;
[0211] The second processing module 1008 is used to determine predicted binding affinity parameters according to the M fusion features, wherein the predicted binding affinity parameters are used to represent the predicted binding affinity between the target antigen and the target antibody.
[0212] As an optional scheme, the device is used to determine the initial features of M dimensions based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in at least two of the following ways: determining the protein structure dynamics characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody; determining the sequence word vector characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody; determining the functional or structural characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody.
[0213] As an optional scheme, the device is used to determine the protein structure dynamic characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: obtain a protein structure information file corresponding to the first amino acid sequence and the second amino acid sequence; input the protein structure information file into a first target feature generation network model to obtain the protein structure dynamic characteristics, wherein the first target feature generation network model is used to determine the protein structure dynamic characteristics based on the structural information of the target protein in the protein structure information file.
[0214] As an optional scheme, the device is used to determine the sequence word vector feature based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: according to a preset target sequence length, the first amino acid sequence is converted into a third amino acid sequence, and the second amino acid sequence is converted into a fourth amino acid sequence, wherein the sequence length of the third amino acid sequence and the sequence length of the fourth amino acid sequence are both target sequence lengths; the third amino acid sequence and the fourth amino acid sequence are input into a second target feature generation network model to obtain a sequence word vector feature, wherein the second target feature generation network model is used to convert the third amino acid sequence and the fourth amino acid sequence into a sequence word vector feature.
[0215] As an optional scheme, the device is used to determine the functional or structural characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: sequence encoding the first amino acid sequence and the second amino acid sequence to obtain sequence encoding information, wherein the sequence encoding information is used to represent the amino acids in the first amino acid sequence and the second amino acid sequence; obtain target biological information matching the sequence encoding information, and determine the functional or structural characteristics based on the target biological information.
[0216] As an optional solution, the device is used to obtain target biological information that matches the sequence coding information in the following manner, and determine the functional or structural features based on the target biological information: when the functional or structural features include multiple features, for each of the multiple features, perform the following steps, wherein when performing the following steps, each feature is a current feature: obtain current biological information that matches the sequence coding information and is used to determine the current feature, call a current feature extraction module corresponding to the current feature, perform an operation corresponding to the current feature on the current biological information, and obtain the current feature.
[0217] As an optional scheme, the device is used to perform sequence encoding on the first amino acid sequence and the second amino acid sequence to obtain sequence encoding information in the following manner: encode each amino acid in the first amino acid sequence and the second amino acid sequence to obtain a corresponding sequence encoding vector, wherein the sequence encoding information includes the sequence encoding vector obtained by encoding each amino acid.
[0218] As an optional solution, the device is used to fuse initial features of M dimensions in the following manner to obtain M fused features: the initial features of M dimensions are input into a target feature fusion model to obtain M fused features, wherein the target feature fusion model includes N target expert network models and M target gate network models, each fused feature is a fused feature obtained by processing the initial features of a corresponding dimension by N target expert network models and a corresponding target gate network model, and N is an integer greater than or equal to 2.
[0219] As an optional solution, the device is used to input the initial features of M dimensions into a target feature fusion model to obtain M fused features in the following manner: in the target feature fusion model, perform the following operations on the initial features of each dimension to obtain a corresponding fused feature, wherein when performing the following operations, the initial feature of each dimension is the current initial feature: input the current initial feature into N target expert network models to obtain N candidate fused features; input the current initial feature into the corresponding current target gate network model in the M target gate network models to obtain a current feature weight vector, wherein the current feature weight vector is used to represent the weight of the corresponding candidate fused feature in the N candidate fused features; determine the fused feature corresponding to the current initial feature based on the N candidate fused features and the current feature weight vector.
[0220] As an optional scheme, the device is used to input the current initial feature into N target expert network models to obtain N candidate fusion features in the following manner: when the current initial feature includes feature data of a dimension of 1×P, the current initial feature is input into N target expert network models to obtain N candidate fusion features, wherein each of the N candidate fusion features includes feature data of a dimension of 1×Q, P and Q are integers greater than or equal to 2, P>Q or P=Q.
[0221] As an optional scheme, the device is used to determine the fusion feature corresponding to the current initial feature according to N candidate fusion features and the current feature weight vector in the following manner: when each of the N candidate fusion features includes feature data with a dimension of 1×Q and the current feature weight vector includes feature weight data with a dimension of N×Q, perform a dot multiplication operation on the feature data with a dimension of 1×Q in each of the N candidate fusion features and the corresponding feature weight data with a dimension of 1×Q in the current feature weight vector to obtain N weighted fusion features, wherein each weighted fusion feature includes weighted feature data with a dimension of 1×Q, and Q is an integer greater than or equal to 2; perform a corresponding addition operation on the weighted feature data with a dimension of 1×Q in each of the N weighted fusion features to obtain a fusion feature corresponding to the current initial feature, wherein the fusion feature corresponding to the current initial feature includes fusion feature data with a dimension of 1×Q.
[0222] As an optional scheme, the device is used to obtain the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: obtain the first amino acid sequence of the target antigen, the heavy chain amino acid sequence of the target antibody, and the light chain amino acid sequence of the target antibody, wherein the second amino acid sequence includes a heavy chain amino acid sequence and a light chain amino acid sequence.
[0223] According to another aspect of the embodiment of the present application, a binding affinity training device based on antigen and antibody sequences for implementing the above-mentioned binding affinity training method based on antigen and antibody sequences is also provided. The device comprises:
[0224] A sampling module is used to obtain T training samples and corresponding T actual binding affinity parameters, wherein each training sample includes a first sample amino acid sequence of a sample antigen and a second sample amino acid sequence of a sample antibody, and each actual binding affinity parameter is used to represent the actual binding affinity of the sample antigen and the sample antibody in the corresponding training sample; a construction module is used to determine a corresponding set of sample initial features according to the first sample amino acid sequence of the sample antigen and the second sample amino acid sequence of the sample antibody in each training sample, and obtain a total of T groups of sample initial features, wherein each group of sample initial features includes sample initial features of M dimensions; a training module is used to use the T groups of sample initial features and the T actual binding affinity parameters to train the initial feature fusion model to be trained and the initial prediction neural network model to be trained, and obtain a target feature fusion model and a target prediction neural network model, wherein the initial feature fusion model includes N initial expert network models to be trained and M initial gate network models, and T, M, and N are all integers greater than or equal to 2.
[0225] As an optional solution, the device is used to train the initial feature fusion model to be trained and the initial prediction neural network model to be trained in the following manner: each time a group of sample initial features are input into the initial feature fusion model to obtain M training fusion features, each training fusion feature is a fusion feature obtained by processing the sample initial features of a corresponding dimension by N initial expert network models and a corresponding initial gate network model; the M training fusion features are input into the initial prediction neural network model to obtain predicted sample binding affinity parameters, wherein the predicted sample binding affinity parameters are used to represent the predicted binding affinity of the corresponding sample antigen and the sample antibody; when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter does not meet the preset loss condition, the parameters in the N initial expert network models, the M initial gate network models, and at least part of the network models in the initial prediction neural network model are adjusted; when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter meets the preset loss condition, the training is terminated, the initial feature fusion model at the end of the training is determined as the target feature fusion model, and the initial prediction neural network model at the end of the training is determined as the target prediction neural network model.
[0226] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program / instruction, the computer program / instruction comprising a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 1109, and / or installed from a removable medium 1111. When the computer program is executed by the central processor 1101, various functions provided in the embodiments of the present application are executed.
[0227] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0228] Fig.11 The structure block diagram of a computer system for implementing an electronic device according to an embodiment of the present application is schematically shown.
[0229] It should be noted that Fig.11 The computer system 1100 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0230] like Fig.11 As shown, the computer system 1100 includes a central processing unit 1101 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 1102 (ROM) or the program loaded from the storage part 1108 to the random access memory 1103 (RAM). Various programs and data required for system operation are also stored in the random access memory 1103. The central processing unit 1101, the read-only memory 1102 and the random access memory 1103 are connected to each other through a bus 1104. An input / output interface 1105 (Input / Output interface, i.e., I / O interface) is also connected to the bus 1104.
[0231] The following components are connected to the input / output interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the input / output interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0232] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the central processor 1101, various functions defined in the system of the present application are executed.
[0233] According to another aspect of the embodiment of the present application, an electronic device for implementing the above-mentioned method for predicting binding affinity based on antigen and antibody sequences is also provided. The electronic device may be Figure 1 The terminal device or server shown in the figure. This embodiment is described by taking the electronic device as a terminal device as an example. Fig.12 As shown, the electronic device includes a memory 1202 and a processor 1204. The memory 1202 stores a computer program, and the processor 1204 is configured to execute the steps in any of the above method embodiments through the computer program.
[0234] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0235] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0236] S1, obtaining a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody;
[0237] S2, determining initial features of M dimensions according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, where M is an integer greater than or equal to 2;
[0238] S3, fuse the initial features of M dimensions to obtain M fused features;
[0239] S4, determining predicted binding affinity parameters according to the M fusion features, wherein the predicted binding affinity parameters are used to represent the predicted binding affinity between the target antigen and the target antibody.
[0240] Alternatively, a person skilled in the art may understand that: Fig.12The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, and other terminal devices. Fig.12 The electronic device and the electronic equipment described above are not limited in structure. Fig.12 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.12 Different configurations shown.
[0241] Among them, the memory 1202 can be used to store software programs and modules, such as the program instructions / modules corresponding to the binding affinity prediction method and device based on antigen and antibody sequences in the embodiments of the present application. The processor 1204 executes various functional applications and data processing by running the software programs and modules stored in the memory 1202, that is, to realize the above-mentioned binding affinity prediction method based on antigen and antibody sequences. The memory 1202 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1202 may further include a memory remotely arranged relative to the processor 1204, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1202 can be specifically, but not limited to, used to store information such as amino acid sequences. As an example, such as Fig.12 As shown, the memory 1202 may include, but is not limited to, the acquisition module 1002, the determination module 1004, the first processing module 1006, and the second processing module 1008 in the above-mentioned binding affinity prediction device based on antigen and antibody sequences. In addition, it may also include, but is not limited to, other module units in the above-mentioned binding affinity prediction device based on antigen and antibody sequences, which will not be repeated in this example.
[0242] Optionally, the transmission device 1206 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 1206 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1206 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0243] In addition, the electronic device further comprises: a display 1208 for displaying the amino acid sequence or binding affinity parameter; and a connection bus 1210 for connecting various module components in the electronic device.
[0244] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. Among them, the nodes may form a peer-to-peer (P2P, Peer To Peer) network, and any form of computing device, such as a server, terminal and other electronic devices, may become a node in the blockchain system by joining the peer-to-peer network.
[0245] According to one aspect of the present application, a computer-readable storage medium is provided, and 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 binding affinity prediction method based on antigen and antibody sequences provided in the various optional implementations of the above-mentioned binding affinity prediction based on antigen and antibody sequences.
[0246] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0247] S1, obtaining a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody;
[0248] S2, determining initial features of M dimensions according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, where M is an integer greater than or equal to 2;
[0249] S3, fuse the initial features of M dimensions to obtain M fused features;
[0250] S4, determining predicted binding affinity parameters according to the M fusion features, wherein the predicted binding affinity parameters are used to represent the predicted binding affinity between the target antigen and the target antibody.
[0251] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0252] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0253] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0254] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0255] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, 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. For example, 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 through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0256] 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.
[0257] 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.
[0258] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for predicting binding affinity based on antigen and antibody sequences, characterized in that: include: obtaining a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody; Determining initial features in M dimensions according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, where M is an integer greater than or equal to 2; The initial features of the M dimensions are fused to obtain M fused features; Determining a predicted binding affinity parameter according to the M fusion features, wherein the predicted binding affinity parameter is used to represent the predicted binding affinity between the target antigen and the target antibody; Determining the initial features in M dimensions according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody comprises at least two of the following: Determining protein structural dynamic characteristics according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody; Determine a sequence word vector feature according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, wherein the sequence word vector feature is determined by transforming the first amino acid sequence and the second amino acid sequence according to a preset target sequence length and inputting them into a corresponding feature generation network model; Functional or structural characteristics are determined based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody.
2. The method according to claim 1, characterized in that Determining the protein structural dynamics characteristics according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody comprises: Obtaining a protein structure information file corresponding to the first amino acid sequence and the second amino acid sequence; The protein structure information file is input into a first target feature generation network model to obtain the protein structure dynamics feature, wherein the first target feature generation network model is used to determine the protein structure dynamics feature based on the structural information of the target protein in the protein structure information file.
3. The method according to claim 1, characterized in that The determining, according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, a sequence word vector feature comprises: According to a preset target sequence length, converting the first amino acid sequence into a third amino acid sequence, and converting the second amino acid sequence into a fourth amino acid sequence, wherein the sequence length of the third amino acid sequence and the sequence length of the fourth amino acid sequence are both the target sequence length; The third amino acid sequence and the fourth amino acid sequence are input into a second target feature generation network model to obtain the sequence word vector feature, wherein the second target feature generation network model is used to convert the third amino acid sequence and the fourth amino acid sequence into the sequence word vector feature.
4. The method according to claim 1, characterized in that: Determining the functional or structural characteristics according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody comprises: Performing sequence coding on the first amino acid sequence and the second amino acid sequence to obtain sequence coding information, wherein the sequence coding information is used to represent amino acids in the first amino acid sequence and the second amino acid sequence; Target biological information matching the sequence encoding information is obtained, and the functional or structural characteristics are determined based on the target biological information.
5. The method according to claim 4, characterized in that The step of obtaining target biological information matching the sequence coding information and determining the functional or structural characteristics according to the target biological information includes: When the functional or structural feature includes multiple features, for each of the multiple features, the following steps are performed, wherein when the following steps are performed, each of the features is a current feature: Acquire current biological information that matches the sequence coding information and is used to determine the current feature, call a current feature extraction module corresponding to the current feature, perform an operation corresponding to the current feature on the current biological information, and obtain the current feature.
6. The method according to claim 4, characterized in that The step of performing sequence coding on the first amino acid sequence and the second amino acid sequence to obtain sequence coding information includes: Each amino acid in the first amino acid sequence and the second amino acid sequence is encoded to obtain a corresponding sequence encoding vector, wherein the sequence encoding information includes the sequence encoding vector obtained by encoding each amino acid.
7. The method according to claim 1, characterized in that The initial features of the M dimensions are fused to obtain M fused features, including: The initial features of the M dimensions are input into the target feature fusion model to obtain M fused features, wherein the target feature fusion model includes N target expert network models and M target gate network models, each fused feature is a fused feature obtained by processing the initial features of a corresponding dimension by the N target expert network models and a corresponding target gate network model, and N is an integer greater than or equal to 2.
8. The method according to claim 7, characterized in that The initial features of the M dimensions are input into the target feature fusion model to obtain M fusion features, including: In the target feature fusion model, the following operations are performed on the initial features of each dimension to obtain a corresponding fusion feature, wherein when performing the following operations, the initial features of each dimension are current initial features: Inputting the current initial features into the N target expert network models to obtain N candidate fusion features; Inputting the current initial feature into the current target gate network model corresponding to the M target gate network models to obtain a current feature weight vector, wherein the current feature weight vector is used to represent the weight of the corresponding candidate fusion feature in the N candidate fusion features; A fusion feature corresponding to the current initial feature is determined according to the N candidate fusion features and the current feature weight vector.
9. The method according to claim 8, characterized in that The inputting the current initial features into the N target expert network models to obtain N candidate fusion features includes: When the current initial feature includes feature data with a dimension of 1×P, the current initial feature is input into the N target expert network models to obtain the N candidate fusion features, wherein each of the N candidate fusion features includes feature data with a dimension of 1×Q, P and Q are integers greater than or equal to 2, P>Q or P=Q.
10. The method according to claim 9, characterized in that The determining, according to the N candidate fusion features and the current feature weight vector, a fusion feature corresponding to the current initial feature includes: When each of the N candidate fusion features includes feature data of dimension 1×Q and the current feature weight vector includes feature weight data of dimension N×Q, a dot multiplication operation is performed on the feature data of dimension 1×Q in each of the N candidate fusion features and the feature weight data of dimension 1×Q corresponding to the current feature weight vector to obtain N weighted fusion features, wherein each weighted fusion feature includes weighted feature data of dimension 1×Q, and Q is an integer greater than or equal to 2; A corresponding addition operation is performed on the weighted feature data of dimension 1×Q in each of the N weighted fusion features to obtain a fusion feature corresponding to the current initial feature, wherein the fusion feature corresponding to the current initial feature includes fusion feature data of dimension 1×Q.
11. The method according to any one of claims 1 to 10, characterized in that The step of obtaining the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody comprises: The first amino acid sequence of the target antigen, the heavy chain amino acid sequence of the target antibody and the light chain amino acid sequence of the target antibody are obtained, wherein the second amino acid sequence includes the heavy chain amino acid sequence and the light chain amino acid sequence.
12. A binding affinity training method based on antigen and antibody sequences, characterized in that: include: Obtaining T training samples and corresponding T actual binding affinity parameters, wherein each training sample includes a first sample amino acid sequence of a sample antigen and a second sample amino acid sequence of a sample antibody, and each actual binding affinity parameter is used to represent the actual binding affinity of the sample antigen and the sample antibody in the corresponding training sample; According to the first sample amino acid sequence of the sample antigen and the second sample amino acid sequence of the sample antibody in each training sample, a corresponding set of sample initial features is determined to obtain a total of T sets of sample initial features, wherein each set of sample initial features includes sample initial features of M dimensions; Using the T groups of sample initial features and the T actual binding affinity parameters, the initial feature fusion model to be trained and the initial prediction neural network model to be trained are trained to obtain a target feature fusion model and a target prediction neural network model, wherein the initial feature fusion model includes N initial expert network models and M initial gate network models to be trained, T, M, and N are all integers greater than or equal to 2, the N initial expert network models and the M initial gate network models are used to jointly determine the training fusion features, and the training fusion features are used to input the initial prediction neural network model to determine the loss value, and when the loss value meets the preset loss condition, the initial feature fusion model is determined as the target feature fusion model, and the initial prediction neural network model is determined as the target prediction neural network model.
13. The method according to claim 12, characterized in that The training of the initial feature fusion model to be trained and the initial prediction neural network model to be trained includes: Each time a group of sample initial features is input into the initial feature fusion model, M training fusion features are obtained, each training fusion feature is a fusion feature obtained by processing the sample initial features of a corresponding dimension through N initial expert network models and a corresponding initial gate network model; the M training fusion features are input into the initial prediction neural network model to obtain predicted sample binding affinity parameters, wherein the predicted sample binding affinity parameters are used to represent the predicted binding affinity of the corresponding sample antigen and the sample antibody; when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter does not meet the preset loss condition, the parameters in at least part of the network models of the N initial expert network models, the M initial gate network models, and the initial prediction neural network model are adjusted; when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter meets the preset loss condition, the training is terminated, and the initial feature fusion model at the end of the training is determined as the target feature fusion model, and the initial prediction neural network model at the end of the training is determined as the target prediction neural network model.
14. A binding affinity prediction device based on antigen and antibody sequences, characterized in that: include: An acquisition module, used to acquire a first amino acid sequence of a target antigen and a second amino acid sequence of a target antibody; A determination module, configured to determine initial features of M dimensions according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, wherein M is an integer greater than or equal to 2; A first processing module is used to fuse the initial features of the M dimensions to obtain M fused features; A second processing module, configured to determine a predicted binding affinity parameter based on the M fusion features, wherein the predicted binding affinity parameter is used to represent the predicted binding affinity between the target antigen and the target antibody; The device is used to determine initial features of M dimensions based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in at least two of the following ways: determining protein structural dynamic features based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody; determining sequence word vector features based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody, wherein the sequence word vector features are determined by converting the first amino acid sequence and the second amino acid sequence according to a preset target sequence length and inputting them into a corresponding feature generation network model; determining functional or structural features based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody.
15. The device according to claim 14, characterized in that The device is used to determine the protein structure dynamics characteristics according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: Obtaining a protein structure information file corresponding to the first amino acid sequence and the second amino acid sequence; The protein structure information file is input into a first target feature generation network model to obtain the protein structure dynamics feature, wherein the first target feature generation network model is used to determine the protein structure dynamics feature based on the structural information of the target protein in the protein structure information file.
16. The device according to claim 14, characterized in that The device is used to determine a sequence word vector feature according to the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: According to a preset target sequence length, converting the first amino acid sequence into a third amino acid sequence, and converting the second amino acid sequence into a fourth amino acid sequence, wherein the sequence length of the third amino acid sequence and the sequence length of the fourth amino acid sequence are both the target sequence length; The third amino acid sequence and the fourth amino acid sequence are input into a second target feature generation network model to obtain the sequence word vector feature, wherein the second target feature generation network model is used to convert the third amino acid sequence and the fourth amino acid sequence into the sequence word vector feature.
17. The device according to claim 14, characterized in that The device is used to determine functional or structural characteristics based on the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: Performing sequence coding on the first amino acid sequence and the second amino acid sequence to obtain sequence coding information, wherein the sequence coding information is used to represent amino acids in the first amino acid sequence and the second amino acid sequence; Target biological information matching the sequence encoding information is obtained, and the functional or structural characteristics are determined based on the target biological information.
18. The device according to claim 17, characterized in that The device is used to obtain target biological information matching the sequence coding information in the following manner, and determine the functional or structural characteristics based on the target biological information: When the functional or structural feature includes multiple features, for each of the multiple features, the following steps are performed, wherein when the following steps are performed, each of the features is a current feature: Acquire current biological information that matches the sequence coding information and is used to determine the current feature, call a current feature extraction module corresponding to the current feature, perform an operation corresponding to the current feature on the current biological information, and obtain the current feature.
19. The device according to claim 17, characterized in that The device is used to perform sequence encoding on the first amino acid sequence and the second amino acid sequence in the following manner to obtain sequence encoding information: Each amino acid in the first amino acid sequence and the second amino acid sequence is encoded to obtain a corresponding sequence encoding vector, wherein the sequence encoding information includes the sequence encoding vector obtained by encoding each amino acid.
20. The device according to claim 14, characterized in that The device is used to fuse the initial features of the M dimensions in the following manner to obtain M fused features: The initial features of the M dimensions are input into the target feature fusion model to obtain M fused features, wherein the target feature fusion model includes N target expert network models and M target gate network models, each fused feature is a fused feature obtained by processing the initial features of a corresponding dimension by the N target expert network models and a corresponding target gate network model, and N is an integer greater than or equal to 2.
21. The device according to claim 20, characterized in that The device is used to input the initial features of the M dimensions into the target feature fusion model to obtain M fusion features in the following manner: In the target feature fusion model, the following operations are performed on the initial features of each dimension to obtain a corresponding fusion feature, wherein when performing the following operations, the initial features of each dimension are current initial features: Inputting the current initial features into the N target expert network models to obtain N candidate fusion features; Inputting the current initial feature into the current target gate network model corresponding to the M target gate network models to obtain a current feature weight vector, wherein the current feature weight vector is used to represent the weight of the corresponding candidate fusion feature in the N candidate fusion features; A fusion feature corresponding to the current initial feature is determined according to the N candidate fusion features and the current feature weight vector.
22. The device according to claim 21, characterized in that The device is used to input the current initial feature into the N target expert network models to obtain N candidate fusion features in the following manner: When the current initial feature includes feature data with a dimension of 1×P, the current initial feature is input into the N target expert network models to obtain the N candidate fusion features, wherein each of the N candidate fusion features includes feature data with a dimension of 1×Q, P and Q are integers greater than or equal to 2, P>Q or P=Q.
23. The device according to claim 22, characterized in that The device is used to determine a fusion feature corresponding to the current initial feature according to the N candidate fusion features and the current feature weight vector in the following manner: When each of the N candidate fusion features includes feature data of dimension 1×Q and the current feature weight vector includes feature weight data of dimension N×Q, a dot multiplication operation is performed on the feature data of dimension 1×Q in each of the N candidate fusion features and the feature weight data of dimension 1×Q corresponding to the current feature weight vector to obtain N weighted fusion features, wherein each weighted fusion feature includes weighted feature data of dimension 1×Q, and Q is an integer greater than or equal to 2; A corresponding addition operation is performed on the weighted feature data of dimension 1×Q in each of the N weighted fusion features to obtain a fusion feature corresponding to the current initial feature, wherein the fusion feature corresponding to the current initial feature includes fusion feature data of dimension 1×Q.
24. The device according to any one of claims 14 to 23, characterized in that The device is used to obtain the first amino acid sequence of the target antigen and the second amino acid sequence of the target antibody in the following manner: The first amino acid sequence of the target antigen, the heavy chain amino acid sequence of the target antibody and the light chain amino acid sequence of the target antibody are obtained, wherein the second amino acid sequence includes the heavy chain amino acid sequence and the light chain amino acid sequence.
25. A binding affinity training device based on antigen and antibody sequences, characterized in that: include: A sampling module, used to obtain T training samples and corresponding T actual binding affinity parameters, wherein each training sample includes a first sample amino acid sequence of a sample antigen and a second sample amino acid sequence of a sample antibody, and each actual binding affinity parameter is used to represent the actual binding affinity of the sample antigen and the sample antibody in the corresponding training sample; A construction module, used to determine a corresponding set of sample initial features according to the first sample amino acid sequence of the sample antigen and the second sample amino acid sequence of the sample antibody in each training sample, to obtain a total of T sets of sample initial features, wherein each set of sample initial features includes sample initial features of M dimensions; A training module is used to use the T groups of sample initial features and the T actual binding affinity parameters to train the initial feature fusion model to be trained and the initial prediction neural network model to be trained to obtain a target feature fusion model and a target prediction neural network model, wherein the initial feature fusion model includes N initial expert network models and M initial gate network models to be trained, T, M, and N are all integers greater than or equal to 2, the N initial expert network models and the M initial gate network models are used to jointly determine the training fusion features, and the training fusion features are used to input the initial prediction neural network model to determine the loss value. When the loss value meets the preset loss condition, the initial feature fusion model is determined as the target feature fusion model, and the initial prediction neural network model is determined as the target prediction neural network model.
26. The device according to claim 25, characterized in that The device is used to train the initial feature fusion model to be trained and the initial prediction neural network model to be trained in the following manner: Each time a group of sample initial features is input into the initial feature fusion model, M training fusion features are obtained, each training fusion feature is a fusion feature obtained by processing the sample initial features of a corresponding dimension through N initial expert network models and a corresponding initial gate network model; the M training fusion features are input into the initial prediction neural network model to obtain predicted sample binding affinity parameters, wherein the predicted sample binding affinity parameters are used to represent the predicted binding affinity of the corresponding sample antigen and the sample antibody; when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter does not meet the preset loss condition, the parameters in at least part of the network models of the N initial expert network models, the M initial gate network models, and the initial prediction neural network model are adjusted; when the loss value between the predicted sample binding affinity parameter and the corresponding actual binding affinity parameter meets the preset loss condition, the training is terminated, and the initial feature fusion model at the end of the training is determined as the target feature fusion model, and the initial prediction neural network model at the end of the training is determined as the target prediction neural network model.
27. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program can be executed by a terminal device or a computer to execute the method described in any one of claims 1 to 11, or to execute the method described in any one of claims 12 to 13.
28. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 11 are implemented, or the steps of the method described in any one of claims 12 to 13 are implemented.
29. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method described in any one of claims 1 to 11 or the method described in any one of claims 12 to 13 through the computer program.
Citation Information
Patent Citations
Method for predicting binding affinity of drug molecule and target protein
CN113936735A
