PLUG-challenge / data /README.md
alanclayrichard's picture
lohi splits and supervised and unsupervised tracks
49442cb
|
Raw History Blame Contribute Delete
1.99 kB

Protein splits

One directory per benchmark, each holding proteins.csv: every protein that benchmark measures and the Lo-Hi split it was given.

node,protein,split
p0007f64da8cd80c7,1jje 1jjt,train
p0007f7e96f435cae,6gl3,excluded
  • node is plug's id for the protein, a hash of its sequence, so one protein has one node across all eleven benchmarks.
  • protein is the benchmark's own id for it (a PDB code, a UniProt accession, a STRING id, a DMS assay, a PDB chain), space-separated when several of the benchmark's entries share one sequence. For bindingdb, whose rows name a target only by its sequence, it is the UniProt accession where BindingDB gives one.
  • split is train, val, test, or excluded for a protein the k-cut gave up.

These come from the Lo-Hi split plug wrote (its nodes/proteins.csv.gz). The split is solved once over a similarity graph pooled across the eleven benchmarks, so a test protein of one benchmark is never in another's training set. lohi_provenance.json records which split this is, with its file digests.

They carry no labels, sequences or ligands. Not every benchmark's licence allows redistributing those (LP-PDBBind's does not), so the rows themselves come from the original sources through plug's loaders.

Refresh them with scripts/build_challenge_data.py, which writes them as a side effect of building the challenge data.

Proteins are not rows

A row survives only when everything it is about agrees on a split: both partners of an interaction, or the protein and the ligand of an affinity measurement. So a protein can be train here while some of its rows are in no split at all. The row-level split, the thing a submission is scored on, is the split column of each benchmark's manifest.parquet in the public data repo PrismScienceOrg/plug-challenge-data, beside the datapoint_id and row_index every row carries.