Dataset Viewer
Auto-converted to Parquet Duplicate
target
stringlengths
6
10
target_gene
stringlengths
3
20
⌀
min_num_chains
int64
2
454
max_num_chains
int64
3
454
min_buried_sasa
int64
112
4.93k
max_buried_sasa
int64
268
12.5k
example_pdb
stringlengths
4
4
A0A024L8R9
arfB
57
57
235
660
6ysu
A0A072ZDZ0
rplU
32
32
306
1,924
6spb
A0A077UKD6
rpsK
46
52
491
2,018
5ngm
A0A077UU26
rpsC
46
52
268
367
6s13
A0A077VHU6
rpsG
47
52
325
491
7p48
A0A0A1GYE8
FAP172
61
61
569
845
7ju4
A0A0D3ALM2
null
37
88
1,853
1,876
9EVS
A0A0D3B8D2
null
88
88
1,687
2,677
9EVS
A0A0D3B980
null
88
88
211
2,245
9EVS
A0A0D3CBJ8
null
88
88
268
4,094
9EVS
A0A0D3CIR5
null
37
88
1,613
1,891
9EVT
A0A0D3CQR2
null
88
88
2,725
10,480
9EVS
A0A0D3DDW7
null
88
88
711
1,725
9EVS
A0A0E2KXL3
rpsR
18
18
156
1,394
8eyt
A0A0F7V439
BN1205_093850
106
106
955
2,641
9G6K
A0A0F7VBJ0
BN1205_001085
69
88
266
3,336
9HQV
A0A0M3KL53
null
36
36
250
2,516
7nsj
A0A0M3KL55
null
36
36
240
2,600
5aj3
A0A0M3KL56
null
36
36
261
2,272
8oip
A0A125YG13
TGME49_207800
88
88
2,160
5,473
9HQV
A0A125YGX6
TGME49_216040
69
88
781
4,011
9FIA
A0A125YJY5
TGME49_225240
108
108
244
5,493
9I05
A0A125YKW9
TGME49_230050
108
108
768
5,596
9I05
A0A125YMH9
TGME49_239720
108
108
1,139
3,723
9I05
A0A125YMK3
TGME49_294750
88
88
285
10,678
9HQV
A0A125YN27
TGME49_318420
88
88
1,941
3,411
9HQV
A0A125YNF6
TGME49_261380
88
88
227
1,457
9HQV
A0A125YNI9
TGME49_220150
106
108
211
5,413
9I05
A0A125YNK1
TGME49_260790
108
108
2,929
3,001
9I05
A0A125YNS5
TGME49_267040
106
108
237
5,164
9I05
A0A125YPC1
TGME49_233170
88
88
2,458
3,206
9HQV
A0A125YQQ1
TGME49_264730
88
88
234
4,410
9HQV
A0A125YR83
TGME49_294190
69
88
275
4,612
9HQV
A0A125YRD5
TGME49_284660
69
88
781
3,200
9HQV
A0A125YRP8
TGME49_309390
108
108
2,776
3,740
9I05
A0A125YSK9
TGME49_260660
108
108
2,187
3,740
9I05
A0A125YTD0
TGME49_312680
108
108
779
2,277
9I05
A0A125YTV4
RPL24
108
108
2,429
2,467
9I05
A0A125YU12
TGME49_293310
106
108
456
3,315
9G6K
A0A125YU18
TGME49_320005
108
108
256
2,768
9I05
A0A125YU95
TGME49_273060
88
88
444
672
9HQV
A0A125YVS1
TGME49_289140
106
108
460
4,376
9I05
A0A125YVS8
TGME49_263550
108
108
245
3,067
9I05
A0A125YWE1
TGME49_277700
88
88
218
2,962
9HQV
A0A125YXA5
TGME49_226280
106
108
245
5,789
9I05
A0A125YXL8
TGME49_313160
69
88
275
2,870
9HQV
A0A125YXT1
TGME49_249790
88
88
719
3,660
9HQV
A0A125YYG6
TGME49_318340
88
88
451
2,820
9HQV
A0A125YYH1
TGME49_248490
108
108
288
3,230
9I05
A0A125YYR6
TGME49_310500
108
108
1,400
4,553
9I05
A0A125YYT2
TGME49_312390
69
88
248
7,225
9HQV
A0A1B4XKR5
rpsJ
47
47
967
1,690
6o90
A0A1B4XKS3
rpsQ
47
47
269
477
6o90
A0A1D8NGI5
YALI1_E00527g
5
42
230
2,484
7b0n
A0A1D8NKB4
B0I71DRAFT_128923
42
42
230
4,108
7b0n
A0A1D8PCG7
RPS21B
79
79
2,680
2,992
7q0p
A0A1D8PGY0
RPL21A
79
79
444
1,880
7q0p
A0A1D8PH21
RPL36
79
79
477
740
7q0p
A0A1D8PK30
RPL35
79
79
349
1,602
7q0f
A0A1H6PKH9
B0I71DRAFT_134867
41
42
1,621
2,316
7b0n
A0A1I9WCL8
mel
57
57
225
413
5zlu
A0A1L4AA68
RPS5
66
79
315
2,676
6t83
A0A1L8FRG2
rpl15.S
81
81
342
2,214
7oyc
A0A1L8FWH1
LOC121394610
81
81
1,928
1,942
7oyc
A0A1S3UHF9
LOC106765382
68
68
264
648
8e73
A0A1S3UIW7
LOC106765762
34
68
691
2,927
6x89
A0A1S3UVC7
LOC106768957
34
34
994
2,240
8e73
A0A1S3W199
LOC106780282
20
20
297
2,166
8e73
A0A1S3XXQ5
LOC107769978
46
46
575
2,704
8b2l
A0A1S3Z906
LOC107784137
35
35
271
951
8auv
A0A1S4B0G2
LOC107803255
46
46
296
636
8b2l
A0A1S4BFD5
LOC107807693
46
46
264
3,192
8azw
A0A1S4CSN1
LOC107822051
46
46
993
3,192
8b2l
A0A1S4D668
LOC107826327
46
46
575
2,236
8b2l
A0A1S4DF55
LOC107829149
46
46
514
2,472
8b2l
A0A1Z5LHJ5
null
83
83
1,029
2,080
7zjw
A0A286ZUN9
NDUFS8
12
80
238
2,450
9BWD
A0A287AAR5
NDUFAB1
18
29
234
1,329
7vwl
A0A287AEB7
COX6A2
80
95
314
3,186
8UGJ
A0A287ANU4
MRPS24
36
36
421
2,754
7nsj
A0A287AQT5
MRPS22
36
36
522
4,100
7nsj
A0A287ARY3
NDUFS1
45
80
334
4,141
9BUH
A0A287AY01
GNRH2
36
36
892
922
8OIP
A0A287B9C4
MRPL4
61
62
281
2,320
8oiq
A0A287BAW0
NDUFA5
18
45
625
3,128
7vxp
A0A287BEK4
NDUFV3
45
45
376
2,568
7v2c
A0A287BJ57
null
79
81
240
3,120
8UGH
A0A287BMW6
NDUFB11
29
29
282
3,740
7vwl
A0A287BQA1
MRPL42
61
61
546
1,785
7nsj
A0A2K3CNP4
CHLRE_17g697350v5
34
34
216
6,528
8XI2
A0A2K3CXL0
CHLRE_14g614950v5
44
44
2,226
3,372
7pkq
A0A2K3D1M1
CHLRE_12g483850v5
12
12
539
2,637
9F60
A0A2K3D591
CHLRE_12g537450v5
12
12
609
4,361
9F60
A0A2K3DDW6
CHLRE_09g388282v5
44
44
227
975
7pkq
A0A2K3DGK2
CHLRE_08g361500v5
44
44
402
718
7pkq
A0A2K3DYZ8
CHLRE_03g206450v5
51
95
442
773
9F5Y
A0A2K3E0E3
CHLRE_02g078550v5
451
451
1,027
1,055
6u42
A0A2K3E1X6
CHLRE_02g095149v5
451
451
3,060
3,526
6u42
A0A2K3E769
CHLRE_01g037400v5
34
34
373
2,838
8XI2
A0A2K5QKS6
null
84
162
390
959
7qvp
End of preview. Expand in Data Studio

Flock: A negative-enriched protein-protein interaction dataset - Dataset Card

Code: https://github.com/TernaryTx/flock

Overview

Files

file rows contents
flock_pairs 404,577 the full dataset: one row per unordered pair, with label, source and leakage flags and examples
leakage_free_pairs 16,210 a benchmark for cofolding models: 335 targets, leakage-filtered
leaked_pairs 14,402 298 targets whose pairs are leaked, as a contrast set
benchmark_targets 610 per-target structural metadata across both leaked and leakage-free sets
literature_negatives_detail 10,480 evidence behind each literature-mined negative pair
sequences 5,981 exact sequences used in paper benchmarks
esmfold2_metrics 24,022 ESMFold2-Fast scores on both benchmark sets, labelled by set
esmc_metrics 48,044 ESMC scores on the same pairs, labelled by set and by feature_corpus
zhang_pairs 12,635 the external Zhang et al. test set, homology-filtered
zhang_sequences 9,820 exact sequences scored over the Zhang et al. set
zhang_esmc_metrics 12,635 ESMC scores on the Zhang et al. set

flock_pairs is ordered so protein_a < protein_b alphabetically, and no pair appears twice. 26,934 positive and 377,643 negative pairs. 8,310 pairs from PINDER alone, 4,980 from PPI3D alone, and 13,644 pairs from both (indicated in the positive_source column). negative_source is pdb for 368,937 and literature for 8,706. Each label's source column is empty on the other label. Gene names are present for 383,801 of the 404,577 pairs. The four leakage columns are described under Leakage.

leakage_free_pairs and leaked_pairs carry target, partner and type only. They are directed; the orientation of pairs is meaningful since we calculate per-target metrics. Everything else about a pair lives in flock_pairs and can be joined on the unordered pair.

benchmark_targets gives min_num_chains and max_num_chains over the target's source complexes, min_buried_sasa and max_buried_sasa in Ų, and one representative example_pdb so a reader can look at a real structure. Gene names are present for 546 of the 610 targets.

literature_negatives_detail holds 10,480 rows over 10,082 pairs. A pair supported by two papers gets a row for each. Alongside the accessions it contains the source paper (pmid, pmcid, text_source), the sentence relied on and where it appeared (evidence_sentence, evidence_location), the model's call and its stated reasoning, and the curation verdict.

usable_as_negative and published_as_negative are not the same. Curation accepting a pair is not the last word — a final filter drops some of them. 8,896 rows, covering all 8,706 published literature negatives, are published_as_negative; the other 1,584 rows describe pairs that did not make it. Every published literature negative has at least one evidence row.

sequences gives accession, sequence and length for the two benchmark sets.

esmfold2_metrics contains ESMFold2-Fast [1] scores for both benchmark sets in one file, with the benchmark set labelled in the set column: 10,573 pairs over 318 targets for leakage_free, and 13,449 pairs over 298 targets for leaked. It contains ptm, iptm, avg_plddt, pair_chains_iptm, the interface-restricted iptm_d0chn_A_P and three ipSAE [2] variants, alongside n_residues and predict_seconds.

esmc_metrics contains ESMC [1] scores for the same pairs as esmfold2_metrics, with the ESMC features normalized over two different feature corpora (see below). 48,044 rows in total. Its score column is npmi_score, alongside set, feature_corpus, method, target, partner, pair_key, n_residues, type, status and imputed_zero. status is OK on every row.

ESMC scores a pair from the normalised pointwise mutual information (NPMI) between the sparse autoencoder features of the two proteins, counted over a corpus of PDB structures [1]. We provide ESMC scores normalized against two different feature corpora, both drawn from PPI3D [6] and labelled in feature_corpus:

  • full — the corpus up to 2026-07-29, 631,509 feature pairs.
  • pre_2023-06-01_strict — the corpus restricted to structures released before the benchmark cutoff, 478,830 feature pairs. This allows fair comparisons to ESMFold2 on the Leakage-Free set. The date cut is taken per structure cluster rather than per structure: PPI3D clusters interfaces at 40% sequence identity and 50% interface contact similarity, and any cluster holding a member released on or after the cutoff is dropped whole rather than falling back to its best surviving pre-cutoff member, so no interface family left in the corpus grew after the cutoff.

Each corpus covers the exact same 24,022 pairs. 426 pairs per corpus (188 leakage_free and 238 leaked) are scored 0 and marked imputed_zero: ESMC found no residue in one of the two proteins whose features passed the activation threshold.

zhang_pairs, zhang_sequences and zhang_esmc_metrics are an external test set and our result on it, they share no pairs, targets or leakage flags with any file above.

zhang_pairs is the human PPI control set of Zhang et al. [15], parsed from their Data S1. Their positives are 3,000 pairs sampled from the 3,988 confident PPIs that STRING, BioGRID and UniProt all agree on; their negatives are 30,000 random human protein pairs with no evidence of interaction. We then filtered that set for homology against the PPI3D [6] structures that fed into our NPMI feature table, using MMseqs2 clustering [16] at 30% sequence identity and 80% coverage. 6,409 of its 17,266 proteins matched the corpus at that threshold, taking it from 32,747 pairs (3,000 positive and 29,747 negative) to the 12,635 published here: 738 positive and 11,897 negative over 9,820 proteins. It carries protein_a, protein_b and type, with the accessions sorted as in flock_pairs.

zhang_sequences gives accession, sequence and length for all 9,820 proteins, the exact sequences that were scored.

zhang_esmc_metrics holds ESMC's NPMI score over that set against the full feature corpus, one row per pair. Alongside npmi_score it carries the per-side active feature counts n_active_a, n_active_b, n_selected and n_positive, plus status and imputed_zero. Pooled AUROC is 0.9015 imputing the 67 no-feature pairs to zero, or 0.9010 dropping them.

Reproduction note: We endeavoured to reproduce the published ESMC method as best as possible; however some details and parameters were not described in their paper. In particular the exact date cutoff behind their feature corpus is not provided; our PPI3D cutoff of 2026-07-29 may be slightly later than theirs and as such our NPMI set may be slightly bigger. In our paper we report comparable performance on this set.

Loading

To train models on Flock, load the data using HuggingFaceDatasets:

from datasets import load_dataset

pairs = load_dataset("ternarytx/flock", "flock_pairs", split="train")

Other configurations are leakage_free_pairs, leaked_pairs, benchmark_targets, literature_negatives_detail, sequences, esmfold2_metrics, esmc_metrics, zhang_pairs, zhang_sequences and zhang_esmc_metrics.

print(pairs)
# Dataset({
#     features: ['protein_a', 'protein_b', 'gene_a', 'gene_b', 'label',
#                'positive_source', 'negative_source', 'in_training_set',
#                'homolog_in_training_set', 'in_training_set_entry',
#                'homolog_in_training_set_entry'],
#     num_rows: 404577
# })

print(pairs[0])
# {'protein_a': 'A0A009I821', 'protein_b': 'A0A1V3DIZ9',
#  'gene_a': 'rplV', 'gene_b': 'rpsP',
#  'label': 'Negative', 'positive_source': None, 'negative_source': 'pdb',
#  'in_training_set': True, 'homolog_in_training_set': True,
#  'in_training_set_entry': '7M4W', 'homolog_in_training_set_entry': '7M4W'}

from collections import Counter

print(Counter(pairs["label"]))
# Counter({'Negative': 377643, 'Positive': 26934})

print(Counter(pairs["negative_source"]))
# Counter({'pdb': 368937, None: 26934, 'literature': 8706})
# "None" pairs are positives

The CSVs can also be read directly for analysis and plots:

import pandas as pd
from huggingface_hub import hf_hub_download


def flock_csv(name: str) -> pd.DataFrame:
    return pd.read_csv(
        hf_hub_download("ternarytx/flock", name, repo_type="dataset"),
    )


flock = flock_csv("flock_pairs_v1_2026-08-24.csv")
benchmark = flock_csv("leakage_free_pairs_v1_2026-08-24.csv")
sequences = flock_csv("sequences_v1_2026-08-24.csv")

leakage_free_pairs and leaked_pairs are keyed on target and partner, while flock_pairs is keyed on unordered pairs. To join them, first sort on the two accessions:

# Sort alphabetically to match Flock pairs
benchmark["protein_a"] = benchmark[["target", "partner"]].min(axis=1)
benchmark["protein_b"] = benchmark[["target", "partner"]].max(axis=1)
annotated = benchmark.merge(flock, on=["protein_a", "protein_b"], how="left")

To attach sequences to a benchmark pair, map each side in turn:

lookup = sequences.set_index("accession")["sequence"]
benchmark["target_sequence"] = benchmark["target"].map(lookup)
benchmark["partner_sequence"] = benchmark["partner"].map(lookup)

Leakage

A pair in Flock is labelled as leaked if it (or any homologous pair) could have appeared in the training set of a cofolding model. The Boltz-2 [3] cutoff date of 2023-06-01 is used, which also covers any model matching the AlphaFold 3 [4] training cutoff date (OpenFold3, ESMFold2, Protenix, Chai-1 etc.).

Leakage Flags

  • in_training_set denotes pairs where a pre-cutoff PDB entry contains both exact proteins: the complex itself for a positive, or co-presence in one entry for a negative.

    • Positives 21,244 True / 5,690 False. Negatives 223,227 True / 154,416 False.
  • homolog_in_training_set denotes pairs where a similar pair exists in a pre-cutoff PDB entry. Interface-cluster match to a pre-cutoff complex for positives; sequence identity at 40% or above to a pre-cutoff pair for negatives.

    • Positives 22,204 True / 4,730 False. Negatives 283,232 True / 94,411 False.
  • Clean on both flags: 3,275 positives and 86,827 negatives.

Only pairs with both flags False are kept. Then, we filter to a set of targets such that each target has at least 2 clean positive and 20 clean negative partners.

This gives leakage_free_pairs, 16,210 rows over 335 targets.

Pre-Cutoff Entry Examples

flock_pairs contains columns in_training_set_entry and homolog_in_training_set_entry. Each names a PDB entry that supports the flag.

They are populated for negatives only. A negative's flags are decided per pair, against a specific PDB entry: the one putting both proteins in a single pre-cutoff structure, or the one holding the homologous pair. Every negative pair has at least one example leaked entry.

A positive's flags are decided against a set; the release dates of all its source complexes for in_training_set, and membership of an interface cluster for homolog_in_training_set. As such there is no single entry to point at and these two example entry columns are unpopulated.

Leaked Pairs

The leaked_pairs set is a contrast dataset built from pairs that failed the leakage filter, matched on length distribution and with the same filters (at least 2 positives and 20 negatives) as the benchmark experiment ran on the leakage free set. This is so that scores can be compared against pairs a model may have memorised (see paper for details). The scores behind that comparison are in esmfold2_metrics and esmc_metrics, each holding both sets.

Note: a protein can appear in both leakage-free and leaked sets. Leakage is a property of pairs, not individual proteins. For example, A8JFK6 has 64 pairs in Flock, 33 clean and 31 leaked, so it is a clean target with 33 partners and a leaked target with 31 different ones. No pair appears in both leakage-free and leaked sets.

Sources

The access dates bound what could have leaked, so they are given rather than implied. The PPI3D pull is eight months later than the PINDER snapshot, and supplies the structures released in between.

Source Used for Date accessed Reference
PINDER positive pairs 2025-12-01 [5]
PPI3D positive pairs 2026-08-04 [6]
RCSB PDB source structures, and the release dates behind the date leakage flag 2026-08-24 [7]
IntAct filtering known interactions out of the negatives 2026-08-17 [8]
Europe PMC full-text corpus the literature negatives were mined from 2026-08-05 [9, 10]
UniProt sequences, accessions and gene names 2026-08-24 [11]
AlphaFold DB sequence fallback where UniProt returns empty 2026-08-24 [12, 13]
Zhang et al. the external test set in zhang_pairs, parsed from Data S1 2026-08-21 [15]

Licence

Flock is released under CC BY 4.0. Use it for anything, including commercially, provided you credit this dataset and its sources by citing the paper and the references below.

The sources carry their own terms, all of which permit redistribution here:

Source Terms
PINDER [5] Apache-2.0; no separate licence is stated for the data
PPI3D [6] CC BY 4.0, with a request to cite the PDB alongside it
RCSB PDB [7] CC0
UniProt [11] CC BY 4.0
AlphaFold DB [12, 13] CC BY 4.0

The pairs in zhang_pairs and zhang_esmc_metrics are a filtered subset of the control sets in Data S1 of Zhang et al. [15], redistributed here with attribution so that the scores published beside them can be checked.

Two additional sources were used to generate this dataset but do not appear in it. IntAct [8] is used only as a filter, to remove pairs with curated evidence of interaction from the negatives, so no IntAct records are redistributed here. Negatome 2.0 [14] inspired this paper, and while this work builds on the methods used there, the data presented here is generated from different inputs, sources, and code.

literature_negatives_detail quotes short passages from the articles it cites by PMID [9]. Rights in that quoted text remain with the original publishers.

References

  1. Candido, S. et al. Language Modeling Materializes a World Model of Protein Biology. 2026.06.03.729735 Preprint at https://doi.org/10.64898/2026.06.03.729735 (2026).
  2. Dunbrack, R. L. Rēs ipSAE loquuntur: What's wrong with AlphaFold's ipTM score and how to fix it. 2025.02.10.637595 Preprint at https://doi.org/10.1101/2025.02.10.637595 (2025).
  3. Passaro, S. et al. Boltz-2: Towards Accurate and Efficient Binding Affinity Prediction. bioRxiv 2025.06.14.659707 (2025) doi:10.1101/2025.06.14.659707.
  4. Abramson, J. et al. Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature 630, 493–500 (2024).
  5. Kovtun, D. et al. PINDER: The protein interaction dataset and evaluation resource. 2024.07.17.603980 Preprint at https://doi.org/10.1101/2024.07.17.603980 (2024).
  6. Dapkūnas, J., Timinskas, A., Olechnovič, K., Tomkuvienė, M. & Venclovas, Č. PPI3D: a web server for searching, analyzing and modeling protein–protein, protein–peptide and protein–nucleic acid interactions. Nucleic Acids Res 52, W264–W271 (2024).
  7. Berman, H. M. et al. The Protein Data Bank. Nucleic Acids Res 28, 235–242 (2000).
  8. Orchard, S. et al. The MIntAct project—IntAct as a common curation platform for 11 molecular interaction databases. Nucleic Acids Res 42, D358–D363 (2014).
  9. Rosonovski, S. et al. Europe PMC in 2023. Nucleic Acids Res 52, D1668–D1676 (2024).
  10. Kafkas, Ş. et al. Section level search functionality in Europe PMC. J Biomed Semant 6, 7 (2015).
  11. The UniProt Consortium. UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Res 53, D609–D617 (2025).
  12. Jumper, J. et al. Highly accurate protein structure prediction with AlphaFold. Nature 596, 583–589 (2021).
  13. Varadi, M. et al. AlphaFold Protein Structure Database in 2024: providing structure coverage for over 214 million protein sequences. Nucleic Acids Res 52, D368–D375 (2024).
  14. Blohm, P. et al. Negatome 2.0: a database of non-interacting proteins derived by literature mining, manual annotation and protein structure analysis. Nucleic Acids Res 42, D396-400 (2014).
  15. Zhang, J. et al. Predicting protein-protein interactions in the human proteome. Science 390, eadt1630 (2025).
  16. Steinegger, M. & Söding, J. MMseqs2 enables sensitive protein sequence searching for the analysis of massive data sets. Nat Biotechnol 35, 1026–1028 (2017).
Downloads last month
47