The dataset viewer is not available for this dataset.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
SKEMPI v2
SKEMPI v2 is a manually curated benchmark of experimentally measured changes in protein-protein binding affinity, kinetics, and thermodynamics upon mutation. It focuses on structurally resolved protein-protein interactions, linking mutations to PDB complexes and literature-derived binding measurements. The dataset is commonly used to evaluate models that predict mutation effects on protein interfaces, binding free energy changes, and protein complex stability.
This Hugging Face mirror stores the SKEMPI v2 CSV as normalized JSONL rows with provenance. Each record contains the original upstream row under row, plus dataset_id, row_index, and source_file. The upstream table contains 7,085 mutation records, including single and multiple mutations, wild-type and mutant affinities, optional kinetic measurements, optional enthalpy and entropy values, experiment temperature, literature references, protein names, and SKEMPI version labels.
Splits
train: 7,085 rows
There is no official train/test split in this mirror. Users should define task-specific splits carefully, for example by holding out PDB complexes, protein pairs, or interaction families, to avoid leakage between similar mutations from the same complex.
Columns
Every JSONL record has these outer fields:
dataset_id: dataset identifier, alwaysskempi2row: raw upstream SKEMPI CSV row stored as a nested JSON objectrow_index: zero-based row index in the upstream source tablesource_file: original source path,labeled/skempi2/skempi_v2.csv
The upstream SKEMPI CSV fields are semicolon-separated and include:
#Pdb: PDB complex and chain identifierMutation(s)_PDB: mutation notation using PDB residue numberingMutation(s)_cleaned: cleaned mutation notationiMutation_Location(s): mutation location class, such as core, rim, support, or surfaceHold_out_type,Hold_out_proteins: split/grouping metadata from SKEMPIAffinity_mut (M),Affinity_mut_parsed: mutant binding affinityAffinity_wt (M),Affinity_wt_parsed: wild-type binding affinityReference: source publication identifierProtein 1,Protein 2: interacting protein namesTemperature: experimental temperaturekon_mut,kon_wt: mutant and wild-type association rates when availablekoff_mut,koff_wt: mutant and wild-type dissociation rates when availabledH_mut,dH_wt: mutant and wild-type enthalpy values when availabledS_mut,dS_wt: mutant and wild-type entropy values when availableNotes: free-text notesMethod: experimental methodSKEMPI version: source SKEMPI version label
Usage
Download the repository:
hf download LiteFold/SKEMPI2 --repo-type dataset --local-dir ./skempi2
Load the JSONL table with datasets:
from datasets import load_dataset
ds = load_dataset("LiteFold/SKEMPI2", split="train")
print(ds[0])
The current mirror keeps the original semicolon-separated CSV row as the single value inside row. This helper expands it into a normal dictionary:
from datasets import load_dataset
HEADER = (
"#Pdb;Mutation(s)_PDB;Mutation(s)_cleaned;iMutation_Location(s);"
"Hold_out_type;Hold_out_proteins;Affinity_mut (M);Affinity_mut_parsed;"
"Affinity_wt (M);Affinity_wt_parsed;Reference;Protein 1;Protein 2;"
"Temperature;kon_mut (M^(-1)s^(-1));kon_mut_parsed;"
"kon_wt (M^(-1)s^(-1));kon_wt_parsed;koff_mut (s^(-1));"
"koff_mut_parsed;koff_wt (s^(-1));koff_wt_parsed;"
"dH_mut (kcal mol^(-1));dH_wt (kcal mol^(-1));"
"dS_mut (cal mol^(-1) K^(-1));dS_wt (cal mol^(-1) K^(-1));"
"Notes;Method;SKEMPI version"
)
fields = HEADER.split(";")
def expand_record(record):
raw_value = record["row"][HEADER]
values = raw_value.split(";")
parsed = dict(zip(fields, values))
parsed["dataset_id"] = record["dataset_id"]
parsed["row_index"] = record["row_index"]
parsed["source_file"] = record["source_file"]
return parsed
ds = load_dataset("LiteFold/SKEMPI2", split="train")
row = expand_record(ds[0])
print(row["#Pdb"])
print(row["Mutation(s)_cleaned"])
print(row["Affinity_mut_parsed"], row["Affinity_wt_parsed"])
Stream and compute a simple binding-affinity change target:
import math
from datasets import load_dataset
R = 1.9872036e-3 # kcal mol^-1 K^-1
DEFAULT_T = 298.15
ds = load_dataset("LiteFold/SKEMPI2", split="train", streaming=True)
for record in ds:
row = expand_record(record)
kd_mut = float(row["Affinity_mut_parsed"])
kd_wt = float(row["Affinity_wt_parsed"])
temperature = float(row["Temperature"] or DEFAULT_T)
ddg = R * temperature * math.log(kd_mut / kd_wt)
print(row["#Pdb"], row["Mutation(s)_cleaned"], ddg)
break
Load directly from the JSONL path:
from datasets import load_dataset
ds = load_dataset(
"json",
data_files="hf://datasets/LiteFold/SKEMPI2/tables/labeled_skempi2_skempi_v2.csv.jsonl",
split="train",
)
Data Notes
SKEMPI v2 contains experimentally curated values, but it is still a benchmark that needs careful splitting. Random row splits can leak information because many records share the same PDB complex, protein pair, or closely related mutations. For model evaluation, prefer complex-level, protein-pair-level, or interaction-family-level splits depending on the question.
Binding affinities are reported as dissociation constants in molar units. A common derived supervised target is ddG = R * T * ln(Kd_mut / Kd_wt), but users should check units, missing temperatures, censored or non-detectable binding values, and multi-mutation rows before training or benchmarking.
The Hugging Face dataset viewer may fail to preview this mirror because the original CSV row is nested under a long header key. The local JSONL and datasets loading examples above are the most reliable way to consume the current upload.
License
The dataset card metadata uses license: other because SKEMPI v2 should be used according to the upstream SKEMPI terms and citation requirements.
Citation
@article{jankauskaite2019skempi2,
title = {{SKEMPI} 2.0: an updated benchmark of changes in protein-protein binding energy, kinetics and thermodynamics upon mutation},
author = {Jankauskait{\.e}, Justina and Jim{\'e}nez-Garc{\'i}a, Brian and Dapk{\=u}nas, Justas and Fern{\'a}ndez-Recio, Juan and Moal, Iain H.},
journal = {Bioinformatics},
volume = {35},
number = {3},
pages = {462--469},
year = {2019},
doi = {10.1093/bioinformatics/bty635},
url = {https://doi.org/10.1093/bioinformatics/bty635}
}
- Downloads last month
- 30