-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
225 lines (224 loc) · 10.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>gGnome.js</title>
<link rel='shortcut icon' type='image/x-icon' href='css/favicon.ico' />
<link rel="stylesheet prefetch" href="css/external/bootstrap.min.css">
<link rel="stylesheet" href="css/external/semantic.css">
<link rel="stylesheet" href="css/external/loader.min.css">
<link rel="stylesheet" href="css/external/transition.css">
<link rel="stylesheet" href="css/external/dropdown.css">
<link rel="stylesheet" href="css/external/checkbox.min.css">
<link rel="stylesheet" href="css/external/icon.css">
<link rel="stylesheet" href="css/toastr.css">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<nav id="navbar" class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="./index.html">gGnome.js</a>
</div>
<form class="navbar-form navbar-left" role="search">
<div class="form-group">
<div id="tags-selector" class="ui floating selection labeled search fluid scrolling multiple dropdown">
<i class="filter icon"></i>
<div class="default text">Browse categories</div>
<div class="menu"></div>
</div>
</div>
<div class="form-group marleft10">
<span class="counter-label"></span>
</div>
<div class="form-group marleft10">
<select id="data-selector" class="ui floating fluid search selection dropdown data-selector"></select>
</div>
<div class="form-group marleft20">
<div id="annotations-selector" class="ui fluid search selection dropdown data-selector">
<input type="hidden" name="country">
<div class="default text">Select Annotation</div>
<i class="dropdown icon"></i>
<div class="menu"></div>
</div>
</div>
</form>
<form class="navbar-form navbar-right" role="search">
<div class="form-group">
<div id="loader" class="ui active inline loader hidden"></div>
</div>
<div class="form-group">
<div class="ui simple dropdown">
<div class="text">Tools</div>
<i class="dropdown icon"></i>
<div class="menu">
<div class="item">
<span id="locate-button" data-toggle="modal" data-target="#locate-modal"><i class="map marker alternate icon"></i> Locate</span>
</div>
<div class="item">
<span id="validate-button"><i class="check icon"></i> Validate</span>
</div>
<div class="item">
<span id="coverage-button"><i class="upload icon"></i> Upload</span>
</div>
<div class="item">
<span id="download-button"><i class="download icon"></i> Export</span>
<span id="fragmentsDetails" class="hidden"></span>
</div>
</div>
</div>
</div>
<div class="form-group marleft20">
<div class="content checkbox-container">
<div id="checkbox_genes" class="ui checkbox">
<input type="checkbox" name="genes">
<label>Genes</label>
</div>
<div id="checkbox_walks" class="ui checkbox">
<input type="checkbox" name="walks">
<label>Walks</label>
</div>
<div id="checkbox_coverage" class="ui checkbox">
<input type="checkbox" name="coverage">
<label class="scatterplot">Coverage</label>
</div>
<div id="checkbox_rpkm" class="ui checkbox">
<input type="checkbox" name="rpkm">
<label class="barplot">RPKM</label>
</div>
</div>
</div>
</form>
</div><!-- .container-fluid -->
</nav>
<div class="container-fluid">
<div class="row fragments-note-container">
<div class="col-lg-12">
<a id="fragmentsNote" href="#" data-toggle="tooltip" data-placement="bottom" title="Copied to clipboard"></a>
</div>
<div class="col-lg-12">
<span id="genome-description"></span>
</div>
</div>
<div class="row">
<div id="plot-container" class="col-lg-12">
<div class="popover fade top in hidden">
<div class="arrow"></div>
<h3 class="popover-title"></h3>
<div class="popover-content"></div>
</div>
</div>
<div class="modal fade" id="plot-container-gene-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
<div class="modal-dialog modal-lg">
<div class="modal-content" style="overflow: hidden;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 id="gene-modal-title" class="modal-title"></h4>
</div>
<div id="gene-modal-body" class="modal-body" style="max-height: 1010px; overflow-y: auto;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<div class="modal fade" id="locate-modal" tabindex="-1" role="dialog" aria-labelledby="locate-modal" aria-hidden="true" style="display: none;">
<div class="modal-dialog modal-lg">
<form id="locate-form" role="form">
<div class="modal-content" style="overflow: hidden;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 id="locate-modal-title" class="modal-title">Loci of interest</h4>
</div>
<div id="locate-modal-body" class="modal-body custom-modal-body">
<div class="form-group">
<input type="text" class="form-control" id="locate-input" placeholder="e.g. 22:12492333-27035862 or KCNT2">
</div>
</div>
<div class="modal-footer">
<button type="submit" id="locate-submit" class="btn btn-info btn-block" data-dismiss="modal">Locate</button>
</div>
</div>
</form>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<div class="modal fade" id="coverage-modal" tabindex="-1" role="dialog" aria-labelledby="coverage-modal" aria-hidden="true" style="display: none;">
<div class="modal-dialog modal-lg">
<form id="coverage-form" role="form">
<div class="modal-content" style="overflow: hidden;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 id="coverage-modal-title" class="modal-title">Coverage Points File Loader</h4>
</div>
<div id="coverage-modal-body" class="modal-body custom-modal-body">
<div class="form-group">
<div class="input-group">
<label class="input-group-btn">
<span class="btn btn-primary">
Browse… <input type="file" style="display: none;" accept=".csv">
</span>
</label>
<input id="file-input" type="text" class="form-control" readonly accept=".csv">
</div>
<span class="help-block" id="coverage-help">
Try selecting one and watch the feedback
</span>
</div>
</div>
<div class="modal-footer">
<button type="submit" id="coverage-submit" class="btn btn-info btn-block" data-dismiss="modal">OK</button>
</div>
</div>
</form>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
</div>
<a href="data:text/plain;charset=utf-8" id="downloadLink" download="export.txt" style="display: none;"></a>
</div>
<div id="shadow" class="modal-backdrop fade in hidden"></div>
<script src="./js/external/jquery.min.js"></script>
<script src="./js/external/bootstrap.min.js"></script>
<script src="./js/external/d3.min.js"></script>
<script src="./js/external/d3-contour.v1.min.js"></script>
<script src="./js/external/d3-scale-chromatic.v0.3.min.js"></script>
<script src="./js/external/d3-collection.v1.min.js"></script>
<script src="./js/external/d3-dispatch.v1.min.js"></script>
<script src="./js/external/d3-dsv.v1.min.js"></script>
<script src="./js/external/d3-request.v1.min.js"></script>
<script src="./js/external/d3-queue.v3.min.js"></script>
<script src="./js/external/d3-hexbin.v0.2.min.js"></script>
<script src="./js/external/papaparse.min.js"></script>
<script src="./js/external/toastr.min.js"></script>
<script src="./js/external/regl.js"></script>
<script src="./js/external/transition.js"></script>
<script src="./js/external/dropdown.js"></script>
<script src="./js/external/checkbox.min.js"></script>
<script src="./js/index.js"></script>
<script src="./js/misc.js"></script>
<script src="./js/combinations.js"></script>
<script src="./js/base.js"></script>
<script src="./js/interval.js"></script>
<script src="./js/gene.js"></script>
<script src="./js/walk-interval.js"></script>
<script src="./js/walk.js"></script>
<script src="./js/read-interval.js"></script>
<script src="./js/read.js"></script>
<script src="./js/coverage-point.js"></script>
<script src="./js/rpkm-interval.js"></script>
<script src="./js/connection.js"></script>
<script src="./js/walk-connection.js"></script>
<script src="./js/frame.js"></script>
<script src="./js/svg-filter.js"></script>
<script src="./js/chromo.js"></script>
<script src="./js/brush-container.js"></script>
<script src="./js/fragment.js"></script>
<script src="./js/regl-canvas.js"></script>
</body>
</html>