MIP / src /01_gather_data.R
maom's picture
add curaction scripts
2071122
raw
history blame contribute delete
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")