wjiaqi commited on
Commit
fd72ad6
·
verified ·
1 Parent(s): b6b0c8f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +62 -47
README.md CHANGED
@@ -7,58 +7,63 @@ tags:
7
  - proteins
8
  - protein-protein-interaction
9
  - coevolution
10
- - cross-species
11
- - structure-prediction
12
- pretty_name: EvoBind loose same-species ortholog pool
13
  size_categories:
14
- - 1M<n<10M
15
  ---
16
 
17
- # EvoBind — loose same-species ortholog pool
18
 
19
  ## What this is
20
 
21
  For each of the **17,849 high-confidence human PPI predictions** in
22
  `final_predictions_90.tsv` (90% expected precision) from
23
  [Cong Lab humanPPI](https://conglab.swmed.edu/humanPPI/humanPPI_download.html),
24
- this dataset extracts up to **N same-species ortholog pairs** from the Cong
25
- Lab `protein_omicMSAs` (multi-genome MSAs covering thousands of eukaryotic
26
- genomes — vertebrates, insects, fungi, plants).
27
-
28
- For each PPI `(A_human, B_human)` we emit:
29
 
30
  * the **human pair** itself (`pair_type = human_pair`,
31
  `ortholog_rank = 0`), and
32
- * up to **`max_orthologs_per_ppi`** same-species pairs `(A_org, B_org)` for
33
- every organism that appears in both `MSA(A)` and `MSA(B)`, sorted by
34
- combined sequence identity to the human queries (descending), with
35
- `pair_type = natural` and `ortholog_rank = 1..N`.
36
 
37
- This is intentionally a **loose pool of candidate training pairs**. Quality is
38
- mixed: many rows will fail structure prediction (e.g. very distant fungal /
39
- insect orthologs with low identity, fragmentary genome assemblies, missing
40
- N-/C-termini). The intended workflow is to **predict structure and confidence
41
- for each natural pair downstream**, then use the confidence scores to filter
42
- this pool into a clean training set.
43
 
44
- No `swap` or `human_swap` rows are included — those will be added in a
45
- later revision once a structure-aware quality filter is in place.
 
 
 
 
 
 
46
 
47
- ## Filters used
 
48
 
49
- | filter | value | description |
50
- |---|---|---|
51
- | `min_identity` | 0.20 | drop orthologs whose identity to human is below this on either side |
52
- | `max_gap_fraction` | 0.50 | drop orthologs whose aligned gap fraction is above this on either side |
53
- | `max_orthologs_per_ppi` | 300 | top-N closest orthologs by combined identity (set to a non-trivial number to keep dataset tractable while preserving diversity) |
54
- | same-genus exclusion | NO | unlike the v2 release, same-genus orthologs (e.g. non-reference Homo assemblies) are **kept** in this pool. Filter them downstream if needed. |
55
- | taxonomic class restriction | NO | mammals, birds, reptiles, fish, insects, fungi etc. are all kept |
 
 
 
 
 
 
 
 
 
56
 
57
  ## Schema
58
 
59
  | column | type | notes |
60
  |---|---|---|
61
- | `row_id` | string | `PPI0000123_R042` — globally unique row identifier |
62
  | `ppi_id` | string | `PPI0000123` — shared by all rows of one PPI |
63
  | `original_protein_a`, `original_protein_b` | string | Human UniProt accessions |
64
  | `gene_name_a`, `gene_name_b` | string | Gene symbols (from Cong predictions) |
@@ -72,7 +77,8 @@ later revision once a structure-aware quality filter is in place.
72
  | `length_a`, `length_b` | int | Sequence lengths |
73
  | `identity_to_human_a`, `identity_to_human_b` | float | Aligned-position identity to the human query in [0, 1] |
74
  | `pair_type` | string | `human_pair` or `natural` |
75
- | `ortholog_rank` | int | 0 for the human row; 1..N for surviving orthologs sorted by combined identity, descending |
 
76
  | `interaction_label` | int | Always 1 (positives only) |
77
  | `taxonomic_distance` | int | 0 = same genus … 5 = different phylum (always 0 for `natural` since both sides are the same organism) |
78
  | `source` | string | `conglab_humanppi_omicmsa_loose` |
@@ -80,6 +86,25 @@ later revision once a structure-aware quality filter is in place.
80
  | `split_ppi_disjoint` | string | All rows of a PPI go to the same split |
81
  | `split_protein_disjoint` | string | Human proteins in test/valid don't appear in train; cross-split rows fall back to train |
82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  ## Usage
84
 
85
  ```python
@@ -93,12 +118,6 @@ for ppi_id, group in itertools.groupby(ds, key=lambda r: r["ppi_id"]):
93
  rows = list(group)
94
  human, *orthologs = rows
95
  # ortholog_rank == 0 is the human pair; 1..N are same-species orthologs
96
-
97
- # Iterate only natural rows for a structure-prediction filter pass
98
- natural = ds.filter(lambda r: r["pair_type"] == "natural")
99
- for r in natural:
100
- seq_a, seq_b = r["sequence_a"], r["sequence_b"]
101
- # ... fold and score with your structure model, keep high-confidence
102
  ```
103
 
104
  ## Provenance & licensing
@@ -108,16 +127,12 @@ for r in natural:
108
 
109
  ## Known limitations
110
 
111
- - Quality is intentionally mixed; many rows are expected to be filtered out
112
- by downstream structure prediction. The dataset is a **candidate pool**,
113
- not a curated training set.
114
  - Sequences come from each ortholog's MSA-aligned sequence with gaps
115
  stripped; this means the resulting "native" sequence may be missing
116
  residues where the MSA had gaps relative to human. Per-row completeness
117
  signals are **not** stored as columns yet.
118
- - `max_orthologs_per_ppi = 300` is a hard cap. Very deep MSAs (e.g.
119
- immunoglobulin V-regions with thousands of orthologs) get truncated to
120
- the closest 300 by combined sequence identity.
121
- - Same-genus assemblies (e.g. non-reference `Homo` assemblies like
122
- `GCA_012933715.1`) are **kept** in this pool unlike the previous v2
123
- release. Filter them downstream if you want strictly cross-species data.
 
7
  - proteins
8
  - protein-protein-interaction
9
  - coevolution
10
+ pretty_name: EvoBind moderately-filtered same-species PPI orthologs
 
 
11
  size_categories:
12
+ - 100K<n<1M
13
  ---
14
 
15
+ # EvoBind — moderately-filtered same-species PPI orthologs
16
 
17
  ## What this is
18
 
19
  For each of the **17,849 high-confidence human PPI predictions** in
20
  `final_predictions_90.tsv` (90% expected precision) from
21
  [Cong Lab humanPPI](https://conglab.swmed.edu/humanPPI/humanPPI_download.html),
22
+ this dataset provides:
 
 
 
 
23
 
24
  * the **human pair** itself (`pair_type = human_pair`,
25
  `ortholog_rank = 0`), and
26
+ * up to **10 same-species ortholog pairs** `(A_org, B_org)` taken from
27
+ the Cong Lab `protein_omicMSAs`, sorted by combined sequence identity
28
+ to the human queries (descending), with `pair_type = natural` and
29
+ `ortholog_rank = 1..N`.
30
 
31
+ Layout per PPI:
 
 
 
 
 
32
 
33
+ ```
34
+ PPI0000001_R00 (A_human, B_human)
35
+ PPI0000001_R01 (A_org1, B_org1) # closest co-evolved ortholog pair
36
+ PPI0000001_R02 (A_org2, B_org2)
37
+ ... up to R10
38
+ PPI0000002_R00 (A_human, B_human)
39
+ ...
40
+ ```
41
 
42
+ Total: **196,269 rows** across **17,849 PPIs** (17,849 `human_pair`
43
+ + 178,420 `natural`).
44
 
45
+ ## Filters
46
+
47
+ | filter | value |
48
+ |---|---|
49
+ | same-genus exclusion | drop natural rows whose genus matches the query genus (`Homo`); avoids the assembly-artefact pollution from non-reference Homo assemblies |
50
+ | taxonomic class restriction | Mammalia, Aves, Lepidosauria, Amphibia, Actinopteri, Chondrichthyes (vertebrates only) |
51
+ | identity floor | `identity_to_human_{a,b} >= 0.50` on both sides |
52
+ | max orthologs per PPI | 10 (closest by combined identity) |
53
+
54
+ This is a "moderately loose" filter that keeps the dataset compact (~34 MB)
55
+ while still providing meaningful taxonomic diversity beyond just primates.
56
+
57
+ A separate, larger candidate pool (~5.36M rows × 53 columns, no taxonomic
58
+ restriction, up to 300 orthologs per PPI, identity floor 0.20) is available
59
+ on the [`cursor/loose-natural-pairs-aaab`](https://github.com/w-jiaqi/EvoBind/tree/cursor/loose-natural-pairs-aaab)
60
+ branch's pipeline; this curated dataset is the published default.
61
 
62
  ## Schema
63
 
64
  | column | type | notes |
65
  |---|---|---|
66
+ | `row_id` | string | `PPI0000123_R02` — globally unique row identifier |
67
  | `ppi_id` | string | `PPI0000123` — shared by all rows of one PPI |
68
  | `original_protein_a`, `original_protein_b` | string | Human UniProt accessions |
69
  | `gene_name_a`, `gene_name_b` | string | Gene symbols (from Cong predictions) |
 
77
  | `length_a`, `length_b` | int | Sequence lengths |
78
  | `identity_to_human_a`, `identity_to_human_b` | float | Aligned-position identity to the human query in [0, 1] |
79
  | `pair_type` | string | `human_pair` or `natural` |
80
+ | `ortholog_rank` | int | 0 for the human row; 1..N for surviving orthologs in identity order (after filtering) |
81
+ | `ortholog_rank_loose` | int | The rank this row had in the larger loose pool (preserved for traceability) |
82
  | `interaction_label` | int | Always 1 (positives only) |
83
  | `taxonomic_distance` | int | 0 = same genus … 5 = different phylum (always 0 for `natural` since both sides are the same organism) |
84
  | `source` | string | `conglab_humanppi_omicmsa_loose` |
 
86
  | `split_ppi_disjoint` | string | All rows of a PPI go to the same split |
87
  | `split_protein_disjoint` | string | Human proteins in test/valid don't appear in train; cross-split rows fall back to train |
88
 
89
+ ## Class distribution (natural rows)
90
+
91
+ ```
92
+ Mammalia 177,506
93
+ Aves 294
94
+ Amphibia 214
95
+ Actinopteri 195
96
+ Lepidosauria 185
97
+ Chondrichthyes 26
98
+ ```
99
+
100
+ ## Splits (90/5/5)
101
+
102
+ ```
103
+ split_random: train=176,509 valid=9,906 test=9,854
104
+ split_ppi_disjoint: train=176,662 valid=9,812 test=9,795
105
+ split_protein_disjoint: train=195,268 valid= 484 test= 517
106
+ ```
107
+
108
  ## Usage
109
 
110
  ```python
 
118
  rows = list(group)
119
  human, *orthologs = rows
120
  # ortholog_rank == 0 is the human pair; 1..N are same-species orthologs
 
 
 
 
 
 
121
  ```
122
 
123
  ## Provenance & licensing
 
127
 
128
  ## Known limitations
129
 
130
+ - Only positive interactions; no negatives.
131
+ - No cross-species swap rows (will be added once a structure-aware quality filter is in place).
 
132
  - Sequences come from each ortholog's MSA-aligned sequence with gaps
133
  stripped; this means the resulting "native" sequence may be missing
134
  residues where the MSA had gaps relative to human. Per-row completeness
135
  signals are **not** stored as columns yet.
136
+ - `ortholog_rank_loose` references the original ranking before filtering;
137
+ gaps in this sequence indicate intermediate ranks that were dropped by
138
+ the moderate filters.