How to download all samples (fastq files) in a particular study (e.g., PRJNA223640) from bioproject.
How to download all samples (fastq files) in a particular study (e.g., PRJNA223640) from bioproject.
If you want to download from NCBI, then the key is to get the so-called 'runinfo' file. The 'runinfo' file is a simple CSV table which lists sequencing runs in the 'sra' database and their download links. After you have obtained the 'runinfo' file, you can write a short script to download the run data one after each other.
You can download the 'runinfo' file with wget:
wget 'http://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?save=efetch&rettype=runinfo&db=sra&term=PRJNA223640' -O - | tee SraRunInfo.csv
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
i did manage to downlaod th run data one after each other.