Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download public data deposited in NCBI’s Short Read Archive (SRA) database.

Pre-requisites (if not available)

...

Code Block
#!/bin/bash -l
#PBS -N SRAfiles
#PBS -l walltime=2:00:00
#PBS -l mem=4gb
#PBS -l ncpus=2
#PBS -m bae
###PBS -M email@host
#PBS -j oe

cd $PBS_O_WORKDIR

### User defined varaiblesSRA identifiers
SRAID=SRR1002659

### Pipeline

#Step1: Download SRA file
prefetch ${SRAID}

#Step2: Extract FASTQ file(s) from SRA file
fastq-dump --split-files ${SRAID}

...