DOWNLOADING A WELLKNOWNFILE
Table of Contents |
---|
...
|
...
|
...
|
The WellKnownFile Download Service returns files. Examples include Agilent output files from the Human Brain Microarray product and RNA Sequencing output files from the Developing Human Developing Human Transcriptome product.
Prototype
No Format |
---|
http://api.brain-map.org/api/v2/well_known_file_download/[WellKnownFile.id]
|
...
First, search for all WellKnownFiles associated with Donor H0351.2001 and the Structure DG:
No Format |
---|
http://api.brain-map.org/api/v2/data/query.xml?criteria=
model::Sample,
rma::criteria,microarray_data_set(products[abbreviation$eq'HumanMA'],specimen(donor[name$eq'H0351.2001'])),structure[acronym$eq'DG'],
rma::include,microarray_slides(well_known_files)
|
Next, iterate through the WellKnownFile elements, building URLs by appending the WellKnownFile.download_link value to "http://api.brain-map.org":
No Format |
---|
http://api.brain-map.org/api/v2/well_known_file_download/3486
|
Parameters
filename | String | WellKnownFile.id identifying the file to download. |
Returns
The file represented by the specified WellKnownFile.id. Several file formats may be returned by this service.