MarkTechPost shows how to build an AI co-scientist with a QSAR model to hunt for EGFR inhibitors
On July 6, 2026, MarkTechPost published a tutorial on building an autonomous AI co-scientist to search for inhibitors of the EGFR C797S mutation, which makes tumors resistant to targeted therapy. The system pulls data from ChEMBL and UniProt, standardizes molecules with RDKit, and trains a scaffold-split Random Forest QSAR model on Morgan fingerprints. It explains predictions with SHAP, then uses BRICS fragments to assemble and rank new candidate molecules.
AI-processed from MarkTechPost; edited by Hamidun News
On July 6, 2026, MarkTechPost published a hands-on tutorial on building an autonomous AI co-scientist to search for inhibitors of the EGFR C797S mutation, one of the causes of drug resistance in lung cancer.
How the system collects data
The pipeline starts by defining the target protein: using the ChEMBL and UniProt databases, the authors find structural and functional information on EGFR and its therapy-resistant C797S form. From ChEMBL they extract experimental IC50 activity records, the concentration of a substance at which half of the target's activity is inhibited. These values are converted to pIC50, a standard logarithmic scale of binding strength that suits training a machine learning model.
- Data sources: ChEMBL (chemical activity) and UniProt (protein target)
- Target mutation: EGFR C797S, one of the causes of tumor resistance to targeted drugs
- Activity measure: IC50, converted to pIC50
- Molecular structure encoding: Morgan fingerprints via the RDKit library
- Model: Random Forest with a scaffold-split of the dataset
How the QSAR model is trained
After the data is collected and cleaned, RDKit standardizes the chemical structures and computes Morgan fingerprints, numerical vectors that encode the environment of each atom in a molecule. A Random Forest model is trained on these features to predict pIC50 for new compounds it has not seen before.
The key methodological detail is the scaffold-split. Instead of splitting data randomly into training and test sets, the authors group molecules by chemical scaffold and make sure compounds sharing the same core do not land in both sets. This tests more honestly whether the model can generalize to structurally new classes of compounds, rather than just memorizing variants of molecules it already knows.
Why SHAP and candidate generation matter
To see which parts of a molecule raise the predicted activity, the authors use SHAP, a machine learning interpretability method that shows each feature's contribution to the final prediction. This turns the Random Forest from a black box into a tool that tells chemists which structural elements to keep or strengthen in new candidates.
Next, the pipeline applies the BRICS algorithm, which breaks known active molecules into fragments at the bond-cleavage points typical of chemical synthesis. By reassembling these fragments in new combinations, the system generates a library of candidate structures and uses the trained QSAR model to rank them by predicted binding strength to EGFR C797S, selecting the most promising ones for further testing.
What this means
The tutorial shows how open databases, RDKit, classical machine learning and explainable AI combine into a working tool for early-stage drug discovery, without proprietary platforms and with transparent logic behind each prediction that a chemist can check.
Frequently asked questions
What is a scaffold-split in QSAR model training?
It is a way of dividing data into training and test sets by the chemical scaffold of the molecules rather than at random. This checks whether the model can predict the activity of genuinely new structures, rather than just recognizing ones similar to those it has already seen.
Why does the pipeline need BRICS fragments?
BRICS breaks known active molecules into fragments at the bond-cleavage points typical of synthesis, then lets the pipeline reassemble them into new candidate structures, which the model ranks by predicted binding strength to EGFR C797S.
- Dec 2, 2026Ai2 Releases MolmoWeb2 Web Agents: 27B Model Solves 75.3% of Tasks
- Dec 2, 2026Amazon Releases Ergo Open Weights for Coding: 1.1 Trillion Parameters and 2,200 Tokens per Second
- Dec 2, 2026OpenAI Opens Dots Agent to ChatGPT Plus Subscribers With 10,000+ Plugins
- Dec 2, 2026FSK Group Has Launched 395 AI Agents in Six Months, with a 97.7% Success Rate
Key Questions Answered
What is a scaffold-split in QSAR model training?
It is a way of dividing data into training and test sets by the chemical scaffold of the molecules rather than at random. This checks whether the model can predict the activity of genuinely new structures, rather than just recognizing ones similar to those it has already seen.
Why does the pipeline need BRICS fragments?
BRICS breaks known active molecules into fragments at the bond-cleavage points typical of synthesis, then lets the pipeline reassemble them into new candidate structures, which the model ranks by predicted binding strength to EGFR C797S.
How the system collects data?
The pipeline starts by defining the target protein: using the ChEMBL and UniProt databases, the authors find structural and functional information on EGFR and its therapy-resistant C797S form. From ChEMBL they extract experimental IC50 activity records, the concentration of a substance at which half of the target's activity is inhibited. These values are converted to pIC50, a standard logarithmic scale of binding strength that suits training a machine learning model.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
