Example 2.3 — Substructure search: how many quinazolines, and which are most potent?
Date: 2026-11-23
Model: claude-sonnet-5-5
BindingDB release: 202611
Generated by: mcp-bindingdb v0.1.17
Contents: 1 exchange · 1 figure
Conversation
👤 User
How many compounds in BindingDB contain a quinazoline core, and which are the most potent?
🧠 Assistant
38,987 compounds in BindingDB (out of 1,466,457) contain a quinazoline ring. Searching only for measurements of 0.1 nM or better narrows this to 15 compounds. The grid below shows them, most potent first, aligned on the quinazoline ring (the shared core the grid found itself, 10 atoms, highlighted). Each card has one bar: the compound's single most potent measurement and the target it was made on, with the number of values of that type for that pair and their median.
The list is dominated by 4-anilinoquinazoline EGFR inhibitors: PD153035, afatinib, dacomitinib, erlotinib, lapatinib, poziotinib, gefitinib, canertinib and an early 6-acrylamido research compound (BDBM4567). This is the best-known use of the ring. The same ring also appears in compounds for quite different targets: an MMP-13 inhibitor (CHEMBL3359091), an alpha-blocker (prazosin), a VEGFR2 inhibitor (vandetanib), an antifolate (trimetrexate), a DPP-4 inhibitor for diabetes (linagliptin) and a triazoloquinazoline adenosine A3 ligand.
Lesson: a substructure match is not a scaffold match. A substructure search finds every compound that contains the query anywhere. In linagliptin, the quinazoline is a side-chain substituent, not the core of the drug, and it still matches. Three more points:
Count first. With count_only you learn the size of the result (38,987 here) before you fetch rows. A plain listing is capped by limit and favours compounds with the most measurements, so it is not a random sample.
Aromaticity and tautomers. The query was written as aromatic SMILES. Vandetanib matched even though BindingDB stores it as a quinazolin-imine tautomer, because RDKit still treats that ring as aromatic. CHEMBL3359091 matched through a quinazolinone ring, and the A3 ligand through a fused triazoloquinazoline. If you need exactly one tautomer or ring form, write a SMARTS query (Example 2.4).
Best values are single measurements. The medians in the grid tell a different story for several drugs: erlotinib's best EGFR IC50 is 0.029 nM but its median over 173 values is 30 nM, gefitinib's is 22 nM over 187 values and lapatinib's 11 nM over 75. Five compounds (PD153035, linagliptin, dacomitinib, the A3 ligand and BDBM4567) rest on one or two values, shown as faint bars. Dacomitinib's best value is on an EGFR construct from a patent and BDBM4567's on the isolated kinase domain. See Example 1.1 for how to check.
How this was answered
substructure_search with the quinazoline ring as the query and count_only=true: 38,987 matching compounds across the whole database.
substructure_search with the same query and max_value_nm=0.1, limit=15: matching compounds that have a measurement of 0.1 nM or better, each with its most potent such value, most potent first. With an affinity filter, the search runs only over compounds that have a qualifying measurement (22,182 here).
run_sql on the activity table: for each compound, the number and median of its exact values of the same type on the same target, for the notes under the bars.
draw_structure_grid, aligned on the quinazoline ring: one card per compound, one bar each.
Try next
"Which targets are hit by the most quinazoline compounds?" (Use summarize_by_target, as in Example 2.5.)
"Rank the EGFR quinazolines by their median IC50 instead of their best value"
The most potent quinazolines in BindingDB
The 15 quinazoline-containing compounds with a measurement of 0.1 nM or better, most potent first. Each bar is the compound's single most potent measurement and the target it was measured on.
CHEMBL3359091
BDBM50102750 · quinazolinone
MMP-130.0039 nM IC503 values, all 0.0039 nM
PD153035
BDBM3032 · 4-anilinoquinazoline
EGFR0.006 nM Ki1 value
Linagliptin
BDBM50228403 · quinazoline as side chain
DPP-40.0066 nM Kd2 values · other 5.3 nM
Prazosin
BDBM29568 · alpha-1 blocker
ADRA1A0.01 nM Kibest of 12 · median 0.27 nM
Dacomitinib
BDBM112499 · EGFR construct 1-18,20-1210
EGFR (construct)0.01 nM IC501 value on this construct
Bars show the single most potent value; the note gives how many exact values of that type exist for the compound on that target and their median. Faint bars rest on fewer than 3 values.
Bar colours mark the measurement type: IC50, Ki and Kd values are not directly comparable.
Dacomitinib's best value is on an EGFR construct (residues 1-18 and 20-1210) from a patent; BDBM4567's is on the EGFR kinase domain (668-1210).