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

Description Usage Arguments Value Author(s) Examples

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 <zhujack@mail.nih.gov>, Sean Davis <sdavis2@mail.nih.gov>

Examples

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

seandavi/SRAdb documentation built on May 29, 2019, 4:33 p.m.