Download Geo Tar File Automatically From Linux/Unix
2
1
Entering edit mode
9.6 years ago
dfernan ▴ 710

Hi,

I'd like to automatically download the tar files from the following links, does anyone knows how to do that?

http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE39977

http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE36375

Kind of like using wget...

Thanks!

unix geo • 14k views
ADD COMMENT
1
Entering edit mode

check out the tool aspera. GEO supports it. http://www.ncbi.nlm.nih.gov/books/NBK47527/

The download speed will blow you away.

ADD REPLY
0
Entering edit mode

You can also check out cURL: http://curl.haxx.se/

ADD REPLY
0
Entering edit mode

You can automate any task with CRON on unix plateforms.

ADD REPLY
10
Entering edit mode
9.6 years ago
dfernan ▴ 710

Never mind, just figured it out. I can go to the ftp site and do wget:

ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE39nnn/GSE39977/suppl/

wget 'ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE39nnn/GSE39977/suppl/GSE39977_RAW.tar'

Thanks!

ADD COMMENT
4
Entering edit mode

Check the parameter -b, love it, sends the download to background and generates log. Good for multiple downloads.

ADD REPLY
1
Entering edit mode

Thanks for the suggestion!

ADD REPLY
0
Entering edit mode

GEO should provide a automatical tools to download the data, such as fastq-dump

ADD REPLY
4
Entering edit mode
9.5 years ago

Just a note that the GEOquery bioconductor package does this for a living, if you happen to be targeting R for further processing/analysis. See the help for getGEOSuppFiles() and getGEO().

ADD COMMENT

Login before adding your answer.

Traffic: 1423 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