-
Notifications
You must be signed in to change notification settings - Fork 278
HowTo: Binary Installation
Andrew Klymenko edited this page Mar 19, 2025
·
8 revisions
The SRA Toolkit provides 64-bit binary installations for the Ubuntu and Alma Linux distributions, for Mac OS X, and for Windows.
| OS | are available here |
|---|---|
| Windows | sratoolkit.current-win64.zip |
| Ubuntu | sratoolkit.current-ubuntu64.tar.gz |
| AlmaLinux | sratoolkit.current-alma_linux64.tar.gz |
| Mac OS X | sratoolkit.current-mac64.tar.gz |
- Download the zip file from the link given above
- Extract it to your desktop, for example
- Open a command shell, for example Start/Run
cmd.exe -
cdto the directory you extracted the zip file to, for exampleDesktop cd bin- Test that the toolkit is functional:
fastq-dump --stdout -X 2 SRR390728Within a few seconds, the command should produce this exact output (and nothing else):
Read 2 spots for SRR390728
Written 2 spots for SRR390728
@SRR390728.1 1 length=72
CATTCTTCACGTAGTTCTCGAGCCTTGGTTTTCAGCGATGGAGAATGACTTTGACAAGCTGAGAGAAGNTNC
+SRR390728.1 1 length=72
;;;;;;;;;;;;;;;;;;;;;;;;;;;9;;665142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96&&&&(
@SRR390728.2 2 length=72
AAGTAGGTCTCGTCTGTGTTTTCTACGAGCTTGTGTTCCAGCTGACCCACTCCCTGGGTGGGGGGACTGGGT
+SRR390728.2 2 length=72
;;;;;;;;;;;;;;;;;4;;;;3;393.1+4&&5&&;;;;;;;;;;;;;;;;;;;;;<9;<;;;;;464262
- For Ubuntu,
wget --output-document sratoolkit.tar.gz http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/current/sratoolkit.current-ubuntu64.tar.gz- For AlmaLinux,
wget --output-document sratoolkit.tar.gz http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/current/sratoolkit.current-alma_linux64.tar.gz- For Mac OS X, (or use
wgetif you prefer)
curl --output sratoolkit.tar.gz http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/current/sratoolkit.current-mac64.tar.gztar -vxzf sratoolkit.tar.gzNote the name of the directory that tar created. The name of this directory changes with each release and varies by platform, i.e. it follows the pattern sratoolkit.<release>-<platform> e.g. sratoolkit.2.4.0-1-mac64 for the 2.4.0-1 release for Mac OS X.
3. For convenience (and to show you where the binaries are) append the path to the binaries to your PATH environment variable:
export PATH=$PWD/sratoolkit.2.4.0-1.mac64/bin:$PATHwhich fastq-dumpThis should produce output similar to:
/Users/JoeUser/sratoolkit.2.4.0-1.mac64/bin/fastq-dump
fastq-dump --stdout SRR390728 | head -n 8Within a few seconds, the command should produce this exact output (and nothing else):
@SRR390728.1 1 length=72
CATTCTTCACGTAGTTCTCGAGCCTTGGTTTTCAGCGATGGAGAATGACTTTGACAAGCTGAGAGAAGNTNC
+SRR390728.1 1 length=72
;;;;;;;;;;;;;;;;;;;;;;;;;;;9;;665142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96&&&&(
@SRR390728.2 2 length=72
AAGTAGGTCTCGTCTGTGTTTTCTACGAGCTTGTGTTCCAGCTGACCCACTCCCTGGGTGGGGGGACTGGGT
+SRR390728.2 2 length=72
;;;;;;;;;;;;;;;;;4;;;;3;393.1+4&&5&&;;;;;;;;;;;;;;;;;;;;;<9;<;;;;;464262