Skip to content

Commit 0ad4fd7

Browse files
authored
Create SRA Toolkit Commands
1 parent d886014 commit 0ad4fd7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

lib/SRA Toolkit Commands

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
This is an SRA toolkit. By following the commands below, users will be able to download SRA toolkit and extract SRA data from NCBI.
2+
3+
Step 1:For Mac OS X, (or use wget if you prefer)
4+
Command: curl --output sratoolkit.tar.gz https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/current/sratoolkit.current-mac64.tar.gz
5+
6+
Step 2: Extract the contents of the tar file
7+
Command: tar -vxzf sratoolkit.tar.gz
8+
9+
Step 3: For convenience (and to show you where the binaries are) append the path to the binaries to your PATH environment variable:
10+
Command: export PATH=$PATH:$PWD/sratoolkit.3.0.0-mac64/bin
11+
12+
Step 4: Verify that the binaries will be found by the shell
13+
Command: which fastq-dump
14+
15+
Step 5: Test that the toolkit is functional by downloading SRA
16+
Command: fastq-dump --stdout -X 2 SRR390728

0 commit comments

Comments
 (0)