Skip to content

Instantly share code, notes, and snippets.

@wwood
Created March 4, 2009 22:07
Show Gist options
  • Save wwood/74038 to your computer and use it in GitHub Desktop.
Save wwood/74038 to your computer and use it in GitHub Desktop.
CmdUtils.CreateCommand({
name: "pfam",
takes: {"pfam_id": noun_arb_text},
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"},
contributors: ["Ben J. Woodcroft"],
license: "GPL3",
description: "Go to a PFAM family page in a new window",
preview: "Go to a PFAM family page in a new window.",
execute: function(plasmodb_id) {
var urlString = "http://pfam.sanger.ac.uk//family/"+plasmodb_id.text;
Utils.openUrlInBrowser(urlString);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment