Example 5.7 — Imatinib's targets and the network they form¶

A reproducible record of an AI-assisted BindingDB analysis: each prompt, the BindingDB tool calls that answered it with their recorded results, the answer, and its figures. Run all cells to show the recorded results, or rerun every call on your own copy of the database and check each result against the recorded one.

  • Date: 2026-11-23
  • Model: claude-sonnet-5-5
  • Data: BindingDB release 202611 (BDB-mySQL_All_202611_dmp.zip, SHA-256 daea9260d404919a183ce02d91bf4b9c49b410bea7eaaeba105c8e0280510381)
  • Database build: 2026-11-21T01:08:15+00:00, DuckDB 1.5.6
  • Derived data: standard InChIKeys computed from SMILES by RDKit 2026.03.6; compound_property computed from SMILES (largest fragment) by RDKit 2026.03.6
  • Server: mcp-bindingdb v0.1.17, commit 79dae5d22c0f
  • Software: python 3.12.7, duckdb 1.5.6, rdkit 2026.03.6, mcp 2.3.0, gemmi 0.7.5
  • Notebook generated: 2026-11-24T04:55:54Z
  • Contents: 1 exchange · 3 tool calls · 1 figure · 1 code cell

How to run¶

Keep the notebook in its folder, which holds everything it needs: requirements.txt (mcp-bindingdb at its commit and the versions of the packages it needs), the recorded results in data/, the figures in figures/ and the analysis code the notebook imports (plot_imatinib_network.py). With uv, from that folder (replace the path with yours):

cd /path/to/5.7-imatinib-target-network-notebook
uv run --no-project --with-requirements requirements.txt --with jupyterlab jupyter lab 5.7-imatinib-target-network-notebook.ipynb

then choose Run → Run All Cells. The first start installs the packages, which takes a minute or two; the cells show the recorded results, so no database is needed. Without uv: pip install -r requirements.txt jupyterlab, then jupyter lab 5.7-imatinib-target-network-notebook.ipynb in the folder.

How to rerun the calls¶

To rerun every BindingDB call on your own copy of release 202611 and check each result against the recorded one, set RERUN = True in the setup cell and run all cells, or rerun the notebook without opening Jupyter, writing a copy with the new results:

cd /path/to/5.7-imatinib-target-network-notebook
BINDINGDB_RERUN=1 uv run --no-project --with-requirements requirements.txt --with nbconvert jupyter nbconvert --to notebook --execute --output 5.7-imatinib-target-network-notebook-rerun.ipynb 5.7-imatinib-target-network-notebook.ipynb

A rerun needs the database: the one BINDINGDB_DUCKDB=/path/to/bindingdb_202611.duckdb names (put it before uv run), else the newest one mcp-bindingdb built on this computer, for example for Claude Desktop. With neither, the first rerun builds one, which takes about half an hour and 2.4 GB. To build exactly release 202611, with a clone of mcp-bindingdb:

git clone https://github.com/sbl-sdsc/mcp-bindingdb.git
cd mcp-bindingdb
git checkout 79dae5d22c0f15b8ded9b49adc8b105f0463703a
scripts/build_duckdb.sh --release 202611

The setup cell checks the database's release and source checksum against the recorded ones.

Run as it is, each call cell shows its recorded result, read from data/ and checked against the SHA-256 digest recorded in the cell. Rerun, it shows the new result with ✅ when it matches the recorded one (floats to 10 significant digits, ids of viewers and files left out). Calls to PubChem, RCSB or PDBe depend on those services and may differ. The prose answers are the model's and are not recomputed. Code cells hold the analysis code the model wrote; they run as written (reading the results with replay.result(n), the result of Call n) and draw their figures again, which are not compared.

In [ ]:
# Shows the results recorded during the session (data/), so the notebook runs without a database. Set
# RERUN = True (or start Jupyter with BINDINGDB_RERUN=1) to rerun every BindingDB call on a local copy of
# the database instead and check it against its recorded result: see 'How to rerun the calls' above.
from mcp_bindingdb.notebook import Replay

RERUN = False
replay = Replay(release='202611', source_zip_sha256='daea9260d404919a183ce02d91bf4b9c49b410bea7eaaeba105c8e0280510381', rerun=RERUN)
Recorded with BindingDB release 202611, mcp-bindingdb v0.1.17 (commit 79dae5d22c0f)
python 3.12.7, duckdb 1.5.6, rdkit 2026.03.6, mcp 2.3.0, gemmi 0.7.5

Exchange 1¶

👤 User

Find the targets that bind to Imatinib with an affinity (Ki, Kd, IC50) of <= 1 micromolar. Then create a visual protein protein interaction network around these targets with the same affinity threshold.

In [ ]:
Call 1 · search_compounds · ran 2026-11-24 04:55:54 UTC (3 lines)
# Call 1 · search_compounds · ran 2026-11-24 04:55:54 UTC
await replay.call(1, 'search_compounds', {'query': 'imatinib', 'limit': 5},
                  sha256='1f2a50bf819de48009ec8144d0b21eef4aca07d81ee80cd8718d9c5f2d42211d')

Call 1 · search_compounds · recorded result · sha256 1f2a50bf819d…

3 rows

monomerid bdbm_id name inchi_key smiles mol_weight n_activities n_targets matched_name
13530 BDBM13530 Gleevec KTUFNOKKBVMGRW-UHFFFAOYSA-N CN1CCN(Cc2ccc(cc2)C(=O)Nc2ccc(C)c(Nc3nccc(n3)-c3cccnc3)c2)CC1 493.26 1156 459 Imatinib
31341 BDBM31341 IMATINIB KTUFNOKKBVMGRW-UHFFFAOYSA-N Cc1ccc(cc1Nc2nccc(n2)c3cccnc3)NC(=O)c4ccc(cc4)CN5CCN(CC5)C 0 0 IMATINIB
50434581 BDBM50434581 imatinib-CD3 KTUFNOKKBVMGRW-BMSJAHLVSA-N [2H]C([2H])([2H])N5CCN(Cc4ccc(C(=O)Nc3ccc(C)c(Nc2nccc(c1cccnc1)n2)c3)cc4)CC5 496.58 2 2 imatinib-CD3
In [ ]:
Call 2 · find_targets_for_compound · ran 2026-11-24 04:55:54 UTC (9 lines)
# Call 2 · find_targets_for_compound · ran 2026-11-24 04:55:54 UTC
arguments = {
    'inchi_key': 'KTUFNOKKBVMGRW',
    'affinity_types': ['Ki', 'Kd', 'IC50'],
    'max_value_nm': 1000,
    'limit': 500,
}
await replay.call(2, 'find_targets_for_compound', arguments,
                  sha256='52e55aedf9e4dd75c808a30a33032f15a394c900582fbe6d976bedf0c53de0fd')

Call 2 · find_targets_for_compound · recorded result · sha256 52e55aedf9e4…

51 rows

ki_result_id affinity_type relation value unit p_affinity monomerid compound_name polymerid complexid target_name uniprot_raw organism ph temp_k assay_name source_id doi year n_measurements
51506159 IC50 = 0.06 nM 10.22 13530 Gleevec 188 Receptor tyrosine-protein kinase erbB-2 P04626 Homo sapiens ChEMBL_2261296 (CHEMBL5216307) 35696863 10.1016/j.ejmech.2022.114502 2022 1
51506157 IC50 = 0.11 nM 9.96 13530 Gleevec 520 Epidermal growth factor receptor P00533 Homo sapiens ChEMBL_2261295 (CHEMBL5216306) 35696863 10.1016/j.ejmech.2022.114502 2022 1
58107 Kd = 0.7 nM 9.15 13530 Gleevec 3993 Epithelial discoidin domain-containing receptor 1 Q08345 Homo sapiens 7.4 298.15 Kinase Inhibitor Selectivity Profiling Assay aid1433 2008 8
51232598 Kd = 1 nM 9 13530 Gleevec 5221 Tyrosine-protein kinase ABL1 P00519 Homo sapiens ChEMBL_1821228 (CHEMBL4320888) 30807144 10.1021/acs.jmedchem.8b01925 2019 88
50160997 IC50 = 1.1 nM 8.96 13530 Gleevec 261 Breakpoint cluster region protein/Tyrosine-protein kinase ABL1 ChEMBL_614493 (CHEMBL1110561) 20166671 10.1021/jm901132v 2010 38
334877 Kd = 1.5 nM 8.82 13530 Gleevec 7838 Tyrosine-protein kinase ABL1 [229-512] P00519[229-512] Homo sapiens Kinome-Wide Inhibitor Profiling 26895387 10.1021/acschembio.5b01018 2016 2
24176 Kd = 2 nM 8.7 13530 Gleevec 1385 Tyrosine-protein kinase ABL1 [201-500] P00519[201-500] Homo sapiens 7.4 298.15 Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
189434 Ki = 2 nM 8.7 13530 Gleevec 5778 Platelet-derived growth factor receptor alpha P16234 Homo sapiens 16492761 10.1073/pnas.0511292103 2006 17
24191 Kd = 3 nM 8.52 13530 Gleevec 1394 Mast/stem cell growth factor receptor Kit [N822K] P10721[N822K] Homo sapiens Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
189436 Ki = 3 nM 8.52 13530 Gleevec 575 Platelet-derived growth factor receptor beta P09619 Homo sapiens 16492761 10.1073/pnas.0511292103 2006 11
24180 Kd = 10 nM 8 13530 Gleevec 1389 Tyrosine-protein kinase ABL1 [201-500,M351T] P00519[201-500,M351T] Homo sapiens 7.4 298.15 Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
65729 Kd = 10 nM 8 13530 Gleevec 50001306 Tyrosine-protein kinase ABL2 P42684 Homo sapiens Kinase Inhibitor Selectivity Profiling Assay aid1433 2008 9
51232593 Kd = 10 nM 8 13530 Gleevec 879 Macrophage colony-stimulating factor 1 receptor P07333 Homo sapiens ChEMBL_1821226 (CHEMBL4320886) 30807144 10.1021/acs.jmedchem.8b01925 2019 7
50589673 IC50 = 10.8 nM 7.97 13530 Gleevec 50001750 Tyrosine-protein kinase ABL1 P00520 Mus musculus ChEMBL_647651 (CHEMBL1220002) 20621496 10.1016/j.bmc.2010.05.063 2010 2
50195818 Kd = 13 nM 7.89 13530 Gleevec 359 Mast/stem cell growth factor receptor Kit P10721 Homo sapiens ChEMBL_774266 (CHEMBL1908483) 22037378 10.1038/nbt.1990 2011 43
58126 Kd = 15 nM 7.82 13530 Gleevec 3995 Discoidin domain-containing receptor 2 [A642S] Q16832[A642S] Homo sapiens 7.4 298.15 Kinase Inhibitor Selectivity Profiling Assay aid1433 2008 1
50673776 Kd = 15 nM 7.82 13530 Gleevec 5709 Discoidin domain-containing receptor 2 Q16832 Homo sapiens ChEMBL_774257 (CHEMBL1908474) 22037378 10.1038/nbt.1990 2011 5
24177 Kd = 20 nM 7.7 13530 Gleevec 1386 Tyrosine-protein kinase ABL1 [201-500,Q252H] P00519[201-500,Q252H] Homo sapiens 7.4 298.15 Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
24181 Kd = 20 nM 7.7 13530 Gleevec 1390 Tyrosine-protein kinase ABL1 [201-500,F359V] P00519[201-500,F359V] Homo sapiens 7.4 298.15 Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
24192 Kd = 20 nM 7.7 13530 Gleevec 1395 Mast/stem cell growth factor receptor Kit [V559D] P10721[V559D] Homo sapiens Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
126580 IC50 = 27 nM 7.57 13530 Gleevec 4453 Tyrosine-protein kinase ABL1 [1-999,Q252H] P00519[1-999,Q252H] Homo sapiens 7.5 Biochemcial Assay 16873026 10.1016/j.chembiol.2006.05.015 2006 1
50513152 Ki = 30.2 nM 7.52 13530 Gleevec 1193 Carbonic anhydrase 2 P00918 Homo sapiens ChEMBL_579711 (CHEMBL1053952) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
50513151 Ki = 31.9 nM 7.5 13530 Gleevec 1192 Carbonic anhydrase 1 P00915 Homo sapiens ChEMBL_579710 (CHEMBL1053951) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
51519669 IC50 = 38 nM 7.42 13530 Gleevec 50001198 Breakpoint cluster region protein Q6PAJ1 Mus musculus ChEMBL_2284540 30243589 10.1016/j.bmcl.2018.09.016 2018 3
50552519 Ki = 39 nM 7.41 13530 Gleevec 5286 Ribosyldihydronicotinamide dehydrogenase [quinone] P16083 Homo sapiens ChEMBL_1634419 (CHEMBL3877211) 28280261 10.1038/nrd.2016.266 2017 4
24178 Kd = 40 nM 7.4 13530 Gleevec 1387 Tyrosine-protein kinase ABL1 [201-500,Y253F] P00519[201-500,Y253F] Homo sapiens 7.4 298.15 Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
65558 Kd = 40 nM 7.4 13530 Gleevec 507 Tyrosine-protein kinase Lck P06239 Homo sapiens Kinase Inhibitor Selectivity Profiling Assay aid1433 2008 8
50488791 IC50 = 40 nM 7.4 13530 Gleevec 50000208 Tyrosine-protein kinase ABL1/ABL2 ChEMBL_226185 (CHEMBL846551) 12951113 10.1016/s0960-894x(03)00553-5 2003 1
51040772 IC50 = 40 nM 7.4 13530 Gleevec 50006151 Multidrug and toxin extrusion protein 1 Q96FL8 Homo sapiens ChEMBL_934312 (CHEMBL2320298) 23241029 10.1021/jm301302s 2013 3
50206651 IC50 = 50 nM 7.3 13530 Gleevec 50000008 Platelet-derived growth factor receptor alpha/beta ChEMBL_321279 (CHEMBL857667) 16220969 10.1021/jm058225d 2005 3
51519671 IC50 = 50 nM 7.3 13530 Gleevec 633 Platelet-derived growth factor receptor beta P05622 Mus musculus ChEMBL_2284541 30243589 10.1016/j.bmcl.2018.09.016 2018 1
24188 Kd = 60 nM 7.22 13530 Gleevec 1391 Tyrosine-protein kinase ABL1 [201-500,H396P] P00519[201-500,H396P] Homo sapiens Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
50513159 Ki = 75.7 nM 7.12 13530 Gleevec 1233 Carbonic anhydrase 9 Q16790 Homo sapiens ChEMBL_579718 (CHEMBL1053959) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
50513163 Ki = 78 nM 7.11 13530 Gleevec 50004142 Carbonic anhydrase 15 Q99N23 Mus musculus ChEMBL_579804 (CHEMBL1059705) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
24179 Kd = 100 nM 7 13530 Gleevec 1388 Tyrosine-protein kinase ABL1 [201-500,E255K] P00519[201-500,E255K] Homo sapiens 7.4 298.15 Kinase Assay and Binding Constant Measurement 16046538 10.1073/pnas.0504952102 2005 1
50513158 Ki = 109 nM 6.96 13530 Gleevec 1361 Carbonic anhydrase 7 P43166 Homo sapiens ChEMBL_579717 (CHEMBL1053958) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
51466966 IC50 = 116 nM 6.94 13530 Gleevec 50000562 Tyrosine-protein kinase ABL1 [T315I]/Breakpoint cluster region protein ChEMBL_2202615 (CHEMBL5115323) 35561654 10.1016/j.ejmech.2022.114425 2022 1
51273200 IC50 = 131 nM 6.88 13530 Gleevec 1358 Receptor-type tyrosine-protein kinase FLT3 P36888 Homo sapiens ChEMBL_1878178 (CHEMBL4379572) 31721578 10.1021/acs.jmedchem.9b01229 2019 1
50518667 IC50 = 162 nM 6.79 13530 Gleevec 50001175 Platelet-derived growth factor receptor beta Q05030 Rattus norvegicus ChEMBL_1613238 (CHEMBL3855038) 27502700 10.1021/acs.jmedchem.6b00703 2016 1
50847517 IC50 = 220 nM 6.66 13530 Gleevec 5481 Tyrosine-protein kinase Lyn P07948 Homo sapiens ChEMBL_443314 (CHEMBL892515) 17376680 10.1016/j.bmcl.2007.03.002 2007 3
51040715 IC50 = 350 nM 6.46 13530 Gleevec 50006152 Multidrug and toxin extrusion protein 2 Q86VL8 Homo sapiens ChEMBL_934314 (CHEMBL2320300) 23241029 10.1021/jm301302s 2013 1
50679019 Kd = 380 nM 6.42 13530 Gleevec 50004748 Phosphatidylinositol 5-phosphate 4-kinase type-2 gamma Q8TBX8 Homo sapiens ChEMBL_774614 (CHEMBL1908831) 22037378 10.1038/nbt.1990 2011 1
50513157 Ki = 392 nM 6.41 13530 Gleevec 10154 Carbonic anhydrase 6 P23280 Homo sapiens ChEMBL_579716 (CHEMBL1053957) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
50513162 Ki = 468 nM 6.33 13530 Gleevec 1365 Carbonic anhydrase 14 Q9ULX7 Homo sapiens ChEMBL_579803 (CHEMBL1059704) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
51026415 IC50 = 500 nM 6.3 13530 Gleevec 4026 Broad substrate specificity ATP-binding cassette transporter ABCG2 Q9UNQ0 Homo sapiens ChEMBL_836765 (CHEMBL2075187) 15155841 10.1124/mol.65.6.1485 2004 2
65325 Kd = 520 nM 6.28 13530 Gleevec 5620 Tyrosine-protein kinase Blk P51451 Homo sapiens Kinase Inhibitor Selectivity Profiling Assay aid1433 2008 3
50513153 Ki = 528 nM 6.28 13530 Gleevec 2920 Carbonic anhydrase 3 P07451 Homo sapiens ChEMBL_579712 (CHEMBL1053953) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
51402501 IC50 = 580 nM 6.24 13530 Gleevec 7531 ATP-dependent translocase ABCB1 P08183 Homo sapiens ChEMBL_2101049 (CHEMBL4809445) 33938746 10.1021/acs.jmedchem.1c00246 2021 1
50679050 Kd = 960 nM 6.02 13530 Gleevec 50004557 Homeodomain-interacting protein kinase 4 Q8NE63 Homo sapiens ChEMBL_774200 (CHEMBL1908417) 22037378 10.1038/nbt.1990 2011 1
50513160 Ki = 980 nM 6.01 13530 Gleevec 1363 Carbonic anhydrase 12 O43570 Homo sapiens ChEMBL_579801 (CHEMBL1059702) 19527930 10.1016/j.bmcl.2009.06.002 2009 1
65996 Kd = 1000 nM 6 13530 Gleevec 50002896 Cyclin-G-associated kinase O14976 Homo sapiens Kinase Inhibitor Selectivity Profiling Assay aid1433 2008 3
In [ ]:
Call 3 · run_sql · ran 2026-11-24 04:55:54 UTC (14 lines)
# Call 3 · run_sql · ran 2026-11-24 04:55:54 UTC
sql = """
    WITH t(uniprot) AS (SELECT unnest(['O14976','O43570','P00519','P00533','P00915','P00918','P04626','P06239','P07333','P07451','P07948','P08183','P09619','P10721','P16083','P16234','P23280','P36888','P42684','P43166','P51451','Q08345','Q16790','Q16832','Q86VL8','Q8NE63','Q8TBX8','Q96FL8','Q9ULX7','Q9UNQ0'])),
    x AS (SELECT DISTINCT a.uniprot, a.inchi_key FROM activity a JOIN t ON a.uniprot=t.uniprot
          WHERE a.organism='Homo sapiens' AND a.polymerid IS NOT NULL AND a.affinity_type IN ('Ki','Kd','IC50') AND a.relation IN ('=','<') AND a.value<=1000
            AND a.inchi_key IS NOT NULL AND a.inchi_key NOT LIKE 'KTUFNOKKBVMGRW-%')
    SELECT 'ligands' kind, uniprot a, NULL b, count(*) n FROM x GROUP BY 1,2
    UNION ALL
    SELECT 'pair', p.uniprot, q.uniprot, count(*) FROM x p JOIN x q ON p.inchi_key=q.inchi_key AND p.uniprot<q.uniprot GROUP BY 1,2,3
    ORDER BY kind, n DESC, a, b
    
"""
await replay.call(3, 'run_sql', {'sql': sql},
                  sha256='962a988ee25f01d5ce8aad293e3c627b5b14dcf6b9fb2b53bcf6dea8ad258af3')

Call 3 · run_sql · recorded result · sha256 962a988ee25f…

200 rows, truncated at the limit

kind a b n
ligands P00533 10909
ligands P00918 7760
ligands Q16790 5273
ligands P00915 5195
ligands O43570 4524
ligands P10721 3845
ligands P36888 3483
ligands P04626 3159
ligands P00519 2663
ligands P07333 2650
ligands P09619 2312
ligands Q08345 1763
ligands P06239 1593
ligands P43166 1441
ligands P16234 951
ligands Q9ULX7 636
ligands P08183 564
ligands Q16832 526
ligands Q9UNQ0 503
ligands P07948 365
ligands Q8TBX8 294
ligands P23280 273
ligands P51451 237
ligands O14976 205
ligands P16083 190
ligands P42684 118
ligands P07451 115
ligands Q8NE63 37
ligands Q96FL8 8
ligands Q86VL8 4
pair P00915 P00918 4986
pair P00918 Q16790 4245
pair O43570 Q16790 3912
pair O43570 P00918 3564
pair P00915 Q16790 3041
pair O43570 P00915 2649
pair P00533 P04626 1547
pair P00918 P43166 1317
pair P00915 P43166 1040
pair O43570 P43166 858
pair P43166 Q16790 804
pair P00918 Q9ULX7 564
pair Q16790 Q9ULX7 560
pair P10721 P36888 545
pair O43570 Q9ULX7 533
pair Q08345 Q16832 411
pair P43166 Q9ULX7 401
pair P00915 Q9ULX7 395
pair P07333 P10721 365
pair P09619 P16234 357
pair P10721 P16234 354
pair P09619 P10721 329
pair P00918 P23280 246
pair P23280 P43166 245
pair P23280 Q16790 240
pair O43570 P23280 229
pair P07333 P09619 228
pair P00915 P23280 209
pair P23280 Q9ULX7 197
pair P07333 P36888 178
pair P09619 P36888 173
pair P06239 P07948 165
pair P07333 P16234 165
pair P00519 P10721 161
pair P16234 P36888 140
pair P00533 P06239 136
pair P00533 P09619 136
pair P00519 P06239 113
pair P07451 P23280 113
pair P07451 P43166 111
pair P07451 Q16790 111
pair O43570 P07451 110
pair P00519 P42684 109
pair P00533 P07333 109
pair P07451 Q9ULX7 108
pair P00918 P07451 106
pair P06239 P51451 101
pair P00519 P07948 99
pair P06239 P10721 96
pair P00915 P07451 95
pair P06239 P36888 88
pair P07948 P51451 88
pair P00519 Q08345 87
pair P10721 P42684 86
pair P00519 P09619 85
pair P00519 P00533 82
pair P00519 Q16832 82
pair P00533 P51451 81
pair P00519 P36888 79
pair P10721 Q08345 76
pair P00519 P07333 70
pair P06239 P09619 68
pair P00519 P16234 66
pair P00533 P36888 66
pair P06239 P07333 63
pair P00533 P10721 59
pair P00519 P51451 55
pair P36888 P51451 54
pair P07333 P07948 53
pair P06239 P16234 51
pair P07948 P36888 50
pair P10721 Q16832 50
pair P00533 P16234 49
pair P07948 P10721 49
pair P00533 P07948 47
pair P09619 Q08345 46
pair P36888 Q08345 45
pair P07333 Q08345 44
pair P07948 P09619 44
pair P09619 P51451 43
pair O14976 P00533 42
pair P06239 Q08345 41
pair P07333 P51451 39
pair P10721 P51451 39
pair P16234 Q08345 37
pair P07333 Q16832 35
pair P07948 P16234 35
pair P07948 Q08345 34
pair P09619 Q16832 34
pair P06239 Q16832 33
pair P16234 P51451 33
pair P36888 Q16832 33
pair P51451 Q08345 33
pair P16234 Q16832 31
pair P07948 P42684 30
pair P06239 P42684 29
pair P04626 P51451 28
pair O14976 P06239 27
pair O14976 P36888 27
pair P42684 Q08345 27
pair O14976 P00519 26
pair P00533 Q08345 26
pair P04626 P06239 26
pair P07948 Q16832 26
pair P36888 Q8NE63 26
pair P42684 P51451 26
pair P51451 Q16832 26
pair O14976 P10721 25
pair O14976 P51451 25
pair P08183 Q9UNQ0 25
pair P09619 P42684 25
pair O14976 P09619 24
pair P00533 P42684 23
pair P00533 Q16832 23
pair P07333 P42684 23
pair P10721 Q8NE63 23
pair P00519 P04626 22
pair P07333 Q8NE63 22
pair P09619 Q8NE63 22
pair O14976 P07333 21
pair O14976 P07948 21
pair P00519 Q8NE63 21
pair P36888 P42684 21
pair O14976 P16234 20
pair P06239 Q8NE63 19
pair P42684 Q16832 19
pair P16234 Q8NE63 18
pair O14976 Q08345 17
pair P04626 P07948 17
pair P07948 Q8NE63 17
pair P51451 Q8NE63 17
pair P00533 Q8NE63 16
pair P16234 P42684 16
pair Q08345 Q8NE63 16
pair O14976 P42684 15
pair O14976 Q8NE63 14
pair P04626 P09619 14
pair P04626 P36888 13
pair Q16832 Q8NE63 13
pair O14976 Q16832 12
pair O14976 P04626 11
pair P00519 Q8TBX8 11
pair P42684 Q8NE63 11
pair P00533 Q8TBX8 10
pair P04626 P10721 10
pair P04626 Q08345 9
pair P00533 Q9UNQ0 8
pair P04626 P07333 8
pair P04626 P42684 8
pair Q08345 Q8TBX8 8
pair O14976 Q8TBX8 7
pair P04626 Q8NE63 7
pair P07948 Q8TBX8 7
pair P09619 Q8TBX8 7
pair P36888 Q8TBX8 7
pair P04626 P16234 6
pair P04626 Q16832 6
pair P06239 Q8TBX8 6
pair P10721 Q8TBX8 6
pair P42684 Q8TBX8 6
pair Q16832 Q8TBX8 6
pair P00519 Q9UNQ0 5
pair P00533 P00918 5
pair P07333 Q8TBX8 5
pair P16234 Q8TBX8 5
pair P36888 Q9UNQ0 5
pair P51451 Q8TBX8 5
pair P00533 Q16790 4
pair P06239 Q9UNQ0 4
pair P07948 P16083 4
In [ ]:
# Code 1: Draw the shared-ligand network of imatinib's targets
# The code is in plot_imatinib_network.py, next to this notebook (151 lines).
from plot_imatinib_network import *

plot_network(replay.result(2), replay.result(3), 'imatinib_target_network.png')

Figure 1: Imatinib target network at <= 1 uM. The 30 human targets imatinib binds with a Ki, Kd or IC50 of 1 uM or better, coloured by protein class and labelled with imatinib's best value. Two targets are linked when at least 10 other BindingDB compounds bind both at 1 uM or better; line width and darkness grow with the number of shared compounds. Dashed red rings mark the two suspect EGFR-family values. (as recorded; running this cell draws it again)

No description has been provided for this image

🧠 Assistant

Data: BindingDB release 202611. Imatinib is BDBM13530 (Gleevec, InChIKey KTUFNOKKBVMGRW-UHFFFAOYSA-N). I searched by the first block of its InChIKey so that every record of the same structure counts, and kept exact or < values of Ki, Kd or IC50 at or below 1,000 nM.

Imatinib's targets at <= 1 µM¶

BindingDB has 51 imatinib targets at this threshold. Many are the same protein several times: kinase-domain constructs and resistance mutants of ABL1 and KIT are separate entries. Folding those into their UniProt entry and keeping human proteins leaves 30 targets:

Class Targets (imatinib's best value)
Receptor tyrosine kinases (9) ERBB2* IC50 0.06 nM, EGFR* IC50 0.11 nM, DDR1 Kd 0.7 nM, PDGFRA Ki 2 nM, KIT Kd 3 nM, PDGFRB Ki 3 nM, CSF1R Kd 10 nM, DDR2 Kd 15 nM, FLT3 IC50 131 nM
Non-receptor tyrosine kinases (5) ABL1 Kd 1 nM, ABL2 Kd 10 nM, LCK Kd 40 nM, LYN IC50 220 nM, BLK Kd 520 nM
Other kinases (3) PIP4K2C Kd 380 nM, HIPK4 Kd 960 nM, GAK Kd 1,000 nM
Carbonic anhydrases (8) CA2 30.2, CA1 31.9, CA9 75.7, CA7 109, CA6 392, CA14 468, CA3 528, CA12 980 nM (all Ki)
Transporters (4) MATE1 (SLC47A1) IC50 40 nM, MATE2 (SLC47A2) 350 nM, ABCG2 500 nM, ABCB1 (P-gp) 580 nM
Oxidoreductase (1) NQO2 Ki 39 nM

The classic targets are all there: ABL1 (Kd 1 nM; the BCR-ABL1 complex is IC50 1.1 nM), KIT, PDGFRA/B, DDR1/2 and CSF1R. Left out of the 30 are complex targets (BCR-ABL1, ABL1/ABL2, PDGFRA/B and the T315I BCR-ABL1 complex) and mouse and rat orthologues.

* Treat the ERBB2 and EGFR values as suspect. Both come from one 2022 paper (doi 10.1016/j.ejmech.2022.114502), each from a single measurement. Imatinib is known not to inhibit the EGFR family, and these would make them its most potent targets. All eight carbonic anhydrase values also come from one 2009 study (doi 10.1016/j.bmcl.2009.06.002). The transporter values are IC50s for inhibiting transport, not binding constants.

The network¶

BindingDB has no protein-protein interaction data, so a physical interaction network can't be built from it. What BindingDB can show at the same threshold is a shared-ligand network: two targets are linked when other compounds (imatinib excluded) bind both at <= 1 µM. This is a pharmacological map of which of imatinib's targets are hit by the same chemistry, not a map of proteins binding each other. I counted distinct compounds by InChIKey (human proteins, mutants folded into their UniProt entry) and drew an edge for pairs that share at least 10 (the figure below).

The targets fall into separate groups with almost no chemistry crossing between them:

  • Kinases form one dense group: 116 of the 136 possible pairs share at least 10 potent ligands. The strongest links follow kinase families: EGFR-ERBB2 (1,547 shared compounds), KIT-FLT3 (545), DDR1-DDR2 (411), CSF1R-KIT (365), PDGFRA-PDGFRB (357) and KIT-PDGFRA (354). ABL1, the target imatinib is used against, is linked to all 16 other kinases but never strongly: its largest overlap is with KIT (161). PIP4K2C, a lipid kinase, hangs on by two weak links (ABL1 11, EGFR 10).
  • Carbonic anhydrases form a complete group of their own: all 28 pairs are linked, and CA1-CA2 share 4,986 compounds, the strongest link in the network. No kinase shares more than 5 potent ligands with any carbonic anhydrase.
  • ABCB1 and ABCG2, the two efflux pumps, share 25 inhibitors with each other and at most 8 with anything else.
  • MATE1, MATE2 and NQO2 are isolated. BindingDB has only 8 and 4 potent ligands (other than imatinib) for the two MATE transporters, and they share none; NQO2 shares at most 4 with any target. (The earlier run of this example counted 3 shared MATE ligands; with compounds counted by full InChIKey and imatinib excluded, the overlap is zero. The conclusion is the same.)

So imatinib's <= 1 µM profile spans chemistries that other compounds keep apart: kinase inhibitors, carbonic anhydrase inhibitors and transporter inhibitors are, in BindingDB, almost entirely different sets of compounds.

Reading the edges. Edge counts favour well-studied targets: EGFR has 10,909 potent ligands in BindingDB and HIPK4 only 37, so a count of 20 means much more for HIPK4. Kinase-panel datasets, where one compound is tested on hundreds of kinases, probably add many of the weak kinase-kinase links, which would help explain why the kinase group is so dense.

How this was answered¶

  • search_compounds for "imatinib": BDBM13530 (Gleevec) and its InChIKey.
  • find_targets_for_compound with the InChIKey's first block, Ki/Kd/IC50, max 1,000 nM, best measurement per target: 51 targets, folded to 30 human UniProt entries.
  • run_sql on the activity table: for the 30 accessions, the distinct other compounds (by InChIKey) with an exact or < Ki/Kd/IC50 of 1,000 nM or less, and for every pair the number of compounds they share.
  • A matplotlib script (plot_imatinib_network.py) turned both results into the network figure, added with add_figure.

Verification¶

How each rerun call compared with its recorded result.

In [ ]:
replay.summary()

Recorded: 3 tool calls. Run all cells to compare.

How to cite¶

Cite this notebook (for example deposited with a DOI) together with the data and software it ran on:

  • Data: BindingDB release 202611, https://www.bindingdb.org/rwd/bind/BDB-mySQL_All_202611_dmp.zip (SHA-256 daea9260d404919a183ce02d91bf4b9c49b410bea7eaaeba105c8e0280510381)
  • Software: mcp-bindingdb v0.1.17, commit 79dae5d22c0f15b8ded9b49adc8b105f0463703a, https://github.com/sbl-sdsc/mcp-bindingdb
  • Analysis: Example 5.7 — Imatinib's targets and the network they form, 2026-11-23, with claude-sonnet-5-5
  • BindingDB: Liu T, Hwang L, Burley SK, Nitsche CI, Southan C, Walters WP, Gilson MK. BindingDB in 2024: a FAIR knowledgebase of protein-small molecule binding data. Nucleic Acids Research 53(D1):D1633-D1644, 2025. https://doi.org/10.1093/nar/gkae1075

As BibTeX, for this server, BindingDB and RDKit (used for structure search, properties and drawings):

@software{rose2026mcp-bindingdb,
  title={MCP BindingDB Server},
  author={Rose, P.W.},
  year={2026},
  url={https://github.com/sbl-sdsc/mcp-bindingdb}
}

@article{liu2025bindingdb,
  title={BindingDB in 2024: a FAIR knowledgebase of protein-small molecule binding data},
  author={Liu, T. and Hwang, L. and Burley, S.K. and Nitsche, C.I. and Southan, C. and Walters, W.P. and Gilson, M.K.},
  journal={Nucleic Acids Research},
  volume={53},
  number={D1},
  pages={D1633--D1644},
  year={2025},
  doi={10.1093/nar/gkae1075}
}

@software{rdkit,
  title={RDKit: Open-source cheminformatics},
  author={Landrum, G. and others},
  version={2026.03.6},
  url={https://www.rdkit.org},
  doi={10.5281/zenodo.591637}
}