Created
September 9, 2009 06:52
-
-
Save wwood/183528 to your computer and use it in GitHub Desktop.
EuPathDB Ubiquity Scripts
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: ["plasmodb"], | |
arguments: [{label: "plasmodb_id", nountype: noun_arb_text, role:'object'}], | |
homepage: "http://gist.github.com/20872", | |
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"}, | |
contributors: ["Ben J. Woodcroft"], | |
license: "GPL3", | |
description: "Go to a PlasmoDB Gene page in a new window", | |
preview: "Go to a PlasmoDB Gene page in a new window.", | |
execute: function(args) { | |
var urlString = "http://plasmodb.org/gene/"+args.object.text; | |
Utils.openUrlInBrowser(urlString); | |
} | |
}) | |
CmdUtils.CreateCommand({ | |
names: ["plasmodb beta"], | |
arguments: [{label: "plasmodb beta id", nountype: noun_arb_text, role:'object'}], | |
homepage: "http://gist.github.com/20872", | |
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"}, | |
contributors: ["Ben J. Woodcroft"], | |
license: "GPL3", | |
description: "Go to a beta PlasmoDB Gene page in a new window", | |
preview: "Go to a beta PlasmoDB Gene page in a new window.", | |
execute: function(args) { | |
var urlString = "http://beta.plasmodb.org/gene/"+args.object.text; | |
Utils.openUrlInBrowser(urlString); | |
} | |
}) | |
CmdUtils.CreateCommand({ | |
names: ["toxodb"], | |
arguments: [{label: "toxodb id", nountype: noun_arb_text, role:'object'}], | |
homepage: "http://gist.github.com/20872", | |
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"}, | |
contributors: ["Ben J. Woodcroft"], | |
license: "GPL3", | |
description: "Go to a ToxoDB Gene page in a new window", | |
preview: "Go to a ToxoDB Gene page in a new window.", | |
execute: function(args) { | |
var urlString = "http://toxodb.org/gene/"+args.object.text; | |
Utils.openUrlInBrowser(urlString); | |
} | |
}) | |
CmdUtils.CreateCommand({ | |
names: ["toxodb beta"], | |
arguments: [{label: "toxodb beta id", nountype: noun_arb_text, role:'object'}], | |
homepage: "http://gist.github.com/129610", | |
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"}, | |
contributors: ["Ben J. Woodcroft"], | |
license: "GPL3", | |
description: "Go to a beta ToxoDB Gene page in a new window", | |
preview: "Go to a beta ToxoDB Gene page in a new window.", | |
execute: function(args) { | |
var urlString = "http://beta.toxodb.org/gene/"+args.object.text; | |
Utils.openUrlInBrowser(urlString); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment