Skip to content

Instantly share code, notes, and snippets.

@wwood
Created December 1, 2008 04:27
Show Gist options
  • Save wwood/30621 to your computer and use it in GitHub Desktop.
Save wwood/30621 to your computer and use it in GitHub Desktop.
Ubiquity access to wormbase gene pages
CmdUtils.CreateCommand({
name: "wormbase gene ",
takes: {"term": noun_arb_text},
homepage: "http://gist.github.com/30621",
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"},
contributors: ["Ben J. Woodcroft"],
license: "GPL3",
description: "Search Wormbase",
preview: "Go to a Wormbase search in a new window.",
execute: function(gene_name) {
var urlString = "http://www.wormbase.org/db/gene/gene?name="+gene_name.text+";class=Gene";
Utils.openUrlInBrowser(urlString);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment