-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal.html
More file actions
162 lines (154 loc) · 9.31 KB
/
Copy pathlocal.html
File metadata and controls
162 lines (154 loc) · 9.31 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Genoplotter - Genomic Composite Visualization</title>
<script src="js/libraries/d3.v7.min.js"></script>
<script src="js/libraries/Sortable.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/fontawesome.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="icon" href="images/favicon.png">
</head>
<body>
<main>
<div class="padded-container">
<div id="top-panel">
<div id="top-left-panel">
<svg id="genoplotter-logo" xmlns="http://www.w3.org/2000/svg" width="200" viewBox="0 0 255 64" role="img" aria-label="GenoPlotter">
<title>GenoPlotter</title>
<g>
<rect x="6" y="6" width="52" height="52" fill="none" stroke="#000000" stroke-width="2"></rect>
<line x1="6" y1="32" x2="58" y2="32" stroke="#000000" stroke-width="2"></line>
<path d="M6 32 Q20 32 24 18 Q28 6 32 24 Q35 32 58 30 L58 32 L6 32 Z" fill="#007bff"></path>
<path d="M6 32 Q20 32 25 45 Q30 58 34 39 Q38 32 58 34 L58 32 L6 32 Z" fill="#007bff" opacity="0.55"></path>
</g>
<text x="74" y="42" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif" font-size="34" font-weight="500" letter-spacing="-0.5">
<tspan fill="#212529">Geno</tspan><tspan fill="#007bff">Plotter</tspan>
</text>
<text id="version-text" x="100" y="54" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif" font-size="10" fill="#000000">Local version</text>
</svg>
<button id="json-button" class="panel-action-button"><i class="fas fa-lg fa-file-arrow-up"></i> Import session (JSON)</button>
<input type="file" id="json-loader">
<button id="json-download" class="panel-action-button"><i class="fas fa-lg fa-file-arrow-down"></i> Export session (JSON)</button>
<input type="file" id="multi-composite-loader">
<button id="multi-composite-button" class="panel-action-button" title="Load a concatenated composite file to fill multiple rows at once"><i class="fas fa-lg fa-layer-group"></i> Upload multi-composite</button>
<div id="axes-input" class="text-left">
<div id="x-axis-input"></div>
<div id="y-axis-input"></div>
<button id="autoscale-axes-button" class="panel-action-button"><i class="fas fa-lg fa-maximize"></i> Autoscale axes</button>
<div id="lock-axes"></div>
</div>
</div>
<svg id="main-plot" baseProfile="full" version="1.1" xmlns="http://www.w3.org/2000/svg" font-family="Helvetica"></svg>
<div id="main-plot-placeholder">
<span id="plot-placeholder-text">Create a composite(s) with the table below or by clicking "Upload multi-composite" to get started</span>
</div>
<div id="top-right-panel">
<div id="settings-tabs"></div>
<div id="settings-panel-content">
<div id="global-settings" class="settings-section">
<select id="preset-dropdown"></select>
<table id="global-sliders" class="global-table">
<tr id="opacity-input"></tr>
<tr id="smoothing-input"></tr>
<tr id="bp-shift-input"></tr>
</table>
<table id="global-misc" class="global-table">
<tr>
<td>
<div id="backdrop-color"></div>
</td>
<td>
<div id="backdrop-opacity"></div>
</td>
</tr>
<tr>
<td>
<div id="combine-strands"></div>
</td>
<td>
<div id="color-trace"></div>
</td>
</tr>
<tr>
<td colspan="2">
<div id="separate-colors"></div>
</td>
</tr>
<tr>
<td>
<div id="show-legend"></div>
</td>
<td>
<div id="enable-plot-tooltip"></div>
</td>
</tr>
</table>
<button id="download-as-svg" class="panel-action-button">
<i class="fa fas fa-lg fa-file-image"></i>
<span>Download as SVG</span>
</button>
</div>
<!-- See js/classes/reference_lines_input.js -->
<div id="reference-lines-input" class="settings-section hidden"></div>
<!-- See js/classes/nucleosome_slider_input.js -->
<div id="nucleosome-slider-input" class="settings-section hidden"></div>
</div>
<a id="source-code-and-documentation" href="https://github.com/CEGRcode/GenoPlotter/">
<img src="images/GitHub_Invertocat_Black.svg" id="github-logo" width="20px" height="20px"></svg>
<label id="github-logo-label" for="github-logo">Source code and documentation</label>
</a>
</div>
</div>
<div id="composite-table"></div>
</div>
</main>
<!-- Javascript classes -->
<script src="js/classes/data_object.js"></script>
<script src="js/classes/composite_object.js"></script>
<script src="js/classes/x_axis_input.js"></script>
<script src="js/classes/y_axis_input.js"></script>
<script src="js/classes/lock_axes.js"></script>
<script src="js/classes/composite_loader.js"></script>
<script src="js/classes/composite_plot.js"></script>
<script src="js/classes/composite_legend.js"></script>
<script src="js/classes/preset_dropdown.js"></script>
<script src="js/classes/opacity_input.js"></script>
<script src="js/classes/smoothing_input.js"></script>
<script src="js/classes/bp_shift_input.js"></script>
<script src="js/classes/backdrop_color_input.js"></script>
<script src="js/classes/backdrop_opacity_input.js"></script>
<script src="js/classes/combined_checkbox.js"></script>
<script src="js/classes/separate_colors_checkbox.js"></script>
<script src="js/classes/color_trace_checkbox.js"></script>
<script src="js/classes/enable_plot_tooltip_checkbox.js"></script>
<script src="js/classes/show_legend_checkbox.js"></script>
<script src="js/classes/nucleosome_slider.js"></script>
<script src="js/classes/nucleosome_slider_input.js"></script>
<script src="js/classes/reference_lines.js"></script>
<script src="js/classes/reference_lines_input.js"></script>
<script src="js/classes/plot_tooltip.js"></script>
<script src="js/classes/composite_row.js"></script>
<script src="js/classes/composite_table.js"></script>
<!-- JSONS -->
<script src="js/default_settings/default_data_obj.js"></script>
<script src="js/default_settings/default_plot_dimensions.js"></script>
<script src="js/default_settings/default_colors.js"></script>
<script src="js/default_settings/preset_settings.js"></script>
<script src="js/default_settings/default_line_styles.js"></script>
<script src="js/default_settings/version.js"></script>
<!-- Functions -->
<script src="js/functions/round_with_precision.js"></script>
<script src="js/functions/editable_svg_text.js"></script>
<script src="js/functions/update_all.js"></script>
<!-- Small UI elements -->
<script src="js/small_ui_elements/embed_version_text_in_logo.js"></script>
<script src="js/small_ui_elements/export_json.js"></script>
<script src="js/small_ui_elements/import_json_local.js"></script>
<script src="js/small_ui_elements/upload_multi_composite.js"></script>
<script src="js/small_ui_elements/autoscale_axes.js"></script>
<script src="js/small_ui_elements/settings_tabs.js"></script>
<script src="js/small_ui_elements/download_as_svg_button.js"></script>
<!-- Initialize objects -->
<script src="js/initialize_local.js"></script>
</body>