download_sra: Download data from SRA.

View source: R/workflow_download.R

download_sraR Documentation

Download data from SRA.

Description

To use this function first obtain a RunInfo Table as described at https://www.ncbi.nlm.nih.gov/Traces/study/?go=help.

Usage

download_sra(
  runtable,
  path = "sra/",
  retries = 3,
  threads = getOption("mc.cores", 1)
)

Arguments

runtable

Path to a runtable as selected in the SRA interface.

path

The folder into which to download the FASTQ files.

retries

How often to try downloading again after failure.

threads

Maximum number of parallel file downloads.

Value

The list of files with indicated download success.


Gibbons-Lab/mbtools documentation built on Jan. 28, 2024, 11:08 a.m.