prepareFirebrowseArchives: Prepares FireBrowse archives in a given directory

View source: R/data_firebrowse.R

prepareFirebrowseArchivesR Documentation

Prepares FireBrowse archives in a given directory

Description

Checks FireBrowse archives' integrity using the MD5 files, extracts the content of the archives, moves the content to newly-created folders and removes the original downloaded archives.

Usage

prepareFirebrowseArchives(archive, md5, folder, outdir)

Arguments

archive

Character: path to downloaded archives

md5

Character: path to MD5 files of each archive

folder

Character: master directory where every archive will be extracted

outdir

Character: subdirectories where to move the extracted content

Value

Invisible TRUE if successful

Examples

file <- paste0(
    "~/Downloads",
    "ACC/20151101/gdac.broadinstitute.org_ACC.",
    "Merge_Clinical.Level_1.2015110100.0.0.tar.gz")
md5 <- paste0(file, ".md5")
## Not run: 
prepareFirebrowseArchives(archive = file, md5 = paste0(file, ".md5"))

## End(Not run)

nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.