Created
January 10, 2009 05:41
-
-
Save wwood/45399 to your computer and use it in GitHub Desktop.
Ubiquity Ensembl searching
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
names: ["ensembl"], | |
arguments: [{label: "ensemble_gene_or_protein_or_transcript_id", nountype: noun_arb_text, role: 'object'}], | |
homepage: "www.ensembl.org", | |
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"}, | |
contributors: ["Ben J. Woodcroft"], | |
license: "GPL3", | |
description: "Search Ensembl", | |
preview: "Search Ensembl.", | |
execute: function(args) { | |
var urlString = "http://www.ensembl.org/common/psychic?q="+args.object.text; | |
Utils.openUrlInBrowser(urlString); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment