Download src/01_gather_data.R from RosettaCommons/MIP: direct link, hf CLI and curl.
- Browser
- Download file 673 Bytes
-
https://huggingface.co/datasets/RosettaCommons/MIP/resolve/main/src/01_gather_data.R
- Command line
-
hf download hf://datasets/RosettaCommons/MIP/src/01_gather_data.R
-
curl -L -o 01_gather_data.R https://huggingface.co/datasets/RosettaCommons/MIP/resolve/main/src/01_gather_data.R
673 Bytes
| # Download data from: https://zenodo.org/records/6611431 | |
| # Sequence-structure-function relationships in the microbial protein universe | |
| # 45.4 GB | |
| system("cd data && curl -o microbiome_immunity_project_dataset.zip https://zenodo.org/records/6611431/files/microbiome_immunity_project_dataset.zip?download=1") | |
| md5sum_expected <- "b3e021609ffa052d2ab2333dc998964b data/microbiome_immunity_project_dataset.zip" | |
| md5sum <- system( | |
| "md5cksum data/microbiome_immunity_project_dataset.zip", | |
| intern = TRUE) | |
| if (md5sum != md5sum_expected) { | |
| cat("Expected and obtained md5sum values don't match\n") | |
| } | |
| system("cd data && unzip microbiome_immunity_project_dataset.zip") | |