This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Best command line tool for downloading sequencing reads

Hello there,

I am using enaBrowserTools (enaDataGet) for bulk downloading raw reads from ENA in a pipeline of mine.

The last few weeks I noticed that I am getting this error message a lot when I use this tool

Error with FTP transfer: <urlopen error 421 There are too many connected users, please try later.> .

I searched it a bit and apparently it has to do with a limit ENA set up that clogs up enaDataGet calling.

And that is an issue for me!

In the past I was using Fasterq-dump but I do not know if that the best option nowadays.

So I wanted to make this post in order to see if there are better alternatives and in general for people to discuss the available tools and their pros and cons!

Thanking you in advance.

enabrowsertools reads fasterq-dump sequencing

3 answers

At least two additional tools mentioned in comments linked below.

Download NCBI data using sratoolkit in anaconda - bio package from @Istvan
Access to fastq files on SRA Run browser - fastq-dl package

If any tools use the FTP interface under the covers then you will likely hit the same problem. If you are downloading hundreds of samples then all tools will likely encounter some issue in time.

Hello and ty for the reply,

I dont think the SRA browser works for me because I look for command line tools. As for sratoolkit and more specifically fasterq-dump, I think it is a good tool and I have used it before! I was just wondering if there are other stuff out there!

Do not go on the tiles of the biostar posts that are automatically linked above by biostar code parsing the links. Actually click on the links and check the tools.

Oh you are right...I totally missed that! Thank you!

I've had good experiences recently with fetchngs: https://nf-co.re/fetchngs/1.10.1

nextflow run nf-core/fetchngs \
-profile singularity \
--input ids.csv \
--outdir <OUTDIR>

will download the relevant Singularity containers (or docker for Docker) and download ENA or SRA IDs in ids.csv, either as direct fastq from the ENA via curl or as SRA files, then fastq files via sratools. It will rerun failed download jobs.

Oh i did not know about this! Thank you!

I typically find going to https://sra-explorer.info/ to be the easiest way to navigate the SRA and retrieve download links (which I can use wget or curl to download).

Some command-line tools (see the entire thread):

Seconding sra-explorer.info -- the suggested nf-core pipeline will work, but I find it overly heavy for such a trivial task such as running a few wget lines.

Log in to answer this question.