1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
LocusSelect = function(containerId, options) {
new Application.highChart(containerId, options);
};
if (Application === "undefined" || !Application) {
var Application = {};
}
Application.highChart = function() {
this._init.apply(this, arguments);
Application.highChart.prototype = {
_containerId : null,
_options : null,
_workId : null,
_fileName : null,
_highChartContainerId : null,
_appProperty : null,
_default : {
appName : "LocusSelect",
filterNamespace : "http://linkdata.org/",
subjectUriPhrase : "http://atted.jp/data/locus/",
subjectPPDBUriPhrase : "http://ppdb.agr.gifu-u.ac.jp/ppdb/cgi-bin/display.cgi?organism=At&gene=",
selectSubjectClass : "selectSubject",
drawArea : "drawArea",
loadingImageContainer : "loadingImageContainer",
acceptPropLabelPrefix : "label:",
loadingImageUrl : "http://app.linkdata.org/asset/67556085.gif",
databaseInfoClass : "databaseInfo",
dbInfoLinkClass : "dbInfoLink",
geneInfoLinkClass : "geneInfoLink",
geneInfoAttedLinkClass : "geneInfoAttedLink",
geneInfoPpdbLinkClass : "geneInfoPpdbLink",
geneInfoEfpLinkClass : "geneInfoEfpLink",
geneInfoHannaDbLinkClass : "geneInfoHannaDbLink",
serverUrl : "http://linkdata.org/",
yAxisLabel : "Gene Expression Level"
},
_tooltipName : {
selectProperty : "selectproperty",
atted2 : "atted-ii",
hanaDb : "hanadb",
efp : "efp",
ppdb : "ppdb",
replace : "replace",
manuallyInputMotif : "userinputmotif",
locusSelect : "locusSelect"
_init : function(containerId, options) {
this._containerId = containerId;
this._options = $.extend({}, this._default, options);
this._workId = this._options.workId;
this._fileName = this._options.fileName;
var date = new Date();
this._highChartContainerId = "high_chart_" + date.getTime();
this._initToolTip();
this._initAppProperty(this._options);
this._initView();
_initToolTip : function() {
var self = this;
self._tooltip = (self._options.tooltip) ? self._options.tooltip : new Application.tooltip();
_initAppProperty : function(opts) {
var obj = {
workId : opts.workId,
fileName : opts.fileName
this._appProperty = new Application.motifProperty(obj);
_initView : function() {
var initView = function(subjectList) {
var sb = [];
sb[sb.length] = "<div class='row'>";
sb[sb.length] = "<div class='label left'>Select Locus</div>";
sb[sb.length] = "<div class='left'>";
sb[sb.length] = "<select class='" + self._default.selectSubjectClass + "'>";
sb[sb.length] = "<option value='" + -1 + "'>-- Select Locus --</option>";
$.each(subjectList, function(subKey, subValue) {
var label = self._getLabel(subValue);
sb[sb.length] = "<option value='" + subValue + "'>" + label + "</option>";
});
sb[sb.length] = "</select>";
sb[sb.length] = "</div>";
sb[sb.length] = "<div class='" + self._options.databaseInfoClass + " hidden'></div>";
sb[sb.length] = "<div id='" + self._highChartContainerId + "'></div>";
sb[sb.length] = "<div class='" + self._options.loadingImageContainer + " hidden' align='center'>";
sb[sb.length] = "<img src='" + self._options.loadingImageUrl + "'/>";
$("#" + self._containerId).html(sb.join(""));
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
body {
font-family: sans-serif;
font-size: 14px;
a {
color: #3B5998;
font-weight: bold;
text-decoration: none;
.hidden {
display:none;
.left {
float: left;
.label {
color: #E87B10;
font: 1.1em "Trebuchet MS","Helvetica","Arial","Verdana","sans-serif";
height: 24px;
min-width: 125px;
.row {
padding: 5px 0;
.row:after {
content: "";
clear: left;
display: block;
.row input[type="text"] {
width: 200px;
.row .externalLink {
margin: 0 5px;
.btn {
display: inline-block;
*display: inline;
/* IE7 inline-block hack */
*zoom: 1;
padding: 4px 10px 4px;
margin-bottom: 0;
font-size: 13px;
line-height: 18px;
color: #333333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
background-color: #f5f5f5;
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(top, #ffffff, #e6e6e6);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
border: 1px solid #cccccc;
border-bottom-color: #b3b3b3;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
cursor: pointer;
*margin-left: .3em;
.btn:hover,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
background-color: #e6e6e6;
.btn:hover {
background-position: 0 -15px;
-webkit-transition: background-position 0.1s linear;
-moz-transition: background-position 0.1s linear;
-ms-transition: background-position 0.1s linear;
-o-transition: background-position 0.1s linear;
transition: background-position 0.1s linear;
.btn-blue,
.btn-blue:hover,
.btn-yellow,
.btn-yellow:hover,
.btn-red,
.btn-red:hover,
.btn-green,
.btn-green:hover,
.btn-lightblue,
.btn-lightblue:hover,
.btn-black,
.btn-black:hover {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color: #ffffff;
.btn-blue {
background-color: #0074cc;
background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
background-image: -o-linear-gradient(top, #0088cc, #0055cc);
background-image: linear-gradient(top, #0088cc, #0055cc);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
border-color: #0055cc #0055cc #003580;
.btn-blue:active,
.btn-blue.active,
.btn-blue.disabled,
.btn-blue[disabled] {
background-color: #0055cc;
.btn-green {
background-color: #5bb75b;
background-image: -moz-linear-gradient(top, #62c462, #51a351);
background-image: -ms-linear-gradient(top, #62c462, #51a351);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
background-image: -webkit-linear-gradient(top, #62c462, #51a351);
background-image: -o-linear-gradient(top, #62c462, #51a351);
background-image: linear-gradient(top, #62c462, #51a351);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
border-color: #51a351 #51a351 #387038;
.btn-green:active,
.btn-green.active,
.btn-green.disabled,
.btn-green[disabled] {
background-color: #51a351;
.btn-green.active {
background-color: #408140 ¥9;
.btn-lightblue {
background-color: #49afcd;
background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
background-image: linear-gradient(top, #5bc0de, #2f96b4);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
border-color: #2f96b4 #2f96b4 #1f6377;
.btn-lightblue:active,
.btn-lightblue.active,
.btn-lightblue.disabled,
.btn-lightblue[disabled] {
background-color: #2f96b4;
<div class="row">
<div class="label left">Select Database</div>
<div class="left"><select class="highChartDatabase"></select></div>
</div>
<div id="container"></div>
Click the Browse button or drag and drop to choose files to upload
The Maximum upload size is 1MB.(bmp,gif,jpeg,jpg,png)
*Required field
Add name for another language
You can upload jpg, gif, png file formats
Add description for another language
Fork original application has been updated. >>see
Original application has been updated. >>see
Playing...
Please enter a valid URL