Created
December 1, 2008 04:27
-
-
Save wwood/30621 to your computer and use it in GitHub Desktop.
Ubiquity access to wormbase gene pages
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({ | |
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