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 |
| 116 | In order to '''download a list of SRA files''' from NCBI, it is convenient to use prefetch. |
| 117 | |
| 118 | As mentioned in [[https://www.ncbi.nlm.nih.gov/sra/docs/sradownload/| SRA website ]], you can download list of Run accessions from search results page ([[https://www.ncbi.nlm.nih.gov/sra/?term=cancer |- Example offsite image]]) - select Runs of interest by clicking on the checkboxes, click on "Send To", "file", and select "Accession List" in the drop-down menu. |
| 119 | |
| 120 | Given a set of SRA files listed in a single column in the text file "SraAccList.txt" (e.g. SRR7623010, SRR7623011, etc.), the following command will download the entire set: |
| 121 | |
| 122 | {{{ |
| 123 | prefetch --option-file sraAccList.txt |