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)
--------------------------------------------------------------------------
Citation pour cette source
Sisi Ma (2026). batch download GEO data (samples/series) (https://fr.mathworks.com/matlabcentral/fileexchange/43170-batch-download-geo-data-samples-series), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
