How to change the default fold of the downloading sra data using prefetch ?
2
2
Entering edit mode
8.2 years ago
zengxi.hada ▴ 90

Hi,

I am trying to use "prefetch" to download sra data. But I found the default output folder is /home/[USER]/ncbi/public/sra/, which is not big enough. I check the manual file for sra-toolkit, but didn't find a option to set the output directory. Can anyone tell me how to change the default fold of the downloading for prefetch? Thanks a lot.

Best,
Michael

next-gen-sequencing • 13k views
ADD COMMENT
10
Entering edit mode
8.0 years ago
Shicheng Guo ★ 9.4k

Set the vdb-config as the way I mentioned.

  1. Go to bin directory, such as: /home/sratoolkit.2.5.5-centos_linux64/bin
  2. Run it in the terminal: ./vdb-config -i
  3. Change the fold of Workspace Name to a big harddisk.
  4. By the way, use Tab to move

Re-run fastq-dump, the cache files will come to new set directory.

ADD COMMENT
0
Entering edit mode

thank you very much!

ADD REPLY
2
Entering edit mode
8.2 years ago
h.mon 35k

See this install and config guide: there is a tools called ./vdb-config to configure sra-tools.

ADD COMMENT
0
Entering edit mode

Thank you very much !

ADD REPLY

Login before adding your answer.

Traffic: 1634 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6