A deep learning prediction method for target-ligand binding affinity based on gated attention mechanism
Through the deep learning model based on the gated attention mechanism, the characteristics of the target-ligand complex are extracted, which solves the problem of time-consuming and labor-intensive and difficult to balance accuracy in predicting the target-ligand binding affinity in the existing technology, and achieves fast and accurate prediction. Target-ligand complex identification and drug design assistance.
Patent Information
- Application Number
- CN202210394865.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-04-15
AI Technical Summary
Existing technologies have problems in predicting target-ligand binding affinity, such as time-consuming and labor-intensive, high computational time cost, and difficult trade-off between accuracy and versatility, especially in high-throughput screening and big data environments.
Using a deep learning model based on the gated attention mechanism, by converting the SMILES string of the ligand and the amino acid sequence of the protein into a matrix, the gate-enhanced attention layer and the convolutional neural network are used to extract features to quickly identify high binding affinity. Target-ligand complex.
Rapid and accurate identification of target-ligand complexes with high binding affinity is achieved, reducing computational time costs, improving the prediction accuracy and classification capabilities of the model, and reducing the time and costs associated with experimental analysis.
Smart Images

Figure CN114743600B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to computer-aided drug design technology and the field of biological and pharmaceutical informatics, and in particular to a method for predicting target-ligand binding affinity. Background Art
[0002] Most biological processes are determined by biomolecular recognition, where proteins, usually as targets, interact with ligands to regulate biological functions, such as enzyme catalysis, signal transduction, etc. The study of target-ligand interactions is an important topic. The quantity of the binding strength (measured as a real number) of the target-ligand interaction is usually defined as the binding affinity, which can be expressed by the inhibition constant K. i , dissociation constant K d and half maximal inhibitory concentration IC 50 Most of the existing drugs are small molecule compounds with biological activity. Identifying ligands with high affinity to target proteins (small molecule drug candidates) is a major task in the early stages of drug discovery.
[0003] The experimental trial and error method is time-consuming and laborious to determine the affinity of target-ligand. Although the semi-empirical 3D-quantitative structure-activity relationship model predicts the target-ligand affinity with high accuracy and strong interpretability, it has poor versatility and is only applicable to molecules with a certain type of skeleton. Physics-driven methods (such as molecular dynamics methods) have high accuracy and good interpretability, but the huge computational time cost hinders their application in high-throughput screening. Compared with molecular dynamics methods, molecular docking methods can greatly reduce the computational time cost, but also sacrifice a lot of accuracy. Data-driven methods (such as machine learning methods) are extremely fast in calculation speed, but most machine learning algorithms still rely on expert knowledge for feature extraction / selection, and it is difficult to balance accuracy and versatility in large data sets. Driven by massive data and powerful parallel computing capabilities, deep learning methods developed from traditional machine learning methods have stronger data fitting capabilities. Although many deep learning models have been proposed to predict binding affinity, most of them require 3D structural features of target-ligand complexes, which are not easy to obtain compared with text features. Summary of the invention
[0004] In view of the above problems existing in the prior art, the purpose of the present invention is to make full use of the advantages of text features and develop an end-to-end deep learning model based on a gated attention mechanism to quickly identify target-ligand complexes with high binding affinity.
[0005] To achieve the above object, the present invention adopts the following technical solution, including the following specific steps:
[0006] A deep learning prediction method for target-ligand binding affinity based on a gated attention mechanism, comprising the following specific steps:
[0007] Step 1: Establish a binding affinity database for subsequent deep learning models.
[0008] Step 2: Convert the SMILES string of the ligand into a ligand matrix as the input of the deep learning model.
[0009] Step 3: Convert the amino acid sequence of the protein into a protein matrix as the input of the deep learning model.
[0010] Step 4: Construct the architecture of the deep learning model for model training, send the ligand matrix to a fully connected layer and a gate-enhanced attention layer for feature extraction, and aggregate the feature vectors of the ligand fragments by summing the rows of the matrix.
[0011] Step 5: First send the protein matrix to a one-dimensional convolutional layer and a max pooling layer to reduce the number of rows of the protein matrix, and then send it to a gate-enhanced attention layer for feature extraction, and aggregate the feature vectors of the protein's higher-order amino acids by summing the rows of the matrix.
[0012] Step 6: Concatenate the aggregated feature vectors of the ligand fragments and the feature vectors of the protein's higher-order amino acids and send them to the subsequent fully connected layer to predict the probability of high / low binding affinity of the target-ligand complex.
[0013] Further, step 1 specifically includes: preprocessing the binding affinity database according to the following criteria:
[0014] Step 1.1: Delete the entries related to IC 50 properties, and retain the entries related to K i and K d properties.
[0015] Step 1.2: Delete the entries where the RDKit tool fails to read the ligand structure file or the Mol2vec method cannot find the ligand Morgen fragment.
[0016] Step 1.3: Delete the target-ligand complex entries with Morgen fragments or amino acid numbers greater than the threshold respectively.
[0017] Step 1.4: The target-ligand complex with K i / d <n is labeled as high binding affinity and represented by "1", while the target-ligand complex with K i / d ≥n is labeled as low binding affinity and represented by "0", and K i / d represents K i or K d, n represents the inhibition or dissociation constant threshold.
[0018] Finally, after applying the above-mentioned criteria from steps 1.1-1.4, unique target-ligand complex samples are obtained and stored in the binding affinity database for subsequent deep learning models.
[0019] Furthermore, step 2 specifically includes:
[0020] Step 2.1: Convert the SMILES string representation of the molecule into a Morgen fragment using the Morgan algorithm.
[0021] Step 2.2: Embed the feature vector of the Morgen fragment in Mol2vec into the Morgen fragment obtained in step 2.1. Sum the feature vectors of the Morgen fragment of each molecule to represent the feature vector of the entire molecule.
[0022] Step 2.3: Based on the Mol2vec descriptor, each ligand sample is represented by a two-dimensional matrix, where the matrix rows represent Morgen fragments and the matrix columns represent the feature vectors of the fragments.
[0023] Furthermore, step 3 specifically includes:
[0024] Step 3.1: Consider every three adjacent amino acids in the protein sequence as a high-order amino acid. In this way, the proteins in the binding affinity database are compiled into high-order amino acid strings.
[0025] Step 3.2: Use the embedding method in the deep learning model to embed a feature vector for each high-order amino acid string.
[0026] Step 3.3: Each protein sample is represented by a two-dimensional matrix, where the matrix rows represent high-order amino acid strings and the matrix columns represent feature vectors of the high-order amino acid strings.
[0027] Furthermore, step 4 specifically includes:
[0028] Step 4.1: Transform the ligand matrix x L It is sent to the fully connected layer V to reduce the dimensionality of the ligand features.
[0029] Step 4.2: Obtain the reduced dimension ligand matrix x′ L is sent to the attention layer based on gate enhancement. In the attention layer, x′ L First, it is transformed by a learnable weight matrix W1 to obtain a new ligand matrix x″ with significant features L .
[0030] Step 4.3: By equation Get the attention coefficient e ij , where e ij Indicates the importance of the j-th segment feature to the i-th segment feature, by summing and To force e ij Equal to e ji .
[0031] Step 4.4: ij Sent to a SoftMax activation function, through a ij =exp(e ij ) / ∑ j exp(e ij ) equation to obtain the normalized attention coefficient a ij .
[0032] Step 4.5: Use the obtained a ij , through x″′ L,i =∑ j a ij x″ L,j The equation updates each segment feature as a linear combination of the adjacent segment features, and then adds the ReLU activation function to x″′ L,i .
[0033] Step 4.6: Apply the gate enhancement algorithm, passing the previous segment feature x′ L,i and x″′ L,i The linear combination of the equations To obtain the output fragment features of the gate-enhanced attention layer z i Represented as Z i =σ((x′ L,i ||x″′ L,i )U) and interpreted as x′ L,i and x″′ L,i Pass to where U is the learnable vector, σ represents the Sigmoid activation function, and (·||·) is the operator that concatenates two vectors.
[0034] Step 4.7: Pass Equation, the feature vectors of the ligand fragments are added into a vector representing the ligand characteristics.
[0035] Furthermore, step 5 specifically includes:
[0036] Step 5.1: Convert the protein matrix x PSend it to the one-dimensional convolution layer and the maximum pooling layer. In this way, the one-dimensional convolution layer and the maximum pooling layer are able to extract key high-order amino acids from the entire protein sequence, which helps to focus the amino acid features on the pocket area of the target-ligand complex, while reducing model redundancy and saving the computational time cost of the next attention layer.
[0037] Step 5.2: The protein matrix x′ processed in step 5.1 P is sent to the attention layer based on gate enhancement. In the attention layer, x′ P First, it is transformed by a learnable weight matrix W2 to obtain a new protein matrix x″ with significant features P .
[0038] Step 5.3: By equation Get the attention coefficient e kl , where e kl Indicates the importance of the lth high-order amino acid feature to the kth high-order amino acid feature, by summing and To force e kl Equal to e lk .
[0039] Step 5.4: kl Sent to a SoftMax activation function, through a kl =exp(e kl ) / ∑ l exp(e kl ) equation to obtain the normalized attention coefficient a kl .
[0040] Step 5.5: Use the obtained a kl , through x″′ P,k =∑ l a kl x″ P,l The equation updates each high-order amino acid feature as a linear combination of adjacent high-order amino acid features, and then adds the ReLU activation function to x″′ P,k .
[0041] Step 5.6: Apply the gate enhancement algorithm to pass the previous high-order amino acid feature x′ P,k and x″′ P,k The linear combination of the equations To obtain the output high-order amino acid features of the gate-enhanced attention layer z k Represented as z k =σ((X′ P,k ||x″′ P,k )U) and interpreted as x′P,k and x″′ P,k Pass to where U is the learnable vector, σ represents the Sigmoid activation function, and (·||·) is the operator that concatenates two vectors.
[0042] Step 5.7: Pass Equation, to obtain the final output protein feature vector
[0043] Further, step 6.1: output the ligand feature vector And the output protein feature vector Connect to represent target-ligand complex features.
[0044] Step 6.2: The features are then sent to the fully connected layer with LogSoftMax activation function and the output layer with LogSoftMax activation function.
[0045] Step 6.3: A dropout layer is also added before the output layer to overcome the overfitting problem during training. An additional SoftMax operation is performed outside the training process to normalize the model output.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] (1) First, most studies in the literature consider IC 50 However, these IC 50 The values are noisy data, which vary greatly with experimental conditions and are not uniform between different research groups. Noisy data are not conducive to training deep learning models. Therefore, IC 50 properties to make our deep learning model more reasonable.
[0048] (2) Secondly, we selected text-based representations of ligands and protein molecules. Textual representation methods are not highly dependent on the three-dimensional structure of the target-ligand complex. Compared with three-dimensional molecular representations, textual representation methods can save more computational time costs when generating model inputs. For ligands, the commonly used text-based SMILES strings were not selected because a ligand may be represented by multiple different SMILES strings, which may lead to some uncertainty in representing the ligand. To avoid this problem, we converted the SMILES strings into text-based Mol2vec descriptors to represent the ligands, because Mol2vec consists of a set of unique Morgen fragments, each of which is embedded with a feature vector, which is more interpretable than the SMILES-based text representation method. In addition, proteins are represented by high-order amino acid strings. Compared with the commonly used amino acid sequence representation, the high-order amino acid representation method can describe the interactions between amino acids and is therefore more reasonable.
[0049] (3) Third, two state-of-the-art technologies, gate-enhanced attention mechanism and convolutional neural network, are used to effectively extract the features of ligands and proteins to accelerate the learning process of our deep learning model and reduce the amount of computation to a certain extent. In addition, the gate-enhanced algorithm can improve the prediction accuracy of the model.
[0050] Based on these three indicators, our deep learning model has good classification ability and can quickly and accurately identify target-ligand complexes with high binding affinity. This method can be used to assist drug design and virtual screening, which can greatly reduce the time and cost associated with experimental analysis and improve the efficiency of drug design and virtual screening. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of the present invention;
[0052] Figure 2 The training process, confusion matrix and receiver operating characteristic (ROC) curve of the present invention, wherein (a) is the cross entropy loss (CEL) of the deep learning model training set and the validation set changing with epochs, (b) is the area under the ROC curve (AUC) of the deep learning model training set and the validation set changing with epochs, (c) is the binary classification confusion matrix of the test set, and (d) is the ROC curve of the test set. DETAILED DESCRIPTION
[0053] The following is an explanation of the process and effect of the present invention in conjunction with the accompanying drawings and embodiments. The embodiments of the present invention are implemented on the premise of the technical solution of the present invention, and detailed implementation methods and specific operation processes are given, but the protection scope of the present invention is not limited to the following embodiments.
[0054] See also Figure 1 The embodiment of the present invention specifically discloses an end-to-end target-ligand complex binding affinity prediction method based on a gated attention mechanism, comprising the following steps:
[0055] Step 1: The PDBbind database (2019 version, http: / / www.pdbbind.org.cn / index.php) was processed according to the following criteria to establish a binding affinity database for subsequent deep learning models:
[0056] Delete the IC involved 50 The nature of the entries, because these IC 50 The values are noisy data, which vary greatly with experimental conditions and are not uniform across different research groups. Noisy data are not conducive to training deep learning models. Note that K i and K d can be approximately regarded as the same property and does not change with experimental conditions. i and K d Entries with the same properties will be retained in the binding affinity database. Delete entries for which the RDKit tool fails to read the ligand structure file or the Mol2vec method cannot find the ligand Morgen fragment. Delete target-ligand complex entries with Morgen fragments greater than 140 or amino acids greater than 1000, respectively. The threshold value judgment principle is determined empirically; please note that the use of thresholds can reduce the maximum number of rows in the ligand and protein matrices, thereby improving the training efficiency of deep learning models, at the cost of eliminating a small number of target-ligand complexes with too many Morgen fragments or amino acids. K i / d Target-ligand complexes with concentrations <1 μM (μmol / L) are labeled as having high binding affinity (indicated by “1”), while K i / d Target-ligand complexes ≥1 μM were marked as having low binding affinity (indicated by “0”), K i / d K i or K d Finally, after applying the above criteria, a total of 8,393 unique target-ligand complexes were obtained. The obtained samples were stored in our binding affinity database for subsequent deep learning models.
[0057] Step 2: Convert the SMILES string of the ligand into a ligand matrix as the input of the deep learning model ( Figure 1 (a) in:
[0058] First, the SMILES string of the ligand is converted into a Mol2vec descriptor, which learns a vector representation of the molecular substructure. It first converts the SMILES string representation of the molecule into a Morgen fragment (molecular substructure similar to a group) using the Morgan algorithm (radius = 1). Then, the feature vector of the Morgen fragment in Mol2vec is embedded into the Morgen fragment obtained in step 2.1. The feature vector of the Morgen fragment of each molecule is summed to represent the feature vector of the entire molecule. Based on the Mol2vec descriptor, each ligand sample is represented by a 140×300 two-dimensional matrix, where the matrix rows represent Morgen fragments and the matrix columns represent the feature vectors of the fragments. Considering that not every ligand has 140 Morgen fragments, a padding strategy is used to add "0" values to the matrix rows without Morgen fragments. Note that the Morgen fragments in Mol2vec are more interpretable than text-based SMILES strings.
[0059] Step 3: Convert the amino acid sequence of the protein into a protein matrix as the input of the deep learning model ( Figure 1 (b) in:
[0060] In general, proteins can be represented by an ordered sequence of amino acid strings, and every three adjacent amino acids in the protein sequence are regarded as a high-order amino acid. For example, if the protein sequence is "Met-Gly-Arg-Pro-Leu", then the high-order amino acids are "Met-Gly-Arg", "Gly-Arg-Pro", "Arg-Pro-Leu". In this way, a total of 9,164 high-order amino acid strings were generated for the proteins in our binding affinity database. Then, a feature vector (the feature size was set to 30) was embedded into each high-order amino acid string through the embedding method in the deep learning model. Finally, each protein sample was represented by a 1,000×30 two-dimensional matrix, where the matrix rows represent high-order amino acid strings and the matrix columns represent feature vectors of high-order amino acid strings. Considering that not every protein has 1,000 high-order amino acids, a padding strategy is also used to add "0" values to the matrix rows without high-order amino acids.
[0061] Step 4: With the obtained affinity labels (see step 1) and input representations (see steps 2 and 3), the next step is to build the architecture of the deep learning model for model training. On the one hand, the ligand matrix is fed into a fully connected (FC) layer and a gate-based enhanced attention layer for feature extraction ( Figure 1 In (c)), the feature vectors of the ligand fragments are aggregated by summing the rows of the matrix:
[0062] First, the ligand matrix x L (140×300) is sent to the FC layer V(300×30) to reduce the dimension of the ligand features from 300 to 30, which helps to reduce model redundancy and save training cost. Then the obtained ligand matrix x′ L (140×30) is sent to the gate-based enhanced attention layer. In our attention layer, x′ L First, it is transformed by a learnable weight matrix W1 (30×30) to obtain a new ligand matrix x″ with significant features L Then through the equation Get the attention coefficient e ij , where e ij Indicates the importance of the j-th segment feature to the i-th segment feature, by summing and To force e ij Equal to e ji After that, e ij is sent to a SoftMax activation function, through a ij =exp(e ij ) / ∑ j exp(e ij ) equation to obtain the normalized attention coefficient a ij . Using the obtained a ij , through x″′ L,i =∑ j a ij x″ L,j The equation updates each segment feature as a linear combination of the adjacent segment features, and then adds the ReLU activation function to x″′ L,i Next, the gate enhancement algorithm is applied, through the previous segment feature x′ L,i and x″′ L,i The linear combination of the equations To obtain the output fragment features of the gate-enhanced attention layer z i Represented as z i =σ((x′ L,i ||x″′ L,i )U) and interpreted as x′ L,i and x″′ L,i Pass to The weight coefficients are , where U is the learnable vector (60×1), σ represents the Sigmoid activation function, and (·||·) is the operator for concatenating two vectors. Finally, by Equation, the feature vectors of the ligand fragments are added into a vector representing the ligand characteristics.
[0063] Step 5: On the other hand, the protein matrix is first sent to the one-dimensional convolution Conv1 layer and the maximum pooling MaxPool layer to reduce the number of rows in the protein matrix, and then sent to the gate-enhanced attention layer for feature extraction, which saves unnecessary computational time cost of the attention layer ( Figure 1 (c) in the figure, and then aggregate the feature vectors of higher-order amino acids of the protein by summing the matrix rows:
[0064] First, the protein matrix x P (1,000×30) is sent to the Conv1 layer (input channels = 30, output channels = 30, kernel size = 3, stride = 3) and the MaxPool layer (kernel size = 3, stride = 3), where the kernel is used to scan the local features of the protein matrix using a parameter sharing mechanism. In this way, the convolutional layer and the MaxPool layer are able to extract key high-order amino acids from the entire protein sequence, which helps to focus the amino acid features on the pocket area of the target-ligand complex, while reducing model redundancy and saving the computational time cost of the next attention layer. The processed protein matrix x′ P is sent to the attention layer based on gate enhancement. In the attention layer, x′ P First, it is transformed by a learnable weight matrix W2 to obtain a new protein matrix x″ with significant features P . Through the equation Get the attention coefficient e kl , where e kl Indicates the importance of the lth high-order amino acid feature to the kth high-order amino acid feature, by summing and To force e kl Equal to e lk . kl Sent to a SoftMax activation function, through a kl =exp(e kl ) / ∑ l exp(e kl ) equation to obtain the normalized attention coefficient a kl . Using the obtained a kl , through x″′ P,k =∑ l a kl x″ P,l The equation updates each high-order amino acid feature as a linear combination of adjacent high-order amino acid features, and then adds the ReLU activation function to x″′ P,k . Apply the gate enhancement algorithm, through the previous high-order amino acid feature x′ P,k and x″′ P,k The linear combination of the equations To obtain the output high-order amino acid features of the gate-enhanced attention layer z k Represented as z k =σ((x′ P,k ||x″′ P,k )U) and interpreted as x′ P,k and x″′ P,k Pass to The weight coefficients of , where U is a learnable vector, σ represents the Sigmoid activation function, and (·||·) is the operator that concatenates two vectors. Equation, to obtain the final output protein feature vector
[0065] Step 6: The feature vector of the aggregated ligand fragments is concatenated with the feature vector of the protein's higher-order amino acids and fed into the subsequent FC layer to predict the probability of high / low binding affinity of the target-ligand complex ( Figure 1 (c) in:
[0066] The output ligand feature vector And the output protein feature vector The features are then concatenated to represent the target-ligand complex features. The features are then sent to the FC layer (60×30) with the LogSoftMax activation function and the output layer (FC layer) (30×2) with the LogSoftMax activation function. Based on empirical trial and error, it was found that the LogSoftMax activation function can improve the classification effect of the model. A dropout layer is also added before the output layer to overcome the overfitting problem during training. Please note that the LogSoftMax activation function makes the sum of the predictions of the output layer not equal to 1. Therefore, in order to predict the probability of high / low binding affinity, an additional SoftMax operation is performed outside the training process to normalize the model output.
[0067] Example
[0068] The target-ligand complexes were randomly divided into training, validation, and test sets in a ratio of 8:1:1. The number of samples in the training, validation, and test sets were 6,711, 841, and 841, respectively. There were 3,102 low-binding affinity complexes (labeled “0”) and 3,609 high-binding affinity complexes (labeled “1”) in the training set, which met the data balance requirement of the deep learning classification model. The loss function in our deep learning model was the cross entropy loss (CEL), which is a commonly used loss function in classification tasks. To minimize the loss function, the model parameters were optimized by using the adaptive moment estimation (Adam) optimizer, and the learning rate was set to vary from 0.0005 to 0.00005, where a decay factor (0.5) was used to update the learning rate when the loss function of the validation set did not decrease with iteration. Generally speaking, 50% is the threshold for judging true or false in a binary classification model. For example, if the probability of high binding affinity of a target-ligand complex is 70%, the binding affinity of the complex is considered to be high (true). The receiver operating characteristic (ROC) curve selects a set of thresholds and evaluates the true positive rate and false positive rate in each threshold. The area under the ROC curve (AUC) is considered an important supervisory function for evaluating the ability of deep learning models to classify labels. The AUC value is equivalent to the probability that a randomly selected true sample ranks higher than a randomly selected false sample. Therefore, it can also be regarded as an uncertainty indicator of the classification model. The closer the AUC is to 1, the better and more stable the classification ability of the deep learning model.
[0069] The hyperparameters of the deep learning model are determined by empirical trial and error (as shown in Table 1). We use the open source Pytorch library in Python to build the deep learning model.
[0070] Table 1 Hyperparameter settings of deep learning models
[0071]
[0072] The training results and performance of our deep learning model are shown in Table 2 and Figure 2 As shown in Table 2, the CEL and AUC values of the training set, validation set, and test set are 0.369, 0.442, 0.401 and 0.914, 0.880, 0.901, respectively. Figure 2 (a) and Figure 2(b) in the figure records the CEL and AUC values of the deep learning model training set and validation set as the rounds (epochs) change. The above results show that the developed deep learning model does not have the problem of overfitting and can make satisfactory generalization predictions for new samples. Please note that the introduction of the attention layer based on gate enhancement can accelerate the learning process of our model. During the training process, the deep learning model performs well in the 40th round (epoch). If the attention layer is removed, the deep learning model needs more rounds (epochs) to obtain similar results.
[0073] Figure 2 (c) in is a confusion matrix (2×2) based on binary classification, which is used to evaluate the classification performance of our deep learning model, where "0" and "1" on the x-axis represent the label values of low binding affinity and high binding affinity, and "0" and "1" on the y-axis define the predicted values of low binding affinity and high binding affinity. The confusion matrix has four cases, including true negative (TN, x=0, y=0), false negative (FN, x=1, y=0), true positive (TP, x=1, y=1) and false positive (FP, x=0, y=1). The test samples are counted according to their label values and the predicted value of each case. Figure 2 (c) shows that the number of samples in TN and TP is much larger than that in FN and FP, which indicates that the developed deep learning model can provide good classification ability for distinguishing high / low binding affinity. Figure 2 (d) in the figure shows the ROC curve (solid line) of the test set, and the AUC result of the test set (0.901) also supports that our deep learning model has good classification performance.
[0074] Table 2 Loss function and metric function of deep learning model
[0075]
[0076] It is worth noting that compared with other deep learning models for predicting binding affinity (e.g., KDEEP has about 1,000,000 parameters), the deep learning model we developed is concise and has much fewer training parameters (15,634), indicating the efficiency of the model in terms of training and extrapolation. Our deep learning model was not compared with other deep learning models for the following two reasons: (1) The training samples in other models involved IC 50 Properties, due to IC 50It is noisy data and is heavily dependent on experimental conditions, so this property is not considered in this work; (2) Our deep learning model is essentially a classification model, while other deep learning models are almost all regression models used to quantitatively predict the size of binding affinity, and their performance is barely satisfactory (their Pearson coefficients are around 0.80).
[0077] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is obvious that many changes and variations can be made based on the above teachings. The purpose of selecting and describing exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can implement and utilize various exemplary embodiments of the present invention and various selections and changes. The scope of the present invention is intended to be defined by the claims and their equivalents. The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art can also make various equivalent modifications or substitutions without violating the spirit of the present invention, and these equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A deep learning prediction method for target-ligand binding affinity based on a gated attention mechanism, characterized in that: The specific steps include: Step 1: Establish a binding affinity database for subsequent deep learning models; Step 2: Convert the SMILES string of the ligand into a ligand matrix as the input of the deep learning model; Step 3: Convert the amino acid sequence of the protein into a protein matrix as input for the deep learning model; Step 4: Build the architecture of the deep learning model for model training, send the ligand matrix to a fully connected layer and a gate-enhanced attention layer for feature extraction, and aggregate the feature vectors of the ligand fragments by summing the matrix rows; Step 5: The protein matrix is first sent to a one-dimensional convolutional layer and a maximum pooling layer to reduce the number of rows in the protein matrix, and then sent to a gate-enhanced attention layer for feature extraction. The feature vectors of protein high-order amino acids are aggregated by summing the matrix rows. Step 6: The feature vectors of the aggregated ligand fragments are concatenated with the feature vectors of the protein’s higher-order amino acids and fed into the subsequent fully connected layer to predict the probability of high / low binding affinity of the target-ligand complex; Step 1 specifically includes: preprocessing the binding affinity database according to the following criteria: Step 1.1: Delete the IC involved 50 Entries of nature, reserved for K i and K d Items of nature; Step 1.2: Delete the entries where the RDKit tool fails to read the ligand structure file or the Mol2vec method cannot find the ligand Morgen fragment; Step 1.3: Delete the target-ligand complex entries with Morgen fragments or amino acid numbers greater than the threshold respectively; Step 1.4: K i / d The target-ligand complex of <n> is labeled as having high binding affinity and represented by "1", while K i / d The target-ligand complex with K ≥ n is labeled as having low binding affinity and represented by "0", K i / d denotes K i or K d , and n represents the inhibition or dissociation constant threshold; Finally, after applying the above-mentioned criteria in steps 1.1-1.4, unique target-ligand complex samples are obtained and stored in the binding affinity database for subsequent deep learning models; Step 2 specifically includes: Step 2.1: Use the Morgan algorithm to convert the SMILES string representation of the molecule into a Morgen fragment; Step 2.2: Embed the feature vector of the Morgen fragment in Mol2vec into the Morgen fragment obtained in step 2.1; sum the feature vectors of the Morgen fragment of each molecule to represent the feature vector of the entire molecule; Step 2.3: Based on the Mol2vec descriptor, each ligand sample is represented by a two-dimensional matrix, where the matrix rows represent Morgen fragments and the matrix columns represent the feature vectors of the fragments; Step 3 specifically includes: Step 3.1: Consider every three adjacent amino acids in the protein sequence as a high-order amino acid; in this way, compile the proteins in the binding affinity database into high-order amino acid strings; Step 3.2: Use the embedding method in the deep learning model to embed a feature vector into each high-order amino acid string; Step 3.3: Each protein sample is represented by a two-dimensional matrix, where the matrix rows represent high-order amino acid strings and the matrix columns represent feature vectors of the high-order amino acid strings.
2. The deep learning prediction method for target-ligand binding affinity based on gated attention mechanism according to claim 1, characterized in that: Step 4 specifically includes: Step 4.1: Transform the ligand matrix x L Sent to the fully connected layer V to reduce the dimension of the ligand features; Step 4.2: Obtain the reduced dimension ligand matrix x′ L Sent to the gate-enhanced attention layer; in the attention layer, x′ L First, it is transformed by a learnable weight matrix W1 to obtain a new ligand matrix x″ with significant features L ; Step 4.3: By equation Get the attention coefficient e ij , where e ij Indicates the importance of the j-th segment feature to the i-th segment feature, by summing and To force e ij Equal to e ji ; Step 4.4: ij Sent to a SoftMax activation function, through a ij =exp(e ij ) / ∑ j exp(e ij ) equation to obtain the normalized attention coefficient a ij ; Step 4.5: Use the obtained a ij , through x″′ L,i =∑ j a ij x″ L,j The equation updates each segment feature as a linear combination of the adjacent segment features, and then adds the ReLU activation function to x″′ L,i ; Step 4.6: Apply the gate enhancement algorithm, passing the previous segment feature x′ L,i and x″′ L,i The linear combination of the equations To obtain the output fragment features of the gate-enhanced attention layer z i Represented as z i =σ((x′ L,i ||x″′ L,i )U) and interpreted as x′ L,i and x″′ L,i Pass to The weight coefficient of , where U is a learnable vector, σ represents the Sigmoid activation function, and (·||·) is the operator that concatenates two vectors; Step 4.7: Pass Equation, the feature vectors of the ligand fragments are added into a vector representing the ligand characteristics.
3. The deep learning prediction method for target-ligand binding affinity based on gated attention mechanism according to claim 1, characterized in that: Step 5 specifically includes: Step 5.1: Convert the protein matrix x P Send to the one-dimensional convolution layer and the maximum pooling layer; in this way, the one-dimensional convolution layer and the maximum pooling layer are able to extract key high-order amino acids from the entire protein sequence, which helps to focus the amino acid features on the pocket area of the target-ligand complex, while reducing model redundancy and saving the computational time cost of the next attention layer; Step 5.2: The protein matrix x′ processed in step 5.1 P Sent to the gate-enhanced attention layer; in the attention layer, x′ P First, it is transformed by a learnable weight matrix W2 to obtain a new protein matrix x″ with significant features P ; Step 5.3: By equation Get the attention coefficient e kl , where e kl Indicates the importance of the lth high-order amino acid feature to the kth high-order amino acid feature, by summing and To force e kl Equal to e lk ; Step 5.4: kl Sent to a SoftMax activation function, through a kl =exp(e kl ) / ∑ l exp(e kl ) equation to obtain the normalized attention coefficient a kl ; Step 5.5: Use the obtained a kl , through x″′ P,k =∑ l a kl x″ P,l The equation updates each high-order amino acid feature as a linear combination of adjacent high-order amino acid features, and then adds the ReLU activation function to x″′ P,k ; Step 5.6: Apply the gate enhancement algorithm to pass the previous high-order amino acid feature x′ P,k and x″′ P,k The linear combination of the equations To obtain the output high-order amino acid features of the gate-enhanced attention layer z k Represented as z k =σ((x′ P,k ||x″′ P,k )U) and interpreted as x′ P,k and x″′ P,k Pass to The weight coefficient of , where U is a learnable vector, σ represents the Sigmoid activation function, and (·||·) is the operator that concatenates two vectors; Step 5.7: Pass Equation, to obtain the final output protein feature vector 4. The deep learning prediction method for target-ligand binding affinity based on gated attention mechanism according to claim 1, characterized in that: Step 6 specifically includes: Step 6.1: Output the ligand feature vector And the output protein feature vector spliced together to represent the target-ligand complex features; Step 6.2: The features are then sent to the fully connected layer with LogSoftMax activation function and the output layer with LogSoftMax activation function; Step 6.3: A dropout layer is also added before the output layer to overcome the overfitting problem during training; an additional SoftMax operation is performed outside the training process to normalize the model output.
