sraPrefetcher
Overview
Prefetch SRA data from NCBI using the SRA Toolkit. Supports both public and controlled-access (dbGaP) data.
Usage
sraPrefetcher.sh
sbatch --job-name=[jobName] ~/atelier/bin/sraPrefetcher.sh -l [accessionList] [options]
Options
| Option | Description |
|---|---|
-l [accessionList] |
Text file containing SRA accession IDs (one ID per line) |
-o [outputDir] |
Output directory for prefetched files (default: current directory) |
-n [ngcFile] |
Path to .ngc file for dbGaP controlled-access data |
-m [maxSize] |
Maximum download size (default: 500G) |
-r |
Resume incomplete downloads |
-d |
Dry run |
-v |
Verbose output with debug logging |
-h |
Display help message |
Examples
Basic public data prefetch
Download to specific directory
Controlled-access data with dbGaP key
Custom size and resume
Verbose/debug mode
Dry run preview