-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path0WD.html
More file actions
112 lines (99 loc) · 4 KB
/
0WD.html
File metadata and controls
112 lines (99 loc) · 4 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
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-60EDW3Y6ET"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-60EDW3Y6ET');
</script>
<title>Ligand 0WD</title></head>
<style type="text/css">
.auto-style4 {
margin-top: 0px;
text-align: center;
line-height: 85%;
}
.auto-style5 {
text-decoration: none;
}
</style>
<!--
Start of JSmol script
-->
<meta charset="utf-8"/> <script src="/jsmol/JSmol.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {Info = {
width: 1500,
height: 1000,
color: "0xB0B0B0",
disableInitialConsole: true,
addSelectionOptions: false,
j2sPath: "/jsmol/j2s",
use: "HTML5", script:
// Data set to be loaded
"load \
'0WD.pdb'; \
set measurementUnits ANGSTROMS; \
set bondRadiusMilliAngstroms (50); \
spacefill 15%; \
set display selected; \
hBonds calculate; \
set defaultDistanceLabel '%0.3VALUE %UNITS'; \
select none; \
set perspectivedepth off; \
connect 0.8 1.5 (hydrogen) (phosphorus) create; \
set zoomLarge false;"
}
$("#mydiv").html(Jmol.getAppletHtml("jmolApplet0",Info))});
</script>
<!--
End of JSmol script
-->
<body>
<h1 align="center">Ligand 0WD</h1>
<table>
<td>
<table>
<tr>
<td colspan="2">
<table>
<tr><td> Date:</td><td> </td><td>May 29 2017 15:01</td></tr>
<tr><td> No. atoms:</td><td> </td><td> 78</td></tr>
<tr><td> Formula:</td><td> </td><td>C<sub>21</sub>H<sub>30</sub>N<sub>7</sub>O<sub>17</sub>P<sub>3</sub></td></tr>
<tr><td> Net charge:</td><td> </td><td>Zero</td></tr>
</table>
</td></tr><tr>
<td><a href="javascript:Jmol.script(jmolApplet0,'
if (isOK1); Display *; zoom 0; isOK1 = FALSE; else hide *;
Q000 = FALSE;
isOK1 = TRUE; isOK2 = FALSE; lzoom = TRUE; lcenter = TRUE;
endif;')">Toggle display all</a>
</td>
<td><a href="javascript:Jmol.script(jmolApplet0,'
if (lcenter); lcenter = FALSE; else lcenter = TRUE; center {visible}; end if;
')">Toggle center picture</a> </td>
</tr> <tr>
<td><a href="javascript:Jmol.script(jmolApplet0,'console;')">Console</a> </td>
<td> <a href="javascript:Jmol.script(jmolApplet0,'if (lzoom); zoom 0; select */2.1; color bonds green; select none; lzoom = FALSE; else lzoom = TRUE; end if ')">Fit to screen</a> </td></tr><tr>
<td><a href="javascript:Jmol.script(jmolApplet0,'display within(3,visible);select */2.1; color bonds green; select none; if (lzoom); zoom 0; end if ')">Near Neighbors</a> </td>
<td><a href="javascript:Jmol.script(jmolApplet0,'connect (all) (all) delete; connect; display add connected(visible); select *; hbonds calculate; select */2.1; color bonds green; select none; if (lzoom); delay 0.001; zoom 0; end if ')">Connected Neighbors</a> </td>
</tr><tr>
<td colspan="2"><a href="javascript:Jmol.script(jmolApplet0,'script common.txt;')"><strong style="font-size:20px">Common Script</strong>
</a> (Read file from:<br/> "<a href="common.txt" target="_blank">common.txt</a>")</td>
</tr> <tr>
<td colspan="2"><a href="javascript:Jmol.script(jmolApplet0,'script \'0WD.txt\';')"><strong style="font-size:20px">Specific Script</strong>
</a> (Read file from:<br/> "<a href="0WD.txt" target="_blank">0WD.txt</a>")</td>
</tr></table>
<p align="center">Toggle Individual Residues</p>
<table>
<tr>
<td> <a class="auto-style5" href="javascript:Jmol.script(jmolApplet0,'if (! Q000 ); display ADD 0; Q000 = TRUE; else
hide ADD 0; Q000 = FALSE; end if; if (lcenter); center {visible}; end if; if (lzoom); zoom 0; end if;')">
<p class="auto-style4">X<br/>0 </p> </a></td>
</tr>
</table><br/>
</td><td>
<span id="mydiv"></span><a href="javascript:Jmol.script(jmolApplet0)"></a></td></table>
</body></html>