batch download GEO data (samples/series)

Version 1.0.0.0 (1.86 KB) by Sisi Ma
This file batch download files from NCBI GEO according to a list of urls.
412 Downloads
Updated 21 Aug 2013

View License

--------------------------------------------------------------------------
This file batch download files from NCBI GEO according to a list of urls
--------------------------------------------------------------------------
Inputs:
(1) url_list: the list of urls, in cell array format. This list can be
obtained uding GEO repository browser
http:\\www.ncbi.nlm.nih.gov\geo\browse\ For example, you can search all
samples collected on GPL100 by clicking on samples button and search
GPL100 in the search box (this will result in 10 hits). The link to
those data can be obtained by clicking the export button. If more than
1 page of results were obtained from your search, make sure you select
"all search results". Column 9 (Supplementary Links) of the resulting
spreadsheet shows the list of urls. You can paste this list into a cell
array as input to the function. Notice, not every dataset have a url
associated to it.
(2) savepath: the path where the downloaded files will be saved. Notice
that there will be nested folders created when files were downloaded. A
search in the savepath can be performed to obtain all downloaded files.
--------------------------------------------------------------------------
Outputs: files will be saved in the savepath
--------------------------------------------------------------------------
Example:
url_list={'ftp:\\ftp.ncbi.nlm.nih.gov\geo\samples\GSM995nnn\GSM995382\suppl';...
'ftp:\\ftp.ncbi.nlm.nih.gov\geo\samples\GSM995nnn\GSM995383\suppl'};
savepath='C:\';
batch_download_geo_data(url_list,savepath)
--------------------------------------------------------------------------

Cite As

Sisi Ma (2024). batch download GEO data (samples/series) (https://www.mathworks.com/matlabcentral/fileexchange/43170-batch-download-geo-data-samples-series), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Genomics and Next Generation Sequencing in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0