-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
346 lines (310 loc) · 11.8 KB
/
index.html
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
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>hydroGENE</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="assets\js\jquery.fullPage.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.3/socket.io.js"></script>
<script src="https://unpkg.com/vue"></script>
<script src="http://cdn.bio.sh.s3.eu-central-1.amazonaws.com/msa/latest/msa.min.gz.js"></script>
<script src="particles.js"></script>
<script src="assets\js\jquery.popup.js"></script>
<link rel="stylesheet" type="text/css" href="assets\css\jquery.fullPage.css" />
<link rel="stylesheet" type="text/css" href="assets\css\style.css" />
<link rel="stylesheet" type="text/css" href="assets\css\popup.css" />
<link rel="stylesheet" type="text/css" href="assets\css\pushy-buttons.min.css" />
<!--CDN links for TweenLite, CSSPlugin, and EasePack-->
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/plugins/CSSPlugin.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/easing/EasePack.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenLite.min.js"></script>
</head>
<body>
<div id="particle"></div>
<div class="overlay container-fluid">
<div class="row">
<div class="col-md-2 left-col">
<img src="" alt="">
<img id="logo" src="assets\img\LOGO2.png">
<p id="cap">Bioinformatics Platform</p>
<div class="nav">
<ul>
<li id="alignment">Alignment</li>
<li id="navigation">Navigation</li>
<li id="about-us">About</li>
</ul>
</div>
</div>
<div class="fullpage col-md-10">
<div class="section" id="vue-app">
<div id="unique-heading">
<h1>Input Sequence</h1>
<p>Provide the required sequence(s) for alignment or manipulation.</p>
</div>
<div class="container-fluid main alignment">
<div class="row" v-if="!result && !advanced && !loading">
<div class="col-md-2">
<label for="job">Enter a Job Name</label>
<input type="text" name="job" placeholder="Job Name" v-model="job">
</div>
<div class="col-md-2">
<label for="job">Alignment Algorithm</label>
<select v-model="selected" v-bind:class="{alignmentSelected: alignmentSelected}" id="algo">
<option>Dynamic Programming Algorithm</option>
<option>Word Method Algorithm</option>
<option selected>hydroGene Bitwise Alignment Optimized</option>
</select>
</div>
<div id="warning" v-show="warning">
<p>Please Check an Alignment Algorithm to be used</p>
</div>
</div>
<div v-if="!result && !advanced && !loading">
<textarea name="sequence" rows="8" cols="80" v-model.trim="seq" placeholder="Enter 2 Sequences separated by an asterisk '*'" class="text-uppercase"></textarea>
<p class="hint"><a href="https://en.m.wikipedia.org/wiki/FASTA_format?pw=350&ph=450" class="popup">Don't know what's a FASTA format?</a></p>
<p class="hint"><a href="http://www.bioinformatics.org/sms2/random_protein.html?pw=350&ph=450" class="popup">Random Protein Sequence Generator</a></p>
<button type="button" class="btn btn-primary" v-on:click="expert()">Various Options</button>
<button class="next btn btn--sm btn--blue" v-on:click="send()">Align</button>
</div>
<div id="results" v-show="result">
<p>Alignment Finished, thanks for waiting.</p>
<div id="menuDiv">
</div>
<div id="msaResult">
</div>
<p>Number of Matches is: {{numberOfMatches}}</p>
<p v-show="dp">Score: {{score}}</p>
<button type="button" name="button" v-on:click="another()">Another Alignment</button>
</div>
<div id="results" v-show="loading">
<h1>Loading ...</h1>
</div>
<div id="advanced" v-show="advanced">
<textarea name="sequence" rows="4" cols="50" v-model.trim="expertSeq" placeholder="Enter a sequence for Manipulation" class="text-uppercase"></textarea>
<div class="btnRow">
<button class="btn btn-info btn-sm" type="button" name="button" v-on:click="checkType()">Check Type</button>
<button class="btn btn-info btn-sm" type="button" name="button" v-on:click="translate()">Convert to Protein</button>
<button class="btn btn-info btn-sm" type="button" name="button" v-on:click="codon()">Codon</button>
<button class="btn btn-info btn-sm" type="button" name="button" v-on:click="introns()">Remove Introns</button>
</div>
<div class="row">
<div class=".col-xs-12">
<p id="resultParagraph">
{{expertResult}}
</p>
</div>
</div>
<button id="advanced-btn" class="btn btn-primary btn-lg" type="button" name="button" v-on:click="another()">Back to Alignment</button>
</div>
</div>
</div>
<div class="section" id="vue-database">
<div class="slide" id="particles-js">
<div class="heading">
<h1>Database Navigation</h1>
<p>Navigate EMBL-NCBI databases online.</p>
</div>
<div class="container-fluid main">
<form action="">
<p>Select a Database to view</p>
<select class="db-nav" name="databases" v-model="database">
<option v-for="db in search">{{db}}</option>
</select>
<input type="text" name="" value="" placeholder="Search Terms .. " v-model="terms">
<p class="hint"><a href="https://www.ncbi.nlm.nih.gov/books/NBK25497/table/chapter2.T._entrez_unique_identifiers_ui/?report=objectonly?pw=350&ph=450" class="popup sTerm">Don't know what a search term is?</a></p>
<p class="know"> <a href="https://en.m.wikipedia.org/wiki/National_Center_for_Biotechnology_Information?pw=350&ph=450" class="popup">?</a></p>
<button id="navigation-btn" v-on:click="navigate()">Navigate</button>
</form>
</div>
</div>
<div class="slide">
<div class="heading">
<h1>{{database}} Database</h1>
<p>You are now viewing {{database}} Database.</p>
<p>Number of sequences retreived: {{results.length}}</p>
</div>
<div class="container-fluid main tableContent">
<table class="table">
<thead>
<tr>
<th>id</th>
<th>Sequence</th>
</tr>
</thead>
<tbody>
<template v-for="(res, index) in results">
<tr>
<td>
{{res.id}}
</td>
<td class="table-seq">
<p class="narrow">{{res.seq}}</p>
</td>
</tr>
</template>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="vue-about">
<div class="heading">
<h1>About Us</h1>
</div>
<div class="container-fluid main">
<p> {{message}} </p>
<h1 id="logo-about">H</h1>
</div>
</div>
</div>
</div>
</div>
<!-- <script src="assets\js\app.js"></script> -->
<script src="app.js"></script>
<script src="assets\js\jquery.popup.min.js"></script>
<script>
var optionss = {};
$('a.popup').popup(optionss);
var options = {
"particles": {
"number": {
"value": 38,
"density": {
"enable": true,
"value_area": 1025.8919341219544
}
},
"color": {
"value": "#ffffff"
},
"shape": {
"type": "circle",
"stroke": {
"width": 0,
"color": "#000000"
},
"polygon": {
"nb_sides": 5
},
"image": {
"src": "img/github.svg",
"width": 100,
"height": 100
}
},
"opacity": {
"value": 0.5,
"random": false,
"anim": {
"enable": false,
"speed": 1,
"opacity_min": 0.1,
"sync": false
}
},
"size": {
"value": 3,
"random": true,
"anim": {
"enable": false,
"speed": 40,
"size_min": 0.1,
"sync": false
}
},
"line_linked": {
"enable": true,
"distance": 150,
"color": "#ffffff",
"opacity": 0.4,
"width": 1
},
"move": {
"enable": true,
"speed": 6,
"direction": "none",
"random": false,
"straight": false,
"out_mode": "out",
"bounce": false,
"attract": {
"enable": false,
"rotateX": 600,
"rotateY": 1200
}
}
},
"interactivity": {
"detect_on": "canvas",
"events": {
"onhover": {
"enable": true,
"mode": "repulse"
},
"onclick": {
"enable": true,
"mode": "push"
},
"resize": true
},
"modes": {
"grab": {
"distance": 400,
"line_linked": {
"opacity": 1
}
},
"bubble": {
"distance": 400,
"size": 40,
"duration": 2,
"opacity": 8,
"speed": 3
},
"repulse": {
"distance": 200,
"duration": 0.4
},
"push": {
"particles_nb": 4
},
"remove": {
"particles_nb": 2
}
}
},
"retina_detect": true
};
particlesJS("particle", options);
$('.fullpage').fullpage({
anchors: ['page1', 'page2', 'page3', 'page4', 'page5'],
});
$(document).on('click', '#alignment', function() {
$.fn.fullpage.moveTo('page1');
});
$(document).on('click', '#navigation', function() {
$.fn.fullpage.moveTo('page2');
});
$(document).on('click', '#navigation-btn', function() {
$.fn.fullpage.moveTo('page2', '1');
});
$(document).on('click', '#learn', function() {
$.fn.fullpage.moveTo('page3');
});
$(document).on('click', '#bio-btn', function() {
$.fn.fullpage.moveTo('page3', 'bio');
});
$(document).on('click', '#cs-btn', function() {
$.fn.fullpage.moveTo('page3', 'cs');
});
$(document).on('click', '#about-us', function() {
$.fn.fullpage.moveTo('page4');
});
$(document).on('click', '#contact-us', function() {
$.fn.fullpage.moveTo('page5');
});
</script>
</body>
</html>