annotate test-data/references/01-prepro-vsearch.html @ 0:59bc96331073 draft default tip

planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
author frogs
date Thu, 28 Feb 2019 10:14:49 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
1 <!DOCTYPE html>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
2 <!--
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
3 # Copyright (C) 2015 INRA
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
4 #
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
5 # This program is free software: you can redistribute it and/or modify
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
6 # it under the terms of the GNU General Public License as published by
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
7 # the Free Software Foundation, either version 3 of the License, or
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
8 # (at your option) any later version.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
9 #
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
10 # This program is distributed in the hope that it will be useful,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
13 # GNU General Public License for more details.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
14 #
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
15 # You should have received a copy of the GNU General Public License
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
16 # along with this program. If not, see <https://www.gnu.org/licenses/>.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
17 -->
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
18 <html>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
19 <head>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
20 <title>FROGS Pre-process</title>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
21 <meta charset="UTF-8">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
22 <meta name="version" content="r3.0-v1.0">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
23 <!-- CSS -->
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
24
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
25
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
26 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.css"></link>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
27 <link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css"></link>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
28 <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"></link>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
29 <style type="text/css">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
30 #js-alert {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
31 width: 90%;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
32 margin-right: auto;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
33 margin-left: auto;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
34 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
35 #content {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
36 width: 90%;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
37 margin-right: auto;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
38 margin-left: auto;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
39 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
40 .clear {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
41 clear: both;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
42 height: 0px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
43 width: 100%;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
44 float: none !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
45 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
46 ul.nav-tabs {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
47 margin-bottom: 30px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
48 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
49 .page-item.active .page-link {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
50 z-index: 1;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
51 color: #fff;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
52 background-color: #8EADAC;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
53 border-color: #8EADAC;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
54 outline: none !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
55 box-shadow: none !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
56 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
57 .btn {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
58 color: #fff;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
59 border:#8EADAC;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
60 background-color: #8EADAC;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
61 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
62 .btn:focus, .btn:active {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
63 outline: none !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
64 box-shadow: none !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
65 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
66 .btn:hover:enabled{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
67 color: #fff;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
68 border:#648a89;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
69 background-color: #648a89;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
70 cursor:pointer !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
71 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
72 .pb-2, .py-2 {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
73 padding-bottom: 1.5rem !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
74 margin-bottom: 2rem !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
75 margin-top: 4rem !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
76 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
77 .pb-2-first{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
78 padding-bottom: 1.5rem !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
79 margin-bottom: 2rem !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
80 margin-top: 1rem !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
81 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
82 /* ##### THEME FOR CHECKBOXES ##### */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
83 .container {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
84 position: relative;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
85 padding-left: 0px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
86 margin-bottom: 15px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
87 cursor: pointer;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
88 -webkit-user-select: none;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
89 -moz-user-select: none;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
90 -ms-user-select: none;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
91 user-select: none;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
92 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
93
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
94 /* Hide the browser's default checkbox */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
95 .container input {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
96 position: absolute;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
97 opacity: 0;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
98 cursor: pointer;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
99 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
100
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
101 /* Create a custom checkbox */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
102 .checkmark {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
103 position: absolute;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
104 top: 0;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
105 left: 0;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
106 height: 20px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
107 width: 20px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
108 background-color: #8EADAC;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
109 border-radius: 5px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
110 opacity:0.65;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
111 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
112
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
113 /* On mouse-over, add a grey background color */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
114 .container:hover input ~ .checkmark {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
115 background-color: #648a89;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
116 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
117
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
118 /* When the checkbox is checked, add a blue background */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
119 .container input:checked ~ .checkmark {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
120 background-color: #8EADAC;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
121 opacity:1;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
122 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
123
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
124 /* Create the checkmark/indicator (hidden when not checked) */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
125 .checkmark:after {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
126 content: "";
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
127 position: absolute;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
128 display: none;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
129 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
130
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
131 /* Show the checkmark when checked */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
132 .container input:checked ~ .checkmark:after {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
133 display: block;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
134 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
135
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
136 /* Style the checkmark/indicator */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
137 .container .checkmark:after {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
138 left: 7px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
139 top: 3px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
140 width: 6px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
141 height: 10px;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
142 border: solid white;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
143 border-width: 0 3px 3px 0;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
144 -webkit-transform: rotate(45deg);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
145 -ms-transform: rotate(45deg);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
146 transform: rotate(45deg);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
147 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
148 .highcharts-button > path{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
149 stroke:#fff !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
150 fill:#8EADAC !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
151 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
152 g.highcharts-button{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
153 cursor:pointer !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
154 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
155 g.highcharts-button:hover{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
156 color: #fff;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
157 border:#648a89;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
158 background-color: #648a89;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
159 background-color: #648a89;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
160 cursor:pointer !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
161 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
162 <!--
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
163 .selectpicker{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
164 background-color:rgb(100, 138, 137,0.25);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
165 border-color:#8EADAC;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
166 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
167 .selectpicker:hover{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
168 background-color:rgb(100, 138, 137,0.25);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
169 border-color:#8EADAC;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
170 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
171 -->
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
172 option{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
173 color:green
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
174 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
175 option:active, option:hover {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
176 outline: none !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
177 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
178
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
179 /* make it red instead (with with same width and style) */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
180 option:active, option:hover {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
181 box-shadow:red !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
182 outline-color: red !important;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
183 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
184 select { -webkit-border-radius:25px; -moz-border-radius:25px; border-radius:25px; } select:hover { background-color:gren; } option:hover { background-color:yellow; } option { -webkit-border-radius:25px; -moz-border-radius:25px; border-radius:25px; color:blue; background-color:yellow; }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
185
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
186 </style>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
187 <!-- JS -->
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
188 <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
189 <script type="text/javascript" src="https://code.highcharts.com/4.1.4/highcharts.js"></script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
190 <script type="text/javascript" src="https://code.highcharts.com/4.1.4/modules/exporting.js"></script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
191 <script type="text/javascript" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
192 <script type="text/javascript" src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js"></script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
193 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
194 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
195 <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js"></script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
196
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
197
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
198
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
199 <script type="text/javascript">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
200 /*
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
201 * HTMLTable.js 0.1.0 - HTMLTable Library
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
202 *
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
203 * Copyright (c) 2015 Escudie Frederic
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
204 * Licensed under the MIT (https://www.opensource.org/licenses/mit-license.php) license.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
205 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
206 function HTMLtable(e){var t,r,n=e,a=";";this.deleteColumns=function(e){for(var a=n.getElementsByTagName("tr"),o=0;o<a.length;o++){s=0;var i=a[o].getElementsByTagName("td");0==i.length&&(i=a[o].getElementsByTagName("th"));for(var v=0,s=0;s<t[1];s++)if(!r[o][s]){var f=i[v].getAttribute("colspan");if(null!=f)for(var m=0;f>m;m++){if(in_array(s+m,e)){var u=i[v].getAttribute("colspan");u-1==0?i[v].removeAttribute("colspan"):i[v].setAttribute("colspan",u-1)}if(null==i[v].getAttribute("colspan")){var h=i[v];a[o].removeChild(h),v--}}else if(in_array(s,e)){var h=i[v];a[o].removeChild(h),v--}v++}}l(),g()},this.filter=function(e,a){var l=new RegExp(e),g=new Array;null!=a&&a||(g.c0=!0);for(var o=n.getElementsByTagName("tr"),i=0;i<o.length;i++){f=0;var v=o[i].getElementsByTagName("td");if(0!=v.length)for(var s=0,f=0;f<t[1];f++)r[i][f]||(l.test(v[s].innerHTML)&&(g["c"+f]=!0),s++)}for(var m=new Array,u=0;u<t[1];u++)void 0===g["c"+u]&&m.push(u);this.deleteColumns(m)},this.getModel=function(){return n};var l=function(){for(var e=0,r=0,a=n.getElementsByTagName("tr"),l=0;l<a.length;l++){var g=0;e++;var o=a[l].getElementsByTagName("td");0==o.length&&(o=a[l].getElementsByTagName("th"));for(var i=0;i<o.length;i++){var v=o[i].getAttribute("colspan");g+=null==v?1:parseInt(v)}g>r&&(r=g)}t=new Array(2),t[0]=e,t[1]=r},g=function(){r=new Array(t[0]);for(var e=0;e<t[0];e++){r[e]=new Array(t[1]);for(var a=0;a<t[1];a++)r[e][a]=!1}for(var l=n.getElementsByTagName("tr"),g=0;g<l.length;g++){v=0;var o=l[g].getElementsByTagName("td");0==o.length&&(o=l[g].getElementsByTagName("th"));for(var i=0,v=0;v<t[1];v++)if(!r[g][v]){var s=0,f=0,m=o[i].getAttribute("rowspan");null!=m&&(s=parseInt(m)-1);var u=o[i].getAttribute("colspan");null!=u&&(f=parseInt(u)-1);for(var h=s;h>=0;h--)for(var y=f;y>=0;y--)(0!=h||0!=y)&&(r[g+h][v+y]=!0);i++}}};this.replace=function(e,a,l){var g=new RegExp(e);null==a&&(a=""),null==l&&(l="");for(var o=n.getElementsByTagName("tr"),i=0;i<o.length;i++){f=0;var v=o[i].getElementsByTagName("td");if(0!=v.length)for(var s=0,f=0;f<t[1];f++)if(!r[i][f]){var m=g.exec(v[s].innerHTML);null!=m&&(void 0===m[1]&&(m[1]=""),v[s].innerHTML=a+m[1]+l),s++}}},this.toCSV=function(){for(var e="",l=n.getElementsByTagName("tr"),g=0;g<l.length;g++){var o=l[g].getElementsByTagName("td");0==o.length&&(o=l[g].getElementsByTagName("th"));for(var i=0,v=0;v<t[1];v++)r[g][v]||(e+=o[i].innerHTML,i++),e+=a;e=e.substr(0,e.length-1)+"\n"}return e},l(),g()}var in_array=function(e,t){for(var r in t)if(t[r]==e)return!0;return!1};
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
207
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
208 /*
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
209 * dataTableExtractor.plugin.js 0.1.0 - datatableExport Library
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
210 *
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
211 * Copyright (c) 2015 Escudie Frederic
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
212 * Licensed under the MIT (https://www.opensource.org/licenses/mit-license.php) license.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
213 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
214 !function(t){t.fn.datatableExport=function(a){var e={anchor_id:t(this).attr("id"),table_id:null,csv_separator:";",omitted_columns:[]},n=t.extend(e,a);if(!t(this).length)throw"The element where the datatableExport is called does not exist.";if(void 0==n.anchor_id)throw"The datatableExport plugin must be called on an element with id.";if(null==n.table_id)throw"You must set the table_id parameter in datatableExport plugin.";if(!t("#"+n.table_id))throw"The datatable '#"+n.table_id+"' cannot be retieve in DOM.";return this.each(function(){var a=$(this).find("button");a.on("click",function(){t.fn.datatableExport.csv(n.anchor_id,n.table_id,n.csv_separator,n.omitted_columns)})})},t.fn.datatableExport.cleanCellMarkup=function(a,e){t.parseHTML(e);t("#"+a).append('<div class="hidden data-tmp">'+e+"</div>"),t("#"+a+" .data-tmp").find("input").each(function(){var a="";a=t(this).is(":checkbox")?t(this).is(":checked")?"true":"false":t(this).val(),t(this).replaceWith(a)});var n=t("#"+a+" .data-tmp").text();return t("#"+a+" .data-tmp").remove(),n},t.fn.datatableExport.csv=function(a,e,n,i){var l="",r=t("#"+e).DataTable(),d=t("#"+e+" thead")[0],o=new HTMLtable(d.cloneNode(!0));o.deleteColumns(i),l+=o.toCSV();var c=r.rows().data();t.each(c,function(e,n){for(var r="",d=0;d<n.length;d++)-1==t.inArray(d,i)&&(r+='"'+t.fn.datatableExport.cleanCellMarkup(a,n[d])+'";');""!=r&&(r=r.slice(0,-1)),l+=r+"\n"}),t("#"+a+"-extract-csv").length||t("#"+a).append('<a id="'+a+'-extract-csv" href="data:text/csv;charset=UTF-8,'+encodeURI(l)+'" download="data.csv" style="display:none;"></a>'),t("#"+a+"-extract-csv")[0].click()}}(jQuery);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
215 </script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
216
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
217 <script type="text/javascript">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
218 Highcharts.SVGRenderer.prototype.symbols.download = function (x, y, w, h) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
219 var path = [
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
220 // Arrow stem
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
221 'M', x + w * 0.5, y,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
222 'L', x + w * 0.5, y + h * 0.7,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
223 // Arrow head
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
224 'M', x + w * 0.3, y + h * 0.5,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
225 'L', x + w * 0.5, y + h * 0.7,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
226 'L', x + w * 0.7, y + h * 0.5,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
227 // Box
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
228 'M', x, y + h * 0.9,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
229 'L', x, y + h,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
230 'L', x + w, y + h,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
231 'L', x + w, y + h * 0.9
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
232 ];
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
233 return path;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
234 };
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
235
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
236 /**
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
237 * Returns the string representation of the number.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
238 * @param pValue {Float} The number to process.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
239 * @return {String} The string representation (example: 12856892.11111 => 12,856,892.11).
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
240 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
241 var numberDisplay = function( pValue ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
242 var new_val = "" ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
243 if( ("" + pValue + "").indexOf(".") != -1 ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
244 new_val = pValue.toFixed(2).replace(/(\d)(?=(\d{3})+\b)/g, '$1,');
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
245 } else {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
246 new_val = pValue.toFixed().replace(/(\d)(?=(\d{3})+\b)/g, '$1,');
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
247 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
248 return new_val ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
249 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
250 Highcharts.setOptions({
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
251 colors : ['#8EADAC', '#DE9F73','#7cb5ec','#434348','#90ed7d','#f7a35c','#8085e9','#f15c80','#e4d354','#2b908f','#f45b5b','#91e8e1']
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
252 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
253 /**
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
254 * Returns hash use to init HightChart line.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
255 * @param pTitle {String} The title of the chart.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
256 * @param pXTitle {String} The xAxis title.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
257 * @param pYTitle {String} The yAxis title.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
258 * @param pXCategories {Array} x scale labels.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
259 * @param pData {Array} The HightChart series.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
260 * @return {Hash} Parameters to use in Highchart's constructor.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
261 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
262 var lineplot_param = function(pTitle, pXTitle, pYTitle, pXCategories, pData) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
263 return {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
264 chart: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
265 type: 'line',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
266 zoomType: 'x',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
267 selectionMarkerFill: "rgb(222,159,115,0.25)"
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
268 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
269 title: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
270 text: pTitle
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
271 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
272 xAxis: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
273 title: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
274 text: pXTitle
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
275 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
276 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
277 yAxis: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
278 min: 0,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
279 title: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
280 text: pYTitle
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
281 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
282 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
283 exporting:{buttons: {contextButton: { symbol: 'download' }}},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
284 buttons: {contextButton: {menuItems: ['downloadPNG', 'downloadSVG']}},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
285 navigation: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
286 buttonOptions: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
287 theme: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
288 r: 4,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
289 fill:'#8EADAC',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
290 states: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
291 hover: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
292 fill: 'rgb(100, 138, 137)',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
293 stroke:'#8EADAC'
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
294 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
295 select: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
296 stroke: '#8EADAC',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
297 fill: 'rgb(100, 138, 137)',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
298 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
299 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
300 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
301 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
302 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
303 series: pData,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
304 tooltip: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
305 formatter:function() {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
306 tooltip_head = '<b>Length ' + this.x + 'nt</b>' ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
307 tooltip_body = '' ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
308 for( var i=0 ; i<this.points.length ; i++) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
309 tooltip_body += '' +
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
310 '<tr>' +
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
311 ' <td style="color:' + this.points[i].series.color +'">' + this.points[i].series.name + ': </td>' +
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
312 ' <td> ' + numberDisplay(this.points[i].point.y) + ' </td>' +
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
313 ' <td> seq</td>' +
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
314 '</tr>' ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
315 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
316 return tooltip_head + '<table>' + tooltip_body + '</table>' ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
317 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
318 shared: true,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
319 useHTML: true
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
320 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
321 legend: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
322 enabled: true
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
323 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
324 credits: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
325 enabled: false
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
326 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
327 };
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
328 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
329
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
330 /**
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
331 * Returns hash use to init HightChart column.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
332 * @param pTitle {String} The title of the chart.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
333 * @param pYTitle {String} The yAxis title.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
334 * @param pCategories {Array} x scale labels.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
335 * @param pSeries {Array} The HightChart series.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
336 * @param unity {String} Unity used in tooltip.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
337 * @return {Hash} Parameters to use in Highchart's constructor.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
338 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
339 // couleur des diapos : bleu #8EADAC, vert : #A2A32F, orange1 #C6792B , taupe #9A866C, orange pastel : #DE9F73
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
340 var histogram_param = function( pTitle, nb, pYTitle, pCategories, pSeries, unity ) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
341 var param = {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
342 chart: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
343 type: 'column'
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
344 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
345 exporting:{buttons: {contextButton: { symbol: 'download' }}},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
346 buttons: {contextButton: {menuItems: ['downloadPNG', 'downloadSVG']}},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
347 navigation: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
348 buttonOptions: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
349 theme: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
350 r: 4,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
351 fill:'#8EADAC',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
352 states: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
353 hover: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
354 fill: 'rgb(100, 138, 137)',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
355 stroke:'#8EADAC'
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
356 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
357 select: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
358 stroke: '#8EADAC',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
359 fill: 'rgb(100, 138, 137)',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
360 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
361 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
362 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
363 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
364 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
365 title: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
366 text: pTitle
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
367 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
368 subtitle: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
369 text: 'starting from : ' + nb + ' sequences'
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
370 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
371 xAxis: [{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
372 categories: pCategories,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
373 crosshair: true,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
374 crosshair: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
375 color: "rgb(142,173,172,0.25)"
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
376 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
377 }],
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
378 yAxis: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
379 min: 0,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
380 title: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
381 text: pYTitle
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
382 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
383 stackLabels: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
384 enabled: true,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
385 style: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
386 fontWeight: 'bold',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
387 color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
388 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
389 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
390 plotLines:[{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
391 color: "#A2A32F",
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
392 width: 2,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
393 value: nb
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
394 }]
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
395 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
396 tooltip: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
397 formatter: function() {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
398 var s = '<b> ' + this.x + '</b>' ,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
399 sum = 0;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
400 $.each(this.points,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
401 function(i, point) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
402 s += '<br/>'+ '<span style="color: ' + point.series.color + '"> ' + point.series.name +' : </span>'+
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
403 point.y + " " + unity;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
404 sum += point.y;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
405 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
406 );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
407 s += '<br/>total : '+ sum + ' (' + Number(Math.round(sum*100/nb + "e+2") + "e-2") + '%)'
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
408 return s;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
409 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
410 shared: true,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
411 useHTML: true
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
412 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
413 plotOptions: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
414 column: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
415 stacking: 'normal',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
416 dataLabels: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
417 enabled: true,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
418 style: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
419 textShadow: false,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
420 color: (Highcharts.theme && Highcharts.theme.textColor) || 'white'
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
421 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
422 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
423 pointPadding: 0.2,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
424 borderWidth: 0
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
425 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
426 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
427 credits: {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
428 enabled: false
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
429 },
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
430 series: pSeries
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
431 };
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
432
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
433 return param ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
434 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
435
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
436 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
437 //
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
438 // Data
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
439 //
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
440 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
441 var filters_categories = ["before process", "paired-end assembled", "with 5' primer", "with 3' primer", "with expected length", "without N"] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
442 /* Example:
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
443 ["before process", "assembled", "with 5' primer", "with 3' primer", "with expected length", "without N"]
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
444 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
445
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
446 var filters_by_sample = {"artificial combined": {"02": {"with expected length": 16204, "with 3' primer": 16204, "with 5' primer": 16204, "without N": 16204, "paired-end assembled": 16204}, "03": {"with expected length": 16123, "with 3' primer": 16123, "with 5' primer": 16123, "without N": 16123, "paired-end assembled": 16123}, "01": {"with expected length": 16107, "with 3' primer": 16107, "with 5' primer": 16107, "without N": 16107, "paired-end assembled": 16107}}, "before process": {"02": 30000, "03": 30000, "01": 30000}, "merged": {"02": {"with expected length": 13796, "with 3' primer": 13796, "with 5' primer": 13796, "without N": 13796, "paired-end assembled": 13796}, "03": {"with expected length": 13877, "with 3' primer": 13877, "with 5' primer": 13877, "without N": 13877, "paired-end assembled": 13877}, "01": {"with expected length": 13893, "with 3' primer": 13893, "with 5' primer": 13893, "without N": 13893, "paired-end assembled": 13893}}} ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
447 /* Example:
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
448 var filters_by_sample = {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
449 "artificial combined": {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
450 "sampleA": {"with 3' primer": 100, "without N": 100, "with 5' primer": 200, "assembled": 300},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
451 "sampleB": {"with 3' primer": 0, "without N": 0, "with 5' primer": 0, "assembled": 0}},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
452 "combined": {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
453 "sampleA": {"with expected length": 997, "with 3' primer": 997, "without N": 997, "with 5' primer": 997, "assembled": 1000},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
454 "sampleB": {"with expected length": 634, "with 3' primer": 727, "without N": 619, "with 5' primer": 800, "assembled": 834}},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
455 "before process": {"sampleA": 1300, "sampleB": 834}
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
456 } ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
457 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
458
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
459 var before_lengths_by_sample = {"02": {"319": 291, "318": 607, "423": 296, "335": 316, "334": 1, "337": 300, "336": 343, "331": 285, "333": 315, "332": 3, "272": 2, "274": 3, "275": 18, "276": 27, "277": 44, "278": 123, "365": 1, "320": 344, "322": 1, "345": 297, "346": 313, "347": 2, "324": 1244, "369": 1, "281": 617, "364": 324, "422": 1, "285": 659, "284": 297, "309": 298, "351": 1, "300": 287, "301": 323, "303": 300, "304": 605, "305": 1, "299": 613, "296": 879, "325": 1, "358": 297, "321": 616, "282": 912, "363": 2, "357": 2, "354": 2, "353": 303, "298": 1, "350": 329, "371": 2, "370": 315, "294": 310, "295": 1, "291": 321}, "03": {"319": 284, "318": 640, "338": 1, "335": 317, "334": 1, "337": 281, "336": 292, "331": 337, "330": 1, "333": 313, "271": 1, "272": 2, "274": 4, "275": 17, "276": 34, "277": 49, "278": 101, "345": 297, "320": 320, "322": 2, "323": 1, "346": 336, "321": 614, "324": 1159, "369": 2, "281": 610, "423": 294, "282": 940, "285": 658, "284": 325, "309": 282, "300": 327, "301": 294, "303": 334, "304": 656, "299": 629, "358": 282, "283": 1, "317": 1, "365": 2, "350": 305, "349": 2, "357": 2, "354": 1, "353": 319, "364": 322, "296": 938, "370": 343, "294": 302, "295": 2, "290": 1, "291": 299}, "01": {"319": 282, "318": 592, "335": 322, "334": 1, "337": 290, "336": 292, "331": 300, "330": 2, "333": 292, "332": 1, "272": 2, "274": 3, "275": 22, "276": 28, "277": 31, "278": 113, "323": 3, "320": 379, "322": 1, "345": 322, "346": 290, "321": 599, "324": 1279, "369": 1, "281": 613, "423": 293, "282": 960, "285": 603, "284": 305, "286": 1, "309": 314, "300": 327, "301": 297, "302": 1, "303": 302, "304": 591, "305": 1, "296": 972, "325": 1, "370": 337, "364": 308, "422": 1, "350": 322, "424": 1, "357": 1, "353": 328, "352": 1, "298": 1, "299": 634, "371": 1, "297": 1, "294": 301, "291": 319, "359": 2, "358": 307}} ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
460 /* Example:
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
461 {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
462 "sampleA": {"395": 1, "381": 192, "382": 1790, "383": 2903, "384": 1078, "385": 10536, "386": 18182, "387": 8613, "388": 1097, "389": 7},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
463 "sampleB": {}
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
464 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
465 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
466
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
467 var after_lengths_by_sample = {"02": {"318": 1, "338": 2, "313": 313, "312": 297, "337": 315, "336": 1, "317": 329, "330": 2, "332": 1, "270": 300, "271": 605, "258": 321, "390": 296, "239": 2, "276": 298, "252": 659, "251": 297, "289": 1, "288": 616, "320": 303, "321": 2, "331": 324, "324": 2, "325": 297, "285": 607, "287": 344, "286": 291, "243": 27, "300": 315, "301": 1, "302": 316, "303": 343, "304": 300, "263": 879, "244": 44, "261": 310, "267": 287, "266": 613, "265": 1, "242": 18, "389": 1, "268": 323, "249": 912, "248": 617, "245": 123, "262": 1, "314": 2, "272": 1, "298": 285, "299": 3, "241": 3, "292": 1, "291": 1244}, "03": {"313": 336, "312": 297, "337": 343, "336": 2, "331": 322, "316": 2, "332": 2, "270": 334, "271": 656, "258": 299, "390": 294, "238": 1, "239": 2, "276": 282, "252": 658, "250": 1, "251": 325, "257": 1, "289": 2, "288": 614, "320": 319, "321": 1, "324": 2, "325": 282, "285": 640, "284": 1, "287": 320, "286": 284, "300": 313, "301": 1, "302": 317, "303": 292, "304": 281, "305": 1, "263": 938, "244": 49, "261": 302, "267": 327, "266": 629, "243": 34, "242": 17, "268": 294, "249": 940, "248": 610, "317": 305, "245": 101, "262": 2, "298": 337, "241": 4, "297": 1, "290": 1, "291": 1159}, "01": {"319": 1, "338": 1, "313": 290, "312": 322, "337": 337, "336": 1, "317": 322, "391": 1, "270": 302, "271": 591, "272": 1, "390": 293, "239": 2, "276": 314, "252": 603, "253": 1, "251": 305, "289": 1, "288": 599, "320": 328, "326": 2, "331": 308, "324": 1, "325": 307, "285": 592, "287": 379, "286": 282, "243": 28, "300": 292, "301": 1, "302": 322, "303": 292, "304": 290, "242": 22, "245": 113, "244": 31, "261": 301, "267": 327, "266": 634, "265": 1, "264": 1, "389": 1, "269": 1, "268": 297, "249": 960, "248": 613, "263": 972, "292": 1, "258": 319, "298": 300, "299": 1, "241": 3, "297": 2, "290": 3, "291": 1279}} ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
468 /* Example:
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
469 {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
470 "sampleA": {"395": 1, "381": 192, "382": 1790, "383": 2903, "384": 1078, "385": 10536, "386": 18182, "387": 8613, "388": 1097, "389": 7},
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
471 "sampleB": {}
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
472 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
473 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
474
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
475
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
476 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
477 //
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
478 // Main
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
479 //
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
480 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
481 /**
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
482 * Disables/enables buttons in datatable.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
483 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
484 var updateButtonState = function(){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
485 $("#display-spl-lengths").prop( "disabled", false );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
486 if( $('input[id^="filterBySample-chk-"]:checked').length == 0 ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
487 $("#display-spl-lengths").prop( "disabled", true );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
488 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
489 $("#display-after-spl-lengths").prop( "disabled", false );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
490 if( $('input[id^="filterBySample-chk-"]:checked').length == 0 ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
491 $("#display-after-spl-lengths").prop( "disabled", true );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
492 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
493 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
494
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
495 /**
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
496 * Draws for the selected sample(s) the line chart that represents the number of sequences by sequence length.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
497 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
498 var setLengthsGraph = function(lengths_by_sample,title){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
499 var selected_series = new Array();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
500 $('input[id^="filterBySample-chk-"]').each( function(){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
501 if( $(this).is(':checked')){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
502 var sample_name = $(this).prop('id').substring(19, $(this).prop('id').length) ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
503 // Find min and max for the sample
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
504 var min_length = null ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
505 var max_length = null ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
506 for(seq_length in lengths_by_sample[sample_name]){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
507 if( max_length === null ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
508 min_length = parseInt(seq_length) ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
509 max_length = parseInt(seq_length) ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
510 } else {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
511 min_length = Math.min( min_length, parseInt(seq_length) );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
512 max_length = Math.max( max_length, parseInt(seq_length) );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
513 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
514 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
515 // Complete data
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
516 var sample_data = new Array();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
517 if( max_length !== null ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
518 for( var curr_length = min_length ; curr_length <= max_length ; curr_length++ ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
519 if( lengths_by_sample[sample_name].hasOwnProperty(curr_length.toString()) ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
520 sample_data.push([
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
521 curr_length,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
522 lengths_by_sample[sample_name][curr_length.toString()]
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
523 ]);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
524 } else {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
525 sample_data.push( [curr_length, null] );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
526 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
527 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
528 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
529 // Add serie
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
530 selected_series.push({
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
531 "name": sample_name,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
532 "data": sample_data
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
533 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
534 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
535 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
536 // Draw chart
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
537 $('#lengths-chart').highcharts( lineplot_param(title, "Length", "Nb sequences", null, selected_series) );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
538 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
539
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
540 /**
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
541 * Draws the bar chart that represents the total number of sequences after each filter.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
542 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
543 var summaryLoad = function(){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
544 var total_input = 0;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
545 var extended_data = new Array();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
546 var non_overlapped_data = new Array();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
547
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
548 for( var spl_name in filters_by_sample["merged"] ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
549 total_input += filters_by_sample["before process"][spl_name] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
550 for ( var cat_idx = 1 ; cat_idx < filters_categories.length ; cat_idx++ ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
551 var cat = filters_categories[cat_idx] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
552 if(extended_data.length <= cat_idx-1){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
553 extended_data.push(0);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
554 non_overlapped_data.push(0);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
555 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
556
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
557 if (cat in filters_by_sample["merged"][spl_name]){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
558 extended_data[cat_idx-1] += filters_by_sample["merged"][spl_name][cat] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
559 }else{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
560 extended_data[cat_idx-1] = extended_data[cat_idx-2] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
561 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
562
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
563 if ("artificial combined" in filters_by_sample) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
564 if ( cat in filters_by_sample["artificial combined"][spl_name] ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
565 non_overlapped_data[cat_idx-1] += filters_by_sample["artificial combined"][spl_name][cat] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
566 }else{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
567 non_overlapped_data[cat_idx-1] = non_overlapped_data[cat_idx-2] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
568 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
569 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
570 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
571
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
572 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
573
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
574 var global_series = [ { name: 'merged', data: extended_data }]
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
575 if ("artificial combined" in filters_by_sample) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
576 global_series.push({name: 'artificial combined', data: non_overlapped_data});
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
577 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
578 $('#filter-summary').highcharts( histogram_param('Summary', total_input, 'Nb sequences', filters_categories.slice(0-filters_categories.length+1), global_series, 'seq') );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
579 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
580
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
581 /**
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
582 * Set the table that represents by sample the number of sequences after each filter.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
583 * Use key to select one subhashtable
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
584 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
585 var sampleDetailsLoad = function(key, checkBox, tableId, distrib_length){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
586 // Table titles
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
587 if (checkBox){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
588 var titles = [ '<label class="container"><input id="filterBySample-check-all" type="checkbox" value="1"><span class="checkmark"></span></label>', "Samples"];
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
589 }else{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
590 var titles = ["Samples"];
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
591 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
592
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
593 titles.push( '% kept' );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
594 var filters = filters_by_sample[key] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
595
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
596 for( var sample_name in filters ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
597 if (checkBox) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
598 var sample_data = ['<label class="container"><input id="filterBySample-chk-' + sample_name + '" type="checkbox" value="1"><span class="checkmark"></span></label>', sample_name];
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
599 }else{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
600 var sample_data = [sample_name];
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
601 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
602
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
603 var last_idx = 0;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
604 for ( var cat_idx = 0 ; cat_idx < filters_categories.length ; cat_idx++ ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
605 var cat = filters_categories[cat_idx] ;
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
606 if ( cat in filters[sample_name]) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
607 last_idx = cat_idx
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
608 if (!( titles.includes(cat) )){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
609 titles.push(cat);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
610 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
611 sample_data.push( numberDisplay(filters[sample_name][cat]) );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
612 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
613 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
614
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
615 var prct_kept = filters[sample_name][filters_categories[last_idx]]*100/filters[sample_name][filters_categories[1]]
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
616 if (isNaN(prct_kept)){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
617 prct_kept = 0
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
618 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
619 if (checkBox) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
620 sample_data.splice(2, 0, numberDisplay(prct_kept));
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
621 }else{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
622 sample_data.splice(1, 0, numberDisplay(prct_kept));
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
623 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
624
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
625 $('#'+tableId+' tbody').append( '<tr><td>' + sample_data.join("</td><td>") + '</td></tr>' );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
626 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
627
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
628 $('#'+tableId+' thead').append( '<tr><th>' + titles.join("</th><th>") + '</th></tr>' );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
629 $('#'+tableId+' .title').attr( "colspan", titles.length );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
630 $('#'+tableId+' tfoot th').each(function(){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
631 $(this).attr( "colspan", titles.length );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
632 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
633
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
634 // Check all management
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
635 $('#filterBySample-check-all').on('change', function (e) { // Manage check all
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
636 if( $(this).is(':checked') ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
637 $('input[id^="filterBySample-chk-"]').each( function(){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
638 $(this).prop( 'checked', true );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
639 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
640 } else {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
641 $('input[id^="filterBySample-chk-"]').each( function(){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
642 $(this).prop( 'checked', false );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
643 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
644 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
645 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
646 $('input[id^="filterBySample-chk-"]').on('change', function (e) { // Uncheck select all when uncheck one sample
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
647 if( !$(this).is(':checked') && $('#filterBySample-check-all').is(':checked') ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
648 $('#filterBySample-check-all').prop( 'checked', false );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
649 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
650 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
651
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
652 // Buttons enable/disable management
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
653 $('input[id^="filterBySample-check-all"]').on( 'change', updateButtonState );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
654 $('input[id^="filterBySample-chk-"]').on( 'change', updateButtonState );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
655
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
656 // Datatable
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
657 var start_col_idx = 0
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
658 if(checkBox){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
659 start_col_idx = 1
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
660 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
661 $('#'+tableId+'').DataTable({
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
662 //"sDom": '<"top"<"#'+tableId+'-export"><"clear">lf>rt<"bottom"ip><"clear">',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
663 dom: "<'#"+tableId+"-export'><'row'<'col-sm-5'l><'col-sm-7'f>>" +
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
664 "<'row'<'col-sm-12'tr>>" +
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
665 "<'row'<'col-sm-5'i><'col-sm-7'p>>",
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
666 'order': [[start_col_idx, 'asc']],
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
667 "pagingType": "simple",
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
668 'columnDefs': [{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
669 'targets': [0],
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
670 'orderable': false
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
671 }],
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
672 "fnDrawCallback": updateButtonState
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
673 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
674
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
675 // Datatable export
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
676 $('#'+tableId+'-export').html( '<button id="btn-exp" class="btn"><span class="fa fa-download" aria-hidden="true"> CSV</span></button>' );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
677 $('#'+tableId+'-export').addClass( 'dataTables_filter' );
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
678
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
679 if ( checkBox){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
680 $('#'+tableId+'-export').datatableExport({
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
681 'table_id': tableId,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
682 'omitted_columns': [0]
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
683 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
684 }else{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
685 $('#'+tableId+'-export').datatableExport({
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
686 'table_id': tableId,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
687 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
688 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
689
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
690 // Add modal listener
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
691 if (distrib_length){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
692 $('#lengths-modal').on('shown.bs.modal', function (event) {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
693 var button = $(event.relatedTarget); // Button that triggered the modal
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
694 var data_type = button.data('whatever');
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
695 if( data_type == "before-process" ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
696 setLengthsGraph(before_lengths_by_sample,"Amplicon length distribution before trimming and filtering");
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
697 } else {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
698 setLengthsGraph(after_lengths_by_sample,"Preprocessed Amplicon Length distribution");
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
699 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
700 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
701 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
702 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
703
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
704 $(function() {
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
705 // Remove alert
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
706 $('#js-alert').remove();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
707 $('#content').removeClass("hidden");
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
708
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
709 // Display summary
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
710 summaryLoad();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
711 // Display data by sample
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
712 if ("merged" in filters_by_sample ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
713 sampleDetailsLoad("merged",true, "filterBySample-table-combined", true);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
714 }else{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
715 $("#filterBySample-table-combined").remove();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
716 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
717 if ("artificial combined" in filters_by_sample ){
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
718 sampleDetailsLoad("artificial combined", false, "filterBySample-table-artificialCombined", false);
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
719 }else{
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
720 $("#filterBySample-table-artificialCombined").prev("h2").remove();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
721 $("#filterBySample-table-artificialCombined").remove();
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
722 }
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
723 /*$("select").addClass("selectpicker");
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
724 $(".dataTables_length select").selectpicker({
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
725 style: 'btn-info',
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
726 size: 2,
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
727 width : '60px'
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
728 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
729 $('.selectpicker').selectpicker('refresh');
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
730 //$('select').selectpicker('refresh');
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
731 */
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
732 });
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
733 </script>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
734 </head>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
735 <body>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
736 <!-- Alert -->
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
737 <p id="js-alert" class="alert alert-warning">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
738 javascript is needed to display data.<br />
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
739 If you try to view this data on galaxy please contact your administrator to authorise javascript or download the file to view.
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
740 </p>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
741
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
742 <!-- Content -->
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
743 <div id="content" class="hidden">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
744 <h2 class="pb-2-first mt-4 mb-2 border-bottom" style="margin-top: 1rem">Preprocess summary</h2>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
745 <div id="filter-summary"></div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
746
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
747 <div id="filter-log">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
748 <h2 class="pb-2 mt-4 mb-2 border-bottom">Details on merged sequences</h2>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
749 <table id="filterBySample-table-combined" class="table table-striped">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
750 <thead>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
751 <!--
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
752 <tr>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
753 <th class="title">Filtering by sample : details on full length amplicon reads</th>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
754 </tr>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
755 -->
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
756 </thead>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
757 <tbody></tbody>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
758 <tfoot>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
759 <tr>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
760 <th>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
761 <span class="table-action">With selection:</span>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
762 <button id="display-spl-lengths" class="btn table-action fusion-right" disabled data-toggle="modal" data-target="#lengths-modal" data-whatever="before-process" ><span class="fa fa-line-chart" aria-hidden="true"> Display amplicon lengths</span> </button>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
763 <button id="display-after-spl-lengths" class="btn table-action" disabled data-toggle="modal" data-target="#lengths-modal" data-whatever="after-process" ><span class="fa fa-line-chart" aria-hidden="true"> Display preprocessed amplicon lengths</span></button>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
764 </th>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
765 </tr>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
766 </tfoot>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
767 </table>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
768 <h2 class="pb-2 mt-4 mb-2 border-bottom">Details on artificial combined sequences</h2>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
769 <table id="filterBySample-table-artificialCombined" class="table table-striped">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
770 <thead>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
771 </thead>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
772 <tbody></tbody>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
773 </table>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
774 </div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
775 </div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
776
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
777
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
778
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
779 <!-- Modals -->
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
780 <div class="modal" id="lengths-modal" tabindex="-1" role="dialog" aria-hidden="true">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
781 <div class="modal-dialog modal-lg">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
782 <div class="modal-content">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
783 <div class="modal-header">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
784 <h4 class="modal-title">Amplicons lengths</h4>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
785 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
786
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
787
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
788 </div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
789 <div class="modal-body">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
790 <div id="lengths-chart"></div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
791 </div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
792 <div class="modal-footer">
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
793 <button class="btn table-action fusion-right" data-dismiss="modal"><span class="fa fa-close" aria-hidden="true"> Close</span> </button>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
794 </div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
795 </div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
796 </div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
797 </div>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
798 </body>
59bc96331073 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
frogs
parents:
diff changeset
799 </html>