R/retrieve_calanguize_genomes.R
retrieve_calanguize_genomes.Rd
This script downloads the *calanguize_genomes.pl* Perl script from the repository, together with associated README instructions for using the script, managing dependencies, etc. It will extract the data into a folder containing everything that is needed for preparing data for using CALANGO.
retrieve_calanguize_genomes(
target.dir,
method = "auto",
unzip = getOption("unzip"),
overwrite = TRUE
)
path to the folder where the files will be saved ( accepts relative and absolute paths)
Method to be used for downloading files. Current download
methods are "internal", "wininet" (Windows only) "libcurl", "wget" and
"curl", and there is a value "auto": see _Details_ and _Note_ in the
documentation of utils::download.file()
.
The unzip method to be used. See the documentation of
utils::unzip()
for details.
If TRUE, overwrite existing files in target the folder (the equivalent of unzip -o), otherwise ignore such files (the equivalent of unzip -n).
No return value, called for side effects (see Description).
If the `target.dir` provided does not exist it is created (recursively) by the function.
if (FALSE) { # \dontrun{
CALANGO::retrieve_calanguize_genomes(target.dir = "./data")
} # }