Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Blocknoformat
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:

Code Blocknoformat
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":

Code Blocknoformat
http://api.brain-map.org/api/v2/well_known_file_download/3486

...