run_aspera: 'Run Aspera Connect to download from SRA.'

Description Usage Arguments Details Value Examples

View source: R/run_aspera.R

Description

Downloading SRA using 'ascp' utility or Aspera Connect. How to download and install 'ascp': http://downloads.asperasoft.com/en/downloads/8?list

Usage

1
2
run_aspera(sra, maxspeed = "200m", outdir = ".", arrayjobs = "1-2",
  jobid = "aspera", email = NULL)

Arguments

sra

An input data.frame for SRA ids. Must contains column: SRR.

maxspeed

The max speed for downloading.

outdir

The output directory.

arrayjobs

A character specify the number of array you try to run, i.e. 1-100.

jobid

The job name show up in your sq NAME column.

email

Your email address that farm will email to once the job was done/failed.

Details

see more detail about SRA with Aspera downloading: http://www.ncbi.nlm.nih.gov/books/NBK158899/#SRA_download.downloading_sra_data_using

Value

return a batch of shell scripts.

Examples

1
2
3
4
sra <- data.frame(SRR=c("ERR877647", "ERR877648"),
SRX=c( "ERX957210", "ERX957211"),
pid=c( "1_Base1_Bbreve-sc-2188486", "P1_ECvsrS_1-sc-2201977"))
run_aspera(sra, maxspeed="200m", outdir=".", arrayjobs="1-2", jobid="aspera", email=NULL)

yangjl/farmeR documentation built on May 4, 2019, 2:28 p.m.