This is a test version of Biostars. For the public version, visit https://www.biostars.org.
SRA download

I'm trying to download a lot of SRA files which are whole genome of animals. average sizes are tens of gigabytes so it takes almost a day to download one individual even if I use SRAtoolkit prefetch and than fasterq-dump. I know there are other ways like wget from FTP but FTP addresses change often and even if I use something like SRA explorer, it, doesn't receive multiple SRR so I have to do it manually. Also wget from FTP is too slow also. I'm assuming that ascp of Aspera is the fastest way, but I've been struggling to set it. I tried the aspera connect version 4.2.5 but it doesn't give me keys after installing, so I tried with lower versions.

ascp -QT -l 300m -P33001 -i $HOME/.aspera/connect/etc/asperaweb_id_dsa.openssh era-fasp@fasp.sra.ebi.ac.uk:vol1/fastq/ERR315/009/ERR3155119/ERR3155119.fastq.gz ./

This is the command I tried cause people said it worked about 5 months ago. but it gave me Session Stop (Error: Server aborted session: No such file or directory) error as if the address is wrong.

I checked in the SRA explorer for the ascp address but even if I use the code given by SRA explorer, it doesn't work. Is there someone who uses ascp for SRA downloading? could you please help me

sratoolkit sra ftp aspera

1 answer

It looks like you are missing a / in your command:

era-fasp@fasp.sra.ebi.ac.uk:vol1/fastq/ERR315/009/ERR3155119/ERR3155119.fastq.gz 

should be

era-fasp@fasp.sra.ebi.ac.uk:/vol1/fastq/ERR315/009/ERR3155119/ERR3155119.fastq.gz 

Thanks but it still doesn't work does it work for you?

even if I add the / in my command, it gives the same error I've checked that the ftp adress is valid but I'm not sure about this host?source? adress era-fasp@fasp.sra.ebi.ac.uk:vol1/fastq/ERR315/009/ERR3155119/ERR3155119.fastq.gz It doesn't work for me so I'm wondering if it's my network problem or the address problem I contacted IBM but they won't give me answers cause it's a free program

Log in to answer this question.