This is a step-by-step manual for decrypting the encrypted genome data files using SRA Toolkit in macOS Mojave 10.14.4 for beginners.
Here is a list of requirements:
- Having administrative privileges
- Accessing terminal
- Internet connection
Download data files and they decryption key
Download SRA Toolkit from HERE and uncompress by double click on the downloaded archive
Open terminal using either (Ctrl + Alt + t) or Search and type in terminal and then hit Enter and go to /User/[username]/Downloads/sratoolkit.2.9.6-mac64/bin/
Note: Replace [username] with your username, e.g. mike, throughout this manual
Type in ./vdb-config -i
and hit Enter
Hit 4 and navigate to the folder where the key is stored and hit OK
vdb-config prompts if you want to import the key, hit OK
Next, it will ask you if you want to change the directory, hit NO
Now hit 6 to save changes, OK and then 7
Now copy all data files download in ##Step 1 to /Users/[username]/ncbi/[dbGaP-#####]/files/
Go back to terminal and navigate to /Users/[username]/ncbi/[dbGaP-#####]/files/
Now type in /Users/[username]/Downloads/sratoolkit.2.9.6-mac64/bin/vdb-decrypt /Users/[Username]/ncbi/dbGaP-21073/files/[filename].ncbi_enc
and hit Enter
Note: Replace [filename] with the actual file name
The decrypted compressed file will be replaced with encrypted file in the same directory. To see the actual file uncompress the compressed one
Check the following reference for further information