Learn R Programming

SRAdb (version 1.30.0)

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

Description

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

Usage

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.

Examples

Run this code
## Not run: geometadbfile <- getSRAdbFile()

Run the code above in your browser using DataLab