This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error during prefetch

Please guide me, why this error is coming. I need to download SRA files.

Screenshot

prefetch srr sratoolkit ncbi

This command works perfectly fine for me using prefetch v2.11.0 and v2.8.2. Have you tried rerunning the command? Could be a network issue on your end

Yes, I tried, but it did not work. So, I used ENA.

1 answer

Maybe a connection problem, not unusual with NCBI. There is no need to bother with the NCBI Toolkits, you can get fastq files directly with links from e.g. sra-explorer.info

If you visit that website (which is a wrapper around the NCBI and ENI APIs) and enter your accession it will return several download links, e.g. these to get fastq directly:

ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR704/004/SRR7046484/SRR7046484_1.fastq.gz
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR704/004/SRR7046484/SRR7046484_2.fastq.gz

so simply do a wget or curl to get them:

wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR704/004/SRR7046484/SRR7046484_1.fastq.gz
wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR704/004/SRR7046484/SRR7046484_2.fastq.gz

I got it! Thank you!

Log in to answer this question.