A method for generating and screening MOFs with high methane adsorption rate
Through artificial intelligence technology, SMILES representation and RNN model are used to screen out MOFs with high methane adsorption rate, which solves the problem of slow progress in designing and screening MOFs in traditional methods, achieves efficient screening and generation of MOFs, and improves the accuracy of methane adsorption rate. sex and efficiency.
Patent Information
- Application Number
- CN202010374619.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-06
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-05-06
AI Technical Summary
Traditional methods require a lot of manual participation when searching for or designing metal organic frameworks (MOFs) with high methane adsorption rates, progress is slow, and there is a lack of efficient screening methods.
Artificial intelligence is used for data training design and screening, and hypothetical MOFs with high methane adsorption rates are screened out by calculating SMILES representation, building RNN models, evaluating models and best-performing classifiers. Specific steps include calculating molecular fingerprints, training RNN models, evaluating sample validity and selecting the best performing classifier to predict and screen out MOFs with high methane adsorption rates.
It greatly saves time and manpower, improves search efficiency, ensures the high performance and screening accuracy of generating new materials, and improves the screening accuracy and efficiency of MOFs with methane adsorption rate.
Smart Images

Figure CN111755081B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of intelligent generation and screening of functional MOFs, and in particular relates to a method for generating and screening MOFs with high methane adsorption rate. Background Art
[0002] Methane is a widely used clean energy, but its traditional storage method is energy-consuming, and people are still looking for better storage methods. Metal-Organic Frameworks (MOFs) are a type of crystalline porous material with a periodic network structure formed by self-assembly of inorganic metal centers (metal ions or metal clusters) and bridging organic ligands. They have nanoscale pores that enable MOFs to effectively capture gas molecules, so MOFs can be used for methane storage, and MOFs with higher methane adsorption rates are the focus of research by technicians.
[0003] When it comes to finding or designing new MOFs, the traditional research approach is to obtain high-performance MOFs with new structures by synthesizing new ligands or changing the coordination mode. However, traditional methods require a lot of manual participation, and experimental progress is slow. With the development of MOFs over the past decade, a large amount of data has been accumulated, making it possible to design and screen new materials with effective chemical structures through data training using artificial intelligence. Summary of the invention
[0004] The purpose of the present invention is to provide a method for generating and screening MOFs with high methane adsorption rate, to improve the search efficiency by data training design and screening MOFs with chemical structures with high methane adsorption rate through artificial intelligence, and to provide a reference for synthesizing MOFs with high methane adsorption rate in the laboratory.
[0005] The technical solution is as follows:
[0006] A method for generating and screening MOFs with high methane adsorption rate comprises the following steps:
[0007] 1) Calculate the SMILES representation;
[0008] 2) Calculate molecular fingerprints using SMILES;
[0009] 3) Build and train the RNN model to generate SMILES representations of hypothetical MOFs;
[0010] 4) Construct an evaluation model to determine the effectiveness of samples generated by the RNN model;
[0011] 5) Screening the best classifier;
[0012] 6) The methane adsorption performance of hypothetical samples evaluated as effective MOFs is predicted by the best performing classifier to screen out hypothetical MOFs with high methane adsorption rates.
[0013] Preferably, the molecular fingerprint formats in step 2) include MACCS, RDKit, Morgan and Avalon.
[0014] Preferably, in step 3), the RNN model adopts the most original structure in which the input and output sequences are of equal length, and LSTM is used to improve the model's ability to handle long-term dependencies, and the loss function of the model adopts cross entropy.
[0015] Preferably, in the step 4), the Tanimoto coefficients of the MACCS, RDkit, Morgan and Avalon molecular fingerprints of each sample in the data set are first calculated to measure the maximum similarity, and the average value is calculated to obtain the corresponding data distribution diagram, and then the average maximum similarity of the MACCS, RDkit, Morgan and Avalon molecular fingerprints of the samples generated by the RNN model and the samples in the data set is calculated, and finally the confidence interval is set. If the calculation result of the generated sample is within the corresponding confidence interval, it is considered that the generated sample belongs to the hypothetical sample of effective MOFs.
[0016] Preferably, the step 5) is specifically as follows: most of the samples in the data set are used as a training set, and the other part of the samples are used as a test set, and convolutional neural networks, long short-term memory networks, multi-layer perceptrons, naive Bayes, k nearest neighbors, logistic regression, and support vector machine classifiers are used to train the methane adsorption rate of MOFs in combination with the SMILES representation and molecular fingerprint input data in the training set, and the accuracy, precision, recall rate, F1 score, and AUC classification indicators of each classifier calculated are measured using the data in the test set to screen out the classifier with the best comprehensive performance.
[0017] The beneficial effects of the present invention are:
[0018] First, when designing the model, the present invention does not require experts to calculate the properties of MOF, which greatly saves time and manpower;
[0019] Second, the RNN model trained by the present invention can learn the common characteristics of high-performance MOFs to provide the possibility of generating new materials;
[0020] Third, the evaluation model of the present invention avoids the manual screening of the evaluation of the generated samples;
[0021] 4. The classifier selected by the method of the present invention has accurate classification effect, and has high screening accuracy and efficiency for MOFs with high methane adsorption rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flow chart of a method for generating and screening MOFs with high methane adsorption rate according to the present invention.
[0023] Figure 2 It is the SMILES representation of some organic ligands of MOFs in the present invention.
[0024] Figure 3 It is a structural diagram of the RNN model in the present invention.
[0025] Figure 4 This is an example of the RNN model in the present invention learning to generate a molecule with the SMILES of "OC / C=C / C=C / CO".
[0026] Figure 5 These are the PR curves and ROC curves of the seven classifiers in the present invention.
[0027] Figure 6 It is the loss image in the RNN model training process of the present invention.
[0028] Figure 7 It is the frequency histogram of the maximum similarity of the molecular fingerprint in the data set in the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the technical solution of the present invention, the method for generating and screening MOFs with high methane adsorption rate provided by the present invention is described in detail below in conjunction with the examples. The following examples are only used to illustrate the present invention and are not used to limit the scope of the present invention.
[0030] The method for generating and screening MOFs with high methane adsorption rate provided by the present invention comprises the following steps:
[0031] In the first step, the simplified molecular linear input specification (SMILES) representation of the samples in the MOFs dataset is calculated;
[0032] In the second step, SMILES was used to calculate the molecular fingerprints of MACCS, RDKit, Morgan, and Avalon;
[0033] The third step is to design and train a recurrent neural network (RNN) model to generate SMILES representations of a large number of hypothetical MOFs. The model adopts the most original structure with equal length of input and output sequences. The RNN module adopts LSTM to improve the model's ability to handle long-term dependencies, and the model's loss function adopts cross entropy.
[0034] The fourth step is to design an evaluation model to determine the effectiveness of the samples generated by the RNN model. First, the maximum similarity of the MACCS, RDkit, Morgan, and Avalon molecular fingerprints of each sample in the data set is calculated (measured using the Tanimoto coefficient), and the average value is calculated to obtain the corresponding data distribution map. Then, the average maximum similarity of the four molecular fingerprints between the model-generated samples and the samples in the data set is calculated. Finally, the confidence level that meets the experimental requirements is set. If the calculation result of the generated sample is within the corresponding confidence interval, it is considered that the generated sample is similar to the sample in the data set and is a sample of effective MOFs.
[0035] The fifth step is to design and select the best classifier, using 80% of the samples in the data set as the training set and 20% of the samples as the test set. Convolutional Neural Networks (CNN), Long Short-Term Memory (LSTM), Multilayer Perceptron (MLP), Naive Bayes (NB), k-Nearest Neighbor (kNN), Logistic Regression (LR), Support Vector Machine (SVM) classifiers are used to train the methane adsorption rate of MOFs in combination with the SMILES representation, MACCS, RDKit, Morgan, and Avalon molecular fingerprint input data in the training set. The data in the test set are used to measure the five classification indicators of the calculated accuracy, precision, recall, F1 score, and the area under the ROC curve and the coordinate axis (AUC) of each classifier, and select the classifier with the best comprehensive performance;
[0036] In the sixth step, the trained classifier predicts the methane adsorption performance of samples evaluated as effective MOFs and screens out hypothetical MOFs with high methane adsorption rates.
[0037] Example 1
[0038] The actual data is used to analyze the effect of the model proposed in this invention. Figure 1The flowchart shown is implemented in Python, and the model is trained using NVIDIA Tesla K80 GPU. The database used in the present invention is a database of crystal information files (CIF) containing 51,163 kinds of MOFs obtained from the paper "In silico discovery of metal-organicframeworks for precombustion CO2capture using a genetic algorithm" published by Chung YG et al. in Science Advances in 2016. SMILES describes a chemical structure with a string of characters, and the molecular fingerprint deconstructs and encodes the molecule into a bit string. By a simple "yes-no" check, whether there is a predefined set of functional groups, MACCS, RDKit, Morgan, and Avalon fingerprints are binary strings of varying lengths. The present invention uses Open Babel software to convert CIF into SMILES and uses the RDKit toolkit to calculate 4 kinds of molecular fingerprints corresponding to SMILES as a data set for model training, and 80% of the data in the data set is used as a training set, and the rest is a test set. Figure 2 Here are the SMILES representations of some organic ligands of MOFs.
[0039] Figure 3 Shows the principle of the RNN model, x t is the input of the tth layer, h t is the hidden state of the tth layer, which is responsible for the memory function of the entire neural network, composed of the hidden state h of the previous layer t-1 And the input x of this layer t Joint decision making. t It is the output of the tth layer, and the linear relationship parameters U, V, and W of the model are all shared. Figure 4 The example of a molecule generated by the model with SMILES "OC / C=C / C=C / CO" is given. Each character of SMILES is encoded using a one-hot vector, and the output target of the current character is the next character. Since the length of SMILES is different, the end character "\n" is set, and the loop stops when the end character is encountered. If the target is different from the actual output, the model generates a loss, and the loss function uses cross entropy. During the training process, the stochastic gradient descent algorithm is used to reduce the loss of the model, and the learning rate is set to 0.0001. Figure 6 An image showing the model loss during the RNN model training process. Figure 6 (a) When the batch size is set to 128, the loss curve fluctuates more and the effect is not good; Figure 6 (b) When the batch size is set to 256, the loss curve is more stable and converges to around 0.3. The model generation effect is shown in Table 1.
[0040] Table 1 Model generation results at different stages
[0041]
[0042] When setting the evaluation model, we first calculated the frequency histogram of the maximum similarity of the four molecular fingerprints of the sample in the data set, such as Figure 7 shown. Figure 7 (a) shows that there are about 16,000 samples whose MACCS fingerprint has the maximum similarity of 1, which means that for each of these 16,000 samples, there is at least one sample in the dataset that is exactly the same as its MACCS fingerprint. The rest of the data is approximately linearly distributed, with a minimum value of 0.0965. Figure 7 (b) shows that except for about 1,800 samples whose maximum RDKit fingerprint similarity is 1, the maximum RDKit fingerprint similarity of the remaining samples roughly follows a Gaussian distribution, with a mean of 0.8923 and a minimum of 0.5357. Figure 7 (c) shows that the Morgan fingerprint of the sample has the highest frequency with a maximum similarity of 0.4917, and the remaining data is an exponential function and is distributed on both sides of the highest frequency, with a minimum value of 0.0965. Figure 7 (d) shows that the maximum similarity of the sample's Avalon fingerprint is Gaussian distributed, with a mean of 0.8019 and a minimum of 0.5077. Then, the frequency histogram of the average value of the maximum similarity of the four molecular fingerprints of the sample in the data set is obtained, as shown in Figure 7 As shown in (e), it is determined to be subject to Gaussian distribution, with a minimum value of 0.5077 and a mean of 0.8019. The confidence interval of the evaluation model is set to 99.87%, and the confidence interval is [0.5949,1]. The average maximum similarity of the four molecular fingerprints between the sample generated by the model and the sample in the training set is calculated. If it is within the confidence interval, it is determined to be a hypothetical MOFs.
[0043] When constructing a classifier to classify the methane adsorption rate of MOFs, the present invention combines seven classification models, namely CNN, LSTM, MLP, NB, kNN, LR, and SVM, with five types of input data, namely SMILES representation, MACCS, RDKit, Morgan, and Avalon molecular fingerprint, for a total of 35 combinations. Figure 5 These are the PR curves and ROC curves of the seven classifiers in the present invention that have selected their respective best input data. The image shows that the classification effect is best when SMILES is used as the data input and CNN is used as the classifier. At this time, the accuracy is 0.9437, the precision is 0.9421, the recall rate is 0.9440, the F1 score is 0.9430, and the AUC is 0.9866. All classification indicators are optimal.
[0044] The generated samples of the RNN model were evaluated. Taking the generation of 10,000 samples as an example, the grammatical accuracy of the generated SMILES was 63.89%, and the samples identified as hypothetical MOFs accounted for 88.26% of the grammatical correct samples. The probability of samples identified as hypothetical MOFs belonging to MOFs with high methane adsorption rate was 16.44%.
[0045] The examples of the present invention are described in detail above in conjunction with the embodiments, but the present invention is not limited to the above examples. Various changes can be made within the knowledge scope of ordinary technicians in the field without departing from the purpose of the present invention, and should also be regarded as the protection scope of the present invention.
Claims
1. A method for generating and screening MOFs with high methane adsorption rate, characterized in that: The following steps are involved: 1) Calculate the SMILES representation; 2) Calculate molecular fingerprints using SMILES; 3) Build and train the RNN model to generate SMILES representations of hypothetical MOFs; 4) Build an evaluation model to determine the effectiveness of samples generated by the RNN model; 5) Screening the best performing classifier; 6) Predicting the methane adsorption performance of hypothetical samples of effective MOFs through the best performing classifier to screen out hypothetical MOFs with high methane adsorption rates; The molecular fingerprint formats in step 2) include MACCS, RDKit, Morgan and Avalon; In step 3), the RNN model adopts the most original structure in which the input and output sequences are of equal length, and uses LSTM to improve the model's ability to handle long-term dependencies. The loss function of the model adopts cross entropy. In the step 4), the Tanimoto coefficients of the MACCS, RDkit, Morgan and Avalon molecular fingerprints of each sample in the data set are first calculated to measure the maximum similarity, and the average value is calculated to obtain the corresponding data distribution diagram. Then, the average maximum similarity of the MACCS, RDkit, Morgan and Avalon molecular fingerprints of the samples generated by the RNN model and the samples in the data set is calculated. Finally, the confidence interval is set. If the calculation result of the generated sample is within the corresponding confidence interval, it is considered that the generated sample belongs to the hypothetical sample of effective MOFs.
2. The method for generating and screening MOFs with high methane adsorption rate according to claim 1, characterized in that: The step 5) is specifically as follows: most of the samples in the data set are used as training sets, and the other part of the samples are used as test sets. Convolutional neural networks, long short-term memory networks, multi-layer perceptrons, naive Bayes, k-nearest neighbors, logistic regression, and support vector machine classifiers are used to train the methane adsorption rate of MOFs in combination with the SMILES representation and molecular fingerprint input data in the training set. The accuracy, precision, recall rate, F1 score, and AUC classification indicators of each classifier calculated are measured using the data in the test set to screen out the classifier with the best comprehensive performance.
