I have a .txt file containing 140 accession numbers. Each number corresponds to one Fastq file. I want to download all the Fastq files together using a FOR loop.
My text file looks like:
SRR000311 SRR000321 SRR000312 . . SRR000421
My CODE looks like:
for items in $(abc.txt) do sratoolkit.2.9.6-1-mac64/bin/./fastq-dump $items done
This command should download all the files one by one! However, It is unable to read the text file!