This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Download mutiple SRA files in linux

Good day all,

I have to donwload a lot of metagenomic source sequence which have been deposited in SRA by using 'prefetch' command in linux platform, but the 'prefetch' command only allow to donwload one sequence per time, may i know any command which will allow to download multiple SRA sequence at once.

Thanks for reply.

ncbi sra

1 answer

NCBI has instructions on how to use the ascp utility to download items. I've used it in the past for bulk downloads.

Thanks for your reply.

NCBI did provided the information to download a bulk of file by using ascp, but it did not state the command and only the command to download a single file is provided: [path_to_ascp_binary]/ascp -i [path_to_Aspera_key]/asperaweb_id_dsa.openssh -k 1 –T -l200m anonftp@ftp.ncbi.nlm.nih.gov:/sra/sra-instant/reads/ByRun/sra/SRR/SRR304/SRR304976/SRR304976.sra [local_target_directory]

Can you explain more? Thanks.

Log in to answer this question.