macwiatrak commited on
Commit
58f79f8
·
verified ·
1 Parent(s): 7d97d54

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -5
README.md CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Dataset for protein-protein interaction prediction across bacteria (Protein sequences)
2
 
3
  A dataset of 10,533 bacterial genomes across 6,956 species with protein-protein interaction (PPI) scores for each genome.
@@ -27,13 +39,13 @@ prot_seqs = item["protein_sequences"]
27
  ppi_triples = item["triples_combined_score"]
28
 
29
  # get protein seqs and label for one pair of proteins
30
- prot1 = prot_seqs[ppi_triples[0]]
31
- prot2 = prot_seqs[ppi_triples[1]]
32
- score = ppi_triples[2] / 1000
33
 
34
  # we recommend binarizing the labels based on the threshold of 0.6
35
  binary_ppi_triples = [
36
- (prot1_index, prot2_index, (score / 1000) >= 0.6) for prot1_index, prot2_index, score in ppi_triples
37
  ]
38
  ```
39
 
@@ -81,4 +93,4 @@ configs:
81
  path: data/validation-*
82
  - split: test
83
  path: data/test-*
84
- ---
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - ppi
5
+ - proteins
6
+ - biology
7
+ - bacteria
8
+ - stringdb
9
+ pretty_name: Dataset for predicting protein-protein interactions in bacterial genomes
10
+ size_categories:
11
+ - 10K<n<100K
12
+ ---
13
  # Dataset for protein-protein interaction prediction across bacteria (Protein sequences)
14
 
15
  A dataset of 10,533 bacterial genomes across 6,956 species with protein-protein interaction (PPI) scores for each genome.
 
39
  ppi_triples = item["triples_combined_score"]
40
 
41
  # get protein seqs and label for one pair of proteins
42
+ prot1 = prot_seqs[ppi_triples[0][0]]
43
+ prot2 = prot_seqs[ppi_triples[0][1]]
44
+ score = ppi_triples[0][2] / 1000
45
 
46
  # we recommend binarizing the labels based on the threshold of 0.6
47
  binary_ppi_triples = [
48
+ (prot1_index, prot2_index, int((score / 1000) >= 0.6)) for prot1_index, prot2_index, score in ppi_triples
49
  ]
50
  ```
51
 
 
93
  path: data/validation-*
94
  - split: test
95
  path: data/test-*
96
+ ---