getSRAdbFile: Download and unzip last version of SRAmetadb.sqlite.gz from...

Description Usage Arguments Value Author(s) Examples

View source: R/getSRAdbFile.R

Description

This function is the standard method for downloading and unzipping the most recent SRAmetadb SQLite file from the server.

Usage

1
2
getSRAdbFile(destdir = getwd(), destfile = "SRAmetadb.sqlite.gz",
             method)

Arguments

destdir

The destination directory of the downloaded file

destfile

The filename of the downloaded file. This filename should end in ".gz" as the unzipping assumes that is the case

method

Character vector of length 1, passed to the identically named argument of download.file.

Value

Prints some diagnostic information to the screen.

Returns the local filename for use later.

Author(s)

Jack Zhu <[email protected]>, Sean Davis <[email protected]>

Examples

1
## Not run: geometadbfile <- getSRAdbFile()

seandavi/SRAdb documentation built on Feb. 21, 2018, 5:21 a.m.