Question: Download files from galaxy using bash (curl/wget)
gravatar for regulatinggeneexpression
10 months ago by

I copy the link and paste into the terminal with the curl -O command but I get error message permission denied.

ADD COMMENTlink modified 7 months ago by Martin Čech ♦♦ 4.9k • written 10 months ago by regulatinggeneexpression0
gravatar for Martin Čech
7 months ago by
Martin Čech ♦♦ 4.9k
United States
Martin Čech ♦♦ 4.9k wrote:

For dataset collections and datasets within collections you have to supply your API key with the request. You can add it to the end of the collection download url, the command would look something like this:

$ wget (note the ?key= before the API key itself)

I updated our docs at to reflect this requirement.

ADD COMMENTlink written 7 months ago by Martin Čech ♦♦ 4.9k
gravatar for Jennifer Hillman Jackson
10 months ago by
United States
Jennifer Hillman Jackson25k wrote:


If the dataset is a complete collection or in a collection

see Martin's answer below

If the dataset is a single dataset:

Please double check your usage and try both curl and wget. One of these should work for everyone -- but both will not work for everyone. Full options:

$ curl -o outfile --insecure '<link>' # ignore SSL certificate warnings

or use

$ wget -O --no-check-certificate '<link>' # ignore SSL certificate warnings

Please let us know if single dataset download is a problem you cannot resolve. We'll want to follow up on where you are working, what the datatype of the dataset is, confirm your command-line syntax, etc. to test and see if there is another server download issue going on.

Thanks! Jen, Galaxy team

ADD COMMENTlink modified 10 months ago by Martin Čech ♦♦ 4.9k • written 10 months ago by Jennifer Hillman Jackson25k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 171 users visited in the last hour