0

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!

  • 1
    What is the actual error message? – Kusalananda Jun 18 '19 at 18:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.