-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhelices.html
443 lines (407 loc) · 15.1 KB
/
helices.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
<script type="text/javascript" src="jsmol/JSmol.min.js"></script>
<script type="text/javascript">
var Info = {
color: "#FFFFFF", // white background
height: 400,
width: "100%", // fill the JSMol box to its container's width
coverImage: "images/white.png",
deferApplet: true, // don't load until user clicks on JSMol box
deferUncover: true, // don't uncover until script fully executed
script: "script scripts/helices1.txt",
use: "HTML5",
j2sPath: "jsmol/j2s",
serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php",
disableInitialConsole: true,
debug: false,
};
// don't load any JSMol until the page itself has finished loading
$(document).ready(function(){
// prevent JSMol from taking entire page
Jmol.setDocument(0);
// create new JSMol instance with parameters defined in Info above
Jmol.getApplet("myJmol1", Info);
// reuse Info parameters for subsequent JSMol instances, changing
// only the script path
Info.script = "script scripts/helices2.txt";
Jmol.getApplet("myJmol2", Info);
Info.script = "script scripts/helices3.txt";
Jmol.getApplet("myJmol3", Info);
Info.script = "script scripts/helices4.txt";
Jmol.getApplet("myJmol4", Info);
Info.script = "script scripts/helices5.txt";
Jmol.getApplet("myJmol5", Info);
Info.script = "script scripts/helices6.txt";
Jmol.getApplet("myJmol6", Info);
Info.script = "script scripts/helices7.txt";
Jmol.getApplet("myJmol7", Info);
Info.script = "script scripts/helices8.txt";
Jmol.getApplet("myJmol8", Info);
Info.script = "script scripts/helices9.txt";
Jmol.getApplet("myJmol9", Info);
Info.script = "script scripts/helices10.txt";
Jmol.getApplet("myJmol10", Info);
Info.script = "script scripts/helices11.txt";
Jmol.getApplet("myJmol11", Info);
// put JSMol code into the correct containers (id=jsmolWindowN)
$("#jsmolWindow1").html(Jmol.getAppletHtml(myJmol1));
$("#jsmolWindow2").html(Jmol.getAppletHtml(myJmol2));
$("#jsmolWindow3").html(Jmol.getAppletHtml(myJmol3));
$("#jsmolWindow4").html(Jmol.getAppletHtml(myJmol4));
$("#jsmolWindow5").html(Jmol.getAppletHtml(myJmol5));
$("#jsmolWindow6").html(Jmol.getAppletHtml(myJmol6));
$("#jsmolWindow7").html(Jmol.getAppletHtml(myJmol7));
$("#jsmolWindow8").html(Jmol.getAppletHtml(myJmol8));
$("#jsmolWindow9").html(Jmol.getAppletHtml(myJmol9));
$("#jsmolWindow10").html(Jmol.getAppletHtml(myJmol10));
$("#jsmolWindow11").html(Jmol.getAppletHtml(myJmol11));
// give our JSMol containers breathing room above and below
$("#myJmol1_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol2_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol3_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol4_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol5_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol6_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol7_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol8_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol9_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol10_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#myJmol11_appletinfotablediv").css({
"margin-top": "10px",
"margin-right": "auto",
"margin-bottom": "10px",
"margin-left": "auto"
});
$("#resetBtn1").click(reset1);
$("#resetBtn2").click(reset2);
$("#resetBtn3").click(reset3);
$("#resetBtn4").click(reset4);
$("#resetBtn5").click(reset5);
$("#resetBtn6").click(reset6);
$("#resetBtn7").click(reset7);
$("#resetBtn8").click(reset8);
$("#resetBtn9").click(reset9);
$("#resetBtn10").click(reset10);
$("#resetBtn11").click(reset11);
$("#spinBox1").click(spin1);
$("#spinBox2").click(spin2);
$("#spinBox3").click(spin3);
$("#spinBox4").click(spin4);
$("#spinBox5").click(spin5);
$("#spinBox6").click(spin6);
$("#spinBox7").click(spin7);
$("#spinBox8").click(spin8);
$("#spinBox9").click(spin9);
$("#spinBox10").click(spin10);
$("#spinBox11").click(spin11);
});
function reset1(event){
Jmol.script(myJmol1, "script scripts/helices1.txt")
};
function reset2(event){
Jmol.script(myJmol2, "script scripts/helices2.txt")
};
function reset3(event){
Jmol.script(myJmol3, "script scripts/helices3.txt")
};
function reset4(event){
Jmol.script(myJmol4, "script scripts/helices4.txt")
};
function reset5(event){
Jmol.script(myJmol5, "script scripts/helices5.txt")
};
function reset6(event){
Jmol.script(myJmol6, "script scripts/helices6.txt")
};
function reset7(event){
Jmol.script(myJmol7, "script scripts/helices7.txt")
};
function reset8(event){
Jmol.script(myJmol8, "script scripts/helices8.txt")
};
function reset9(event){
Jmol.script(myJmol9, "script scripts/helices9.txt")
};
function reset10(event){
Jmol.script(myJmol10, "script scripts/helices10.txt")
};
function reset11(event){
Jmol.script(myJmol11, "script scripts/helices11.txt")
};
function spin1(event){
if (event.target.checked){
Jmol.script(myJmol1, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol1, "spin off")
};
};
function spin2(event){
if (event.target.checked){
Jmol.script(myJmol2, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol2, "spin off")
};
};
function spin3(event){
if (event.target.checked){
Jmol.script(myJmol3, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol3, "spin off")
};
};
function spin4(event){
if (event.target.checked){
Jmol.script(myJmol4, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol4, "spin off")
};
};
function spin5(event){
if (event.target.checked){
Jmol.script(myJmol5, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol5, "spin off")
};
};
function spin6(event){
if (event.target.checked){
Jmol.script(myJmol6, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol6, "spin off")
};
};
function spin7(event){
if (event.target.checked){
Jmol.script(myJmol7, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol7, "spin off")
};
};
function spin8(event){
if (event.target.checked){
Jmol.script(myJmol8, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol8, "spin off")
};
};
function spin9(event){
if (event.target.checked){
Jmol.script(myJmol9, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol9, "spin off")
};
};
function spin10(event){
if (event.target.checked){
Jmol.script(myJmol10, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol10, "spin off")
};
};
function spin11(event){
if (event.target.checked){
Jmol.script(myJmol11, "set spin x 10; set spin y 10; spin on")
} else {
Jmol.script(myJmol11, "spin off")
};
};
// turn off the JSMol alert that binary file loading is limited
Jmol._alertNoBinary = false;
</script>
<!-- Page Title: Protein Helical Structures -->
<h2>Introduction</h2>
<p>
These scripts show three protein helical structures: an alpha-helix, a 3.10
helix, and a pi-helix. Each structure is composed of a polyalanine peptide,
where the phi/psi angles have been chosen to give the desired helix. For
each structure, please note two important features: The degree of packing in
the interior of the helix and the orientation of the hydrogen bonding found
in these structures.
</p>
<br>
<h2>Helices 1</h2>
<p>
These images show the most common form of a helical structure, the
α-helix. There are several ways to represent this structure
graphically. The first representation is called a stick or wireframe
diagram, similar to what is seen in organic chemistry.
</p>
<!-- JSMol Window Container -->
<div id="jsmolWindow1"></div>
<!-- UI Control Box -->
<div style="text-align: center;">
<!-- give the button a right margin for spacing -->
<button type="button" id="resetBtn1" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox1"> Spin On/Off
</div>
<br>
<h2>Helices 2</h2>
<p>
This view is an expansion of the wireframe where the individual atoms are
shown as little spheres.
</p>
<div id="jsmolWindow2"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn2" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox2"> Spin On/Off
</div>
<br>
<h2>Helices 3</h2>
<p>
This view is a cartoon or ribbon diagram. This and the previous two models
give the false impression that the interior of the helix is hollow, which it
is not.
</p>
<div id="jsmolWindow3"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn3" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox3"> Spin On/Off
</div>
<br>
<h2>Helices 4</h2>
<p>
This view is a space-filling or CPK representation of the alpha helix. Note
how the "hollow" core is, in fact, very filled.
</p>
<div id="jsmolWindow4"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn4" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox4"> Spin On/Off
</div>
<br>
<h2>Helices 5</h2>
<p>
A second important aspect of the helix is the nature of the hydrogen bonding
that helps stabilize the structure. Notice that the hydrogen bonds run
almost parallel with the axis of the helix. There are 3.6 residues per turn
of an alpha helix and there are 13 atoms in the ring formed by closing the
hydrogen bond, including the proton (not shown in this figure). Thus, an
alpha helix is referred to as a 3.6(13) helix. <strong>Residue</strong>
numbers are <span style="color:red;">RED</span> and <strong>Hydrogen Bond
Ring Atom</strong>
</p>
<div id="jsmolWindow5"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn5" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox5"> Spin On/Off
</div>
<br>
<h2>Helices 6</h2>
<p>
This image shows a less commonly encountered 3(10) helix. Note, there are
three residues per turn and 10 atoms forming the ring closing the hydrogen
bond. Note, when compared to the alpha helix, this helix has an almost
perfectly triangular core. Also notice the greater angle of the hydrogen
bonds, compared to those seen in the alpha-helix.
</p>
<div id="jsmolWindow6"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn6" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox6"> Spin On/Off
</div>
<br>
<h2>Helices 7</h2>
<p>
This view shows the 3(10) helix in a CPK or spacefilling representation.
Notice that the core is completely filled.
</p>
<div id="jsmolWindow7"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn7" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox7"> Spin On/Off
</div>
<br>
<h2>Helices 8</h2>
<p>
The yellow trace in this image highlights the 10 atoms comprising the ring
closed by the hydrogen bonding. The 10th atom, the proton, is not shown.
</p>
<div id="jsmolWindow8"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn8" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox8"> Spin On/Off
</div>
<br>
<h2>Helices 9</h2>
<p>
These images show a third helical structure, the pi-helix. There are 4.4
residues per turn of a pi-helix and 16 residues forming the ring created by
the hydrogen bonding. Thus, this is a 4.4(16) helix. Notice that the core of
this the pi-helix is almost perfectly square.
</p>
<div id="jsmolWindow9"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn9" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox9"> Spin On/Off
</div>
<br>
<h2>Helices 10</h2>
<p>
This image shows a spacefilling representation of the pi-helix. Note that
there is a small gap in the interior of the helix barrel.
</p>
<div id="jsmolWindow10"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn10" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox10"> Spin On/Off
</div>
<br>
<h2>Helices 11</h2>
<p>
This image shows a trace of the 16 atoms comprising the ring formed by
hydrogen bonding and the 4.4 residues per turn of the the helix.
</p>
<div id="jsmolWindow11"></div>
<div style="text-align: center; margin-top: 10px;">
<button type="button" id="resetBtn11" style="margin-right: 10px;">Reset</button>
<input type="checkbox" id="spinBox11"> Spin On/Off
</div>