Datasets:
Formats:
csv
Size:
1K - 10K
ArXiv:
Tags:
biology
proteins
protein-language-models
protein-protein-interaction
binding-affinity
regression
License:
|
Download README.md from hazemessam/ppi-affinity: direct link, hf CLI and curl.
- Browser
- Download file 4.34 kB
-
https://huggingface.co/datasets/hazemessam/ppi-affinity/resolve/main/README.md
- Command line
-
hf download hf://datasets/hazemessam/ppi-affinity/README.md
-
curl -L -o README.md https://huggingface.co/datasets/hazemessam/ppi-affinity/resolve/main/README.md
4.34 kB
| pretty_name: PEER PPI Affinity | |
| license: apache-2.0 | |
| tags: | |
| - biology | |
| - proteins | |
| - protein-language-models | |
| - protein-protein-interaction | |
| - binding-affinity | |
| - regression | |
| - peer | |
| size_categories: | |
| - 1K<n<10K | |
| configs: | |
| - config_name: default | |
| default: true | |
| data_files: | |
| - split: train | |
| path: ppi_affinity_train.csv | |
| - split: validation | |
| path: ppi_affinity_valid.csv | |
| - split: test | |
| path: ppi_affinity_test.csv | |
| # PEER PPI Affinity | |
| Pairs of proteins, each labelled with a binding-affinity value. This is the PPI affinity task of **PEER** (Xu et al., 2022), | |
| exported from PEER's original files without changes to any value. | |
| **The task:** given two proteins' sequences (`primary_1`, `primary_2`), predict `interaction` (regression). | |
| ## Quick start | |
| ```python | |
| from datasets import load_dataset | |
| default = load_dataset("hazemessam/ppi-affinity", "default") | |
| print(default["train"][0]) | |
| ``` | |
| ## Files and splits | |
| | split | file | pairs | interaction range | length of protein 1 | length of protein 2 | | |
| | --- | --- | --- | --- | --- | --- | | |
| | train | `ppi_affinity_train.csv` | 2,421 | -21.41 to -1.36 | 17 to 749 (median 238) | 9 to 439 (median 90) | | |
| | validation | `ppi_affinity_valid.csv` | 203 | -20.75 to -3.85 | 44 to 749 (median 262) | 32 to 200 (median 124) | | |
| | test | `ppi_affinity_test.csv` | 326 | -19.25 to -3.81 | 82 to 533 (median 218) | 50 to 192 (median 53) | | |
| ## Columns | |
| | column | type | role | meaning | | |
| | --- | --- | --- | --- | | |
| | `primary_1` | string | **input** | amino-acid sequence of the first protein | | |
| | `primary_2` | string | **input** | amino-acid sequence of the second protein | | |
| | `protein_length_1`, `protein_length_2` | int | metadata | lengths of `primary_1` and `primary_2` | | |
| | `interaction` | float | **label** | binding-affinity value as given by PEER (all values are negative) | | |
| ## Verification | |
| Checked on 2026-11-13 against the original source. SHA-256 of each file in this repo: | |
| | file | SHA-256 | check against source | | |
| | --- | --- | --- | | |
| | `ppi_affinity_train.csv` | `d3349c12d0bb91932c9f64076fc3d0bc57151db9d720e4402bee008caddb09b2` | CSV: every row equals the LMDB record at the same index; archive: byte-identical, MD5 as pinned by torchdrug | | |
| | `ppi_affinity_valid.csv` | `53a9301001e6de0c5cf7a3d50ab6be1f64f15eb48606e0ca1c552e75428299ff` | CSV: every row equals the LMDB record at the same index; archive: byte-identical, MD5 as pinned by torchdrug | | |
| | `ppi_affinity_test.csv` | `a2a8151cd6ad9dcb84ecc7cb73072392ac6eb96004e77174ceab930e1e4c1790` | CSV: every row equals the LMDB record at the same index; archive: byte-identical, MD5 as pinned by torchdrug | | |
| | `original/ppi_affinity.zip` | `50cdf38b3fdff405f4715afa83bdd5586c7370d3a260d5d6e62a4e1b8b493dd8` | CSV: every row equals the LMDB record at the same index; archive: byte-identical, MD5 as pinned by torchdrug | | |
| ## Source, license and citation | |
| From the **PEER** benchmark (Xu et al., NeurIPS Datasets and Benchmarks 2022), as distributed by torchdrug | |
| (<https://github.com/DeepGraphLearning/PEER_Benchmark>). `original/ppi_affinity.zip` is PEER's archive exactly as torchdrug downloads it from `https://miladeepgraphlearningproteindata.s3.us-east-2.amazonaws.com/` (MD5 `d114907fd20c75820e41881f8901e9e4`, the checksum torchdrug pins). It holds LMDB databases whose values are Python pickles: unpickle them only if you trust the source. PEER's repository is licensed | |
| Apache-2.0; PEER's paper lists the original source of each task. Please cite PEER: | |
| ```bibtex | |
| @article{xu2022peer, | |
| title = {PEER: A Comprehensive and Multi-Task Benchmark for Protein Sequence Understanding}, | |
| author = {Xu, Minghao and Zhang, Zuobai and Lu, Jiarui and Zhu, Zhaocheng and Zhang, Yangtian and Ma, Chang and Liu, Runcheng and Tang, Jian}, | |
| journal = {arXiv preprint arXiv:2206.02096}, | |
| year = {2022} | |
| } | |
| ``` | |
| ## Changes | |
| Before this update (revision `70f23f3`), the CSVs here had conversion errors; the values themselves were correct: | |
| - every file ended with an extra empty row (the converter read LMDB's `num_examples` key as a record), which loaded as an example with no sequence; | |
| - rows were in LMDB key order compared as text (0, 1, 10, 100, …) instead of PEER's order 0, 1, 2, …; | |
| - integer columns were written as floats (`499.0`); | |
| The CSVs were rebuilt from PEER's original archive (now included under `original/`). | |