batch download GEO data (samples/series)
--------------------------------------------------------------------------
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |