“The question of whether a computer can think is no more interesting than the question of whether a submarine can swim.” — Edsger W. Dijkstra
If you are conversant about the tech world, I’m sure you have got the point of the above line. If not, then a brief intro about AI and its utilisation in every branch of life. AI stands for Artificial Intelligence. Yeah, you got it right!!! Artificial Intelligence is an approach to make a computer, a robot, or a product think how intelligent humans think, i.e. the intelligence demonstrated by machines is known as Artificial Intelligence.
Sounds cool? Yeah, the definition is cool. But way cooler its applications. Where is it used? You should ask the other way around — where not. Yeah, you read it right; almost everywhere, it is being used nowadays. The uses of Artificial Intelligence would broadly fall under the data processing category, which would include the following —
- • Searching within data and optimising the search to give the most relevant results
- • Logic-chains for if-then reasoning which can be applied to execute a string of commands based - • on parameters
- • Pattern-detection to identify significant patterns in extensive data set for unique insights
- • Applied probabilistic models for predicting future outcomes
You can learn more about Artificial Intelligence using the following link —
But as the heading says, the blog is to ease your following synthetic approach; I’ll jump into AI in the chemistry field. Yes, AI is used in this field as well. Initially, research in AI applied to chemistry has primarily been fueled by the need to accelerate drug discovery and reduce its huge costs and the time to market for new drugs. So far, AI has made significant progress towards the acceleration of drug discovery R&D. However, AI applications in chemistry are not limited to drug discovery, as discussed in a review published in 2018 (Nature). Two widespread usages are —
(1) Product Prediction
(2) Retrosynthetic Analysis
However, here I’ll show the practical approach to use it, not any theory and stuffs behind it. Though it’s always better to get the theory and stuff behind, so if you are interested, please consider these articles.
⁕ ⁕ ⁕
IBM gives us free AI tools in the Cloud for Digital Chemistry (IBM RXN for Chemistry). Using a simple Ketcher drawing interface, one can sketch any structures and perform like predicting Chemical Reactions and Retrosynthesis Pathways. Don’t worry; stay calm and relaxed, and I’ll guide you step by step for both processes.
Step 1: Getting Started
The very first thing you have to do is going to the site provided by IBM using this link — Now you can see a blue button at the top-right corner (marked by the red box) of your screen saying “Get Started!” [Figure 1], click the button to sign up.
Step 2: Going to Registration Page
The next step is to sign up as you are first time using IBM RXN. You can do so by using the blue coloured “Login” button (marked by the red box)[Figure 2] —
Step 3: Registering Yourself
This is the time to register yourself. Now you can choose three different options — a) Login with Facebook (marked by the black box), b) Login with Google (marked by the green box) and last c) Sign up! (marked by the red box) [Figure 3A]. Here I’m using Google authentication [Figure 3B]; You can register using any of the three processes.
Step 4: Creating a Project
Now you are good to start your project. Create a new project using the blue button saying “Create a new project now!” (marked by the red box)[Figure 4A]. Then give a name to your project and click the button “Create Project” (marked by the red box)[Figure 4B].
Step 5: Doing AI-Based Retrosynthesis/Reaction:
This step can be separated into two central parts as follows —
A) AI-Based Retrosynthesis:
This part also can be separated into various small parts —
[1]. Drawing the Target Molecule: You can sketch a 2D molecule using the Ketcher drawing interface [Figure 5]. It is like drawing molecules in ChemDraw, and I’m pretty sure you have used it.
Figure 5: Drawing molecules using Ketcher drawing interface
Also, you can type or paste the SMILES (Simplified Molecular Input Line Entry System) code for a molecule and load the corresponding molecule using the Load in Ketcher option in your workspace [Figure 6].
Figure 6: Loading molecule using SMILES code
[2]. Starting Retrosynthetic Analysis: Once you have done importing the target molecule, you are good to go to perform your retrosynthetic analysis; it’s as simple as that. Just click the blue coloured button saying “New Retrosynthesis” (marked by the red box)[Figure 7].
[3]. Setting AI Model & Parameters: The next step is choosing your AI model, quality of the retrosynthesis analysis, and other parameters using the Advanced Option. However, I’ve used all the defaults and kept the quality of analysis fast (worst quality) for getting a fast result. Then start your analysis process by using the blue coloured button saying “Run retrosynthesis” (marked by the red box)[Figure 8].
[4]. Live Update Window: Now, you can see a window popping up (marked by the red box)[Figure 9]. You can see the approximate timing to finish up the job. You can leave the window and come back later for the result, or you can stay there.
[5]. Result Analysis: After the job is finished, you can see a green coloured popup coming up from the bottom-right corner of the screen (marked by the red box)[Figure 10]. The default selected process is the best process according to the AI-based retrosynthetic analysis.
You can find other retrosynthetic approaches followed by the first one [Figure 11], strictly named Sequence 0 and so on. However, you can check the Confidence (marked by the black box)[Figure 10]and Optimization score (marked by the blue box)[Figure 10] to know how convenient the result is. As you can understand the Sequence 0 has the highest confidence and highest optimisation score always. You can export one sequence by using the PDF option [Figure 11]. Also, you can add one or more sequences to your collection for further study [Figure 11].
Figure 11: Considering all results, exporting one sequence as PDF format and adding one or more sequences to the collection
Now you can see your collection by going to the main project folder and then clicking the VIEW RETROSYNTHESIS option (marked by the red box)[Figure 12A]. The sequence I’ve added to my collection is shown in Figure 12B] (marked by the red box).
B) AI-Based Reaction Prediction:
This part also can be separated into various small parts —
[1]. Drawing the Reactants: Like the previous target molecule drawing, you can draw reactants using the Ketcher drawing interface [Figure 13]. Also, you can load the reactant molecules using their SMILES code (same as the previous one). The most important thing you don’t have to give any ‘+’ sigh to indicate the reaction between the reactants. You can draw all the required reactants side by side.
Figure 13: Drawing Reactants
[2]. Starting Reaction Prediction: The next thing is to start the reaction prediction using the blue coloured button saying “New Reaction” (marked by the red box)[Figure 14A]. In the next step, you have to choose the AI model (I’ve kept it default) and then click “Run Prediction” (marked by the red box)[Figure 14B]. On the next screen, you’ll see a green popup saying “Prediction Started” (marked by the red box)[Figure 14C]. The next screen shows the prediction is being made by the AI model [Figure 14D].
[3]. Getting Result: Now, here, you will get only one prediction for the reaction, and you will get the notification in the green coloured popup (marked by the red box)[Fig.-1.15]. To get more predictions, you have to click “Generate More Outcomes” (marked by the green box)[Figure 15].
After the job completion, you can find all the possible predicted products using different pathways [Figure 16] and also add the reaction to your collection like previous.
Figure 16: Studying all predictions
Now you can see your collection by going to the main project folder and then clicking the VIEW REACTIONS option (marked by the red box)[Figure 17A]. The sequence I’ve added to my collection is shown in Figure 17B] (marked by the red box).
⁕ ⁕ ⁕