-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
executable file
·491 lines (473 loc) · 28.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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!DOCTYPE html>
<html>
<head>
<title>VRmol - Virtual Reality for Molecule</title>
<meta charset="utf-8">
<meta name="description"
content="VRmol is an easy-to-use web-based tool capable of visualizing and integratively analyzing biomolecular structures in Virtual Reality environment. It connects to multiple resources, such as disease and drug-related databases, enabling it to serve as an integrative platform for structure-based translational researches and drug design.">
<meta name="keywords" content="VRmol, vrmol.net, Molecular Structure Visualization, virtual reality, webvr, cloud-computing, cryo-em, density map, autodock-vina, genomic variation, drug docking">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="css/vrmol.ico">
<link rel="stylesheet" href="css/index.css" type="text/css" />
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?1962c99900da5c4de135a223484fc0f7";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!--
<script type="text/javascript" src="js/webvr-polyfill/webvr-polyfill.min.js"></script>
<script type="text/javascript" src="js/webvr-ui/webvr-ui.min.js"></script>
-->
<script type="text/javascript" src="js/libs/three.js"></script>
<script type="text/javascript" src="js/libs/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/libs/jquery.simple-color.js"></script>
<!-- vr -->
<!-- <script type="text/javascript" src="js/controls/TrackballControls.js"></script>
<script type="text/javascript" src="js/controls/OrbitControls.js"></script>
<script type="text/javascript" src="js/controls/VRControls.js"></script>
<script type="text/javascript" src="js/controllers/VRController.js"></script>
<script type="text/javascript" src="js/vr/VREffect.js"></script>
<script type="text/javascript" src="js/vr/WebVR.js"></script> -->
<script type="text/javascript" src="js/utils/GLTFLoader.js"></script>
<script type="text/javascript" src="js/libs/motion-controllers.module.js"></script>
<script type="text/javascript" src="js/xr/TrackballControls.js"></script>
<script type="text/javascript" src="js/xr/OrbitControls.js"></script>
<!--<script type="text/javascript" src="js/xr/ControllerModel.js"></script>-->
<script type="text/javascript" src="js/xr/XRControllerModelFactory.js"></script>
<script type="text/javascript" src="js/xr/VRButton.js"></script>
<!-- Our Design-->
<!--<script type="text/javascript" src="libs/vrmol.min.js"></script>-->
<script type="text/javascript" src="libs/w3m.js"></script>
<script type="text/javascript" src="libs/extension.js"></script>
<script type="text/javascript" src="libs/static.js"></script>
<script type="text/javascript" src="libs/math.js"></script>
<script type="text/javascript" src="libs/core.js"></script>
<script type="text/javascript" src="libs/loader.js"></script>
<script type="text/javascript" src="libs/render.js"></script>
<script type="text/javascript" src="libs/tool.js"></script>
<script type="text/javascript" src="libs/drawer.js"></script>
<script type="text/javascript" src="libs/painter.js"></script>
<script type="text/javascript" src="libs/controller.js"></script>
<script type="text/javascript" src="libs/pdbparser.js"></script>
<script type="text/javascript" src="libs/emparser.js"></script>
<script type="text/javascript" src="libs/surface.js"></script>
<script type="text/javascript" src="server/speech/recorder.js"></script>
<!--
<script type="module">
import * as THREE from './js/libs/three.module.js';
// import { OrbitControls } from 'js/xr/OrbitControls.js';
import { VRButton } from './js/xr/VRButton.js';
import { XRControllerModelFactory } from './js/xr/XRControllerModelFactory.js';
</script>
-->
<!-- <script type="text/javascript" src="js/vr/statsvr.min.js"></script>
<script type="text/javascript" src="js/vr/ViveController.js"></script>
<script type="text/javascript" src="js/libs/gunzip.min.js"></script>-->
<script type="text/javascript" src="js/libs/chroma.min.js"></script>
<script type="text/javascript" src="js/utils/OBJLoader.js"></script>
<script type="text/javascript" src="js/utils/OBJExporter.js"></script>
<script type="text/javascript" src="js/utils/SceneUtils.js"></script>
<!--<script type="text/javascript" src="js/CurveExtras.js"></script>-->
<!-- Global site tag (gtag.js) - Google Analytics
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135040781-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-135040781-1');
</script>
-->
</head>
<body>
<div id="container"></div>
<div id="info" class="panel">
<img src="imgs/logo.png" style="width: 100px;">
<div id="small_menu" class="small_menu">
<svg class="mdi-icon icon-inline" width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path d="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"></path>
</svg>
</div>
</div>
<div id="searchDiv" class="panel">
<input type="text" name="search_text" class="search_text" id="search_text" placeholder="PDB ID" onkeydown="PDB.controller.onKeyDown(event)" />
<input type="button" class="top_btn" id="search_button" value="Search">
<a class="input-file input-fileup">
Upload<input size="100" type="file" name="file" id="upload_button">
</a>
<a class="input-file input-fileup">
<button class="test" onmousedown="startRecording()" onmouseup="endRecord()">Voice</button>
</a>
<a class="messages"></a>
</div>
<div id="topmenu" class="panel">
<!--
<div >
<a href="https://vrmol.net/?id=https://vrmol.net/data/2019-nCoV-RBD-ACE2-sse.pdb" style="padding: 0px;">* 2019-nCoV-RBD-ACE2<BR />(by Tsinghua U.)</a><BR/>
<a href="https://vrmol.net/?id=https://vrmol.net/data/2019nCoV-S_RBD_ACE2-sse.pdb" style="padding: 0px;">* 2019-nCoV-RBD-ACE2<BR />(by NMDC)</a><BR/>
<a href="https://vrmol.net/?id=https://vrmol.net/data/RBD-ACE2-B0AT1-sse.pdb" style="padding: 0px;">*
RBD-ACE2-B0AT1<BR />(by WestLake U.)</a><BR /><BR/>
</div>
-->
<LABEL onclick="switchMenu('structureMode')">Vis Mode</LABEL><BR />
<span class="submenu" id="structureMode">
<button id="threeMode">Non-VR</button><BR />
<!--<button id="threeWithTravel">Desktop Travel</button><BR /> -->
<button id="vrMode2">VR</button><BR />
<!-- <button id="vrWithTravel">VR Travel</button><BR /> -->
<input id="isLow" name="" type="checkbox" title="isLow" checked />
<label class="label" for="isLow"> Spherical View </label><BR />
<!--<input id="threeMode" name="modeStr" checked="checked" type="radio" title="Three Mode"/> <label class="label" for="threeMode"> Three </label> <BR/>-->
<!--<input id="vrMode" name="modeStr" type="radio" title="VR Mode"/> <label class="label" for="vrMode"> VR </label> <BR/>-->
<!--<input id="threeWithTravel" name="modeStr" type="radio" title="Travel in the Tube"/><label class="label" for="threeWithTravel"> Travel + Three </label> <BR/>-->
<!--<input id="vrWithTravel" name="modeStr" type="radio" title="Travel in the Tube at the mode of VR"/><label class="label" for="vrWithTravel"> Travel + VR</label> <BR/>-->
</span>
<BR />
<LABEL onclick="switchMenu('mainStructure')">Main Structure</LABEL><BR />
<span class="submenu" id="mainStructure">
<button id="b_hide">Hide</button><BR />
<button id="b_line">Line</button><BR />
<button id="b_dot">Dot</button><BR />
<button id="b_backbone">Backbone</button><BR />
<button id="b_a">Sphere</button><BR />
<button id="b_b">Stick</button><BR />
<button id="b_ab">Ball & Rod</button><BR />
<button id="b_tube">Tube</button><BR />
<button id="b_flat">Ribbon-flat</button><BR />
<button id="b_ellipse">Ribbon-ellipse</button><BR />
<button id="b_rectangle">Ribbon-rectangle</button><BR />
<button id="b_strip">Ribbon-strip</button><BR />
<button id="b_railway">Ribbon-railway</button><BR />
<button id="b_sse">Ribbon-SS</button><BR />
<!--<button id="b_surface">Surface</button><BR/>-->
</span>
<BR />
<LABEL onclick="switchMenu('ligandStructure')">Ligand </LABEL><BR />
<span class="submenu" id="ligandStructure">
<button id="h_hide">Hide</button><BR />
<button id="h_line">Line</button><BR />
<button id="h_sphere">Sphere</button><BR />
<button id="h_stick">Stick</button><BR />
<button id="h_ballrod">Ball & Rod</button><BR />
</span>
<BR />
<LABEL onclick="switchMenu('showOthers')">Show Others</LABEL><BR />
<span class="submenu" id="showOthers">
<input name="mode" id="showWater" type="checkbox" title="Show Water" /> <label class="label" for="showWater"> Show Water</label> <BR />
<input name="mode" id="showAxis" type="checkbox" title="Show Axis" /> <label class="label" for="showAxis"> Show Axis</label> <BR />
</span>
<BR />
<LABEL onclick="switchMenu('surfaceStructure')">Surface</LABEL><BR />
<span class="submenu" id="surfaceStructure">
<input id="surfaceN" name="surfaceType" type="radio" title="nothing" /> <label class="label" for="surfaceN"> Hide </label> <BR />
<input id="surfaceVDW" name="surfaceType" type="radio" title="Van der Waals surface" /> <label class="label" for="surfaceVDW">Van der Waals</label> <BR />
<input id="surfaceSE" name="surfaceType" type="radio" title="solvent excluded surface" /> <label class="label" for="surfaceSE">Solvent excluded</label> <BR />
<input id="surfaceSA" name="surfaceType" type="radio" title="solvent accessible surface" /> <label class="label" for="surfaceSA">Solvent accessible</label> <BR />
<input id="surfaceM" name="surfaceType" type="radio" title="molecular surface" /> <label class="label" for="surfaceM">Molecular</label> <BR />
<hr class="line">
<input id="surfaceOpacity1" name="surfaceOpacity" type="radio" title="opacity 1.0" /> <label class="label" for="surfaceOpacity1">1.0</label> <BR />
<input id="surfaceOpacity2" name="surfaceOpacity" type="radio" title="opacity 0.9" /> <label class="label" for="surfaceOpacity2">0.9</label> <BR />
<input id="surfaceOpacity3" name="surfaceOpacity" type="radio" title="opacity 0.8" /> <label class="label" for="surfaceOpacity3">0.8</label> <BR />
<input id="surfaceOpacity4" name="surfaceOpacity" type="radio" title="opacity 0.7" /> <label class="label" for="surfaceOpacity4">0.7</label><BR />
<input id="surfaceOpacity5" name="surfaceOpacity" type="radio" title="opacity 0.6" /> <label class="label" for="surfaceOpacity5">0.6</label> <BR />
<input id="surfaceOpacity6" name="surfaceOpacity" type="radio" title="opacity 0.5" /> <label class="label" for="surfaceOpacity6">0.5</label><BR />
<hr class="line">
<input id="wireFrame" name="surfaceWireframe" type="checkbox" title="Wireframe" /> <label class="label" for="wireFrame"> Wireframe </label> <BR />
</span>
<BR />
<LABEL onclick="switchMenu('selectionMode')">Label</LABEL><BR />
<span class="submenu" id="selectionMode">
<input name="mode" id="selModel" type="radio" checked="checked" title="All the models" /> <label class="label" for="selModel"> All the models</label> <BR />
<!--<input name="mode" id="selMainHet" type="radio" title="Main and Het"/> <label class="label" for="selMainHet"> Main and Het</label> <BR/>-->
<!--<input name="mode" id="selMain" type="radio" title="Only Main"/><label class="label" for="selMain"> Only Main </label> <BR/>
<input name="mode" id="selHet" type="radio" title="Only Het"/> <label class="label" for="selHet"> Only Het </label> <BR/>-->
<input name="mode" id="selChain" type="radio" title="By Chain" /> <label class="label" for="selChain"> By Chain</label> <BR />
<input name="mode" id="selResidue" type="radio" title="By Residue" /> <label class="label" for="selResidue"> By Residue </label> <BR />
<input name="mode" id="selAtom" type="radio" title="By Atom" /> <label class="label" for="selAtom"> By Atom </label> <BR />
</span>
<BR />
<LABEL onclick="switchMenu('updateColorMode')">Color</LABEL><BR />
<span class="submenu" id="updateColorMode">
<input class="updateColor" name="colorMode" id="updatecolor_ByElement" type="radio" title=" By Element" color_mode="601" /> <label class="label" for="updatecolor_ByElement"> By Element </label> <BR />
<input class="updateColor" name="colorMode" id="updatecolor_ByResidue" type="radio" title="By Residue" color_mode="602" /> <label class="label" for="updatecolor_ByResidue">By Residue </label> <BR />
<input class="updateColor" name="colorMode" id="updatecolor_BySecondaryStructure" type="radio" title="By Residue" color_mode="603" /> <label class="label" for="updatecolor_BySecondaryStructure">By Secondary Structure</label> <BR />
<input class="updateColor" name="colorMode" id="updatecolor_ByChain" type="radio" title="By Residue" color_mode="604" /> <label class="label" for="updatecolor_ByChain">By Chain </label> <BR />
<input class="updateColor" name="colorMode" id="updatecolor_ByRepresentation" type="radio" title="By Residue" color_mode="605" /> <label class="label" for="updatecolor_ByRepresentation">By Representation </label> <BR />
<input class="updateColor" name="colorMode" id="updatecolor_ByB_Factor" type="radio" title="By Residue" color_mode="606" /> <label class="label" for="updatecolor_ByB_Factor">By B-Factor</label> <BR />
<input class="updateColor" name="colorMode" id="updatecolor_BySpectrum" type="radio" title="By Residue" color_mode="607" /> <label class="label" for="updatecolor_BySpectrum">By Spectrum</label> <BR />
<input class="updateColor" name="colorMode" id="updatecolor_ByChainSpectrum" type="radio" checked="checked" title="By Residue" color_mode="608" /> <label class="label" for="updatecolor_ByChainSpectrum">By Chain Spectrum</label> <BR />
<input class="updateColor" name="colorMode" id="updatecolor_ByHydrophobicity" type="radio" title="By Residue" color_mode="609" /> <label class="label" for="updatecolor_ByHydrophobicity">By Hydrophobicity</label> <BR />
<input class="updateColor" name="colorMode" id="b_load_conser" type="radio" title="By Residue" color_mode="610" /> <label class="label" for="b_load_conser">By Conservation</label> <BR />
<!--<button name="b_load_conser" id="b_load_conser" value="Export">Load Conservation Score</button>-->
</span>
<BR />
<LABEL onclick="switchMenu('trigger')">Measure</LABEL><BR />
<span class="submenu" id="trigger">
<input name="trigger" id="triggerDistance" type="radio" title="Distance" /> <label class="label" for="triggerDistance"> Distance </label> <BR />
<input name="trigger" id="triggerAngle" type="radio" title="Angle" /> <label class="label" for="triggerAngle"> Angle </label> <BR />
<input name="trigger" id="isHide" type="checkbox" title="Hide&Show" /> <label class="label" for="isHide"> Hide </label> <BR />
</span>
<BR />
<LABEL onclick="switchMenu('dragMode')">Drag</LABEL><BR />
<span class="submenu" id="dragMode">
<!--<input name="mode" id="dragModel" checked="checked" type="radio" title="All the models" /> <label class="label" for="dragModel"> All the models</label> <BR/>
<input name="mode" id="dragMainHet" type="radio" title="Main and Het"/> <label class="label" for="dragMainHet"> Main and Het</label> <BR/>
<input name="mode" id="dragMain" type="radio" title="Only Main"/><label class="label" for="dragMain"> Only Main </label> <BR/>-->
<input name="mode" id="dragReset" type="radio" title="Reset" /> <label class="label" for="dragReset"> Reset </label> <BR />
<input name="mode" id="dragHet" type="radio" title="Drag Ligand" /> <label class="label" for="dragHet"> Drag Ligand </label> <BR />
<input name="mode" id="dragChain" type="radio" title="Drag Chain" /> <label class="label" for="dragChain"> Drag Chain</label> <BR />
</span>
<BR />
<LABEL onclick="switchMenu('getSegments')">Fragment</LABEL><BR />
<span class="submenu" id="getSegments">
<button name="" id="b_show_segmenpanel" value="">Region</button>
</span>
<BR />
<LABEL onclick="switchMenu('getEditing')">Editing</LABEL><BR />
<span class="submenu" id="getEditing">
<button name="" id="b_show_editResidue" value="">Editing</button>
</span>
<BR />
<LABEL onclick="switchMenu('mutationMenu')">Mutation</LABEL><BR />
<span class="submenu" id="mutationMenu">
<button name="mutationNone" id="mutationNone" value="ExAC">Hide</button><BR />
<button name="mutationTCGA" id="mutationTCGA" value="TCGA">TCGA</button><BR />
<button name="mutationCCLE" id="mutationCCLE" value="CCLE">CCLE</button><BR />
<button name="mutationExAC" id="mutationExAC" value="ExAC">ExAC</button><BR />
<button name="dbSNP" id="dbSNP" value="dbSNP">dbSNP</button><BR />
<!--<button name="hideTable" id="hideTable" value="dbSNP">dbSNP</button><BR/>-->
<input name="showMutationTable" id="showMutationTable" type="checkbox" title="Hide Mutation Table" checked />
<label class="label" for="showMutationTable">Show Mutation Table</label><BR />
</span>
<BR />
<LABEL onclick="switchMenu('rotationMenu')">Rotation</LABEL><BR />
<span class="submenu" id="rotationMenu">
<button name="rotationSwitch" id="rotationSwitch" value="switch">Stop</button><BR />
<input name="rotateAxis" id="rotateByX" type="radio" title="Rotate By X Axis" value="1" /> <label class="label" for="rotateByX">Rotate By X Axis</label> <BR />
<input name="rotateAxis" id="rotateByY" type="radio" title="Rotate By Y Axis" value="2" /> <label class="label" for="rotateByY">Rotate By Y Axis</label> <BR />
<input name="rotateAxis" id="rotateByZ" type="radio" title="Rotate By Z Axis" value="3" checked /> <label class="label" for="rotateByZ">Rotate By Z Axis</label> <BR />
<button name="rotationLeft" id="rotationClockwise" value="left">Clockwise</button><BR />
<button name="rotationRight" id="rotationCounterclockwise" value="right">Counterclockwise</button><BR />
</span>
<BR />
<!-- <LABEL onclick="switchMenu('demoMenu')">Demos</LABEL><BR/> -->
<!-- <span class="submenu" id="demoMenu"> -->
<!-- <input name="mode" id="showDemo" checked="checked" type="checkbox" title="Show Demo" /> <label class="label" for="showDemo"> Show Demo</label> <BR/> -->
<!-- </span> -->
<!-- <BR/> -->
<!--<LABEL onclick="switchMenu('bondMenu')">Bond</LABEL><BR/>
<span class="submenu" id="bondMenu">
<button name="hideBond" id="hideBond" title="Hide Bond">Hide Bond</button> <BR/>
<button name="showHBond" id="showHBond" title="Show HBond">Show HBond</button> <BR/>
<button name="showSSBond" id="showSSBond" title="Show SSBond">Show SSBond</button> <BR/>
<button name="showCovalent" id="showCovalent" title="Show Covalent">Show Covalent</button> <BR/>
</span>
<BR/>-->
<div style="display:none">
<LABEL onclick="switchMenu('eCloud')">Density Map</LABEL><BR />
<span class="submenu" id="eCloud">
<!-- <label class="label"> Step Option </label><BR/> -->
<!-- <input id="step1" name="stepOption" type="radio" title="Map Type"/> <label class="label" for="threeMode"> 1.x </label> -->
<!-- <input id="step2" name="stepOption" checked="checked" type="radio" title="Map Type"/> <label class="label" for="threeMode"> 2.x </label> -->
<!-- <input id="step4" name="stepOption" type="radio" title="Map Type"/> <label class="label" for="threeMode"> 4.x </label> <BR/> -->
<button name="loadDensityMap" id="loadDensityMap">Load Density Map</button>
</span>
<BR />
</div>
<!--<LABEL onclick="switchMenu('conservation')">Conservation</LABEL><BR/>
<span class="submenu" id="conservation">
<button name="b_load_conser" id="b_load_conser" value="Export">Load Conservation Score</button>
</span>
<BR/>-->
<LABEL onclick="switchMenu('drugDesign')">Drugs & Docking</LABEL><BR />
<span class="submenu" id="drugDesign">
<button name="b_load_drug" id="b_load_drug" value="load drug">Load Drug</button><br />
<input name="hideDrug" id="hideDrug" type="checkbox" value="hideDrug" />
<label class="label" for="hideDrug">Hide Drug</label><br />
<input name="drugSurface" id="drugSurface" type="checkbox" title="Drug drug Surface" />
<label class="label" for="drugSurface">Drug Surface</label><br />
<!--<input name="randomMigration" id="randomMigration" type="checkbox" title="Drug Random Migration" />
<label class="label" for="randomMigration">Drug Random Migration</label><br /> -->
<input name="showBoxHelper" id="showBoxHelper" type="checkbox" title="Docking Region Box" />
<label class="label" for="showBoxHelper">Docking Region Box</label><br />
<button name="b_load_drug" id="hideDrugPanel" value="Hide Drug Panel">Hide Drug Panel</button><br />
</span>
<BR />
<LABEL onclick="switchMenu('exportScene')">Export</LABEL><BR />
<span class="submenu" id="exportScene">
<button name="b_export_scene" id="b_export_scene" value="Export">Export</button><br />
<select id="exportType">
<option value="MainStructure" selected>MainStructure</option>
<option value="LigandStructure">LigandStructure</option>
<option value="Map">Map</option>
</select><br />
<button name="b_export_pdb" id="b_export_pdb" value="Export">Export PDB</button>
<BR />
</span>
<!-- <LABEL onclick="switchMenu('chainNumThreshold')">ChainNumThreshold</LABEL><BR/> -->
<!-- <span class="submenu" id="chainNumThreshold"> -->
<!-- <button class="labelPDB chainSelected" name="chainName" id="chain_a">a</button>-->
<!-- </span> -->
<BR />
<LABEL onclick="switchMenu('speech')">Speech</LABEL><BR />
<span class="submenu" id="speech">
<input name="language" value="English" type="radio" id="English" onclick="getlanguage()" checked="true">
<label for="English">English</label>
<br>
<input name="language" value="Chinese" type="radio" id="Chinese" onclick="getlanguage()">
<label for="Chinese">Chinese</label>
<br>
</span>
<BR />
<LABEL onclick="switchMenu('contact')">Help</LABEL><BR />
<span class="submenu" id="contact">
<a href="docs" target="_blank">Docs</a>
<br>
<a href="https://github.com/kuixu/VRmol" target="_blank">Code</a>
<br>
<a href="https://github.com/kuixu/VRmol/issues" target="_blank">Issues</a>
<br>
<a href="mailto:[email protected]?Subject=VRmol">Email</a>
<br>
<a href="http://www.zhanglab.net" target="_blank">ZhangLab</a>
<br>
</span>
<BR />
<LABEL id="progmsg"></LABEL><BR />
<LABEL id="tip"></LABEL><br>
<progress id="progress" value="0"></progress>
<BR />
</div>
<div id="rightmenu">
<LABEL id="titleLab"></LABEL><BR />
<span class="rightsubmenu" id="menuSpan">
</span>
<BR />
</div>
<!--<div id="mutationTable">-->
<!--<span class="rightsubmenu" id="span">-->
<!--</span>-->
<!--</div>-->
<div id="menu"></div>
<div id="weChatMask"></div>
<div id="weChatPop"></div>
<div id="segmentholder"></div>
<div id="segmentPanel">
<div id="segmentHeader">
<span id="closesegment" class="closerClass"> X </span>
</div>
<div id="segmentContent">
<ul>
<li>Select Region</li>
<li style="margin-left:30px;list-style: none;">
<div class="segment_option">
<input name="selectedStyle" id="chainStyle" type="radio" value=2></input>
<span style="float:left;line-height: 38px; ">By Chain</span>
<!--<span style="float:left;color:#333;line-height: 38px; margin-left: 30px;">Chain ID</span>-->
<select id="chainIDSelect"></select>
</div>
<div class="segment_option">
<input id="fragmentStyle" type="radio" value=1 name="selectedStyle" checked></input>
<span style="float:left;line-height: 38px; ">By Fragment</span>
<!--<span style="float:left;color:#333;line-height: 38px; margin-left: 30px;">StartResidue:</span>-->
<select id="startPoint"></select>
<!--<span style="float:left;color:#333;line-height: 38px; margin-left: 30px;">EndResidue:</span>-->
<select id="endPoint"></select>
</div>
<div class="segment_option">
<input name="selectedStyle" id="sseType" type="radio" value=3></input>
<span style="float:left;line-height: 38px;">By sseType</span>
<!--<span style="float:left;color:#333;line-height: 38px; margin-left: 30px;">SSE TYPE:</span>-->
<select id="sseTypeSelect">
<option value=150>HELIX</option>
<option value=151>SHEET</option>
<option value=152>LOOP</option>
</select>
</div>
<div class="segment_option">
<input name="selectedStyle" id="residueType" type="radio" value=4></input>
<span style="float:left;line-height: 38px;">By residueType</span>
<!--<span style="float:left;color:#333;line-height: 38px; margin-left: 30px;">Residue TYPE:</span>-->
<select id="residueTypeSelect"> </select>
</div>
</li>
<br />
<li>Representation</li>
<li style="margin-left:30px;list-style: none;">
<div class="segment_option">
<span style="float:left;color:#333;line-height: 38px; margin-left: 30px;">Representation:</span>
<select id="selectedMode">
<option value=3>Backbone</option>
<option value=1>Line</option>
<option value=2>Dot</option>
<option value=6>Ball & Rod</option>
<option value=5>Stick</option>
<option value=4>Sphere</option>
<option value=7>Tube</option>
<option value=8>Ribbon-flat</option>
<option value=9>Ribbon-ellipse</option>
<option value=10>Ribbon-rectangle</option>
<option value=11>Ribbon-strip</option>
<option value=12>Ribbon-railway</option>
<option value=13>Ribbon-SS</option>
<option value=14>Surface</option>
</select>
</div>
</li>
<br />
<li>Fragment List</li>
</ul>
<div id="seletedPanel">
<!--<span class="fragment" attr=""><span class="fragmentdel">X</span> </span>-->
</div>
<button id="addSelected">Add Selected</button>
<button id="Confirm_fregment">Confirm</button>
</div>
</div>
<div id="editResidue">
<div id="editResidueHeader">
<span id="closeeditResidue" class="closerClass"> X </span>
</div>
<div id="editResidueContent">
<div style="">
<span>Selecting Residue</span>
</div>
<ul>
<li>
<span style="float: left;">Selecting Chain ID:</span>
<select id="chain_replace"></select>
</li>
<li>
<span style="float: left;">Selecting Residue ID:</span>
<select id="residue_replace"></select>
</li>
<li>
<span style="float: left;">Target Residue:</span>
<select id="allResidue"></select>
</li>
<li>
<span style="float: left;">Representation:</span>
<select id="representation">
<option value=1>LINE</option>
<option value=6>BALL_AND_ROD</option>
<option value=5>STICKS</option>
<option value=4>SPHERE</option>
</select>
</li>
<li>
<button id="b_replace">Replace</button>
</li>
</ul>
</div>
</div>
<button id="vrMode">VR Mode</button>
<script type="text/javascript" src="libs/index.js"></script>
<div id="labelContent_measure" style="position:absolute;bottom:30px;right:10px;color:#fff"> </div>
<div id="labelContent" style="position:absolute;bottom:10px;right:10px;color:#fff"> </div>
</body>
</html>