Datasets:

Modalities:
Text
Formats:
parquet
DOI:
File size: 10,772 Bytes
a1c7563
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98bd880
f6063ec
98bd880
 
 
f6063ec
 
 
 
 
 
 
 
 
98bd880
f6063ec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45e4f02
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
---
configs:
- config_name: default
  data_files:
  - split: positive
    path: data/positive-*
  - split: negative
    path: data/negative-*
  - split: unknown
    path: data/unknown-*
dataset_info:
  features:
  - name: SNOOPPI_final_label
    dtype: string
  - name: MI0915_final_label
    dtype: string
  - name: SNOOPPI_Partner_A_ID
    dtype: string
  - name: SNOOPPI_Partner_B_ID
    dtype: string
  - name: SNOOPPI_Pair_ID
    dtype: string
  - name: SNOOPPI_Labeled_Pair_ID
    dtype: string
  - name: seq_sort
    dtype: string
  - name: unique_interaction_mi_terms
    dtype: string
  - name: partner_A_sequence
    dtype: string
  - name: partner_B_sequence
    dtype: string
  - name: partner_A_length
    dtype: string
  - name: partner_B_length
    dtype: string
  - name: partner_A_mol_type
    dtype: string
  - name: partner_B_mol_type
    dtype: string
  - name: intact_interaction_ids
    dtype: string
  - name: n_intact_interaction_ids
    dtype: string
  - name: partner_A_intact_interactor_ids
    dtype: string
  - name: partner_B_intact_interactor_ids
    dtype: string
  - name: partner_A_n_intact_interactor_ids
    dtype: string
  - name: partner_B_n_intact_interactor_ids
    dtype: string
  - name: partner_A_uniprot_ids
    dtype: string
  - name: partner_B_uniprot_ids
    dtype: string
  - name: partner_A_gene_names
    dtype: string
  - name: partner_B_gene_names
    dtype: string
  - name: partner_A_species
    dtype: string
  - name: partner_B_species
    dtype: string
  - name: mi_scores_all
    dtype: string
  - name: mi_score_mean
    dtype: string
  - name: mi_score_min
    dtype: string
  - name: mi_score_max
    dtype: string
  - name: assays_unique
    dtype: string
  - name: n_assays_unique
    dtype: string
  - name: n_papers
    dtype: string
  - name: pubmed_ids
    dtype: string
  - name: publication_years_all
    dtype: string
  - name: publication_year_min
    dtype: string
  - name: publication_year_max
    dtype: string
  - name: feature_relationship_types
    dtype: string
  - name: feature_relationship_summary
    dtype: string
  - name: has_mutation_relationship
    dtype: string
  - name: has_ptm_relationship
    dtype: string
  - name: has_binding_site_relationship
    dtype: string
  - name: partner_A_wildtype_sequence_if_feature_modified
    dtype: string
  - name: partner_B_wildtype_sequence_if_feature_modified
    dtype: string
  - name: wildtype_seq_sort_if_feature_modified
    dtype: string
  - name: wildtype_SNOOPPI_final_label
    dtype: string
  - name: wildtype_MI0915_final_label
    dtype: string
  - name: exact_sequence_pair_intact_label_summary
    dtype: string
  - name: snooppi_label_transition_from_intact
    dtype: string
  - name: seq_sort_origin_categories
    dtype: string
  - name: unique_expansions
    dtype: string
  - name: partner_A_go_terms
    dtype: string
  - name: partner_B_go_terms
    dtype: string
  - name: partner_A_dip
    dtype: string
  - name: partner_B_dip
    dtype: string
  - name: partner_A_ensg
    dtype: string
  - name: partner_B_ensg
    dtype: string
  - name: partner_A_ense
    dtype: string
  - name: partner_B_ense
    dtype: string
  - name: partner_A_enst
    dtype: string
  - name: partner_B_enst
    dtype: string
  - name: partner_A_interpro
    dtype: string
  - name: partner_B_interpro
    dtype: string
  - name: partner_A_rcsb_pdb
    dtype: string
  - name: partner_B_rcsb_pdb
    dtype: string
  - name: partner_A_reactome
    dtype: string
  - name: partner_B_reactome
    dtype: string
  - name: partner_A_host_context
    dtype: string
  - name: partner_B_host_context
    dtype: string
  - name: partner_A_sequence_snooppi_degree_by_label
    dtype: string
  - name: partner_B_sequence_snooppi_degree_by_label
    dtype: string
  - name: partner_A_sequence_modified_role_counts
    dtype: string
  - name: partner_B_sequence_modified_role_counts
    dtype: string
  - name: partner_A_sequence_partner_modified_role_counts
    dtype: string
  - name: partner_B_sequence_partner_modified_role_counts
    dtype: string
  - name: partner_A_gene_snooppi_degree_by_label
    dtype: string
  - name: partner_B_gene_snooppi_degree_by_label
    dtype: string
  - name: partner_A_gene_modified_role_counts
    dtype: string
  - name: partner_B_gene_modified_role_counts
    dtype: string
  - name: partner_A_gene_partner_modified_role_counts
    dtype: string
  - name: partner_B_gene_partner_modified_role_counts
    dtype: string
  splits:
  - name: positive
    num_bytes: 153392772
    num_examples: 33625
  - name: negative
    num_bytes: 34725795
    num_examples: 5378
  - name: unknown
    num_bytes: 4633269465
    num_examples: 835083
  download_size: 1457344515
  dataset_size: 4821388032
---
# SNOOPPI: Sequence-Normalized Database of On- and Off-Target Protein-Protein Interactions

SNOOPPI is a curated protein–protein interaction (PPI) dataset containing positive, negative, and unknown interaction annotations. 
  * SNOOPPI is *sequence-indexed*, meaning one unique SNOOPPI PPI or non-PPI indicates a unique combination of protein sequences.
  * The dataset preserves protein sequences, identifiers, species information, PSI-MI interaction terms, experimental evidence, publications, and feature relationships where available.

## Dataset splits

SNOOPPI is distributed in three splits:

| Split      | Description                                                                                                                                 |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `positive` | Protein pairs retained as positive interactions under the SNOOPPI annotation criteria                                                       |
| `negative` | Protein pairs retained as negative interactions under the SNOOPPI annotation criteria                                                       |
| `unknown`  | Protein pairs present in IntAct's source interaction records but not assigned a definitive positive or negative label under the SNOOPPI criteria |

The `unknown` split should not automatically be interpreted as a negative or as a set of experimentally tested non-interactions. These entries represent interactions for which the available evidence was insufficient, conflicting, or otherwise unresolved under the annotation framework.

## Installation

Install the Hugging Face `datasets` package:

```bash
pip install -U datasets
```

## Load the complete dataset

```python
from datasets import load_dataset

snooppi = load_dataset("ChatterjeeLab/SNOOPPI")

print(snooppi)
```

This returns a `DatasetDict` containing the `positive`, `negative`, and `unknown` splits.

Access an individual split from the resulting object:

```python
snooppi_positive = snooppi["positive"]
snooppi_negative = snooppi["negative"]
snooppi_unknown = snooppi["unknown"]
```

## Load one split directly

Load only the positive interactions:

```python
from datasets import load_dataset

snooppi_positive = load_dataset(
    "ChatterjeeLab/SNOOPPI",
    split="positive",
)
```

Load only the negative interactions:

```python
snooppi_negative = load_dataset(
    "ChatterjeeLab/SNOOPPI",
    split="negative",
)
```

Load only the unknown interactions:

```python
snooppi_unknown = load_dataset(
    "ChatterjeeLab/SNOOPPI",
    split="unknown",
)
```

## Convert a split to pandas

```python
from datasets import load_dataset

snooppi_pos = load_dataset(
    "ChatterjeeLab/SNOOPPI",
    split="positive",
).to_pandas()
```

Converting a complete split to pandas loads that split into memory. Users working in memory-constrained environments may prefer to filter the Hugging Face `Dataset` before calling `.to_pandas()`.

## Example queries

### Retrieve direct human positive interactions

The PSI-MI term `MI:0407` denotes a direct interaction. The NCBI taxonomy identifier for humans is `9606`.

```python
from datasets import load_dataset

snooppi_pos = load_dataset(
    "ChatterjeeLab/SNOOPPI",
    split="positive",
).to_pandas()

direct_human_positive = snooppi_pos.loc[
    snooppi_pos[
        "unique_interaction_mi_terms"
    ].fillna("").str.contains(
        "MI:0407",
        regex=False,
    )
    & snooppi_pos[
        "partner_A_species"
    ].fillna("").str.contains(
        "9606",
        regex=False,
    )
    & snooppi_pos[
        "partner_B_species"
    ].fillna("").str.contains(
        "9606",
        regex=False,
    )
].copy()

print(
    f"Direct human positive interactions: "
    f"{len(direct_human_positive):,}"
)
```

### Find all positive interactions involving a UniProt accession

```python
from datasets import load_dataset

snooppi_pos = load_dataset(
    "ChatterjeeLab/SNOOPPI",
    split="positive",
).to_pandas()

uniprot_accession = "P00734"

uniprot_ppis = snooppi_pos.loc[
    snooppi_pos[
        "partner_A_uniprot_ids"
    ].fillna("").str.contains(
        uniprot_accession,
        regex=False,
    )
    | snooppi_pos[
        "partner_B_uniprot_ids"
    ].fillna("").str.contains(
        uniprot_accession,
        regex=False,
    )
].copy()

print(
    f"Positive interactions involving {uniprot_accession}: "
    f"{len(uniprot_ppis):,}"
)
```

## Notes on identifier searches

Identifier fields may contain multiple source identifiers or annotations within one string. The examples therefore use literal substring matching with `regex=False`.

For analyses requiring exact identifier membership, users should parse the relevant identifier field according to its delimiter structure before testing membership.

## Intended use

SNOOPPI may support:

* Evaluation of protein–protein interaction prediction methods
* Analysis of positive and negative interaction evidence
* Study of sequence and feature relationships between interacting proteins
* Retrieval of interactions by UniProt accession, species, or PSI-MI term

Users should preserve the distinction among positive, negative, and unknown annotations when constructing evaluation or training datasets.

## Citation

If you find SNOOPPI useful in your work, please consider citing our paper.

```
@article{10.1093/bioinformatics/btag736,
    author = {Vincoff, Sophia and Chatterjee, Pranam},
    title = {SNOOPPI: a sequence-normalized database of on- and off-target protein–protein interactions},
    journal = {Bioinformatics},
    volume = {42},
    number = {10},
    pages = {btag736},
    year = {2026},
    month = {10},
    issn = {1367-4811},
    doi = {10.1093/bioinformatics/btag736},
    url = {https://doi.org/10.1093/bioinformatics/btag736},
    eprint = {https://academic.oup.com/bioinformatics/article-pdf/42/10/btag736/71611875/btag736.pdf},
}




```