Entering edit mode
4.0 years ago
Ahmed Ezat El Zowalaty
▴
10
I created a download list
grep -E 'SRR|ERR' XDR_169_ids.txt > downloads.txt
## Find SRAs from SRS:
grep 'SRS' XDR_169_ids.txt | parallel "esearch -db sra -query {} | efetch --format runinfo | cut -d ',' -f 1 | grep SRR" >> downloads.txt
## Now make sure there are no duplicates, then download using GNU parallel to have 4 (or as many your disk can handle) streams in parallel:
sort -u downloads.txt | parallel -j 4 "prefetch {}"
Files were not downloaded.
prefetch does not unpack the files, just prefetches them (places them in a storage system for later commands that need it)
if you want to see files you need to use
fastq-dump
In which folder did you check? It does not load it to the current directory unless you tell it to. Otherwise it goes to the one that is specified in
vdb-config -i
. There should be files with.sra
suffix. See also Fast download of FASTQ files from the European Nucleotide Archive (ENA) or get direct download links via sra-explorer.infoDon't forget about your network. If you don't have enough bandwidth you may end up killing all downloads.