How to download SRA fastq filese
1
0
Entering edit mode
6.8 years ago
110300553 • 0

I've generated a csv file with the run info for a bioproject SRA using the command:

wget 'http://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?save=efetch&rettype=runinfo&db=sra&term=PRJNA223640' -O - | tee SraRunInfo.csv Which I found in this answer C: download all samples from a study in BioProject

but could anyone help me with how I can use this csv file to download the files?

sra command line • 3.1k views
ADD COMMENT
2
Entering edit mode
6.8 years ago

use NCBI fastq-dump

wget -O -  "http://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?save=efetch&rettype=runinfo&db=sra&term=PRJNA223640" | cut -d ',' -f 1 | grep -v '^$' |while read A; do  fastq-dump $A ; done
ADD COMMENT
0
Entering edit mode

Thank you so much!

ADD REPLY
0
Entering edit mode

Can you explain this ? -O -

ADD REPLY
0
Entering edit mode

save to standard output

ADD REPLY

Login before adding your answer.

Traffic: 2044 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