Antibody-antigen affinity prediction method, device and system and storage medium
By combining the sequence characteristics and structural characteristics of antibodies and antigens, a prediction model is constructed, which solves the problem of insufficient antibody affinity prediction accuracy in the existing technology, achieves more efficient and accurate affinity prediction, and is suitable for the development and optimization of antibody drugs.
Patent Information
- Application Number
- CN202410738518.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-10
AI Technical Summary
Existing antibody affinity prediction methods have insufficient accuracy. Sequence-based methods ignore structural information, while structure-based methods require accurate three-dimensional structural information, which limits their application. Methods introduced by artificial intelligence still need to be improved in practical applications. to improve the accuracy and practicality of predictions.
By obtaining antibody-antigen affinity data and its corresponding sequence data, combining sequence features and structural features, a prediction model is constructed, and data fusion and model training are performed to improve the accuracy of affinity prediction.
This method not only uses sequence data to provide basic features, but also integrates structural information, supplements interactions in three-dimensional space, enhances the accuracy of prediction models, is suitable for high-throughput antibody screening and optimization tasks, and provides more accurate affinity predictions result.
Smart Images

Figure CN118629501A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of antibody-antigen affinity prediction, and in particular relates to an antibody-antigen affinity prediction method, device, system and storage medium. Background Art
[0002] Antibodies are protein molecules secreted by B cells after the immune system encounters antigenic stimulation such as pathogens and viruses. They have specific immune functions and specifically recognize and bind to invading antigens through the antigen binding sites (complementarity-determining regions, CDRs) at both ends of the Y-shaped structure. This process inactivates the antigen and promotes phagocytosis by white blood cells, thereby playing a role in diagnosing and preventing diseases. With the advancement of medicine, antibodies have been developed into drugs for the treatment of various diseases, especially in cancer treatment, showing better targeting and reduced toxicity than chemical small molecule drugs.
[0003] The affinity of an antibody is a key parameter for evaluating its function, which refers to the binding strength between the antibody and the antigen. The higher the affinity, the stronger the binding strength between the antibody and the corresponding antigen. Affinity is the most basic attribute for antibodies and an important indicator of antibody quality. Without sufficient affinity, the antibody cannot stably and continuously bind to the antigen, and thus cannot effectively exert the function of the antibody. However, excessive affinity may, in some cases, cause antibody molecules to aggregate in specific areas, affecting the diffusion and accumulation of antibodies in the lesion site, and affecting the effectiveness of the drug. Therefore, finding antibodies with appropriate affinity levels is a key step in the development of antibody drugs, and it is also one of the difficulties in the development of antibody drugs.
[0004] Traditionally, the improvement of affinity relies on obtaining initial antibodies through animal immunization, followed by iterative optimization through artificial mutation and wet experiments. Although this method can achieve the goal, it is costly and time-inefficient.
[0005] In recent years, the introduction of artificial intelligence technology has brought new possibilities for antibody affinity optimization. By establishing a large-scale virtual mutation library and applying sequence analysis technology, potential advantageous antibody variants can be quickly screened. This method reduces the reliance on wet lab experiments and greatly saves research and development costs and time. However, this sequence-based prediction method usually fails to consider the spatial structural relationship between antibodies and antigens, limiting the accuracy of the prediction.
[0006] Although antibody affinity prediction by computer technology provides a cost-effective alternative, existing technologies still have shortcomings. Structure-based prediction methods require accurate three-dimensional structural information, and many candidate antibodies do not have available structural data, which limits the practical application of this method. Although sequence-based methods are simpler to operate, their prediction accuracy is often not as good as structure-based methods because they ignore structural information. It can be seen that although artificial intelligence provides a new technical path for antibody affinity research, it still needs to be improved to improve the accuracy and practicality of predictions. Summary of the invention
[0007] To solve the above problems, the present invention provides a method for predicting antibody-antigen affinity, comprising:
[0008] Obtaining antibody-antigen affinity data of the modeling sample, and collecting sequence data corresponding to the modeling sample; wherein the sequence data includes sequence information and structure information;
[0009] Fusing the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set;
[0010] Obtaining sequence features and structural features of each modeling sample in the modeling sample set;
[0011] According to the sequence characteristics and the structural characteristics, a prediction model is constructed, and the prediction model is trained,
[0012] The trained prediction model is obtained so as to use the prediction model to analyze the sample to be analyzed and obtain the prediction result.
[0013] Preferably, the step of obtaining antibody-antigen affinity data of the modeling sample and the step of obtaining sequence data corresponding to the modeling sample comprises:
[0014] Collect antibody-antigen affinity data as modeling samples;
[0015] Obtaining the sequence information in the sequence data of the antigen and antibody corresponding to each of the modeling samples, and the structural information corresponding to each of the sequence information;
[0016] Among them, in each of the modeling samples, the sequence information includes the sequence information of the antibody and the sequence information of the antigen corresponding to the antibody; the sequence information of the antibody includes at least one of the heavy chain sequence information and the light chain sequence information; the number of the sequence information of the antigen is one or two.
[0017] Preferably, the data types of the antibody-antigen affinity data include dissociation constant and binding free energy;
[0018] The step of fusing the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set includes:
[0019] The antibody-antigen affinity data that does not conform to the preset affinity data type among all the antibody-antigen affinity data are converted into a data type that is consistent with the preset affinity data type through an affinity conversion formula;
[0020] Determine whether there are modeling samples with the same sequence information but different corresponding antibody-antigen affinity data;
[0021] If yes, then taking an average of the multiple antibody-antigen affinity data of the modeling sample, and taking the average as the antibody-antigen affinity data corresponding to the modeling sample;
[0022] Preferably, the affinity conversion formula is:
[0023]
[0024] Where ΔG represents the binding free energy; K d stands for dissociation constant; R stands for gas constant; and T stands for temperature in Fahrenheit.
[0025] Preferably, after fusing the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set, the method further includes:
[0026] Optimizing the distribution of antibody-antigen affinity data in the modeling sample;
[0027] The data distribution optimization process includes:
[0028] Determining normal distribution parameters of the antibody-antigen affinity data, and maximum and minimum values of the antibody-antigen affinity data;
[0029] Based on the maximum value and the minimum value, all the antibody-antigen affinity data are divided into intervals to obtain a plurality of statistical intervals containing the antibody-antigen affinity data;
[0030] Counting the amount of the antibody-antigen affinity data divided into each statistical interval to obtain an original distribution data graph;
[0031] A normal distribution step length array is constructed according to the normal distribution parameters, and a normal distribution value array is calculated, and a normal distribution array is constructed according to the normal distribution value array; wherein the normal distribution array is a theoretical value of the amount of data after distribution adjustment for each statistical interval;
[0032] Based on the original distribution data graph, all the antibody-antigen affinity data are adjusted to obey the normal distribution through the normal distribution array.
[0033] Preferably, all the antibody-antigen affinity data are divided into intervals based on the maximum value and the minimum value to obtain a plurality of statistical intervals containing the antibody-antigen affinity data, including:
[0034] Get the number of preset intervals;
[0035] The interval length is calculated according to the preset number of intervals; the interval length is calculated as follows:
[0036]
[0037] Wherein, L represents the length of the interval; max represents the maximum value; min represents the minimum value; s represents the number of preset intervals;
[0038] Between the maximum value and the minimum value, all the antibody-antigen affinity data are divided into the statistical intervals that meet the number of preset intervals; the expression of the statistical interval is:
[0039] [(min, min+L×1), (min+L×1, min+L×2), (min+L×2, min+L×3),…, (min+L×(s-1),max)].
[0040] Preferably, the normal distribution parameters include: mean, variance, step length and offset;
[0041] The expression of the normal distribution step array is: A=[0,0+stride×1,0+stride×2,…];
[0042] Wherein, A represents the normal distribution step array; stride represents the step in the normal distribution parameter;
[0043] The calculation method of the normal distribution value array is:
[0044] Input each element in the normal distribution step length array into the normal distribution probability density function to calculate the normal distribution value array;
[0045] The normal distribution probability density function is:
[0046] Among them, σ represents the standard deviation, σ 2The variance of the normal distribution parameters; μ represents the mean of the normal distribution parameters; e represents the base of the natural logarithm, which is a numerical constant; x represents an element in the normal distribution step array;
[0047] The adjusting all the antibody-antigen affinity data to obey the normal distribution through the normal distribution array based on the original distribution data graph includes:
[0048] Determine the center position m of the normal distribution in all the statistical intervals, and use the center position m of the normal distribution as the vertex of the normal distribution, which has the largest amount of data, and determine the maximum amount of data Vi of each statistical interval according to the center position m of the normal distribution, where i represents the position of each statistical interval;
[0049] The normal distribution center position expression is: m = Index MID +shift;
[0050] Among them, Index MID represents the serial number of the center position of the normal distribution of all the statistical intervals; shift is the offset;
[0051] Based on the normal distribution center position expression, adjusting the normal distribution center position m by shift;
[0052] If shift is 0, the center position m of the normal distribution is the middle position of all the statistical intervals; if shift is a negative integer, the center position m of the normal distribution is shifted to the left by shift positions; if shift is a positive integer, the center position m of the normal distribution is shifted to the right by shift positions;
[0053] All of the antibody-antigen affinity data are adjusted to obey the normal distribution through the offset, the normal distribution center position m and each element in the normal distribution value array.
[0054] Adjusting all the antibody-antigen affinity data to obey a normal distribution. Preferably, adjusting all the antibody-antigen affinity data to obey a normal distribution by using the offset, the center position of the normal distribution and each element in the normal distribution value array comprises:
[0055] The data volume at the center position of the normal distribution of all the statistical intervals is determined as the maximum data volume as the vertex of the normal distribution;
[0056] According to the maximum data volume of the statistical interval, determine the data volume of all statistical intervals to the left of the interval where the maximum data volume is located as the data volume of the left interval; and, according to the maximum data volume of the statistical interval, determine the data volume of all statistical intervals to the right of the interval where the maximum data volume is located as the data volume of the right interval;
[0057] The expression of the data volume in the left interval is:
[0058] Wherein, i represents the position of the statistical interval; m represents the center position of the normal distribution in all the statistical intervals; G represents the normal distribution value array; G0 represents the value of position 0 in G; G m-i is the value of position (mi) in G; Represents the data volume of the left interval; V max represents the amount of data at the m position of all the statistical intervals;
[0059] The expression of the data volume in the right interval is:
[0060] in, Represents the amount of data in the right interval;
[0061] Determine whether there is an interval in the antibody-antigen affinity data where the data amount of the left interval and / or the data amount of the right interval is greater than the data amount of the corresponding statistical interval;
[0062] If so, the interval in which the data volume of the left interval and / or the data volume of the right interval is greater than the corresponding data volume of the statistical interval is used as an adjustment interval, and the data volume of the adjustment interval is increased by using a random repeated oversampling method until the data volume of the adjustment interval reaches the corresponding data volume of the left interval and / or the data volume of the right interval.
[0063] Preferably, the sequence features include PSSM features, one-hot encoding features and amino acid physicochemical property features;
[0064] Wherein, the amino acid property characteristics include any one or both of the BLOSUM62 scoring matrix characteristics and the amino acid physicochemical property matrix characteristics;
[0065] The structural features include any one or more of secondary structure features, dihedral angle features, solvent accessible surface area features, hemispherical exposure features, amino acid depth features, amino acid contact matrix features, and amino acid turn features.
[0066] Preferably, the method for obtaining the amino acid physicochemical property matrix characteristics comprises:
[0067] Obtaining a preset correspondence relationship between the physicochemical property characteristics of amino acids, and comparing the sequence information of the modeling sample based on the preset correspondence relationship between the physicochemical property characteristics of amino acids; wherein the preset correspondence relationship between the physicochemical property characteristics of amino acids includes 20 standard amino acids and property characteristics corresponding to the standard amino acids;
[0068] Analyze each amino acid in the sequence information, and process each amino acid into a feature vector of a property characteristic encoded by 0 / 1; wherein 1 represents that the amino acid has the property characteristic; and 0 represents that the amino acid does not have the property characteristic;
[0069] According to the order of the sequence information of the modeling sample, the characteristic vectors of the 0 / 1 encoded property characteristics of each amino acid in the sequence information are merged to form an amino acid physicochemical property matrix corresponding to the modeling sample, and the amino acid physicochemical property matrix is used as the amino acid physicochemical property matrix feature.
[0070] Preferably, the preset correspondence relationship of the physicochemical property characteristics of amino acids includes 17 property characteristics and 20 standard amino acids corresponding to the property characteristics;
[0071] Each property characteristic has a corresponding ID, and the preset amino acid physical and chemical property characteristic corresponding relationship IDs range from 0 to 17, which are the following 17 groups of corresponding relationships:
[0072] ID:0, property characteristics: acidic, standard amino acids are D and E; ID:1, property characteristics: basic, standard amino acids are H, R and K; ID:2, property characteristics: polar, standard amino acids are D, E, H, R, K, C, G, Q, N, S, Y and T; ID:3, property characteristics: charged, standard amino acids are D, E, H, R and K; ID:4, property characteristics: positively charged, standard amino acids are H, R and K; ID:5, property characteristics: negatively charged, standard amino acids are D and E; ID:6, property characteristics: hydrophilic, standard amino acids are D, E, H, R, K, C, G, Q, N, S, Y and T; ID:7, property characteristics: hydrophobic, standard amino acids are F, A, L, M, I, W, P and V; ID:8, property characteristics: neutral, standard amino acids are F, A, L, M, I , W, P, V, C, G, Q, N, S, Y and T; ID:9, property characteristics: containing sulfur, standard amino acids are M and C; ID:10, property characteristics: aliphatic, standard amino acids are A, G, L, M, I, P and V; ID:11, property characteristics: aromatic, standard amino acids are F, W and Y; ID:12, property characteristics: containing hydroxyl, standard amino acids are S, Y and T; ID:13, property characteristics: first molecular weight, standard amino acids are W, Y and R; ID:14, property characteristics: second molecular weight, standard amino acids are F, H, M, E, K, Q, D and N; ID:15, property characteristics: third molecular weight, standard amino acids are I, L, C, T, V, P, S, A and G; ID:16, property characteristics: fourth molecular weight, standard amino acids are T, V, P, S, A and G.
[0073] Preferably, constructing a prediction model according to the sequence features and the structural features, and training the prediction model to obtain the trained prediction model comprises:
[0074] Defining a model structure, and building the prediction model based on the model structure;
[0075] The sequence information of the modeling sample is used as input; wherein, based on a deep fusion strategy, the sequence information of the antibody and antigen of the modeling sample are connected end to end and merged to form a fusion sequence;
[0076] The sequence features and the structural features of the modeling sample are fused to obtain a feature matrix, which is input into a feature extraction layer;
[0077] Perform deep learning processing on the feature matrix in the feature extraction layer, and use the result obtained by deep learning processing
[0078] The result is encoded through a multi-layer fully connected neural network, and the predicted affinity result is outputted, and based on the difference between the predicted affinity result and the antibody-antigen affinity data, the prediction model is trained to obtain the trained prediction model.
[0079] In addition, to solve the above problems, the present invention also provides an antibody-antigen affinity prediction device, comprising: a data acquisition module, used to collect antibody-antigen affinity data of modeling samples, and to collect sequence data corresponding to the modeling samples; wherein the sequence data includes sequence information and structural information; a data fusion module, used to fuse the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set; a feature acquisition module, used to obtain sequence features and structural features of each modeling sample in the modeling sample set; a model construction module, used to construct a prediction model based on the sequence features and the structural features, and train the prediction model to obtain the trained prediction model, so as to use the prediction model to analyze the sample to be analyzed and obtain a prediction result.
[0080] In addition, to solve the above problems, the present invention also provides an antibody-antigen affinity prediction system, comprising a memory and a processor, wherein the memory stores an antibody-antigen affinity prediction program, and the processor runs the antibody-antigen affinity prediction program so that the antibody-antigen affinity prediction system performs the antibody-antigen affinity prediction method as described above.
[0081] In addition, to solve the above problems, the present invention also provides a computer-readable storage medium, on which an antibody-antigen affinity prediction program is stored, and when the antibody-antigen affinity prediction program is executed by a processor, the antibody-antigen affinity prediction method as described above is implemented.
[0082] The present invention provides an antibody-antigen affinity prediction method, device, system and storage medium, wherein the antibody-antigen affinity prediction method comprises: obtaining antibody-antigen affinity data of a modeling sample, and collecting sequence data corresponding to the modeling sample; wherein the sequence data comprises sequence information and structural information; fusing the antibody-antigen affinity data and sequence data corresponding to the modeling sample to construct a modeling sample set; obtaining sequence features and structural features of each modeling sample in the modeling sample set; constructing a prediction model according to the sequence features and the structural features, and training the prediction model to obtain the trained prediction model, so as to use the prediction model to analyze the sample to be analyzed and obtain a prediction result.
[0083] The antibody-antigen affinity prediction method provided by the present invention combines the sequence characteristics and structural characteristics of antibodies and antigens for affinity prediction, aiming to improve the accuracy and efficiency of affinity prediction. The beneficial effects include the following:
[0084] (1) Integrated sequence and structural information: This method not only utilizes sequence data, but also integrates structural information. Sequence data provides basic molecular biological features for prediction, while structural information supplements the interactions and configurations in three-dimensional space, thereby providing a more comprehensive insight into biomolecular interactions. This combination makes up for the structural dynamics and complex spatial relationships that may be missed when relying solely on sequence data, thereby enhancing the accuracy of the prediction model. It retains the advantages of rapid and high-throughput sequence-based models, and can make up for the lack of structural information by obtaining corresponding structural features from the sequence.
[0085] (2) Efficient data fusion: Through efficient data fusion strategies, this method can process large-scale data sets without sacrificing computing speed. The optimization of the data fusion process ensures that the processing speed can be maintained efficiently even when the data volume is large, making this method suitable for high-throughput antibody screening and optimization tasks.
[0086] (3) High-precision prediction model: By combining sequence features and structural features, the prediction model constructed by the present invention has higher accuracy in understanding complex biomolecular mechanisms. This model can more accurately simulate the interaction between antibodies and antigens, provide more accurate affinity prediction results, and is particularly valuable for designing efficient therapeutic antibodies.
[0087] In summary, the present invention not only retains the high-throughput advantage of sequence-based models by combining the sequence and structural features of antibodies and antigens, but also effectively solves the limitations and challenges that may be faced by relying solely on sequence information by introducing structural features. The implementation of this method is expected to play an important role in the development and optimization of antibody drugs, especially in scenarios where a large number of candidate antibodies need to be quickly screened and verified. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] Figure 1 It is a schematic diagram of the structure of the hardware operating environment involved in the embodiment of the antibody-antigen affinity prediction method of the present invention;
[0089] Figure 2 Schematic diagram of the process of Example 1 of the method for predicting antibody-antigen affinity of the present invention;
[0090] Figure 3 This is a schematic diagram of a detailed process of step S100 in Example 2 of the method for predicting antibody-antigen affinity of the present invention;
[0091] Figure 4This is a schematic diagram of a detailed process of step S200 in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0092] Figure 5 Schematic diagram of the process of refining step S200 (including step S500) in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0093] Figure 6 Schematic diagram showing the comparison of data distribution before and after optimization in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0094] Figure 7 This is a schematic diagram of a detailed process of step S500 in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0095] Figure 8 This is a schematic diagram of a detailed process of step S520 in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0096] Fig. 9 This is a schematic diagram of a detailed process of step S530 in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0097] Fig.10 Schematic diagram of normal distribution (normal distribution) in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0098] Fig.11 This is a schematic diagram of a detailed process of step S550 in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0099] Fig.12 This is a schematic diagram of a detailed process of step S552 in Example 3 of the method for predicting antibody-antigen affinity of the present invention;
[0100] Fig.13 This is a schematic diagram of the relationship between sequence features and various features in the structure in Example 4 of the method for predicting antibody-antigen affinity of the present invention;
[0101] Fig.14 Schematic diagram of one-hot encoding (single-hot encoding feature) of the amino acid sequence in Example 4 of the method for predicting antibody-antigen affinity of the present invention;
[0102] Fig.15 This is a schematic diagram of the BLOSUM62 matrix characteristics in Example 4 of the method for predicting antibody-antigen affinity of the present invention;
[0103] Fig.16 It is a schematic diagram of several structural features (secondary structure features, dihedral angle features, solvent accessible surface area features and hemispherical exposure features) in Example 4 of the method for predicting antibody-antigen affinity of the present invention;
[0104] Fig.17 This is a schematic diagram of a detailed process of step S300 in Example 4 of the method for predicting antibody-antigen affinity of the present invention;
[0105] Fig.18 Schematic diagram of the characteristics of the amino acid physicochemical property matrix in Example 4 of the method for predicting antibody-antigen affinity of the present invention;
[0106] Fig.19 This is a schematic diagram of a detailed process of step S500 in Example 5 of the method for predicting antibody-antigen affinity of the present invention;
[0107] Fig. 20 Schematic diagram of the prediction model structure in Example 5 of the method for predicting antibody-antigen affinity of the present invention;
[0108] Fig.21 This is a schematic diagram of the module connections of the antibody-antigen affinity prediction device of the present invention.
[0109] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0110] The embodiments of the present invention are described in detail below, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions.
[0111] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0112] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0113] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0114] like Figure 1 , which is a schematic diagram of the structure of the hardware operating environment of the terminal involved in the embodiment of the present invention.
[0115] The antibody-antigen affinity prediction system of the embodiment of the present invention can be a PC, or a mobile terminal device such as a smart phone, a tablet computer, or a portable computer. The antibody-antigen affinity prediction system may include:
[0116] Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005 and communication bus 1002. Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 may include a display screen, an input unit such as a keyboard, a remote controller, and optionally user interface 1003 may also include a standard wired interface and a wireless interface. Network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). Memory 1005 may be a high-speed RAM memory or a stable memory, such as a disk memory. Memory 1005 may optionally be a storage device independent of the aforementioned processor 1001. Optionally, the antibody-antigen affinity prediction system may also include an RF (Radio Frequency, radio frequency) circuit, an audio circuit, a WiFi module, and the like. In addition, the antibody-antigen affinity prediction system may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0117] Those skilled in the art will understand that Figure 1 The antibody-antigen affinity prediction system shown in the figure does not constitute a limitation thereof, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.
[0118] The antibody-antigen affinity prediction system of the present invention is not limited to its application field, and can be applied to production and processing file management, and can also be applied to office file management, etc. Figure 1 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a data interface control program, a network connection program, and an antibody-antigen affinity prediction program.
[0119] In summary, the present invention combines the sequence and structural features of antibodies and antigens, not only retaining the high-throughput advantage of sequence-based models, but also effectively solving the limitations and challenges that may be faced by relying solely on sequence information by introducing structural features.
[0120] In order to better explain the present invention, the following will be illustrated by taking production and processing file management as an example, but it is not intended to limit this invention.
[0121] Example 1: Reference Figure 2 Embodiment 1 of the present invention provides a method for predicting antibody-antigen affinity, comprising:
[0122] Step S100, obtaining antibody-antigen affinity data of a modeling sample, and collecting sequence data corresponding to the modeling sample; wherein the sequence data includes sequence information and structure information;
[0123] The above-mentioned modeling samples are samples used for modeling and training in this embodiment, and these samples include antibody-antigen affinity data and sequence data. In theory, the larger the amount of modeling sample data, the more support it can provide for the performance and generalization of the constructed model.
[0124] This step is the data collection stage. The key is to obtain two parts of data: one is the affinity data between antibodies and antigens; the other is the corresponding sequence information (amino acid sequences of antibodies and antigens), and structural information (three-dimensional structural data, which may include protein structure data).
[0125] It should be noted that antibody-antigen affinity data refers to scientific data that quantifies the binding strength between an antibody and its specific antigen. This data not only reflects the strength of the binding force between the antibody and the antigen, but also reflects the specificity and stability of their binding.
[0126] Specifically, these data are expressed through some core parameters, including the dissociation constant (K d ) and binding free energy (ΔG). These parameters provide important tools for evaluating antibody-antigen interactions.
[0127] (1) K d (Dissociation constant): K d The K value is a measure of the concentration ratio of the antibody and antigen when the antibody-antigen complex reaches equilibrium at a certain temperature and pressure, and the dissociation and association rates are equal. d The smaller the value, the tighter the binding between the antibody and the antigen, and the stronger the affinity. d A value is indicative of high affinity and is often a key parameter in optimal antibody design and screening.
[0128] (2) ΔG (binding free energy): ΔG represents the free energy change from the completely separated state to the completely bound state of the antibody and antigen. It is a thermodynamic parameter that can directly reflect the spontaneity of the binding process. The more negative the ΔG value, the more energy is released during the binding process and the stronger the affinity. By calculating ΔG, we can gain a deeper understanding of the nature of the interaction force between the antibody and the antigen.
[0129] Importance of affinity data: (1) Evaluation of antibody quality: Affinity is an important criterion for determining whether an antibody can effectively and stably bind to the target antigen and is one of the core indicators of antibody quality. (2) Drug development: During the development of antibody drugs, affinity data helps the R&D team evaluate the potential efficacy of antibody candidates and ensure that the antibody can effectively recognize and bind to the target antigen in vivo. (3) Dose design: Understanding the affinity of antibodies can help scientists determine the minimum effective dose required for treatment and reduce the risk of side effects. (4) Antibody optimization: By analyzing affinity data, researchers can make structural improvements to antibodies and optimize their binding performance with antigens.
[0130] The affinity between antibody and antigen is usually determined using techniques such as surface plasmon resonance (SPR), enzyme-linked immunosorbent assay (ELISA), biolayer interferometry (BLI), etc. These techniques can provide accurate K d values and other kinetic parameters, helping scientists gain a detailed understanding of the interaction between antibodies and antigens.
[0131] In summary, antibody-antigen affinity data provide K d and ΔG, provide important tools for evaluating and optimizing the interaction between antibodies and antigens and are an indispensable part of modern biomedical research.
[0132] By collecting antibody-antigen affinity data and sequence data (sequence information and structural information) corresponding to the modeling samples, a data set containing diverse samples can be constructed to lay the foundation for subsequent data analysis and model training. This step can obtain data through laboratory measurements, or from public sources including but not limited to PDBbind, PROXiMATE, SAbDab, SKEMPI, AB-Bind, MPAD, Ab-CoV and other public databases and data sets in multiple related academic papers, as well as reported experimentally measured affinity results.
[0133] Step S200, fusing the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set;
[0134] In the above, the antibody-antigen affinity data in step S100 and the sequence data (sequence information and structure information) corresponding to the modeling sample are combined to form a comprehensive sample set. This data fusion process may involve data preprocessing, such as standardization, removal of outliers, etc.
[0135] In this step, the modeling sample set after data fusion will be directly used to train the model, which helps to improve the accuracy and generalization ability of the model. Data integration and preprocessing can be performed using data processing software or programming languages (such as Python's Pandas library).
[0136] Step S300, obtaining sequence features and structural features of each modeling sample in the modeling sample set;
[0137] This step focuses on extracting features from the fused data set that are helpful for prediction. Sequence features may include the physicochemical properties of amino acids (such as hydrophobicity, charge, etc.), while structural features may include secondary structure, number of spatial contacts, interactions between domains, etc. Through detailed feature extraction, it is helpful to build a more accurate prediction model and better understand the interaction mechanism between antibodies and antigens. Bioinformatics tools (such as BLAST, HMMER), structural analysis software (such as PyMOL, Rosetta) and structural information prediction software (such as SPIDER and DSSP) to extract these features.
[0138] Step S400, constructing a prediction model according to the sequence features and the structural features, and training the prediction model to obtain the trained prediction model, so as to use the prediction model to analyze the sample to be analyzed and obtain the prediction result.
[0139] Using the features extracted in step S300, a machine learning model (such as a support vector machine, random forest, neural network, etc.) is constructed and trained using the data set of step S200. The trained model can predict the antibody-antigen affinity of unknown samples. The accuracy and generalization ability of the model directly affect the reliability of the prediction results. In this step, a machine learning library (such as scikit-learn, TensorFlow or PyTorch) can be used to build, train and verify the model.
[0140] In summary, the antibody-antigen affinity prediction method provided in this embodiment performs affinity prediction by fusing the sequence characteristics and structural characteristics of antibodies and antigens, aiming to improve the accuracy and efficiency of predictions. This method not only uses sequence data to provide basic molecular biological characteristics, but also integrates structural information to supplement the interactions and configurations in three-dimensional space, thereby providing more comprehensive insights into biomolecular interactions. This combination effectively makes up for the structural dynamics and complex spatial relationships that may be missed by relying solely on sequence data, enhances the accuracy of the prediction model, and retains the advantages of fast and high-throughput sequence-based models. Through efficient data fusion strategies, this method is able to process large-scale data sets without sacrificing computing speed, and is suitable for high-throughput antibody screening and optimization tasks. In addition, the constructed high-precision prediction model can more accurately simulate the interaction between antibodies and antigens, provide accurate affinity prediction results, and is particularly valuable.
[0141] In summary, the present invention effectively solves the limitations and challenges that may be faced by relying solely on sequence information by introducing structural features, and is expected to play an important role in the development and optimization of antibody drugs, especially in scenarios where a large number of candidate antibodies need to be quickly screened and verified.
[0142] Example 2: Reference Figure 3 Embodiment 2 of the present invention provides an antibody-antigen affinity prediction method. Based on the above embodiment 1, the step S100 of obtaining antibody-antigen affinity data of a modeling sample, and obtaining sequence data corresponding to the modeling sample, includes:
[0143] Step S110, collecting antibody-antigen affinity data as a modeling sample;
[0144] The above-mentioned data collection is used to obtain antibody-antigen affinity data.
[0145] In this embodiment, data can be collected through a data collection module. Specifically, the module collects and organizes antibody-antigen affinity data from multiple channels, including but not limited to data sets from multiple databases such as PDBbind, PROXiMATE, SAbDab, SKEMPI, AB-Bind, MPAD, and Ab-CoV, and data sets in multiple related academic papers, as well as reported affinity results of experimental measurements, as antibody-antigen affinity data corresponding to each modeling sample.
[0146] Through this module, sufficient sequence-based antibody-antigen affinity data for modeling and training are collected.
[0147] Step S120, obtaining the sequence information in the sequence data of the antigen and antibody corresponding to each of the modeling samples, and the structure information corresponding to each of the sequence information;
[0148] Among them, in each of the modeling samples, the sequence information includes the sequence information of the antibody and the sequence information of the antigen corresponding to the antibody; the sequence information of the antibody includes at least one of the heavy chain sequence information and the light chain sequence information; the number of the sequence information of the antigen is one or two.
[0149] Since the method provided in this embodiment is based on sequence to predict affinity, the sequence data must first be obtained. There are several situations in different sources:
[0150] (1) Case 1: Based on antibody-antigen affinity data, both sequence information and structural information are provided.
[0151] The structural information described above is stored in a database in the form of a PDB file in this embodiment, which comes from a public PDB database, such as the global unified protein structure database (https: / / www.rcsb.org / , currently containing more than 200,000 experimentally determined 3D structures of proteins), where the data is stored in a .pdb format file.
[0152] In this case, each modeling sample, namely, the antigen and the PDB file corresponding to the antigen and its chain ID information (sequence information) can be directly obtained.
[0153] (2) Case 2: Based on antibody-antigen affinity data, only structural information is provided, and no sequence information is provided.
[0154] Since the method provided in this embodiment predicts affinity based on antibody and antigen sequences, for data that do not provide sequence information but only provide PDB information, the Biopython library (https: / / biopython.org / ) can be used to obtain the corresponding sequence from the PDB format file according to the chain ID to supplement the sequence data, thereby completing the overall data.
[0155] For each modeling sample, including antibodies and antigens, the antibody sequence information collected in this embodiment includes at least one of heavy chain sequence information and light chain sequence information.
[0156] Specifically, in this embodiment, the full-length amino acid sequences of the heavy and light chains of the antibody and the full-length amino acid sequence of the antigen are collected. Among them, for nano antibodies, due to the characteristics of the antibody type itself, that is, antibodies without light chains, the light chain sequence information of nano antibodies of this type is allowed to be empty, and only the heavy chain sequence information is allowed.
[0157] For antigens, in this embodiment, the number of sequence information of the antigen is one or two, that is, two antigen sequences are allowed to be supported, because some antibodies will bind to the antigen complex to form a composite sequence, whose sequence is more than one sequence, rather than an antigen monomer (one sequence). This setting further increases the adaptability of the model. When there is no second antigen sequence, the second sequence is set to a null value.
[0158] Due to this mode of sequence acquisition, the method and corresponding prediction model provided in this embodiment have strong adaptability and can be applied to general antibodies (including light and heavy chains) as well as to the prediction of nanobodies.
[0159] The binding affinity to the monomeric antigen can also be measured, and the binding affinity to the antigen complex can also be predicted.
[0160] For example, the above different situations can be specifically referred to in Table 1 below:
[0161] Table 1. Sequence data of different modeling samples
[0162]
[0163] Example 3: Reference Figure 4 , Embodiment 3 of the present invention provides a file management control method, based on the above-mentioned Embodiment 1, the data type of the antibody-antigen affinity data includes a dissociation constant and a binding free energy;
[0164] The step S200, fusing the antibody-antigen affinity data and sequence data corresponding to the modeling sample to construct a modeling sample set, includes:
[0165] Step S210, converting the antibody-antigen affinity data that does not conform to the preset affinity data type among all the antibody-antigen affinity data into a data type that is consistent with the preset affinity data type through an affinity conversion formula;
[0166] The purpose of this step is to unify the format of affinity data for data fusion.
[0167] Different data sources present antibody-antigen affinity data in different forms. Some provide K d Some provide affinity data of the ΔG type, and some provide affinity data of the ΔG type. Affinity data itself can be expressed in a variety of ways, so a unified format is needed to simplify model processing. In this embodiment, antibody-antigen affinity data can include these two forms, but the data types need to be unified.
[0168] The data types are converted into a unified data type through the affinity conversion formula. In this embodiment, all data types are converted into a unified K d type.
[0169] Wherein, the affinity conversion formula is: (1) Where ΔG represents the binding free energy; K d represents the dissociation constant; R represents the gas constant; T represents the temperature in Fahrenheit; convert all affinity data to a preset affinity data type (for example, unified as Kd value). Here, ΔG is the binding free energy, R is the gas constant, and T is the temperature in Kelvin. Among them, R is the gas constant, which is 1.987×10 -3 kcal mol -1 K -1, T is Fahrenheit temperature. If the experimental results give the temperature at which the measurement results were obtained, then this measured temperature value is used. Otherwise, the room temperature of 25°C is taken, which is converted into Fahrenheit temperature of 298.15°.
[0170] After unifying the data types into preset affinity data types, the subsequent data processing and analysis process can be simplified, and the consistency and comparability of the data can be maintained, so that the prediction model can evaluate all samples on the same basis. Specifically, this formula can be applied using a programming language (such as Python) during the data preprocessing stage to ensure that all data is converted and standardized before entering the model.
[0171] Step S220, determining whether there are modeling samples with the same sequence information but corresponding multiple antibody-antigen affinity data different;
[0172] The collected data may have the following conditions:
[0173] That is, the same antibody-antigen sequence corresponds to different affinity values. This is due to certain errors in the affinity values measured in different units or different experiments, or some errors in the data source, which affects the consistency of the data and therefore requires further processing and fusion.
[0174] In the above step, check whether there are samples with the same sequence information in the modeling sample set, but their affinity data are different. This situation may occur during the data collection stage, and there may be multiple affinity measurements for the same antibody-antigen pair under different experimental conditions.
[0175] By identifying repeated sequence information, the model can be protected from bias from multiple inputs of similar samples. Cleaning the dataset improves the quality of model training and the accuracy of predictions.
[0176] Specifically, data processing tools (such as Pandas library, etc.) can be used to check and filter samples with the same sequence.
[0177] Step S230: If yes, then average the multiple antibody-antigen affinity data of the modeling sample, and use the average value as the antibody-antigen affinity data corresponding to the modeling sample.
[0178] As mentioned above, if there are samples with the same sequence information and their affinity data are different, the average of these affinity data is taken. This processing method can reduce the impact of a single measurement error on the model's prediction performance. The averaging process can balance the outliers of a single data point and provide more stable and reliable data input, thereby ensuring that the model does not over-fit a specific data point and enhancing the generalization ability of the model. Specifically, in the data preprocessing stage, the arithmetic average of different affinity data of the same sequence can be calculated. This can be achieved through programming, such as using Python's Pandas library for data aggregation and average calculation.
[0179] In addition, if there are no modeling samples with the same sequence information but corresponding multiple antibody-antigen affinity data that are different, step S300 may be directly executed, or the process may return to step S210.
[0180] The implementation of the above steps in this embodiment not only improves the efficiency and accuracy of data processing, but also provides a solid data foundation for high-throughput antibody screening and optimization. Through this method of integrating sequence and structural information, the prediction model can more accurately capture the complex interactions between antibodies and antigens, thereby playing an important role in the development of antibody drugs.
[0181] For further reference, Figure 5 The step S210, after fusing the antibody-antigen affinity data and sequence data corresponding to the modeling sample to construct a modeling sample set, further includes:
[0182] The step S500 is to optimize the distribution of antibody-antigen affinity data in the modeling sample;
[0183] As mentioned above, by analyzing the antibody-antigen affinity data of all the collected modeling samples, there may be a large imbalance in the distribution of antibody-antigen affinity data, that is, most of the affinity data are relatively moderate and concentrated in a smaller data range, and the proportion of larger or smaller affinity data is relatively small.
[0184] Good data distribution is crucial to the performance of the prediction model. This unbalanced data will greatly affect the effect of model learning. Therefore, in this embodiment, the antibody-antigen affinity data is enhanced as a whole. By optimizing the distribution of data, the model's learning of extremely high and extremely low affinities is strengthened, thereby improving the generalization of the model.
[0185] Figure 6 (Left) shows the data distribution after the above data enhancement, the x-axis is -log(K d ), K dTransform the data range that is easier to observe (the original K d The value is very small, so it is not easy to visualize the data). The y-axis is the frequency of the quantity. d More concentrated in the middle area, larger or smaller K d This unbalanced data distribution will cause the model to predict K values in the middle area with a high probability. d value, the generalization of the model will be affected.
[0186] In order to solve this abnormal data distribution problem, this embodiment proposes a method for optimizing data distribution, which can optimize the data into Figure 6 The distribution shown in (right) improves the extreme K d The distribution of values further balances the data to improve model performance.
[0187] refer to Figure 7 The step S500, data distribution optimization processing includes:
[0188] Step S510, determining normal distribution parameters of the antibody-antigen affinity data, and the maximum and minimum values of the antibody-antigen affinity data;
[0189] As mentioned above, we first determine the normal distribution parameters of the antibody-antigen affinity data, including the mean (μ) and standard deviation. At the same time, we determine the maximum and minimum values in the data set. These parameters and extreme values will be used to normalize the data in subsequent steps. Clarifying the basic statistical characteristics of the data helps to understand the distribution of the data set and provide a basis for further processing of the data. Specifically, these parameters can be calculated using statistical software or programming languages (such as Python's NumPy or SciPy libraries).
[0190] Step S520, dividing all the antibody-antigen affinity data into intervals based on the maximum value and the minimum value to obtain a plurality of statistical intervals containing the antibody-antigen affinity data;
[0191] As described above, the affinity data is divided into multiple statistical intervals according to the maximum and minimum values obtained in step S510, which is helpful for subsequent detailed distribution analysis. By dividing the intervals, the distribution of data in each interval can be observed in detail, which is convenient for identifying the central tendency and outliers of the data. Specifically, programming is used to implement, such as using the cut function of pandas in Python to create quantile intervals of data.
[0192] Step S530, counting the amount of the antibody-antigen affinity data divided into each statistical interval to obtain an original distribution data graph;
[0193] As mentioned above, the data in each statistical interval is counted to draw the original distribution data graph. Obtaining an intuitive image of the distribution of data in each interval helps analyze the skewness and kurtosis of the data. Specifically, Python libraries such as matplotlib or seaborn can be used to draw histograms.
[0194] Step S540, constructing a normal distribution step length array according to the normal distribution parameters, and calculating a normal distribution value array, and constructing a normal distribution array according to the normal distribution value array;
[0195] In the above, based on the normal distribution parameters (mean and standard deviation), a step size array representing the ideal normal distribution is constructed. Then, an array of normal distribution values for each interval under ideal conditions is calculated. By constructing a step size array, a set of expected normal distribution data can be generated to adjust the actual data to make it close to the normal distribution.
[0196] Among them, the normal distribution step array represents the array composed of x values input to the normal distribution function to calculate the normal distribution value; the normal distribution value array represents the number of groups composed of each normal distribution value input to the normal distribution function to calculate in the normal distribution step array; the normal distribution array represents the array composed of the theoretical value of the data volume after each statistical interval is adjusted according to the normal distribution.
[0197] Step S550: Based on the original distribution data graph, all the antibody-antigen affinity data are adjusted to obey the normal distribution through the normal distribution array.
[0198] Finally, based on the original distribution data graph and the normal distribution array, the data distribution is adjusted to make it closer to the ideal normal distribution. Data normalization helps improve the accuracy of statistical analysis and the effectiveness of predictive models, because many machine learning algorithms assume that the input data is normally distributed.
[0199] In this embodiment, the above steps constitute a systematic method to optimize the distribution of antibody-antigen affinity data, thereby providing an ideal data basis for establishing a more accurate prediction model. Through these technical processing, the statistical characteristics of the data will be more in line with the requirements of the prediction model, improving the generalization ability and prediction accuracy of the model.
[0200] For further reference, Figure 8 The step S520 divides all the antibody-antigen affinity data into intervals based on the maximum value and the minimum value to obtain multiple statistical intervals containing the antibody-antigen affinity data, including:
[0201] Step S521, obtaining the number of preset intervals;
[0202] The above steps determine how many intervals the data is divided into. The number of intervals s can be preset according to the nature of the data and the analysis requirements. The preset number of intervals s can help determine the size of the intervals in the subsequent steps, affecting the detail of the data distribution and the accuracy of the analysis.
[0203] Step S522, calculating the interval length according to the preset number of intervals;
[0204] In the above, the length L of each interval is calculated according to the preset number of intervals. This is to determine the value range that each interval should cover by the maximum and minimum values in the data set. The calculated interval length ensures that all intervals added together can cover the entire data range, from the minimum value to the maximum value.
[0205] In the above, the calculation method of the interval length is: (2) Wherein, L represents the length of the interval; max represents the maximum value; min represents the minimum value; s represents the number of preset intervals;
[0206] Step S523, dividing all the antibody-antigen affinity data into statistical intervals that meet the preset number of intervals between the maximum value and the minimum value.
[0207] After determining the interval length, the data is classified according to these intervals. Each data point is assigned to the corresponding interval according to its value. Such classification helps to observe the distribution of data in different numerical ranges, which is very useful for discovering the central tendency and outliers of the data.
[0208] In the above, the equal-length division method based on the maximum and minimum values is adopted because this method is simple and easy to implement, which can ensure that all data points are evenly taken into account and the length of each interval is consistent, making the results easy to compare and interpret.
[0209] In the above, the expression of the statistical interval is:
[0210] [(min, min+L×1), (min+L×1, min+L×2), (min+L×2, min+L×3),…, (min+L×(s-1),max)]. (3)
[0212] In this embodiment, the data can be divided into multiple statistical intervals to observe the characteristics of data distribution in more detail, such as which intervals have denser data and which intervals have sparser data. This subdivision is helpful for in-depth statistical analysis, such as frequency distribution analysis, outlier detection, trend analysis, etc.
[0213] For further reference, Fig. 9 The step S530, performing distribution statistics on each of the statistical intervals to obtain an original distribution data graph, includes:
[0214] Step S531, mapping all the antibody-antigen affinity data into each of the statistical intervals;
[0215] This step involves mapping each antibody-antigen affinity data point to the corresponding statistical interval. This is achieved by comparing each data point with the range of each interval for classification. Through mapping, it is possible to determine how many data points are contained in each interval, laying the foundation for further distribution statistics. For example, in Python, the pandas.cut function can be used to assign data to the corresponding intervals.
[0216] Step S532, counting the number of data in each statistical interval, and obtaining an original distribution data graph according to the number of data.
[0217] Count the number of data points in each interval and use this data to draw a graph of the original distribution data (such as a histogram). The histogram allows you to intuitively see the distribution of data in each interval, which helps to identify the overall trend and outliers of the data set. For example, you can use matplotlib or seaborn libraries to draw histograms in Python.
[0218] In this embodiment, all K d The value (the antibody-antigen affinity data) is mapped to each interval, and the number of data in each interval is counted, that is, the original distribution of the data, such as Figure 6 (Left) shown.
[0219] Furthermore, the normal distribution parameters include: mean, variance, step length and offset;
[0220] The expression of the normal distribution step array is: A=[0,0+stride×1,0+stride×2,…]; (4) wherein A represents the normal distribution step array; stride represents the step in the normal distribution parameter; and the length of the normal distribution step array is half of the number of preset intervals of the statistical interval;
[0221] In the above, stride is the step length, which is 1 by default. However, when the step length = 1, the normal distribution function value will drop too fast. Therefore, a smaller step length can be selected. In this embodiment, the step length is set to 0.1.
[0222] In step S540, the calculation method of the normal distribution value array is:
[0223] Step S541, inputting each element in the normal distribution number step length group into the normal distribution probability density function to calculate and obtain the normal distribution value array;
[0224] The normal distribution probability density function is: (5) Where σ represents the standard deviation, σ 2 The variance of the normal distribution parameters; μ represents the mean of the normal distribution parameters; e represents the base of the natural logarithm, which is a numerical constant; x represents an element in the normal distribution step array;
[0225] Substitute each element in the normal distribution array into the normal distribution probability density function to calculate the corresponding normal distribution value array. This value expresses the probability density of the corresponding point under a given mean (μ) and standard deviation (σ). A set of predicted probability values based on the theoretical normal distribution is obtained to guide how to adjust the distribution of actual data to make it closer to the normal distribution.
[0226] In this embodiment, the distribution optimization method used is to optimize the data to be close to the normal distribution N(μ, σ 2 ), where μ is the mean, σ 2 is the variance. Fig.10 As shown in the figure, the probability density function is as shown in the above formula (5).
[0227] It should be noted that the length of the normal distribution array is half of the number of preset intervals of the statistical interval.
[0228] As described above, a new normal distribution array is constructed based on the normal distribution value obtained in step S541. This array will be used for normalization adjustment of data. The constructed normal distribution array can be used as a reference model to compare and adjust the actual data distribution to achieve the purpose of data normalization.
[0229] The resulting array of normally distributed values can be used directly for data conditioning or as part of the model input.
[0230] The comprehensive application of these steps ensures the scientificity and accuracy of the data processing process. By adjusting the actual data to conform to the ideal normal distribution, it helps to improve the accuracy and reliability of subsequent model predictions.
[0231] For further reference, Fig.11 , the normal distribution parameters include: mean μ, variance σ 2 , stride and offset shift;
[0232] The step S550, based on the original distribution data graph, adjusting all the antibody-antigen affinity data to obey the normal distribution through the normal distribution array, includes:
[0233] Step S551, determining the center position m of the normal distribution in all the statistical intervals, and taking the center position m of the normal distribution as the vertex of the normal distribution, which has the largest amount of data, and determining the maximum amount of data Vi of each statistical interval according to the center position m of the normal distribution, wherein i represents the position of each statistical interval;
[0234] The normal distribution center position expression is:
[0235] m=Index MID +shift; (6) where Index MID represents the serial number of the center position of the normal distribution of all the statistical intervals; shift is the offset;
[0236] Based on the normal distribution center position expression, the normal distribution center position m is adjusted by shift; if shift is 0, the normal distribution center position m is the middle position of all statistical intervals; if shift is a negative integer, the normal distribution center position m is shifted to the left by shift positions; if shift is a positive integer, the normal distribution center position m is shifted to the right by shift positions;
[0237] The above steps are aimed at determining the center point of the normal distribution, namely Index MID , which is usually located in the median interval of the data. Based on this center point, determine the maximum amount of data V that each statistical interval should have MAX , so that the data volume is the largest in the center of the normal distribution and decreases towards both sides. By default, the middle interval is taken as the highest point of the normal distribution, and its data volume is set to V MAX .
[0238] By determining the center point and the maximum amount of data, it can help adjust the amount of data in each interval to make the overall distribution more uniform and in line with the normal distribution characteristics. Specifically, the center of the normal distribution can be determined by calculating the median or mean of the data. The maximum amount of data can be calculated based on the total amount of data and the preset distribution shape.
[0239] Step S552: adjusting all the antibody-antigen affinity data to obey the normal distribution through the offset, the normal distribution center position m and each element in the normal distribution value array.
[0240] Using the predetermined offset, distribution center, and normal distribution array, adjust the amount of data in each interval to conform to the expected shape of the normal distribution. This step helps to standardize the data distribution and improve the accuracy of subsequent analysis and model predictions.
[0241] Adjustment can be done by random sampling or resampling. For example, use the oversampling technique in Python's imbalanced-learn library to increase the number of data points so that the amount of data in each interval is close to the expected value.
[0242] For further reference, Fig.12 The step S552, adjusting all the antibody-antigen affinity data to obey the normal distribution through the offset, the normal distribution center and each element in the normal distribution array, includes:
[0243] Step S5521, determining the data volume at the center position of the normal distribution of all the statistical intervals as the maximum data volume, as the vertex of the normal distribution;
[0244] Step S5522, according to the maximum data volume of the statistical interval, determine the data volume of all statistical intervals to the left of the interval where the maximum data volume is located as the left interval data volume; and according to the maximum data volume of the statistical interval, determine the data volume of all statistical intervals to the right of the interval where the maximum data volume is located as the right interval data volume;
[0245] Step S5523, determining whether there is an interval in the antibody-antigen affinity data in which the data volume of the left interval and / or the data volume of the right interval is greater than the data volume of the corresponding statistical interval;
[0246] As mentioned above, the target data volume for each interval is defined based on the calculation results of the normal distribution function. Check whether the existing data volume reaches these target values, especially check whether there are intervals with data volume lower or higher than the expected value.
[0247] The above steps are used to ensure that the data is evenly distributed in each interval, avoid data concentration or sparseness, and thus reduce model bias. Specifically, these checks can be implemented through programming, and if it is found that the data volume does not meet expectations, adjustments can be made.
[0248] Step S5523, if yes, then the interval in which the data volume of the left interval and / or the data volume of the right interval is greater than the corresponding data volume of the statistical interval is used as an adjustment interval, and the data volume of the adjustment interval is increased by using a random repeated oversampling method until the data volume of the adjustment interval reaches the corresponding data volume of the left interval and / or the data volume of the right interval.
[0249] In addition, if there is no interval whose data volume of the left interval and / or the data volume of the right interval is greater than the corresponding data volume of the statistical interval, step S220 can be directly executed, or return to step S5522 for re-judgment.
[0250] The expression of the data volume in the left interval is: (7) Wherein, i represents the position of the statistical interval; m represents the center position of the normal distribution in all the statistical intervals; G represents the normal distribution value array; G0 represents the value at position 0 in G; G m-i is the value of position (mi) in G; Represents the data volume of the left interval; V max represents the amount of data at the m position of all the statistical intervals;
[0251] The expression of the data volume in the right interval is: (8) Among them, Represents the amount of data in the right interval.
[0252] As mentioned above, if the amount of data in some intervals does not conform to the target distribution (normal distribution), the random repeated oversampling method is used to increase the amount of data until the expected amount of data is reached. By adjusting to ensure the uniformity of data distribution, the data can better conform to the normal distribution, enhance the effectiveness of statistical analysis and the stability of model training. Use random oversampling techniques, such as the RandomOverSampler method, to increase the number of data points to the required number.
[0253] The above method is essentially to adjust the distribution by taking the proportion of the normal distribution as the proportion of the data volume in each interval.
[0254] When adjusting, if you need to adjust the data distribution to be not the largest in the middle, but to shift to the left or right, you can set the shift value to adjust it, that is, the interval position of the largest amount of data is Index MID +shift, as shown in formula (6).
[0255] If shift is a negative value, it shifts to the left, otherwise it shifts to the right. Figure 6 (Left) As shown, it can be seen that the distribution is shifted to the left.
[0256] Through the above method in this embodiment, the data volume after all statistical intervals are adjusted to normal distribution is obtained, and then the data in the interval is enhanced according to this distribution value. If the distribution value is greater than the original data, the original data is randomly repeated by oversampling to increase the data volume to the distribution value. If the distribution value is greater than or equal to the original data, no processing is performed.
[0257] For the parameter selection of normal distribution, μ is generally chosen to be 0, σ 2 Affects the shape of the distribution curve. The larger the value, the flatter it is. For the adjusted distribution, the larger the σ 2 The more K at the extreme ends can be increased d It should be noted that σ 2 The bigger the better, the better the result. Experiments are needed to find the best choice. 2 =8, stride=0.1, shift=-7.
[0258] Through the above steps, the distribution of the entire data set is optimized to be closer to the normal distribution, which is conducive to the application of statistical methods and machine learning models that assume that the data is normally distributed, thereby improving the accuracy and reliability of model predictions. This method is particularly suitable for large-scale biomedical data, where the amount of data and the uniformity of distribution have an important impact on the prediction results.
[0259] Embodiment 4:
[0260] Reference Fig.13 , Embodiment 4 of the present invention provides a file management control method, based on the above-mentioned Embodiment 1, the sequence features include PSSM features, unique hot encoding features and amino acid physicochemical property features;
[0261] Wherein, the amino acid property characteristics include any one or both of the BLOSUM62 scoring matrix characteristics and the amino acid physicochemical property matrix characteristics;
[0262] The structural features include any one or more of secondary structure features, dihedral angle features, solvent accessible surface area features, hemispherical exposure features, amino acid depth features, amino acid contact matrix features, and amino acid turn features.
[0263] As mentioned above, in this embodiment, for the obtained antibody-antigen amino acid sequence, a set of features for model training is constructed, including sequence features and structural features. In this embodiment, these two types of features are fused together, and the prediction effect is improved by combining the sequence and structural features through the prediction model.
[0264] The above sequence features include: PSSM features, one-hot features (unique hot encoding features), amino acid physicochemical properties, etc. The specific features are as follows:
[0265] 1. PSSM feature: Features related to sequence evolution Position-specific scoring matrix (PSSM) is a feature that measures sequence evolution. It uses multiple sequence alignments in a large-scale protein database to obtain multiple similar sequences, and then counts the distribution of 20 amino acids at each position in these multiple sequences as features (dimension N×20, N is the length of the sequence). It is the distribution probability of 20 standard amino acids at each position in the sequence information constructed based on the multiple sequence alignment results.
[0266] 2. One-hot encoding: Convert each amino acid in the sequence into a 20-dimensional vector with a value of 0 or 1. 1 represents the current amino acid at this position, otherwise it is not. The entire sequence is converted into an N×20 matrix. Fig.14 shown.
[0267] 3. Characteristics of amino acid physicochemical properties: including BLOSUM62 scoring matrix characteristics and amino acid physicochemical properties matrix characteristics.
[0268] As mentioned above, the BLOSUM62 matrix features are as follows Fig.15 As shown in the figure, the BLOSUM scoring matrix is an amino acid substitution scoring matrix used for sequence comparison in bioinformatics. It observes and measures protein families in highly conserved sequences, and then sorts out the probability of amino acid substitutions. Each amino acid is represented by a 20-dimensional floating-point array, which can be used to encode each amino acid in the sequence as a 20-dimensional vector.
[0269] The above-mentioned amino acid physicochemical property matrix features are descriptive matrices of various physicochemical properties of amino acids, including dimensions such as acidity, polarity, electrical properties, hydrophilicity, mass size, etc., which are used to encode the properties of amino acids in these physicochemical properties, and encode each amino acid in the sequence as a 17-dimensional vector. Since the forces in antibody-antigen binding include intermolecular forces such as van der Waals forces, hydrogen bonds, salt bridges, and hydrophobic interactions, and the formation of these forces is closely related to the properties of amino acids, the above-mentioned property description matrix is used in the present invention to improve the prediction effect.
[0270] As mentioned above, the model input in this embodiment is an amino acid sequence. In order to make up for the problem of missing structural information, a structural feature prediction tool is used to predict various structural features of the sequence, including the secondary structure, dihedral angle, solvent accessible surface area, hemispherical exposure, etc. of the sequence.
[0271] like Fig.16These structural features are closely related to the three-dimensional structure, conformation, stability, function, etc. of proteins. Therefore, using these features to build models can increase the model's understanding of the three-dimensional structure information to a certain extent.
[0272] Specifically, SPIDER and DSSP software can be used to predict these features. In addition, other similar software can also be used to predict.
[0273] (1) Secondary structure: represents the local coiling state of amino acids in the protein structure, generally including three categories: α helix, β fold and random coil (loop). According to the definition in DSSP (Dictionary of Protein Secondary Structure), the secondary structure is also described in 8 categories as shown in Table 2. It should be noted that in this embodiment, both the three-category form and the eight-category form can be used.
[0274] Table 2. Secondary structural characteristics of 8 protein categories
[0275]
[0276]
[0277] (2) Dihedral angle: In the three-dimensional structure of proteins, the dihedral angle on the backbone backbone largely reflects the three-dimensional conformation. The dihedral angle determines the relative position of the two peptide planes, and thus determines the position and conformation of the peptide chain backbone, which is of great significance to the three-dimensional structure of the reaction. In addition, studies have shown that the structural information of proteins, including dihedral angles, is contained in their sequences, so it is feasible to predict dihedral angles through sequences. One amino acid residue usually corresponds to two dihedral angles (except for the first and last residues). and ψ(psi), ranging from -180° to 180°. Around NC α CNC α -C atomic composition Dihedral angle, around C α -NC of C key α -CN forms a ψ dihedral angle. In addition, the present invention also uses C α The dihedral angle θ formed by the atoms, that is, C αi-2- C αi-1 -C αi -C αi+1 The dihedral angle formed.
[0278] (3) Solvent accessible surface area (ASA): Solvent exposure is of great significance for understanding protein structure, function and protein interaction. Solvent accessible surface area (ASA) is a measure of solvent exposure. It is the surface area of biological molecules accessible to solvent and is usually described in square angstroms. It is related to protein structure and can be used to study protein folding and protein stability, as well as to calculate the area of the interaction interface between two proteins or to predict binding free energy. The solvent accessible surface area of each amino acid can be calculated using SPIDER or DSSP.
[0279] (4) Half-sphere exposure (HSE): It is also a method to measure protein solvent exposure. It measures the degree of amino acid residues buried in proteins and is also related to protein structure. Some studies have shown that HSE can better describe solvent exposure than ASA. HSE is measured by C α and C β The vector divides the plane into two hemispheres with radius R, containing C β The C in the two hemispheres is counted separately. α The number of atoms is used as the value of HSE. Another space partitioning method is to use C αi-1 -C αi and C αi+1 -C αi The sum of forms a vector, which becomes pseudo C β Vector (pC β ), divide the plane into up and down and execute the same C α The number of atoms is counted. To distinguish, this kind of HSE is recorded as HSE α So HSE has 5 values, namely HSE α_up 、HSE α_down 、HSE β_up 、HSE β_down 、Angle_C β _pC β , and the last value is the angle between the two vectors.
[0280] (5) Amino acid depth feature (Residue Depth): Amino acid depth refers to the depth of amino acid residues relative to the protein surface. This depth usually refers to the shortest distance from the protein surface to the residue atom, which is used to measure the degree of burial of the residue. Amino acids with higher depth values are usually located inside the protein, while those with lower depth values are close to or located on the surface. This feature helps to understand the stability and structural core of the protein, and also helps to analyze the functional domains and active sites of the protein.
[0281] (6) Amino acid contact matrix feature: The amino acid contact matrix is an important feature in protein structure analysis. It is a square matrix whose elements define whether the amino acids inside the protein are in contact with each other. Generally, if the distance between two amino acids is below a certain threshold (such as 8 angstroms), the two residues are considered to be in contact. The contact matrix can reveal the three-dimensional structural organization and substructure interactions within the protein.
[0282] (7) Amino acid turn angles: The C of every three adjacent amino acids in the protein α The angle formed by the atoms is denoted by τ, i.e. C αi-1 -C αi -C αi+1 The angle formed, like the dihedral angle mentioned above, also reflects the three-dimensional spatial structure of protein folding and is an important structural feature.
[0283] For further reference, Fig.17 , the step S300, the method for obtaining the amino acid physicochemical property matrix characteristics, comprises:
[0284] Step S310, obtaining a preset correspondence relationship between the physicochemical property characteristics of amino acids, and comparing the sequence information of the modeling sample based on the preset correspondence relationship between the physicochemical property characteristics of amino acids; wherein the preset correspondence relationship between the physicochemical property characteristics of amino acids includes 20 standard amino acids and property characteristics corresponding to the standard amino acids;
[0285] The above-mentioned standard amino acids specifically include: alanine (A), arginine (R), aspartic acid (D), asparagine (N), cysteine (C), glutamic acid (E), glutamine (Q), glycine (G), histidine (H), isoleucine (I), leucine (L), lysine (K), methionine (M), phenylalanine (F), proline (P), serine (S), threonine (T), tryptophan (W), tyrosine (Y) and valine (V).
[0286] The above-mentioned property characteristics corresponding to the standard amino acids are the physical and chemical properties corresponding to the amino acids.
[0287] Through the amino acid physical and chemical properties table, we can get the corresponding properties of each amino acid and the types of standard amino acids it contains:
[0288] Step S320, analyzing each amino acid in the sequence information, and processing each amino acid into a feature vector of a property characteristic encoded by 0 / 1; wherein 1 represents that the amino acid has the property characteristic; and 0 represents that the amino acid does not have the property characteristic;
[0289] As mentioned above, b. Each amino acid is processed into a 0 / 1 coded vector according to whether it possesses the above 17 properties, where 0 represents that the amino acid does not have this property characteristic, and 1 represents that it does.
[0290] Step S330, according to the order of the sequence information of the modeling sample, the feature vectors of the 0 / 1 encoded property characteristics of each amino acid in the sequence information are merged to form an amino acid physicochemical property matrix corresponding to the modeling sample, and the amino acid physicochemical property matrix is used as the amino acid physicochemical property matrix feature.
[0291] As mentioned above, the property vectors of the 0 / 1 codes for each amino acid are combined to form Fig.18 Physicochemical properties of amino acids are shown in the matrix.
[0292] Furthermore, the preset correspondence relationship of the physicochemical property characteristics of amino acids includes 17 property characteristics and 20 standard amino acids corresponding to the property characteristics;
[0293] Each property characteristic has a corresponding ID, and the preset amino acid physical and chemical property characteristic corresponding relationship IDs range from 0 to 17, which are the following 17 groups of corresponding relationships:
[0294] Table 3. Correspondence table of preset amino acid physicochemical properties
[0295] ID Properties and characteristics Standard amino acids 0 Acidic D. E 1 Alkaline H, R, K 2 polarity D, E, H, R, K, C, G, Q, N, S, Y, T 3 charged D, E, H, R, K 4 Positively charged H, R, K 5 Negatively charged D. E 6 Hydrophilic D, E, H, R, K, C, G, Q, N, S, Y, T 7 Hydrophobic F, A, L, M, I, W, P, V 8 neutral F,A,L,M,I,W,P,V,C,G,Q,N,S,Y,T 9 Sulfur M.C 10 Fatty A, G, L, M, I, P, V 11 Aromatic F, W, Y 12 Hydroxyl S, Y, T 13 First molecular weight W, Y, R 14 The second molecular weight F, H, M, E, K, Q, D, N 15 The third molecular weight I, L, C, T, V, P, S, A, G 16 The fourth molecular weight T, V, P, S, A, G
[0296] In the above table, the property characteristics of ID 13-16, the first molecular weight, represents the preset amino acid physicochemical property characteristics of "molecular weight-large", and its molecular weight is M≥170; the second molecular weight, represents the preset amino acid physicochemical property characteristics of "molecular weight-medium", and its molecular weight is 130≤M<170; the third molecular weight, represents the preset amino acid physicochemical property characteristics of "molecular weight-small", and its molecular weight is M<130; the fourth molecular weight, represents the preset amino acid physicochemical property characteristics of "molecular weight-very small", and its molecular weight is M<120.
[0297] By comparing the sequence information of the modeling sample with the above-mentioned preset amino acid physicochemical property characteristic correspondence, the 0 / 1 coded property vectors of each amino acid are merged, so that the following can be drawn: Fig.18The amino acid physicochemical property matrix shown. In the matrix, the horizontal direction can be 0-16, a total of 17 property characteristics, and the vertical direction is each amino acid in the sequence information. In the matrix, if the value is assigned to 0, it means that the amino acid does not have this property, and if the value is assigned to 1, it means that the amino acid has the corresponding property characteristics.
[0298] Embodiment 5:
[0299] Reference Fig.19 Embodiment 5 of the present invention provides a file management control method. Based on the above embodiment 1, the step S400 constructs a prediction model according to the sequence features and the structural features, and trains the prediction model to obtain the trained prediction model, including:
[0300] Step S410, defining a model structure, and building the prediction model based on the model structure;
[0301] As mentioned above, you need to first define the architecture of the prediction model based on the preset information. This includes determining the type of layers, number of layers, number of neurons, etc. that the model will use.
[0302] Common model structures include convolutional neural networks (CNN), recurrent neural networks (RNN), fully connected layers (DenseLayers), etc. The choice of which structure or combination of structures, as well as the number of network layers to use, depends on the specific needs of the problem and the characteristics of the data. For example, the Residue RCNN network that combines CNN and RNN can be 1 layer or multiple layers. In addition, the model can be only predicting K d A single-task network, that is, the output of the model is only K d A value can also be used to predict K d and ΔG multi-task network, that is, the model outputs K d and ΔG. Specifically, you can use a deep learning framework such as TensorFlow or PyTorch to build a model. For example, use the Sequential or Model class in the Keras library to stack different types of layers.
[0303] In this embodiment, the model structure used is the Residue RCNN network structure, which integrates the above-mentioned sequence features and structural features. The specific structure of the model is as follows Fig. 20 shown.
[0304] Step S420, taking the sequence information of the modeling sample as input; wherein, based on the deep fusion strategy, the sequence information of the antibody and antigen of the modeling sample are connected end to end and merged to form a fusion sequence;
[0305] As mentioned above, the deep fusion strategy refers to the integration of data from different sources or types through in-depth data processing and analysis methods in data processing and machine learning, in order to build more powerful and accurate prediction models. In the field of bioinformatics or biomedicine, this strategy is particularly important because it can help understand complex biological phenomena from multiple dimensions. The application of this strategy can significantly improve the model's ability to handle complex biological systems, thereby playing an important role in disease diagnosis, drug development, and gene editing.
[0306] As mentioned above, based on the deep fusion strategy, the four sequences are first merged and connected end to end into one sequence.
[0307] Compared with the shallow fusion model, the deep fusion model directly splices the antibody and antigen sequences together before feature embedding and then extracts features together, while the shallow fusion model extracts features from the antibody and antigen sequences separately, then fuses the extracted features for prediction.
[0308] The deep fusion strategy can capture deeper features and has better results than shallow fusion because it can take the relationship between antibody and antigen into consideration during feature extraction.
[0309] In this step, the sequence features and structural features are combined into a unified feature matrix, which will be used as the input of the deep learning model. Feature fusion helps the model understand the data more comprehensively and improves the accuracy of prediction.
[0310] Step S430, fusing the sequence features and the structural features of the modeling sample to obtain a feature matrix, and inputting it into a feature extraction layer;
[0311] Combine sequence features and structural features into a unified feature matrix, which will serve as the input of the deep learning model. Feature fusion helps the model understand the data more comprehensively and improves the accuracy of prediction.
[0312] The construction of feature matrix usually involves feature engineering, including but not limited to normalization, principal component analysis (PCA) and other techniques. In deep learning models, these features can be directly input into feature extraction layers, such as convolutional layers or recurrent layers.
[0313] Specifically, in this embodiment, in the feature embedding layer, four acquired sequence features, namely One-hot encoding (one-hot encoding feature), PSSM encoding (PSSM feature), BLOSUM encoding (BLOSUM62 scoring matrix feature) and amino acid physicochemical property encoding (amino acid physicochemical property matrix feature), and four structural features, namely secondary structure feature, dihedral angle feature, solvent accessible surface area feature and hemispherical exposure feature, are fused together to form a feature matrix and input into the feature extraction layer based on multi-layer Residue RCNN.
[0314] Step S440, performing deep learning processing on the feature matrix in the feature extraction layer, encoding the results obtained by the deep learning processing through a multi-layer fully connected neural network, outputting a predicted affinity result, and training the prediction model based on the difference between the predicted affinity result and the antibody-antigen affinity data to obtain the trained prediction model.
[0315] As mentioned above, the fused feature matrix is input into one or more feature extraction layers (such as CNN or RNN layers), which are responsible for automatically learning useful representations from the input data. Next, these features are further processed by the fully connected layer and finally the predicted affinity results are output. Based on the actual affinity data and the predicted results, the back propagation algorithm is used to train the model and optimize the model parameters.
[0316] Specifically, you can use a deep learning framework to define the model, such as TensorFlow / Keras or PyTorch. The fully connected layer is followed by a loss function. Common loss functions include mean square error (MSE) or cross entropy. You can choose an optimizer such as Adam or SGD.
[0317] Perform multiple iterations of training, use the validation set to tune hyperparameters, and use the test set to evaluate model performance.
[0318] The advantage of this process is that it can use deep learning to automatically learn effective feature representations from complex biological sequence and structure data, improving the accuracy and efficiency of predictions. In addition, once the model is trained, it can quickly predict the affinity of new antibody-antigen pairs, helping to accelerate related scientific research and drug development.
[0319] Specifically, in the present embodiment, in Residue RCNN, the embedded feature matrix first performs a convolution operation, then filters the more important data through max pooling, and then inputs it into the bidirectional GRU layer for calculation. The result of the max pooling and the result of the bidirectional GRU are added together to make a residual connection as the output of the Residue RCNN layer.
[0320] After passing through the multi-layer Residue RCNN network, the feature extraction of the feature matrix is finally completed, and then further encoded through the MLP layer (multi-layer fully connected neural network), and finally the predicted Kd value is output.
[0321] After the model is constructed, it can be trained and tested to obtain the trained prediction model.
[0322] In this embodiment, the tensorflow framework is used for training, and the model with the best output result is used for prediction.
[0323] In this example, a public data set (mCSM-AB) was used as an independent test set to measure the effect of the model. The data set is divided into two categories: multi-point mutation data set MP (multi-point mutation) and single-point mutation data set SP (single-point mutation), with 301 and 689 data respectively, indicating the affinity of the wild-type antibody for binding to the antigen after mutation.
[0324] The Pearson correlation coefficient (PCC) was calculated between the affinity values predicted by the prediction model and the affinity values measured experimentally to measure the performance of the model.
[0325] Table 4. Model prediction results
[0326] NO. Experimental Group method PCC (test-mp / test-sp) 1 The prediction model in this embodiment iNeoPPA 0.755 / 0.635 2 Comparison Models mCSM-AB 0.640 / 0.610
[0327] In the above table, PCC is the Pearson correlation index, with a minimum of -1 and a maximum of 1. The closer it is to 1, the higher the positive correlation between the predicted value and the experimental value, that is, the more accurate the prediction.
[0328] Referring to the above table, which provides a comparison of the effects of the prediction model in this embodiment and the mCSM-AB as a comparison model in the above data set, the following conclusions can be drawn:
[0329] (1) The use of a model that combines structural and sequence features (iNeoPPA) has significantly improved the performance compared to the comparison model.
[0330] (2) In the test set of multiple mutations, the PCC of the prediction model in this embodiment is 0.755, while that of the comparison model is 0.640;
[0331] (3) In the test set of single-point mutations, the PCC in this example is 0.635, while that of the control model is 0.61.
[0332] It can be seen that the prediction model provided in this embodiment has better effects in the test sets of single-point mutations and multi-point mutations.
[0333] In addition, reference Fig.21 The present invention provides an antibody-antigen affinity prediction device, comprising:
[0334] The data acquisition module 10 is used to acquire antibody-antigen affinity data of the modeling sample, and to acquire sequence data corresponding to the modeling sample; wherein the sequence data includes sequence information and structure information;
[0335] A data fusion module 20 is used to fuse the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set;
[0336] A feature acquisition module 30, used to acquire sequence features and structural features of each modeling sample in the modeling sample set;
[0337] The model building module 40 is used to build a prediction model according to the sequence characteristics and the structural characteristics, and train the prediction model to obtain the trained prediction model, so as to use the prediction model to analyze the sample to be analyzed and obtain the prediction result.
[0338] In addition, the present invention also provides an antibody-antigen affinity prediction system, comprising a memory and a processor, wherein the memory stores an antibody-antigen affinity prediction program, and the processor runs the antibody-antigen affinity prediction program to enable the antibody-antigen affinity prediction system to perform the antibody-antigen affinity prediction method as described above.
[0339] In addition, the present invention also provides a computer-readable storage medium, on which an antibody-antigen affinity prediction program is stored. When the antibody-antigen affinity prediction program is executed by a processor, the antibody-antigen affinity prediction method as described above is implemented.
[0340] In summary, the antibody-antigen affinity prediction method provided by the present invention performs affinity prediction by fusing the sequence features and structural features of antibodies and antigens, aiming to improve the accuracy and efficiency of prediction. This method not only uses sequence data to provide basic molecular biological features, but also integrates structural information to supplement the interactions and configurations in three-dimensional space, thereby providing a more comprehensive insight into biomolecular interactions. This combination effectively makes up for the structural dynamics and complex spatial relationships that may be missed by relying solely on sequence data, enhances the accuracy of the prediction model, and retains the advantages of fast and high throughput of sequence-based models. Through an efficient data fusion strategy, this method can process large-scale data sets without sacrificing computing speed, and is suitable for high-throughput antibody screening and optimization tasks. In addition, the constructed high-precision prediction model can more accurately simulate the interaction between antibodies and antigens, provide accurate affinity prediction results, and is particularly valuable for designing efficient therapeutic antibodies. In summary, the present invention effectively solves the limitations and challenges that may be faced by relying solely on sequence information by introducing structural features, and is expected to play an important role in the development and optimization of antibody drugs, especially in scenarios where a large number of candidate antibodies need to be quickly screened and verified.
[0341] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0342] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention. The above is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly used in other related technical fields, are similarly included in the patent protection scope of the present invention.
Claims
1. A method for predicting antibody-antigen affinity, characterized in that: include: Obtaining antibody-antigen affinity data of the modeling sample, and collecting sequence data corresponding to the modeling sample; wherein the sequence data includes sequence information and structure information; Fusing the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set; Obtaining sequence features and structural features of each modeling sample in the modeling sample set; A prediction model is constructed according to the sequence features and the structural features, and the prediction model is trained to obtain the trained prediction model, so that the prediction model can be used to analyze the sample to be analyzed to obtain a prediction result.
2. The method for predicting antibody-antigen affinity according to claim 1, characterized in that: The step of obtaining antibody-antigen affinity data of the modeling sample and obtaining sequence data corresponding to the modeling sample includes: Collect antibody-antigen affinity data as modeling samples; Obtaining the sequence information in the sequence data of the antigen and antibody corresponding to each of the modeling samples, and the structural information corresponding to each of the sequence information; Among them, in each of the modeling samples, the sequence information includes the sequence information of the antibody and the sequence information of the antigen corresponding to the antibody; the sequence information of the antibody includes at least one of the heavy chain sequence information and the light chain sequence information; the number of the sequence information of the antigen is one or two.
3. The method for predicting antibody-antigen affinity according to claim 1, wherein: The data types of the antibody-antigen affinity data include dissociation constant and binding free energy; The step of fusing the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set includes: The antibody-antigen affinity data that does not conform to the preset affinity data type among all the antibody-antigen affinity data are converted into a data type that is consistent with the preset affinity data type through an affinity conversion formula; Determine whether there are modeling samples with the same sequence information but different corresponding antibody-antigen affinity data; If yes, then taking an average of the multiple antibody-antigen affinity data of the modeling sample, and taking the average as the antibody-antigen affinity data corresponding to the modeling sample; The affinity conversion formula is: Where ΔG represents the binding free energy; K d stands for dissociation constant; R stands for gas constant; and T stands for temperature in Fahrenheit.
4. The method for predicting antibody-antigen affinity according to claim 2, wherein: After fusing the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set, the method further includes: Optimizing the distribution of antibody-antigen affinity data in the modeling sample; The data distribution optimization process includes: Determining normal distribution parameters of the antibody-antigen affinity data, and maximum and minimum values of the antibody-antigen affinity data; Based on the maximum value and the minimum value, all the antibody-antigen affinity data are divided into intervals to obtain a plurality of statistical intervals containing the antibody-antigen affinity data; Counting the amount of the antibody-antigen affinity data divided into each statistical interval to obtain an original distribution data graph; A normal distribution step length array is constructed according to the normal distribution parameters, and a normal distribution value array is calculated, and a normal distribution array is constructed according to the normal distribution value array; wherein the normal distribution array is a theoretical value of the amount of data after distribution adjustment for each statistical interval; Based on the original distribution data graph, all the antibody-antigen affinity data are adjusted to obey the normal distribution through the normal distribution array.
5. The method for predicting antibody-antigen affinity according to claim 4, characterized in that: Based on the maximum value and the minimum value, all the antibody-antigen affinity data are divided into intervals to obtain multiple statistical intervals containing the antibody-antigen affinity data, including: Get the number of preset intervals; The interval length is calculated according to the preset number of intervals; the interval length is calculated as follows: Wherein, L represents the length of the interval; max represents the maximum value; min represents the minimum value; s represents the number of preset intervals; Between the maximum value and the minimum value, all the antibody-antigen affinity data are divided into the statistical intervals that meet the number of preset intervals; the expression of the statistical interval is: [(min, min+L×1), (min+L×1, min+L×2), (min+L×2, min+L×3),…, (min+L×(s-1),max)].
6. The method for predicting antibody-antigen affinity according to claim 4, characterized in that: The normal distribution parameters include: mean, variance, step length and offset; The expression of the normal distribution step array is: A=[0,0+stride*1,0+stride*2,…]; Wherein, A represents the normal distribution step array; stride represents the step in the normal distribution parameter; The calculation method of the normal distribution value array is: Input each element in the normal distribution step length array into the normal distribution probability density function to calculate the normal distribution value array; The normal distribution probability density function is: Among them, σ represents the standard deviation, σ 2 The variance of the normal distribution parameters; μ represents the mean of the normal distribution parameters; e represents the base of the natural logarithm, which is a numerical constant; x represents an element in the normal distribution step array; The adjusting all the antibody-antigen affinity data to obey the normal distribution through the normal distribution array based on the original distribution data graph includes: Determine the center position m of the normal distribution in all the statistical intervals, and use the center position m of the normal distribution as the vertex of the normal distribution, which has the largest amount of data, and determine the maximum amount of data Vi of each statistical interval according to the center position m of the normal distribution, where i represents the position of each statistical interval; The expression of the center position of the normal distribution is: m=Index MID +shift; Among them, Index MID represents the serial number of the center position of the normal distribution of all the statistical intervals; shift is the offset; Based on the normal distribution center position expression, adjusting the normal distribution center position m by shift; If shift is 0, the center position m of the normal distribution is the middle position of all statistical intervals; If shift is a negative integer, the center position m of the normal distribution is shifted to the left by shift positions; If shift is a positive integer, the center position m of the normal distribution is shifted to the right by shift positions; All of the antibody-antigen affinity data are adjusted to obey the normal distribution through the offset, the normal distribution center position m and each element in the normal distribution value array.
7. The method for predicting antibody-antigen affinity according to claim 6, characterized in that: The step of adjusting all the antibody-antigen affinity data to obey the normal distribution by using the offset, the center position of the normal distribution and each element in the normal distribution value array comprises: The data volume at the center position of the normal distribution of all the statistical intervals is determined as the maximum data volume as the vertex of the normal distribution; According to the maximum data volume of the statistical interval, determine the data volume of all statistical intervals to the left of the interval where the maximum data volume is located as the data volume of the left interval; and, according to the maximum data volume of the statistical interval, determine the data volume of all statistical intervals to the right of the interval where the maximum data volume is located as the data volume of the right interval; The expression of the data volume in the left interval is: Wherein, i represents the position of the statistical interval; m represents the center position of the normal distribution in all the statistical intervals; G represents the normal distribution value array; G0 represents the value of position 0 in G; G m-i is the value of position (mi) in G; Represents the data volume of the left interval; V max represents the amount of data at the m position of all the statistical intervals; The expression of the data volume in the right interval is: in, Represents the amount of data in the right interval; Determine whether there is an interval in the antibody-antigen affinity data where the data amount of the left interval and / or the data amount of the right interval is greater than the data amount of the corresponding statistical interval; If so, the interval in which the data volume of the left interval and / or the data volume of the right interval is greater than the corresponding data volume of the statistical interval is used as an adjustment interval, and the data volume of the adjustment interval is increased by using a random repeated oversampling method until the data volume of the adjustment interval reaches the corresponding data volume of the left interval and / or the data volume of the right interval.
8. The method for predicting antibody-antigen affinity according to claim 1, wherein: The sequence features include PSSM features, unique hot encoding features and amino acid physicochemical property features; wherein the amino acid property features include any one or two of BLOSUM62 scoring matrix features and amino acid physicochemical property matrix features; The structural features include any one or more of secondary structure features, dihedral angle features, solvent accessible surface area features, hemispherical exposure features, amino acid depth features, amino acid contact matrix features, and amino acid turn features.
9. The method for predicting antibody-antigen affinity according to claim 8, characterized in that: The method for obtaining the amino acid physicochemical property matrix characteristics comprises: Obtaining a preset correspondence relationship between the physicochemical property characteristics of amino acids, and comparing the sequence information of the modeling sample based on the preset correspondence relationship between the physicochemical property characteristics of amino acids; wherein the preset correspondence relationship between the physicochemical property characteristics of amino acids includes 20 standard amino acids and property characteristics corresponding to the standard amino acids; Analyze each amino acid in the sequence information, and process each amino acid into a feature vector of a property characteristic encoded by 0 / 1; wherein 1 represents that the amino acid has the property characteristic; and 0 represents that the amino acid does not have the property characteristic; According to the order of the sequence information of the modeling sample, the characteristic vectors of the 0 / 1 encoded property characteristics of each amino acid in the sequence information are merged to form an amino acid physicochemical property matrix corresponding to the modeling sample, and the amino acid physicochemical property matrix is used as the amino acid physicochemical property matrix feature.
10. The method for predicting antibody-antigen affinity according to claim 9, characterized in that: The preset correspondence relationship of the physicochemical property characteristics of amino acids includes 17 property characteristics and 20 standard amino acids corresponding to the property characteristics; Each property characteristic has a corresponding ID, and the preset amino acid physical and chemical property characteristic corresponding relationship IDs range from 0 to 16, which are the following 17 groups of corresponding relationships: ID: 0, properties: acidic, standard amino acids are D and E; ID: 1, Properties: Alkaline, standard amino acids are H, R and K; ID: 2, property characteristics: polar, standard amino acids are D, E, H, R, K, C, G, Q, N, S, Y and T; ID: 3, properties: charged, standard amino acids are D, E, H, R and K; ID: 4, properties: positively charged, standard amino acids are H, R and K; ID: 5, properties: negatively charged, standard amino acids are D and E; ID: 6, properties: hydrophilic, standard amino acids are D, E, H, R, K, C, G, Q, N, S, Y and T; ID: 7, property characteristics: hydrophobic, standard amino acids are F, A, L, M, I, W, P and V; ID: 8, properties: neutral, standard amino acids are F, A, L, M, I, W, P, V, C, G, Q, N, S, Y and T; ID: 9, properties: contains sulfur, standard amino acids are M and C; ID: 10, properties: aliphatic, standard amino acids are A, G, L, M, I, P and V; ID: 11, properties: aromatic, standard amino acids are F, W and Y; ID: 12, Properties: Contains hydroxyl groups, standard amino acids are S, Y and T; ID: 13, property characteristics: first molecular weight, standard amino acids are W, Y and R; ID: 14, properties: second molecular weight, standard amino acids are F, H, M, E, K, Q, D and N; ID: 15, properties: third molecular weight, standard amino acids are I, L, C, T, V, P, S, A and G; ID: 16, properties and characteristics: fourth molecular weight, standard amino acids are T, V, P, S, A and G.
11. The method for predicting antibody-antigen affinity according to claim 2, wherein: The step of constructing a prediction model according to the sequence features and the structural features, and training the prediction model to obtain the trained prediction model comprises: Defining a model structure, and building the prediction model based on the model structure; The sequence information of the modeling sample is used as input; wherein, based on a deep fusion strategy, the sequence information of the antibody and antigen of the modeling sample are connected end to end and merged to form a fusion sequence; The sequence features and the structural features of the modeling sample are fused to obtain a feature matrix, which is input into a feature extraction layer; The feature matrix in the feature extraction layer is subjected to deep learning processing, and the result obtained by the deep learning processing is encoded through a multi-layer fully connected neural network, and a predicted affinity result is outputted, and based on the difference between the predicted affinity result and the antibody-antigen affinity data, the prediction model is trained to obtain the trained prediction model.
12. An antibody-antigen affinity prediction device, characterized in that: include: A data acquisition module, used to acquire antibody-antigen affinity data of the modeling sample, and to acquire sequence data corresponding to the modeling sample; wherein the sequence data includes sequence information and structure information; A data fusion module is used to fuse the antibody-antigen affinity data and sequence data corresponding to the modeling samples to construct a modeling sample set; A feature acquisition module, used to acquire sequence features and structural features of each modeling sample in the modeling sample set; The model building module is used to build a prediction model according to the sequence characteristics and the structural characteristics, and train the prediction model to obtain the trained prediction model, so as to use the prediction model to analyze the sample to be analyzed and obtain the prediction result.
13. An antibody-antigen affinity prediction system, characterized in that: The system comprises a memory and a processor, wherein the memory stores an antibody-antigen affinity prediction program, and the processor runs the antibody-antigen affinity prediction program so that the antibody-antigen affinity prediction system performs the antibody-antigen affinity prediction method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an antibody-antigen affinity prediction program, and when the antibody-antigen affinity prediction program is executed by the processor, the antibody-antigen affinity prediction method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Binding affinity prediction method and device based on antigen and antibody sequences
CN114464247A
Sequence-based antigen-antibody affinity prediction method
CN116434839A
Affinity prediction method and device, computer equipment and storage medium
CN116959575A
Method and system for predicting antigen-antibody binding affinity based on ensemble learning
CN117935925A
Cited By
Method and system for predicting affinity of antibody mutant and antigen
CN119446289A
Processing method and device for molecular affinity analysis
CN120183560A
A processing method and apparatus for molecular affinity analysis
CN120183560B
Nanometer antibody and antigen interaction prediction method, device, equipment and medium
CN121747702A
Method, apparatus, and medium for predicting nanobody-antigen interaction
CN121747702B
