-
Notifications
You must be signed in to change notification settings - Fork 2
IMPC Images API
To get information about the impc images you can use the solr restful api as for the experiment api. As an example this url http://www.ebi.ac.uk/mi/impc/solr/impc_images/select?q=: will get the first 10 impc image records. You can query for images associated with genes, procedures and alleles using the same fields as the experiment api. The main difference is that impc_images end point will give you download urls for the images. The "download_url" field is a url where you can download the original file that was provided whatever the format whereas "jpeg_url" points to a compressed jpeg image. Please note that the only stable id for an image is currently the full_resolution_file_path that should remain stable over time.
Examples:
http://www.ebi.ac.uk/mi/impc/solr/impc_images/select?q=gene_symbol:Cln6
Will get you all image records associated with the gene symbol Cln6.
http://www.ebi.ac.uk/mi/impc/solr/impc_images/select?q=gene_symbol:Cln6&fl=jpeg_url&rows=1000
Will get you the first 1000 jpeg_urls (or the amount that exist if less than a 1000) associated with the gene symbol Cln6.