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
var baseUrl = 'http://blast.ncbi.nlm.nih.gov/Blast.cgi', | |
program, | |
blastPrograms; | |
switch (App.blast.context) | |
{ | |
case 'rna-sequence' : | |
case 'mrna-transcript' : | |
program = blastPrograms = 'tblastx'; | |
break; |
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
gene complement(41384343..42219039) | |
/gene="DSCAM" | |
/gene_synonym="CHD2-42; CHD2-52" | |
/note="Down syndrome cell adhesion molecule; Derived by | |
automated computational analysis using gene prediction | |
method: BestRefseq." | |
/db_xref="GeneID:1826" | |
/db_xref="HGNC:3039" | |
/db_xref="HPRD:03953" | |
/db_xref="MIM:602523" |
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
public class QueryString { | |
Dictionary<string, string> parameters = new Dictionary<string, string>(); | |
public QueryString Add<T>(string key, T value) { | |
parameters.Add(Uri.EscapeDataString(key), Uri.EscapeDataString(value.ToString())); | |
return this; | |
} | |
public QueryString Add<T>(Dictionary<string, T> p) { |
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
(function (jsonp, d) { | |
console.log('json-p request'); | |
var request = 0, | |
callbacks = {}; | |
// takes callback object of the form: | |
// { | |
// name : 'customCallback', | |
// fun : myCallbackFunction | |
// } |
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
(function(document) { | |
var previewWrap = document.createElement('div'), | |
preview = document.createElement('img'); | |
previewWrap.style.position = 'absolute'; | |
previewWrap.style.background = 'white'; | |
previewWrap.style.border = '1px solid black'; | |
previewWrap.style.transition = 'opacity 0.4s'; | |
previewWrap.style.opacity = 0; | |
previewWrap.appendChild(preview); |
NewerOlder