Example 8.1 — Schema discovery: what tables are in BindingDB?

Conversation

👤 User

What tables are in the BindingDB database, and which ones should I start with?


🧠 Assistant

The database has 38 tables: 37 from BindingDB plus a small _build_info table that records which release it was built from (here 202611). Start with the six derived tables. They were built from the raw BindingDB tables to make queries easy: values are parsed into numbers with explicit units, compound, target and citation details are copied onto every measurement row, and compound properties are computed once with RDKit.

Start here (derived tables)

Table Rows One row per
activity 3,246,372 measurement (Ki, Kd, IC50, EC50, kon, koff) with its compound, target, assay and citation
compound 1,477,577 small molecule: name, InChIKey, SMILES, formula, molecular weight, activity/target counts
compound_property 1,466,457 compound (join on monomerid): RDKit heavy atoms, MW, cLogP, TPSA, HBD/HBA, rotatable bonds, rings, Fsp3, QED, Ro5 violations, Bemis-Murcko scaffold, PAINS/Brenk/NIH alerts
compound_name 2,552,626 compound synonym (names, ChEMBL ids, PubChem cid_N, patent labels)
target 13,419 target (protein or complex): UniProt, organism, counts
target_name 78,260 target synonym (display names, gene names, UniProt entry names)

Raw tables you may need later. These mirror BindingDB's own MySQL schema:

Table Rows Use it for
article 57,282 publications and patents: PubMed id or patent number, DOI, title, year
assay 233,370 full assay names and descriptions
entry 57,301 deposition records: title, measurement technique, date
polymer / complex / complex_component 12,162 / 1,259 / 3,250 protein sequences and PDB ids; multi-subunit targets and their parts
monomer 1,477,577 raw compound records, including the PDB ligand ids
ki_result / enzyme_reactant_set 3,241,650 / 3,241,671 the raw measurements (values stored as text) and the compound-to-target links
itc_result_a_b_ab 1,822 isothermal titration calorimetry: ΔG, ΔH, ΔS, stoichiometry
pdb_bdb 185,286 PDB entry to BindingDB id mappings
cobweb_bdb 557,304 the best-affinity target–inhibitor summary the BindingDB website uses

The remaining tables describe authors, journals and keywords, and experimental conditions (buffers, solvents, solutes, instruments, data-fitting methods, ITC runs).

The activity table, column by column (27 columns):

A lesson about derived vs raw tables. In the raw ki_result table an affinity is stored as text, such as ">10000", with the unit implied. In activity the same value is split into relation, a numeric value in nM and a p_affinity. That split is what makes median(p_affinity) or WHERE value <= 100 possible. Likewise, compound_property saves you from computing descriptors yourself: ligand efficiency is 1.37 * p_affinity / heavy_atoms and LipE is p_affinity - clogp, by joining it to activity on monomerid. Use the raw tables only when you need something the derived ones leave out, such as ITC thermodynamics (Example 8.5) or PDB mappings (Example 8.6).

How this was answered

Try next