File size: 4,138 Bytes
71d68b9
 
 
 
 
 
 
 
 
 
 
c9b3492
8a32862
2efd3c7
 
 
 
 
 
8a32862
c9b3492
8a32862
4e2b98b
548058f
4e2b98b
 
2efd3c7
8a32862
 
 
 
 
 
 
 
4e2b98b
 
 
8a32862
 
 
 
 
78e1a6a
8a32862
78e1a6a
 
4797e2d
 
8a32862
4797e2d
8a32862
 
 
 
 
 
 
 
 
 
 
c9b3492
8a32862
 
 
 
 
c9b3492
8a32862
 
 
 
 
c9b3492
8a32862
 
 
 
 
c9b3492
8a32862
 
 
 
 
 
 
 
 
 
 
78e1a6a
8a32862
 
 
78e1a6a
 
 
 
 
 
 
 
 
 
8a32862
 
 
78e1a6a
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
---
task_categories:
- text-generation
language:
- en
tags:
- proteins
- biology
- uniprot
size_categories:
- 100K<n<1M
license: mit
---

<h1 align="center">Dataset Card for PAIR</h1>

 <p align="center">
 <a href="https://www.biorxiv.org/content/10.1101/2024.07.22.604688v2.abstract"><img src="https://img.shields.io/badge/bioRxiv-2024.07.22.604688-red?style=for-the-badge&logo=bioRxiv" alt="bioRxiv"/></a>
</p>

This dataset contains all the text annotations we collected and parsed from UniProt Swiss-Prot February 2023 and used to train PAIR from the paper "Boosting the Predictive Power of Protein Representations with a Corpus of Text Annotations". You can read more details about PAIR [here](https://www.biorxiv.org/content/10.1101/2024.07.22.604688v2.abstract).

 <p align="center">
<img src="https://huggingface.co/datasets/mskrt/PAIR/resolve/main/pair_data_fig.png" alt="drawing" style="width:500px;">
</p>

# Dataset Details

### Dataset Description

<!-- Provide a longer summary of what this dataset is. -->


### Dataset Sources

- [**Repository**](https://github.com/h4duan/PAIR)
- [**Pre-print**](https://www.biorxiv.org/content/10.1101/2024.07.22.604688v2.abstract)
- [**Model checkpoints**](https://huggingface.co/h4duan)

## Uses

<!-- Address questions around how the dataset is intended to be used. -->

### Example usage

```
from datasets import load_dataset
data = load_dataset("mskrt/PAIR", annotation_type="function", trust_remote_code=True)
```

where `annotation_type` is one of the 19 annotation types we considered in our work. Here is a list of all the possible annotation types you can load: `['function', 'active_sites', 'activity_regulation'...]`

### Out-of-Scope Use

<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->

This dataset contains text annotations from Swiss-Prot February 2023; our models were trained on all of them. Please be mindful about potential data leakage from time splits/identical protein sequences on any downstream tasks in your setup.

## Dataset Structure

<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->

[Coming soon]

## Dataset Creation

### Source Data

This data was collected from the Swiss-Prot checkpoint from February 2023, found [here](https://ftp.uniprot.org/pub/databases/uniprot/previous_major_releases/release-2023_02/knowledgebase/).

#### Data Collection and Processing

<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->

To see how we parsed our data, select an annotation type folder from [this link](https://github.com/h4duan/PAIR/tree/main/_fact) and open the `parser.py` script. 

#### Who are the source data producers?

<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->

The data was originally produced by the [Uniprot consortium](https://www.uniprot.org/).


#### Personal and Sensitive Information

To our knowledge, this dataset does not contain any private information.

## Bias, Risks, and Limitations

In general, the dataset is highly imbalanced in terms of how many and what protein sequences in Swiss-Prot have an annotation for a given annotation type. This dataset is sparse


## Citation

**BibTeX:**

```
@article{duan2024boosting,
  title={Boosting the Predictive Power of Protein Representations with a Corpus of Text Annotations},
  author={Duan, Haonan and Skreta, Marta and Cotta, Leonardo and Rajaonson, Ella Miray and Dhawan, Nikita and Aspuru-Guzik, Alán and Maddison, Chris J},
  journal={bioRxiv},
  pages={2024--07},
  year={2024},
  publisher={Cold Spring Harbor Laboratory}
}
```

## Dataset Card Contact

For any issues with this dataset, please contact `[email protected]` or `[email protected]`