Script for downloading fastq files from ENA database: Gist github link
Create a file named "SRRs_to_process.txt" in the same directory as the script file and this file should have a list of single SRR ID as entries in every line.
Fastq files will be downloaded in the same directory where the script is located. Script also generates an output file named "Number_of_reads_in_fastq_files.txt" which has information on the status of download of the fastq files and number of reads in the fastq file downloaded.
Note: This script was tested in both Mac OS and linux OS and it requires "curl".
If you have SRX ID and want to map SRX IDs to SRR IDs, please refer: biostar link
Hey, thanks for contributing. I would suggest though to add some documentation and confirm it works properly on Mac and Linux.
On Mac:
No idea how to use it. Please add documentation. I personally find it helpful if running the plain script without arguments returns a help page explaining the how-to's.
Just create the file "SRRs_to_process.txt" in the same directory as the script. The script will automatically read in the file.
I still get the above error.
Thanks for the input.
what's your version of bash ?
That'd explain things. I am on
What do you use jayeshkumarsundaram ?