Link redirects
You can add a property to WebProperties to have links in results forward the user to a URL instead of the InterMine report page.
#
configAdd the following to your WebProperties file:
uniqueId
any string, should be different for each entry, internal use only
class
class of Object to redirect, eg. Gene or Protein
taxonId
taxon ID or * if config should apply to all
field
which identifier field to pass to the URL, eg. if field is primaryIdentifier, the value of primary identifier will be used as the attribute value
full URL
full http address, eg. http://www.google.co.uk/#q=monkey
All columns in the results for the configured class will be links to the external URL.
#
examplesIn results pages, all dmel genes will link to FlyBase with Gene.primaryIdentifier instead of the Mine report page:
One could also use a common URL with a common hostname and different subdirectory names. Intermine then figures out what URL to build with the given subdirectory name and redirects your query to that mine Report page using the Identifier you provide as an external identifier. Common subdirectory names include:
MOUSEMINE = intermine.org/mgi
YEASTMINE = intermine.org/sgd
ZEBRAFISHMINE = intermine.org/zfin
WORMMINE = intermine.org/wormbase
RATMINE = intermine.org/rgd
METABOLICMINE = (Please update)
So an externallink to RATMINE will look like this:
In results pages, all probesets will link to Google instead of the Mine report page:
Next to the value in the column will be a small icon indicating an external link