-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
400 lines (352 loc) · 15.2 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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="deepEA: a containerized web server for interactive analysis of epitranscriptome sequencing data">
<meta name="author" content="The deepEA Team">
<title>deepEA</title>
<!-- Bootstrap Core CSS -->
<link href="assets/css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css" type="text/css" />
<!-- Custom CSS -->
<link href="assets/css/landing-page.css" rel="stylesheet">
<link href="assets/css/canvas.css" rel="stylesheet">
<link href="assets/css/lunbo.css" rel="stylesheet">
<link href="assets/css/button.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/css/alert.css">
<script src="assets/js/lunbo.js"></script>
<script src="assets/js/table.js"></script>
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
</head>
<body onload="init(70)">
<canvas id="canvas"></canvas>
<script>
window.requestAnimationFrame = window.requestAnimationFrame
|| window.mozRequestAnimationFrame
|| window.webkitRequestAnimationFrame
|| window.msRequestAnimationFrame;
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
var w = canvas.width = canvas.offsetWidth;
var h = canvas.height = canvas.offsetHeight;
var circles = [];
var current_circle = new currentCircle(0, 0);
function init(num) {
for(var i = 0; i < num; i ++) {
circles.push(new circle(Math.random() * w, Math.random() * h));
}
draw();
}
function draw() {
ctx.clearRect(0, 0, w, h);
for(var i = 0; i < circles.length; i ++) {
circles[i].move(w, h);
circles[i].drawCircle(ctx);
for(var j = i + 1; j < circles.length; j++) {
circles[i].drawLine(ctx, circles[j]);
}
}
if (current_circle.x) {
current_circle.drawCircle(ctx);
for (var k = 0; k < circles.length; k++) {
current_circle.drawLine(ctx, circles[k])
}
}
requestAnimationFrame(draw);
}
function circle(x, y) {
this.x = x;
this.y = y;
this.r = Math.random() * 10;
this._mx = 1 - (Math.random() * 2);
this._my = 1 - (Math.random() * 2);
this.drawCircle = drawCircle;
function drawCircle(ctx) {
ctx.beginPath();
ctx.arc(this.x, this.y, this.r, 0, 360);
ctx.fillStyle = 'rgba(204, 204, 204, 0.3)';
ctx.fill();
}
this.move = move;
function move(w, h) {
this._mx = (this.x < w && this.x > 0) ? this._mx : (-this._mx);
this._my = (this.y < h && this.y > 0) ? this._my : (-this._my);
this.x += this._mx / 2;
this.y += this._my / 2;
}
this.drawLine = drawLine;
function drawLine(ctx, _circle) {
var dx = this.x - _circle.x;
var dy = this.y - _circle.y;
var d = Math.sqrt(dx * dx + dy * dy);
if (d < 150) {
ctx.beginPath();
ctx.moveTo(this.x, this.y);//start
ctx.lineTo(_circle.x, _circle.y);//end
ctx.strokeStyle = 'rgba(204, 204, 204, 0.3)';
ctx.stroke();
}
}
}
function currentCircle(x, y) {
circle.call(this, x, y);
this.drawCircle = drawCircle;
function drawCircle(ctx) {
ctx.beginPath();
ctx.arc(this.x, this.y, 8, 0, 360);
ctx.fillStyle = 'rgba(255, 77, 54, 0.6)';
ctx.fill();
}
}
</script>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand page-scroll" href="#home">deepEA</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a class="page-scroll" href="#about">About</a></li>
<!-- <li><a class="page-scroll" href="#tutorial">Tutorial</a></li>
<li><a class="page-scroll" href="https://hub.docker.com/r/malab/deepea" target="_blank">Docker image</a></li>
<li><a class="page-scroll" href="https://github.com/cma2015/deepEA" target="_blank">Source code</a></li> -->
<li><a class="page-scroll" href="#how-to-access-help">Contact</a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<section id="home">
<!-- Header -->
<div class="intro-header">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="intro-message">
<h1>Welcome to deepEA</h1>
<h3>A Containerized Web Server for Interactive Analysis of Epitranscriptome Sequencing Data</h3>
<div class="panel">
<div class="button-effect">
<a class="effect effect-2" style='text-decoration:none;' href="https://hub.docker.com/r/malab/deepea" tilte="deepEA docker image" target="_blank">deepEA Docker</a>
<a class="effect effect-2" style='text-decoration:none;' href="http://www.omicstudio.cloud:4006" tilte="deepEA server" target="_blank">deepEA Server</a>
<!-- <a class="effect effect-2" style='text-decoration:none;' data-toggle="modal" href="#login-modal" title="deepEA server">deepEA Server</a> -->
<a class="effect effect-2" style='text-decoration:none;' href="#tutorial" tilte="Tutorial">Tutorial</a>
<a class="effect effect-2" style='text-decoration:none;' href="http://www.omicstudio.cloud:4006//static/test_data.zip" title="Test data">Test Data</a>
<a class="effect effect-2" style='text-decoration:none;' href="https://github.com/cma2015/deepEA" >Source Codes</a>
</div>
</div>
<!-- <div class="modal" id="login-modal">
<a class="close" data-dismiss="modal">×</a>
<h1>Web server</h1>
<div class="button-effect">
<a class="effect effect-2" style='text-decoration:none;' href="https://deepea.nwafu.edu.cn" target="_blank">deepEA server 2</a></br></br>
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
</section>
<div class="content-section-a">
<div class="container">
<div class="lead">
<div id="welcome">
<h1 id="about">About</h1>
<p>
<!-- <a href="http://deepea.nwafu.edu.cn" target="_blank"><img src="https://img.shields.io/badge/Web_server-ready-red.svg"></a> -->
<!-- <a href="https://hub.docker.com/r/malab/deepea" target="_blank"><img src="https://img.shields.io/badge/Docker_image-ready-red.svg"></a> -->
<!-- <a href="https://hub.docker.com/r/malab/deepea" target="_blank"><img src="https://img.shields.io/docker/pulls/malab/deepea"></a> -->
<!-- <a href="https://github.com/cma2015/deepEA" target="_blank"><img src="https://img.shields.io/badge/Source_code-support-blue.svg"></a> -->
</p>
<p>
<ul><li>deepEA is a web-based server for interactive analysis of epitranscriptome sequencing data. </li></ul>
<ul><li>deepEA comprises six functional modules, providing rich functions for comprehensively analyzing epitranscriptome sequencing data.</li></ul>
<ul><li>deepEA was developed based on Galaxy system, making it a flexible platform that can be used to perform accessible, reproducible, collaborative and transparent analyses of epitranscriptome sequencing data.</li></ul>
<ul><li>deepEA was powered with an advanced packaging technology, which enables compatibility and portability.</li></ul>
<ul><li>deepEA project is hosted on <a href="https://cma2015.github.io/deepEA" target="_blank">https://cma2015.github.io/deepEA</a>, deepEA docker image is available at <a href="https://hub.docker.com/r/malab/deepea" target="_blank">https://hub.docker.com/r/malab/deepea</a>, deepEA server can be accessed via <a href="http://deepea.omicstudio.cloud" target="_blank">http://deepea.omicstudio.cloud</a>.</li></ul>
</p>
</div>
<div id="boxcarousel" style="margin-top:10px;">
<div class="panel-body">
<div class="c-banner">
<div class="banner">
<ul>
<li><img src="assets/img/Functions_in_DeepEA.jpg"></li>
<li><img src="assets/img/Figure 2-Application of deepEA.jpg"></li>
<li><img src="assets/img/RNA-modifications.jpg"></li>
</ul>
</div>
<div class="nexImg">
<img src="assets/img/nexImg.png" />
</div>
<div class="preImg">
<img src="assets/img/preImg.png" />
</div>
<div class="jumpBtn">
<ul>
<li jumpImg="0"></li>
<li jumpImg="1"></li>
</ul>
</div>
</div>
</div>
</div>
<div id="top"></div>
<h1 id="tutorial">Tutorial</h1>
<ul>
<li><a href="http://www.omicstudio.cloud:4006/static/tutorial/index.html" target="_blank"><font color="#3E9CF9"><u>Details for the installation and main functionalities</u></font></a></li>
<li><a href="http://www.omicstudio.cloud:4006/static/tutorial/m6a-seq.html" target="_blank"><font color="#3E9CF9"><u>Application I: m6A-Seq analysis in Zea mays</u></font></a></li>
</ul>
<h1 id="how-to-access-help">Contact</h1>
<ul>
<li>Comments/suggestions/bugs/issues are welcome reported <a href="https://github.com/cma2015/deepEA/issues" target="_blank">here</a> or contact: Jingjing Zhai <a href="mailto:[email protected]" target="_blank">[email protected]</a> or Chuang Ma <a href="mailto:[email protected]" target="_blank">[email protected]</a></li>
</ul>
</div>
</div>
</div>
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-md-8">
<ul class="list-inline">
<li><a href="#home">Home</a></li>
<li class="footer-menu-divider">⋅</li>
<li><a href="#about">About</a></li>
<!-- <li class="footer-menu-divider">⋅</li> -->
<!-- <li><a href="#tutorial">Tutorial</a></li>
<li class="footer-menu-divider">⋅</li>
<li><a href="https://hub.docker.com/r/malab/deepea" target="_blank">Docker image</a></li>
<li class="footer-menu-divider">⋅</li>
<li><a href="https://github.com/cma2015/deepEA" target="_blank">Source code</a></li> -->
<!-- <li class="footer-menu-divider">⋅</li> -->
<!-- <li><a href="#contact">Contact</a></li> -->
</ul>
</div>
</div>
</div>
</footer>
<!-- jQuery Version 1.11.0 -->
<script src="assets/js/jquery-1.11.0.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="assets/js/bootstrap.min.js"></script>
<script type="text/javascript">
grid("grid1","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid2","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid3","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid4","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid5","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid6","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid7","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid8","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid9","#fff","#F5F5F5","#FFFFCC","#0066CC");
grid("grid10","#fff","#F5F5F5","#FFFFCC","#0066CC");
</script>
<script type="text/javascript">
//定时器返回值
var time=null;
//记录当前位子
var nexImg = 0;
//用于获取轮播图图片个数
var imgLength = $(".c-banner .banner ul li").length;
//当时动态数据的时候使用,上面那个删除
// var imgLength =0;
//设置底部第一个按钮样式
$(".c-banner .jumpBtn ul li[jumpImg="+nexImg+"]").css("background-color","black");
//页面加载
$(document).ready(function(){
// dynamicData();
//启动定时器,设置时间为3秒一次
time =setInterval(intervalImg,3000);
});
//点击上一张
$(".preImg").click(function(){
//清楚定时器
clearInterval(time);
var nowImg = nexImg;
nexImg = nexImg-1;
console.log(nexImg);
if(nexImg<0){
nexImg=imgLength-1;
}
//底部按钮样式设置
$(".c-banner .jumpBtn ul li").css("background-color","white");
$(".c-banner .jumpBtn ul li[jumpImg="+nexImg+"]").css("background-color","black");
//将当前图片试用绝对定位,下一张图片试用相对定位
$(".c-banner .banner ul img").eq(nowImg).css("position","absolute");
$(".c-banner .banner ul img").eq(nexImg).css("position","relative");
//轮播淡入淡出
$(".c-banner .banner ul li").eq(nexImg).css("display","block");
$(".c-banner .banner ul li").eq(nexImg).stop().animate({"opacity":1},1000);
$(".c-banner .banner ul li").eq(nowImg).stop().animate({"opacity":0},1000,function(){
$(".c-banner ul li").eq(nowImg).css("display","none");
});
//启动定时器,设置时间为3秒一次
time =setInterval(intervalImg,5000);
})
//点击下一张
$(".nexImg").click(function(){
clearInterval(time);
intervalImg();
time =setInterval(intervalImg,5000);
})
//轮播图
function intervalImg(){
if(nexImg<imgLength-1){
nexImg++;
}else{
nexImg=0;
}
//将当前图片试用绝对定位,下一张图片试用相对定位
$(".c-banner .banner ul img").eq(nexImg-1).css("position","absolute");
$(".c-banner .banner ul img").eq(nexImg).css("position","relative");
$(".c-banner .banner ul li").eq(nexImg).css("display","block");
$(".c-banner .banner ul li").eq(nexImg).stop().animate({"opacity":1},1000);
$(".c-banner .banner ul li").eq(nexImg-1).stop().animate({"opacity":0},1000,function(){
$(".c-banner .banner ul li").eq(nexImg-1).css("display","none");
});
$(".c-banner .jumpBtn ul li").css("background-color","white");
$(".c-banner .jumpBtn ul li[jumpImg="+nexImg+"]").css("background-color","black");
}
//轮播图底下按钮
//动态数据加载的试用应放在请求成功后执行该代码,否则按钮无法使用
$(".c-banner .jumpBtn ul li").each(function(){
//为每个按钮定义点击事件
$(this).click(function(){
clearInterval(time);
$(".c-banner .jumpBtn ul li").css("background-color","white");
jumpImg = $(this).attr("jumpImg");
if(jumpImg!=nexImg){
var after =$(".c-banner .banner ul li").eq(jumpImg);
var befor =$(".c-banner .banner ul li").eq(nexImg);
//将当前图片试用绝对定位,下一张图片试用相对定位
$(".c-banner .banner ul img").eq(nexImg).css("position","absolute");
$(".c-banner .banner ul img").eq(jumpImg).css("position","relative");
after.css("display","block");
after.stop().animate({"opacity":1},1000);
befor.stop().animate({"opacity":0},1000,function(){
befor.css("display","none");
});
nexImg=jumpImg;
}
$(this).css("background-color","black");
time =setInterval(intervalImg,3000);
});
});
</script>
<!-- Custom Theme JavaScript -->
<script src="assets/js/landing-page.js"></script>
</body>
</html>