Help downloading NHP prenatal microdissection slices

I’m having trouble downloading the E120 Nissl data from: http://www.blueprintnhpatlas.org/static/referencedata

e.g., The download button does not work for me (tested on Chrome and Safari) on this dataset:
http://www.blueprintnhpatlas.org/ish/experiment/dual_view?id=127302910&imageId=127302992&imageType=nissl&initImage=nissl&x=3648&y=6176&z=1

The download button works for the younger prenatal datasets. Also, is there a way to do a bulk download instead of going slice by slice?

Thanks!
Mike

Hello Mike

Looks like you found a bug in our data that is preventing the download from happening as it should for the ‘120’ images. Regardless, using a bulk download method should work around that.

Use this API call to get the list of sub_image ids (Replace donor.name with your donor of interest (e.g. MMU27052 from the reference data page listing; Replace NISSL with AChE if you like; Replace ‘json’ with ‘xml’ if you prefer XML output)
http://api.brain-map.org/api/v2/data/query.json?criteria=model::SectionDataSet,rma::criteria,specimen(donor[name$eq’MMU27052’]),treatments[name$eq’NISSL’],rma::include,sub_images

For each sub_image id, use the instructions on http://help.brain-map.org/display/api/Downloading+an+Image to download the image
Here are some examples:

wget -O desired_file_name_1.jpg http://api.brain-map.org/api/v2/image_download/127302912
wget -O 127302910_381.jpg http://api.brain-map.org/api/v2/image_download/127302916
wget -O 127302910_361.jpg http://api.brain-map.org/api/v2/image_download/127302920

Hope that helps!
Wayne

1 Like

Hi Wayne,

Thanks for the fast response and this info! I was able to bulk download the images. Thanks so much!

Best,
Mike