OpenADMET ExpansionRx Teaser Data: sample notebook
A worked notebook for OpenADMET ExpansionRx Teaser Data, with 3 code cells and the output each one printed. On Scigantic it opens in a hosted JupyterLab with the dataset already mounted, so nothing is downloaded first.
- Provider
- OpenADMET
- License
- cc0-1.0
- Format
- CSV (in sampled files)
- Stored at
- Hugging Face (https://huggingface.co/datasets/openadmet/openadmet-expansionrx-challenge-teaser)
- Access
- Free and public. No account with the data provider is needed.
The notebook
OpenADMET ExpansionRx Teaser Data — Getting Started
A 532-row preview of the ExpansionRx ADMET challenge, released ahead of the challenge so participants could inspect the schema before committing. Same 9-endpoint layout and the same sparse coverage as the full release — treat it as a schema sample, not a benchmark.
from datasets import load_dataset
import pandas as pd
df = load_dataset("openadmet/openadmet-expansionrx-challenge-teaser", split="teaser").to_pandas()
print(f"{len(df)} compounds")
df.head()
Output:
532 compounds Molecule Name SMILES LogD \ 0 E-0001321 CN1CCC[C@H]1COc1ccc(-c2nc3cc(-c4ccc5[nH]c(-c6c... NaN 1 E-0001780 COc1ccc2c(c1)c1cc3cnccc3c(C)c1n2C NaN 2 E-0001827 Cc1c2ccncc2cc2c3cc(OCCCN4CCN(C)CC4)ccc3n(C)c12 NaN 3 E-0002019 CN(C)CCCOc1ccc(-c2nc3cc(NC(=O)c4ccc5[nH]c(-c6c... NaN 4 E-0002036 CN(C)CCCOc1ccc2nc(-c3ccc(-c4nc5ccc(OCCCN(C)C)c... NaN KSOL HLM CLint MLM CLint Caco-2 Permeability Papp A>B \ 0 NaN 56.4 182.3 NaN 1 NaN 160.4 1351.1 NaN 2 NaN NaN 193.5 NaN 3 NaN 9.5 NaN NaN 4 NaN NaN 162.0 NaN ...
Per-endpoint coverage
endpoints = ["LogD", "KSOL", "HLM CLint", "MLM CLint", "Caco-2 Permeability Papp A>B",
"Caco-2 Permeability Efflux", "MPPB", "MBPB", "MGMB"]
import matplotlib.pyplot as plt
coverage = df[endpoints].notna().sum().sort_values()
fig, ax = plt.subplots(figsize=(8, 4.5))
coverage.plot.barh(color="steelblue", ax=ax)
ax.set_xlabel(f"Compounds with a measurement (of {len(df)})")
plt.tight_layout()
What the compounds look like
from rdkit import Chem
from rdkit.Chem import Draw
def draw(smiles_list, legends, per_row=4):
mols, labels = [], []
for s, l in zip(smiles_list, legends):
m = Chem.MolFromSmiles(s)
if m is not None:
mols.append(m)
labels.append(l)
return Draw.MolsToGridImage(mols, molsPerRow=per_row, subImgSize=(220, 180), legends=labels)
sample = df.dropna(subset=["HLM CLint"]).sample(8, random_state=0)
draw(sample["SMILES"], [f"CLint={v:.0f}" for v in sample["HLM CLint"]])
Where to go next
- For the real training data (5,326 compounds), use *OpenADMET ExpansionRx Training Data* instead — this teaser is a preview sample, not the benchmark.
Run it
Open this notebook to run it, see the dataset page for the full description, or browse the full catalog.