Datasets:

Modalities:
Tabular
Text
Languages:
English
ArXiv:
DOI:
License:
File size: 10,390 Bytes
fa4b291
 
 
 
 
 
 
 
 
66ba315
 
 
 
6858624
 
66ba315
 
 
 
 
6858624
 
66ba315
 
6858624
 
66ba315
 
 
 
 
6858624
 
96f6976
66ba315
 
 
 
 
6858624
 
 
 
 
 
fa4b291
 
4c64202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5d6452f
4c64202
 
 
 
 
 
 
 
 
 
 
af2dd3c
4c64202
af2dd3c
d27158f
4c64202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
af2dd3c
4c64202
 
af2dd3c
 
 
4c64202
 
 
af2dd3c
 
 
 
 
4c64202
af2dd3c
4c64202
 
 
 
 
 
 
 
 
 
 
af2dd3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4c64202
af2dd3c
4c64202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
af2dd3c
 
4c64202
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
---
license: mit
task_categories:
- token-classification
language:
- en
tags:
- biology
pretty_name: Protap
configs:
  - config_name: AFP
    data_files:
      - split: test
        path:
          - "AFP/nrPDB-GO_test.csv"

  - config_name: PCSP
    data_files:
      - split: train
        path:
          - "PCSP/train_C14005.pkl"
          - "PCSP/train_M10003.pkl"
      - split: test
        path:
          - "PCSP/test_C14005.pkl"
          - "PCSP/test_M10003.pkl"

  - config_name: PLI_DAVIS
    data_files:
      - split: test
        path:
          - "PLI_DAVIS/davis_drug_pdb_data.txt"
          - "PLI_DAVIS/pli_structure.json"
          - "PLI_DAVIS/data/*"          

  - config_name: PROTACs
    data_files:
      - split: test
        path:
          - "PROTACs/PROTAC_clean_structure_label.txt"
          - "PROTACs/protac_poi_e3ligase_structure.json"
          - "PROTACs/e3_ligand/*"
          - "PROTACs/linker/*"
          - "PROTACs/warhead/*"

size_categories:
- 100K<n<1M
---
# Protap
- [Protap](#protap)
  - [Overview](#overview)
  - [Installation](#installation)
  - [Dataset Description](#dataset-description)
  - [Citation](#citation)
  - [Contact](#contact)

## Overview


**Protap** is a benchmark dataset for evaluating protein modeling algorithms in five biologically realistic downstream applications. It enables comparative evaluation of both pre-trained models and domain-specific architectures. Protap includes both sequence and structural data, with tasks ranging from protein function prediction to targeted protein degradation.

![image/png](https://cdn-uploads.huggingface.co/production/uploads/6714bad02d5d8af7a0aabeb5/WH2f4gFfV8qv-SGPU-D0e.png)
(I) Masked Language Modeling(MLM) is a self-supervised objective designed to recover masked residues in protein sequences;
(II) Multi-View Contrastive Learning(MVCL) leverages protein structural information by aligning representations of biologically correlated substructures.
(III) Protein Family Prediction(PFP) introduces functional and structural supervision by training models to predict family labels based on protein sequences and 3D structures.

Protap was introduced in the paper  
[**Protap: A Benchmark for Protein Modeling on Realistic Downstream Applications**](https://arxiv.org/abs/2506.02052)  
by Yan et al., arXiv 2025.
## Installation

```bash
git clone https://github.com/Trust-App-AI-Lab/protap.git
cd protap
```
## Dataset-Description
## 📦 Configurations

| Config Name | Task Description                                      | Modality       | Split        | File Types                    |
|-------------|--------------------------------------------------------|----------------|--------------|-------------------------------|
| `AFP`       | Protein function annotation (GO term prediction)      | Seq + Struct   | `test`       | `.csv`,`json`                        |
| `PCSP`      | Cleavage site prediction (enzyme-substrate pairs)     | Seq + Struct   | `train/test` | `.pkl`                        |
| `PLI_DAVIS` | Protein–ligand binding affinity regression            | Seq + Struct   | `test`       | `.txt`, `.json`, `.sdf`       |
| `PROTACs`   | Ternary complex prediction in targeted degradation    | Seq + Struct   | `test`       | `.txt`, `.json`, `.sdf`       |


---

## 💡 Task Descriptions

### 🔹 Enzyme-Catalyzed Protein Cleavage Site Prediction (`PCSP`)

- **Description**: Predict residue-level cleavage sites under the catalysis of enzymes.
- **Input**: A protein substrate and an enzyme, both represented by sequences and 3D structures.
- **Output**: A binary vector indicating whether each residue is a cleavage site.
- **Files**:
  - Train: `PCSP/train_C14005.pkl`, `PCSP/train_M10003.pkl`
  - Test: `PCSP/test_C14005.pkl`, `PCSP/test_M10003.pkl`
- **Format**:
  - **Input Format**:  
    Python pickle file (`.pkl`) with a list of samples. Each sample is a dictionary with keys like:  
    - `enzyme_seq`: amino acid string  
    - `enzyme_coords`: array of 3D coordinates  
    - `substrate_seq`: amino acid string  
    - `substrate_coords`: array of 3D coordinates
    - Structural data of proteins:
    ```json
        {
        "Q5QJ38": {
          "name": "Q5QJ38",
          "seq": "MPQLLRNVLCVIETFHKYASEDSNGAT...",
          "coords": [[[-0.432, 25.507, -8.242], ...], ...],
          "cleave_site": [136]
        }
      }
    ```
    -Sequence and structure of substrate proteins
    ```json
    {
    "P31001_MER0000622": [110, 263],
    "000232_MER0000622": [276, 334, 19],
    ...
    }
    ```
  - **Label Format**:  
    `cleavage_sites`: list of 0/1 values (length = number of substrate residues)
- **Metric**: AUC, AUPR

---

### 🔹 Targeted Protein Degradation by Proteolysis-Targeting Chimeras (`PROTACs`)

- **Description**: Predict whether a given PROTAC, E3 ligase, and target protein form a functional ternary complex for degradation.
- **Input**:
  - PROTAC molecule (warhead, linker, E3 ligand), target protein, and E3 ligase
- **Output**: Binary label (1: degradation occurs, 0: no degradation)
- **Files**:
  - `PROTACs/PROTAC_clean_structure_label.txt`
  - `PROTACs/protac_poi_e3ligase_structure.json`
  - Subfolders: `PROTACs/e3_ligand/`, `linker/`, `warhead/`
- **Format**:
  - **Input Format**:  
    - `*.json`: Contains structural coordinates of proteins  
    - `*.sdf` or `.mol` under folders: 3D conformers of molecules (SMILES-based)  
    - `PROTAC_clean_structure_label.txt`: sample list with molecule paths and label
    ```json
          [
        "Q8IWV7": {
          "seq": "MADEEAGGTERMEISAELPQTPQRLASWWDQQVDFYTA...",
          "coord": [[21.9960, 68.3170, -49.9029], ...]
        },
        .....
      ]
    ```
    
    ```bash
      uniprot    e3_ligase_structure    linker_sdf      warhead_sdf     e3_ligand_sdf     label
      Q00987     Q96SW2                 linker_2.sdf    warhead_7.sdf   e3_ligand_7.sdf   1
      Q00987     Q96SW2                 linker_2.sdf    warhead_7.sdf   e3_ligand_16.sdf  1
      P10275     P40337                 linker_13.sdf   warhead_27.sdf  e3_ligand_27.sdf  0
      P10275     P40337                 linker_33.sdf   warhead_27.sdf  e3_ligand_27.sdf  0
    ```
  - **Label Format**:  
    Binary label (0 or 1) in final column of `*_label.txt`
- **Metric**: Accuracy, AUC

---

### 🔹 Protein–Ligand Interactions (`PLI_DAVIS`)

- **Description**: Predict the binding affinity between a protein and a small molecule ligand.
- **Input**: Protein and ligand 3D structures
- **Output**: Real-valued regression target representing binding affinity
- **Files**:
  - `PLI_DAVIS/davis_drug_pdb_data.txt`
  - `PLI_DAVIS/pli_structure.json`
  - `PLI_DAVIS/data/`: contains structure files for small molecules
- **Format**:
  - **Input Format**:
    - `pli_structure.json`: Dictionary of protein structures with residue positions  
    - `davis_drug_pdb_data.txt`: Tab-separated file with fields: `drug`, `protein`, `y_true`
    - `data/`: ligand structures (`.sdf`, `.pdbqt` or similar)
  ```json
      [
        "4WSQ.B": {
          "uniprot_id": "Q2M2I8",
          "seq": "EVLAEGGFAIVFLCALKRMVCKREIQIMRDLS...",
          "coord": [[[6.6065, 16.2524, 52.3289], ...], ...]
        }
      ]
  ```

  ```bash
    drug    protein    Kd        y        protein_pdb
    5291    AAK1       10000.0   5.0      4WSQ.B
    5291    ABL1p      10000.0   5.0      3QRJ.B
    5291    ABL2       10.0      7.99568  2XYN.C
  ```
  - **Label Format**:
    Real-valued log-transformed binding affinity (e.g., pKd or −log(Kd))
- **Metric**: Mean Squared Error (MSE), Pearson Correlation

---

### 🔹 Protein Function Annotation Prediction (`AFP`)

- **Description**: Predict GO (Gene Ontology) terms for proteins.
- **Input**: Protein sequence and structure
- **Output**: Multi-label vector representing associated GO terms
- **Files**:
  - `AFP/processed_data.json`
  - `AFP/data_splits.json`
  - `AFP/nrPDB-GO_annot.tsv`
  - `AFP/nrPDB-GO_test.csv`
- **Format**:
  - **Input Format**:
    ```AFP/processed_data.json```: json file with key value pair:
    - `name`: unique ID
    - `seq`: amino acid sequence
    - `coords`: protein structure information
    - `molecular_function`,`biological_process`,`cellular_component`: GO term labels
    ```json
    - [
      {
        "name": "2P1Z-A",
        "seq": "SKKAELAELVKELAVYVDLRRATLHARASRLIGELLRELTADWDYVA...",
        "coords": [[ [6.4359, 51.3870, 15.4490], ... ], ...],
        "molecular_function": [0, 0, ..., 1, ...],
        "biological_process": [0, 0, ..., 0, ...],
        "cellular_component": [0, 0, ..., 1, ...]
      },
      ...
    ]
    ```
    ```AFP/data_splits.json```: The division of the train and test datasets
  - **annotation file Format**:  
    ```AFP/nrPDB-GO_annot.tsv```:tsv file with multi-column contains the detailed GO term information for all proteins.
    ```
    ### PDB-chain	GO-terms (molecular_function)	GO-terms (biological_process)	GO-terms (cellular_component)
    1A6X-A	        GO:0016874	                    GO:0016053, ... , GO:0032787    GO:1902494
    ```
    ```AFP/nrPDB-GO_test.csv```: csv file with multi-column contains the sequence similarity between the test proteins and the training set.
    ```
    PDB-chain,<30%,<40%,<50%,<70%,<95%
    3ONG-B   ,  0 ,  1 ,  1 , 1  , 1
    1AD3-A   ,  0 ,  0 ,  1 , 1  , 1
    1FI8-A   ,  0 ,  0 ,  0 , 1  , 1
    2FWM-X   ,  0 ,  1 ,  1 , 1  , 1
    ```
  - **Label Format**:
    One or more GO term IDs (e.g., `GO:0007165`) in a multi-hot encoded label vector, The detailed GO term label information for each protein can be found in the **AFP/nrPDB-GO\_annot.tsv** file.
- **Metric**: Fmax, AUPR



## Citation
If you use this dataset, please cite:

```bibtex
  @misc{yan2025protapbenchmarkproteinmodeling,
        title={Protap: A Benchmark for Protein Modeling on Realistic Downstream Applications}, 
        author={Shuo Yan and Yuliang Yan and Bin Ma and Chenao Li and Haochun Tang and Jiahua Lu and Minhua Lin and Yuyuan Feng and Hui Xiong and Enyan Dai},
        year={2025},
        eprint={2506.02052},
        archivePrefix={arXiv},
        primaryClass={q-bio.BM},
        url={https://arxiv.org/abs/2506.02052}, 
  }
```
## Contact
Please submit GitHub issues or contact Shuo Yan ([syan225@connect.hkust-gz.edu.cn](mailto:syan225@connect.hkust-gz.edu.cn)
) for any questions related to the source code.