Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,27 +1,81 @@
|
|
| 1 |
-
---
|
| 2 |
-
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: A
|
| 5 |
-
dtype: string
|
| 6 |
-
- name: B
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: SeqA
|
| 9 |
-
dtype: string
|
| 10 |
-
- name: SeqB
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: OrgA
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: OrgB
|
| 15 |
-
dtype: string
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
features:
|
| 4 |
+
- name: A
|
| 5 |
+
dtype: string
|
| 6 |
+
- name: B
|
| 7 |
+
dtype: string
|
| 8 |
+
- name: SeqA
|
| 9 |
+
dtype: string
|
| 10 |
+
- name: SeqB
|
| 11 |
+
dtype: string
|
| 12 |
+
- name: OrgA
|
| 13 |
+
dtype: string
|
| 14 |
+
- name: OrgB
|
| 15 |
+
dtype: string
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: data/train-*
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# BIOGRID release 5.0.253
|
| 24 |
+
|
| 25 |
+
This dataset is generated from BioGRID MV using `Synthyra/BIOGRID-MV-5.0.253`.
|
| 26 |
+
BioGRID downloads are hosted here: https://downloads.thebiogrid.org/Download/BioGRID/Release-Archive/BIOGRID-5.0.253/
|
| 27 |
+
The exact zip used for this split: https://downloads.thebiogrid.org/Download/BioGRID/Release-Archive/BIOGRID-5.0.253/BIOGRID-MV-Physical-5.0.253.tab3.zip
|
| 28 |
+
|
| 29 |
+
Swiss-Prot and TrEMBL accessions are resolved to current UniProtKB primary accessions using the UniProt ID Mapping service: https://www.uniprot.org/id-mapping
|
| 30 |
+
We keep interaction pairs only when both partners resolve to a UniProtKB sequence.
|
| 31 |
+
When multiple accessions are present, Swiss-Prot IDs are preferred over TrEMBL.
|
| 32 |
+
|
| 33 |
+
## Processing Overview
|
| 34 |
+
- Download and unzip BioGRID
|
| 35 |
+
- Stream BioGRID tab3 rows in chunks
|
| 36 |
+
- Normalize accessions (optionally strip isoform suffixes)
|
| 37 |
+
- Resolve accessions to UniProtKB primary IDs and sequences
|
| 38 |
+
- Emit rows with A/B, SeqA/SeqB, OrgA/OrgB
|
| 39 |
+
- Push dataset shards to the Hugging Face Hub
|
| 40 |
+
|
| 41 |
+
## Key Script Snippets
|
| 42 |
+
```python
|
| 43 |
+
# Download + unzip
|
| 44 |
+
zip_path = _ensure_biogrid_zip(version, kind=kind, data_dir=data_dir)
|
| 45 |
+
|
| 46 |
+
# Stream BioGRID rows from the tab3 file inside the zip
|
| 47 |
+
for chunk in _iter_biogrid_chunks(zip_path, chunksize=chunksize):
|
| 48 |
+
...
|
| 49 |
+
|
| 50 |
+
# Map accessions to UniProt primary + fetch sequences
|
| 51 |
+
id_to_primary, primary_to_seq = _resolve_sequences_for_ids(...)
|
| 52 |
+
|
| 53 |
+
# Build rows and push to Hub
|
| 54 |
+
dataset = Dataset.from_generator(_row_generator, gen_kwargs={...}, features=features)
|
| 55 |
+
dataset.push_to_hub(repo_id, token=token, private=args.private, max_shard_size=args.max_shard_size)
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
This dataset is the Multi-Validated (MV) version of BioGRID. The selection criteria is summarized in the image below.
|
| 60 |
+
|
| 61 |
+

|
| 62 |
+
|
| 63 |
+
## Citation
|
| 64 |
+
|
| 65 |
+
If you use this dataset please cite their work:
|
| 66 |
+
```
|
| 67 |
+
@article{Oughtred2020,
|
| 68 |
+
title = {The <scp>BioGRID</scp> database: A comprehensive biomedical resource of curated protein, genetic, and chemical interactions},
|
| 69 |
+
volume = {30},
|
| 70 |
+
ISSN = {1469-896X},
|
| 71 |
+
url = {http://dx.doi.org/10.1002/pro.3978},
|
| 72 |
+
DOI = {10.1002/pro.3978},
|
| 73 |
+
number = {1},
|
| 74 |
+
journal = {Protein Science},
|
| 75 |
+
publisher = {Wiley},
|
| 76 |
+
author = {Oughtred, Rose and Rust, Jennifer and Chang, Christie and Breitkreutz, Bobby‐Joe and Stark, Chris and Willems, Andrew and Boucher, Lorrie and Leung, Genie and Kolas, Nadine and Zhang, Frederick and Dolma, Sonam and Coulombe‐Huntington, Jasmin and Chatr‐aryamontri, Andrew and Dolinski, Kara and Tyers, Mike},
|
| 77 |
+
year = {2020},
|
| 78 |
+
month = nov,
|
| 79 |
+
pages = {187–200}
|
| 80 |
+
}
|
| 81 |
+
```
|