Changes between Version 3 and Version 4 of SOPs/qc_SRA
- Timestamp:
- 08/25/20 11:43:52 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SOPs/qc_SRA
v3 v4 54 54 === Downloading and processing multiple NCBI SRA samples === 55 55 56 To '''download a list of SRR files'''(such as for all of the samples of a data series) from NCBI, use prefetch.56 To download a list of SRR files (such as for all of the samples of a data series) from NCBI, use prefetch. 57 57 58 58 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: 59 59 60 60 {{{ 61 prefetch -O output_directory sraAccList.txt61 prefetch -O output_directory SRR_Acc_List.txt 62 62 }}} 63 63 64 64 If you don't specify an output directory, the SRR files will be downloaded to ~/ncbi/ncbi_public/sra (or your configured "Import Path" as described above). 65 65 66 To get this list of SRR IDs, go the [[https://www.ncbi.nlm.nih.gov/Traces/study/|SRA Run Selector]] and enter a project accession. Once on a [[https://www.ncbi.nlm.nih.gov/Traces/study/?acc=SRP000002|project page , go to the "Select" section and click on "Accession List" (or if you want a subset of these, click on "Metadata" in the "Select" section to get a comma separated file, SraRunTable.txt)66 To get this list of SRR IDs, go the [[https://www.ncbi.nlm.nih.gov/Traces/study/|SRA Run Selector]] and enter a project accession. Once on a [[https://www.ncbi.nlm.nih.gov/Traces/study/?acc=SRP000002|project page]], go to the "Select" section and click on "Accession List" to get 'SRR_Acc_List.txt' (or if you want a subset of these, click on "Metadata" in the "Select" section to get a comma separated file, 'SraRunTable.txt') 67 67