| 116 | In order to '''download a list of SRA files''' from NCBI, it is convenient to use prefetch. Given a set of SRA files listed in a single column in the text file "sraFileList.txt" (e.g. SRR7623010, SRR7623011, etc.), the following command will download the entire set: |
| 117 | |
| 118 | {{{ |
| 119 | prefetch --option-file sraFileList.txt |
| 120 | }}} |
| 121 | |
| 122 | This is current as of prefetch v. 2.9.3 (2.9.3-1). Note that the default location for downloaded files is in your home directory under ~/ncbi/ncbi_public/sra. With this default, one can quickly run out of space. One solution to address this problem is to edit your ~/.ncbi/user-settings.mkfg file to include the following line: |
| 123 | {{{ |
| 124 | /repository/user/main/public/root = "/destination/for/big/storage/here" |
| 125 | }}} |