Error during prefetch
1
0
Entering edit mode
2.6 years ago
Princy ▴ 60

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

Screenshot

Prefetch SRR SraToolkit NCBI • 1.1k views
ADD COMMENT
1
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode
2.6 years ago
ATpoint 81k

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
ADD COMMENT
1
Entering edit mode

I got it! Thank you!

ADD REPLY

Login before adding your answer.

Traffic: 3118 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6