powered by
get_fastq downloads fastq files using SRA toolkit. We recommend using Aspera for fast downloading. You need to install Aspera for using ascp option.
get_fastq
ascp
get_fastq(srr_id, library_layout = c("SINGLE", "PAIRED"), use_sra_file = FALSE, sra_files_dir = NULL, n_thread, destdir)
SRA run accession ID.
layout of the library used. Either 'SINGLE' or 'PAIRED'.
'SINGLE'
'PAIRED'
logical, whether to use downloaded SRA files to get fastq files or directly download fastq files.
directory where SRA files are saved. If you use use_sra_file=FALSE then sra_files_dir=NULL.
use_sra_file=FALSE
sra_files_dir=NULL
number of cores to use.
directory where all the results will be saved.
A single fastq file will be generated for SINGLE end reads and two files for PAIRED end reads.
# NOT RUN { # } # NOT RUN { get_fastq(srr_id="SRR5890521",library_layout="SINGLE", use_sra_file=FALSE,sra_files_dir=NULL,n_thread=2, destdir=tempdir()) # } # NOT RUN { # }
Run the code above in your browser using DataLab