# BindingDB: protein-ligand binding affinities (Ki, Kd, IC50, EC50)

## Facts

- Provider: University of California, San Diego (Gilson Lab)
- License: CC BY 3.0 (BindingDB-curated data); CC BY-SA 3.0 (rows imported from ChEMBL)
- Records: measurements 3,234,499 · target_chain_names 6,704,712 · target_chains 3,512,195 · id_mappings 3,176,453 · assays 224,367. Endpoint coverage measured on row group 0 (200,000 rows)
- Stored at: Amazon S3, s3://scigantic-bindingdb (us-east-1)
- Access: public, readable without an account
- Category: Drug Discovery
- Source: https://www.bindingdb.org/
- Page: https://scigantic.com/archive/44724cb5-9a9a-5b74-b4ce-c32da1d354e1
- Keywords: Drug Discovery, protein structure, AWS Open Data

## About

BindingDB is a public, manually curated database of measured protein-small molecule binding affinities, maintained by the Gilson lab at UC San Diego. Unlike ChEMBL's assay-centric bioactivity records, every BindingDB row is a single binding measurement (Ki, IC50, Kd or EC50, sometimes kon/koff) tied to one ligand and one protein target's sequence, frequently with a linked PDB structure for the complex. BindingDB reports about 3,241,782 binding measurements for 11,509 proteins and over 1,440,011 drug-like molecules, drawn from the primary literature, patents, selected PubChem confirmatory BioAssays, and protein-target ChEMBL entries. This archive is a mirror of the upstream release, mounted read-only at ~/archive so files stream on demand rather than being copied at launch. bulk/ holds the artifacts as BindingDB ships them: the official MySQL dump, 2D SDF structures, target FASTA sequences and the raw TSV files. parquet/ holds the same data re-encoded and normalized for querying: measurements.parquet (one row per binding measurement, keyed by BindingDB's Reactant_set_id), target_chains.parquet (one row per protein chain of a target, since BindingDB's raw format repeats a block of columns once per chain in a multimer), target_chain_names.parquet (the less-used UniProt name/ID variants per chain), assays.parquet and id_mappings.parquet. derived/bindingdb_chembl_bridge.parquet joins BindingDB's own ChEMBL-ID and InChIKey columns against the scigantic-chembl mirror (s3://scigantic-chembl), so a notebook with either archive mounted can pivot from a binding measurement straight to ChEMBL's assay and target context without re-deriving the mapping. Two things to know before combining this with other data: first, BindingDB ingests ChEMBL as one of its curated source feeds, and ChEMBL separately absorbs some BindingDB patent-derived bioactivity data, so the two archives are not independent corpora; see the schema card and the bridge table before combining counts from both. Second, the license is not uniform: per BindingDB's own documentation, data curated by BindingDB staff (most of the database, including patent- and literature-extracted rows) is CC BY 3.0, while rows imported from ChEMBL carry ChEMBL's CC BY-SA 3.0 terms instead; each row's curation_source / Curation-DataSource column says which applies. Useful for target-based affinity mining, structure-based drug design when a PDB-linked complex exists, proteochemometric modeling across target sequences, and cross-referencing against ChEMBL's broader literature-curated bioactivity data. See _SCIGANTIC_MIRROR.txt in the archive for the full attribution text.

## Load the data

```python
import os
import pyarrow.parquet as pq
pf = pq.ParquetFile(os.path.join(os.environ['SCIGANTIC_MOUNT_PATH'], '202608/parquet/measurements.parquet'))
print(pf.metadata)
df = pf.read_row_group(0).to_pandas()
df.head()
```

Run in a Scigantic notebook on 2026-10-23 against `202608/parquet/measurements.parquet`: Parquet 3,234,499 rows, 44 columns, 17 row groups; columns ['reactant_set_id:string', 'ligand_smiles:string', 'ligand_inchi:string', 'ligand_inchi_key:string', 'bindingdb_monomer_id:int64', 'ligand_name:string', 'target_name:string', 'target_source_organism:string', 'ki_nm_value:double', 'ki_nm_qual.

## Data structure

| Field | Type |
| --- | --- |
| `ligand_smiles` | string — the ligand. Pair with ligand_inchi_key for dedup; SMILES are not canonicalised across sources |
| `ki_nm_value / ki_nm_qualifier` | float64 / string — the qualifier is '=', '>', '<' or null. SPLIT COLUMNS, see caveats |
| `ic50_nm_value / ic50_nm_qualifier` | float64 / string — same shape; ic50 is the most populated endpoint |
| `kd_nm_value / kd_nm_qualifier` | float64 / string |
| `ec50_nm_value / ec50_nm_qualifier` | float64 / string |
| `ligand_het_id_pdb` | string — PDB chemical component id (e.g. 'A79'). THE join to a structure's _chem_comp |
| `pdb_ids_complex` | string — COMMA-SEPARATED PDB ids ('1HVC,1HVK'), not a list. Split before joining |
| `reactant_set_id` | int — joins measurements to target_chains and (via id_mappings) to assays |
| `target_chains.chain_sequence` | string — the target protein sequence, so targets can be matched by sequence not just id |
| `target_chains.uniprot_swissprot_primary_id` | string — e.g. 'P03367'. The hop to UniRef50. trembl variant is separate and often null |

Files:

```text
BindingDB (Gilson group, UC San Diego), mirrored from the upstream BindingDB_All TSV.
Everything usable is under 202608/parquet/ as FIVE tables, not the three the
sibling _index.json claims:
  measurements.parquet        3,234,499 rows, 44 cols, 17 row groups, 231.7 MB
  target_chain_names.parquet  6,704,712 rows,  5 cols
  target_chains.parquet       3,512,195 rows,  8 cols  (sequence + UniProt ids)
  id_mappings.parquet         3,176,453 rows,  2 cols
  assays.parquet                224,367 rows,  4 cols
202608/bulk/ and 202608/derived/ hold the upstream TSV and derived extracts.

Cross-mounted workspace. The join that makes these three worth having together:
  panel ligand comp_id -> bindingdb measurements.ligand_het_id_pdb
    -> reactant_set_id -> target_chains.uniprot_swissprot_primary_id
      -> uniref50 rep_accessions (a LIST; explode before joining)
  and measurements.pdb_ids_complex / target_chains.pdb_ids_chain (COMMA-SEPARATED
  strings, split them) -> entries_idx.pdb_id for deposition date, method, resolution.
```

Example file: `202608/parquet/measurements.parquet row group 0 (200,000 rows, ~2 s to read one column)`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/44724cb5-9a9a-5b74-b4ce-c32da1d354e1
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/44724cb5-9a9a-5b74-b4ce-c32da1d354e1
- Over MCP: `get_schema_card` with id `44724cb5-9a9a-5b74-b4ce-c32da1d354e1` at https://api.scigantic.com/mcp

## Related topics

- [Drug Discovery datasets](https://scigantic.com/topics/drug-discovery)
- [Protein structure datasets](https://scigantic.com/topics/protein-structure)
