
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://proteopedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Karsten+Theis</id>
	<title>Proteopedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://proteopedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Karsten+Theis"/>
	<link rel="alternate" type="text/html" href="https://proteopedia.org/Special:Contributions/Karsten_Theis"/>
	<updated>2026-09-16T01:26:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Sandbox_1&amp;diff=4382195</id>
		<title>User:Karsten Theis/Sandbox 1</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Sandbox_1&amp;diff=4382195"/>
		<updated>2025-10-12T02:35:24Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;applet size=&#039;[450,338]&#039; frame=&#039;true&#039; align=&#039;right&#039; &lt;br /&gt;
scene=&#039;User:Karsten_Theis/Sandbox_1/Globe3/2&#039; &lt;br /&gt;
caption=&#039;UvrB&#039; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref&amp;gt;DOI:10.1002/open.201300012&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the &amp;lt;scene name=&#039;49/491982/Pentane/1&#039;&amp;gt;pentane&amp;lt;/scene&amp;gt; molecule. Here is how it can rotate around its single bonds to get a different conformation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
 &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
  &amp;lt;script&amp;gt;  var a = [1,2,3,4,5,6,7,8,9,10]; var b = [1,2,3,4,5,6,7,8,9,10]; for(var i IN a) {for(var i IN b){set refreshing false; rotate branch {C3}{C4} 5; rotate branch {C3}{C2} 2; set refreshing true; delay 0.05}}&lt;br /&gt;
  &amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;rotate&amp;lt;/text&amp;gt;&lt;br /&gt;
 &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
 &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
  &amp;lt;script&amp;gt;  load $pentane; rotate BRANCH [1 2 3 4 0 900 3 2 1 0 1800 0] 10&lt;br /&gt;
  &amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;Simpler, single command script&amp;lt;/text&amp;gt; &lt;br /&gt;
 &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
load $pentane; rotate BRANCH [1 2 3 4 0 900 3 2 1 0 1800 0] 10&lt;br /&gt;
&lt;br /&gt;
For large structures, use label &amp;quot;%D&amp;quot; to find numbers of selected atoms.&lt;br /&gt;
&lt;br /&gt;
Metallorganic framework &amp;lt;scene name=&#039;49/491982/Mof_hexagonal/1&#039;&amp;gt;hexagonal&amp;lt;/scene&amp;gt; or cubic&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;User:Karsten_Theis/Sandbox_1/Globe2/1&#039;&amp;gt;Proteopedia&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;User:Karsten_Theis/Sandbox_1/Fig1/1&#039;&amp;gt;UvrB&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;User:Karsten_Theis/Sandbox_1/Globe3/1&#039;&amp;gt;Fancy&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;49/491982/Proinsulin/1&#039;&amp;gt;insulin&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;49/491982/Proinsulin/6&#039;&amp;gt;insulin surface&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;49/491982/Amyloid_stack_2m5n/2&#039;&amp;gt;amyloid aggregate&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;49/491982/1bna/1&#039;&amp;gt;DNA&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;49/491982/1bna/3&#039;&amp;gt;DNA different orientation&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
 &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
  &amp;lt;script&amp;gt; slab on; var a = [1,2,3,4,5,6,7,8]; for(var i IN a) {isosurface translucent @i; delay 0.4;}&lt;br /&gt;
  &amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;Fade surface to invisible&amp;lt;/text&amp;gt;&lt;br /&gt;
 &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; (basic)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Table ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[http://www.google.com W2]&amp;lt;br&amp;gt; [[Image:Insulin.gif|link=Insulin]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[Image:Insulin.gif]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[Image:Insulin.gif]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[Image:Insulin.gif]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[Image:Insulin.gif]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[Image:Insulin.gif]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[Image:Insulin.gif]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[Image:Insulin.gif]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[Image:Insulin.gif]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=File:MOFhexagonal.png&amp;diff=4382194</id>
		<title>File:MOFhexagonal.png</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=File:MOFhexagonal.png&amp;diff=4382194"/>
		<updated>2025-10-12T02:27:50Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: CSD Entry: QEKBAK&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
CSD Entry: QEKBAK&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Jmol/Superposition&amp;diff=4352725</id>
		<title>Jmol/Superposition</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Jmol/Superposition&amp;diff=4352725"/>
		<updated>2025-07-07T15:37:30Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This page is a tutorial on how to superimpose two structures in Jmol and show them in Proteopedia. Superpositions (or overlays) are a way to compare two structures by moving them on top of one another so the [[Superposition_with_jmol#Equivalent_atoms|&amp;quot;equivalent atoms&amp;quot;]] are close to one another. Because the two structures are different, not all equivalent atoms can match at the same time. Instead, you minimize the root-mean-square of the distances (RMSD) to achieve a compromise. If you want to see superpositions in the context of a Proteopedia page (and look at the underlying Jmol scripts), take a look at [[Garman lab: Interconversion of lysosomal enzyme specificities]] and [[Schubert lab: bacterial InIC disrupts human Tuba complexes]].&lt;br /&gt;
&lt;br /&gt;
==Loading two structures==&lt;br /&gt;
Before you can superimpose two structures in Jmol, they have to be loaded at the same time. The &amp;quot;load files&amp;quot; command accomplishes that. In the following, the related structures with the PDB IDs 3HG5 and 3H54 are loaded:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load files &amp;quot;=3HG5&amp;quot; &amp;quot;=3H54&amp;quot;&lt;br /&gt;
model 0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Once they are loaded, you refer to them as &amp;quot;1.1&amp;quot; and &amp;quot;2.1&amp;quot;. The number before the decimal point refers to the two structures, while the &amp;quot;1&amp;quot; after the decimal point refers to the first model in the respective coordinate set. (If you want to superimpose different parts of a single structure, for example the two subunits in a dimer, you just load one structure, and access the subunits via the chain identifier - examples will follow). The model command determines which model will be displayed (0 means all).&lt;br /&gt;
&lt;br /&gt;
==Equivalent atoms==&lt;br /&gt;
You have to choose which sets of atoms should be superimposed, i.e. the distances of which pairs of atoms should be minimized. In this example, we choose the alpha carbons of the respective active sites, but other choices are possible. In Jmol, you need two atom selection expressions, one for each structure. Because you want pairs of equivalent atoms, the number of atoms selected in the first structure should be equal to the number of atoms selected in the second set. In our example, we first define two atom selections, and then use these later.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
# define active site C-alpha atoms&lt;br /&gt;
define ~actgal 1.1 and (47,92,93,134,142,168,170,172,203,206,207,227,231) and *:A.CA&lt;br /&gt;
define ~actnagal 2.1 and (33,78,79,119,127,154,156,158,188,191,192,213,217) and *:A.CA&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know which atoms to superimpose, or if you don&#039;t even know which other structure is similar to the one of interest, you can do a [[Structural alignment tools|structural alignment]] first. The output will tell you which structures show similarity to the one of interest, and it will show a list of equivalent atoms (usually it just considers C-alpha atoms for protein structures). Historically,  [https://en.wikipedia.org/wiki/Jane_S._Richardson Jane Richardson&#039;s] beautiful [https://en.wikipedia.org/wiki/Ribbon_diagram ribbon diagrams] played an important role in detecting structural similarities through human pattern recognition (&amp;quot;This cartoon looks similar to another structure I saw previously&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
If you know which residues you want to target for superposition because you have a multiple sequence alignment, you can go to [https://github.com/fomightez/cl_demo-binder here], press a `launch binder` badge to launch an active Jupyter session in your browser and then select from the index of notebooks &#039;Determine residues that match to a reference from multiple sequence alignment and use to construct fit commands&#039; to work through a Jupyter notebook that steps process of using a multiple sequence alignment to determine residues that are expected to be equivalents and then at the bottom of the section generates Jmol commands. You can substitute your own alignment and structure of interest once you follow how it works.&lt;br /&gt;
&lt;br /&gt;
==Compare command==&lt;br /&gt;
The Jmol command to superimpose structures is called &amp;quot;compare&amp;quot;, and it has a lot of parameters. Here is an example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
compare {2.1} {1.1} ATOMS {~actnagal} {~actgal} ROTATE TRANSLATE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The first two parameters &amp;quot;{2.1}{1.1}&amp;quot; define which atoms will be affected by the superposition. Here, we choose all of the atoms in the two structures. Next, the atom selections after the &amp;quot;ATOMS&amp;quot; keyword define which equivalent pairs of atoms. Here, we are using the atoms selections previously defined, but you can also use atom selections on the fly. Within these selections, atoms will be paired up in order (first atom in first selection pairs with first atom in second selection, ..., N-th atom in first selection pairs with N-th atom in second selection). If this is not the pairing you want, you can split up the selection and add more selection statements, i.e. something like &amp;quot;{selection A of structure 1}{selection A of structure 2}{selection B of structure 1}{selection B of structure 2}...&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Finally, the &amp;quot;ROTATE TRANSLATE&amp;quot; keywords do the actual superposition, i.e. change the coordinates of the first structure (in our case all coordinates of the single model in the second structure because we specified this with the first parameter &amp;quot;2.1&amp;quot;). This change of parameters is permanent, so for all following commands displaying structures, the coordinates will be superimposed.&lt;br /&gt;
&lt;br /&gt;
If the superposition is successful, the root mean square distance (RMSD) of matching atoms will be displayed in the console. If there is no output, the superposition failed (e.g. if less than 3 atoms are selected).&lt;br /&gt;
&lt;br /&gt;
==Displaying the superposed structures==&lt;br /&gt;
Once the structures are superimposed, you can show them using the usual selection and drawing commands. To avoid selecting atoms from the second structure by accident when you just want atoms from the first structure, the easiest is to add a &amp;quot;and 1.1&amp;quot; to your selections. Here is an example of two separate sets of commands to draw a cartoon of the first structure in green and the second in blue. &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
model 0&lt;br /&gt;
select protein and 1.1; cartoon; color palegreen; center selected&lt;br /&gt;
select protein and 2.1; cartoon; color cornflowerblue;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Jmol does not alert you if your sets of equivalent atoms used in a superposition contain different number of atoms. Let&#039;s say you made a mistake in your selection and the first atom set contains 50 atoms and the second contains 51. Jmol will just ignore the last atom in the second set. However, your mistake might have messed up the pairing of atoms you intended. The only feedback Jmol gives is the so-called RMSD (the root-mean-square distance of equivalent atom pairs). You can also check if your superposition makes sense by displaying both structures, and checking if equivalent atoms are close to each other.&lt;br /&gt;
&lt;br /&gt;
If something did go awry, an efficient way of troubleshooting is to list the selected atoms. Whenever you select atoms, Jmol tells you how many atoms are selected. The command &amp;quot;show selection&amp;quot; shows a list of all the selected atoms. If you put both lists side by side, the intended equivalent atom pairs should line up.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
define ~actgal 1.1 and (47,92,93,134,142,168,170,172,203,206,207,227,231) and *:A.CA&lt;br /&gt;
define ~actnagal 2.1 and (33,78,79,119,127,154,156,158,188,191,192,213,217) and *:A.CA&lt;br /&gt;
select ~actgal&lt;br /&gt;
show selected&lt;br /&gt;
select ~actnagal&lt;br /&gt;
show selected&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the output:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
structure 1		        structure 2&lt;br /&gt;
13 atoms selected		13 atoms selected&lt;br /&gt;
[TRP]47:A.CA/1.1 #119		[TRP]33:A.CA/2.1 #115&lt;br /&gt;
[ASP]92:A.CA/1.1 #489		[ASP]78:A.CA/2.1 #496&lt;br /&gt;
[ASP]93:A.CA/1.1 #497		[ASP]79:A.CA/2.1 #504&lt;br /&gt;
[TYR]134:A.CA/1.1 #826		[TYR]119:A.CA/2.1 #814&lt;br /&gt;
[CYS]142:A.CA/1.1 #886		[CYS]127:A.CA/2.1 #877&lt;br /&gt;
[LYS]168:A.CA/1.1 #1086		[LYS]154:A.CA/2.1 #1088&lt;br /&gt;
[ASP]170:A.CA/1.1 #1106		[ASP]156:A.CA/2.1 #1105&lt;br /&gt;
[CYS]172:A.CA/1.1 #1118		[CYS]158:A.CA/2.1 #1117&lt;br /&gt;
[GLU]203:A.CA/1.1 #1358		[SER]188:A.CA/2.1 #1338&lt;br /&gt;
[LEU]206:A.CA/1.1 #1388		[ALA]191:A.CA/2.1 #1365&lt;br /&gt;
[TYR]207:A.CA/1.1 #1396		[TYR]192:A.CA/2.1 #1370&lt;br /&gt;
[ARG]227:A.CA/1.1 #1587		[ARG]213:A.CA/2.1 #1550&lt;br /&gt;
[ASP]231:A.CA/1.1 #1622		[ASP]217:A.CA/2.1 #1589&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It shows that even though the residue numbers are different within the pairs, most pairs have matching residue types, supporting the notion that atoms are indeed equivalent. (Exceptions are Glu203 vs Ser188, and Leu206 vs Ala 191, which do occupy equivalent positions in the active site but are responsible for different substrate specificities of the two enzymes). This method is excellent for spotting problems like typos, problems related to missing residues in one or the other structure, alternate conformations (i.e. selecting two C-alpha atoms for a single residue), etc.&lt;br /&gt;
&lt;br /&gt;
The [[Image:storymorph.spt | storymorph]] suite of functions has two ways to check selections. &amp;quot;atom_order(sel1, sel2)&amp;quot; prints the selected atoms in the two sets side-by-side. The function &amp;quot;matched_residues(sel1, sel2)&amp;quot; goes through all residue numbers and says whether both selections contain the same number of atoms of a given residue number.&lt;br /&gt;
&lt;br /&gt;
The [[Jmol/Storymorph#Helper_functions|Storymorph]] scripts contain helper functions mathed_residues and atom_order that make troubleshooting easier.&lt;br /&gt;
&lt;br /&gt;
==Demonstration==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;3hg5&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039;&amp;gt;&lt;br /&gt;
The initial scene is one of the two example structures, 3HG5. Click on the green link to see the &amp;lt;scene name=&#039;79/794960/Test/4&#039;&amp;gt;superposition&amp;lt;/scene&amp;gt; of 3HG5 and 3H54 resulting from the example code above. It is nice to offer views of just one or the other structure, or animate the scene go back and forth. This makes it easier to examine the structures. &lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.2; model 1&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;structure 1&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.5; model 2&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;structure 2&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.5; model 0&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;both&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;animation mode loop; animation on&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;animate&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The four buttons above were created with the following script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.2; model 1&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;structure 1&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.5; model 2&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;structure 2&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.5; model 0&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;both&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;animation mode loop; animation on&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;animate&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Superposition of atoms within a single structure===&lt;br /&gt;
We can also do a superposition of the two subunits in the dimer of a single structure, say &amp;lt;scene name=&#039;79/794960/Dimer_intact/1&#039;&amp;gt;3HG5&amp;lt;/scene&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can see an animation of the superposition by clicking on the button below (to get back to the dimer, click on the green link above):&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;compare {*:A} {*:B} SUBSET{*.CA} ATOMS{protein}{protein} ROTATE TRANSLATE 2.0&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;Superimpose!&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting scene is &amp;lt;scene name=&#039;79/794960/Dimer_difference/1&#039;&amp;gt;here&amp;lt;/scene&amp;gt; and the commands used to make this figure are below.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load 3HG5&lt;br /&gt;
compare {*:A} {*:B} SUBSET{*.CA} ATOMS{protein}{protein} ROTATE TRANSLATE&lt;br /&gt;
select all; center selected&lt;br /&gt;
cartoon only&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script compares (and superimposes) all C-alpha atoms of chain A with all of chain B. This script would not do a good job if - say - the first couple residues were missing in chain A but not in chain B (because the atom pairs would not be matched up correctly). In our case, however, each subunit has the same residues in the same order, so it works nicely.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need a console:&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt; console;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;console&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Jmol/Superposition&amp;diff=4352724</id>
		<title>Jmol/Superposition</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Jmol/Superposition&amp;diff=4352724"/>
		<updated>2025-07-07T15:35:09Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This page is a tutorial on how to superimpose two structures in Jmol and show them in Proteopedia. Superpositions (or overlays) are a way to compare two structures by moving them on top of one another so the [[Superposition_with_jmol#Equivalent_atoms|&amp;quot;equivalent atoms&amp;quot;]] are close to one another. Because the two structures are different, not all equivalent atoms can match at the same time. Instead, you minimize the root-mean-square of the distances (RMSD) to achieve a compromise. If you want to see superpositions in the context of a Proteopedia page (and look at the underlying Jmol scripts), take a look at [[Garman lab: Interconversion of lysosomal enzyme specificities]] and [[Schubert lab: bacterial InIC disrupts human Tuba complexes]].&lt;br /&gt;
&lt;br /&gt;
==Loading two structures==&lt;br /&gt;
Before you can superimpose two structures in Jmol, they have to be loaded at the same time. The &amp;quot;load files&amp;quot; command accomplishes that. In the following, the related structures with the PDB IDs 3HG5 and 3H54 are loaded:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load files &amp;quot;=3HG5&amp;quot; &amp;quot;=3H54&amp;quot;&lt;br /&gt;
model 0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Once they are loaded, you refer to them as &amp;quot;1.1&amp;quot; and &amp;quot;2.1&amp;quot;. The number before the decimal point refers to the two structures, while the &amp;quot;1&amp;quot; after the decimal point refers to the first model in the respective coordinate set. (If you want to superimpose different parts of a single structure, for example the two subunits in a dimer, you just load one structure, and access the subunits via the chain identifier - examples will follow). The model command determines which model will be displayed (0 means all).&lt;br /&gt;
&lt;br /&gt;
==Equivalent atoms==&lt;br /&gt;
You have to choose which sets of atoms should be superimposed, i.e. the distances of which pairs of atoms should be minimized. In this example, we choose the alpha carbons of the respective active sites, but other choices are possible. In Jmol, you need two atom selection expressions, one for each structure. Because you want pairs of equivalent atoms, the number of atoms selected in the first structure should be equal to the number of atoms selected in the second set. In our example, we first define two atom selections, and then use these later.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
# define active site C-alpha atoms&lt;br /&gt;
define ~actgal 1.1 and (47,92,93,134,142,168,170,172,203,206,207,227,231) and *:A.CA&lt;br /&gt;
define ~actnagal 2.1 and (33,78,79,119,127,154,156,158,188,191,192,213,217) and *:A.CA&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know which atoms to superimpose, or if you don&#039;t even know which other structure is similar to the one of interest, you can do a [[Structural alignment tools|structural alignment]] first. The output will tell you which structures show similarity to the one of interest, and it will show a list of equivalent atoms (usually it just considers C-alpha atoms for protein structures). Historically,  [https://en.wikipedia.org/wiki/Jane_S._Richardson Jane Richardson&#039;s] beautiful [https://en.wikipedia.org/wiki/Ribbon_diagram ribbon diagrams] played an important role in detecting structural similarities through human pattern recognition (&amp;quot;This cartoon looks similar to another structure I saw previously&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
If you know which residues you want to target for superposition because you have a multiple sequence alignment, you can go to [https://github.com/fomightez/cl_demo-binder here], press a `launch binder` badge to launch an active Jupyter session in your browser and then select from the index of notebooks &#039;Determine residues that match to a reference from multiple sequence alignment and use to construct fit commands&#039; to work through a Jupyter notebook that steps process of using a multiple sequence alignment to determine residues that are expected to be equivalents and then at the bottom of the section generates Jmol commands. You can substitute your own alignment and structure of interest once you follow how it works.&lt;br /&gt;
&lt;br /&gt;
==Compare command==&lt;br /&gt;
The Jmol command to superimpose structures is called &amp;quot;compare&amp;quot;, and it has a lot of parameters. Here is an example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
compare {2.1} {1.1} ATOMS {~actnagal} {~actgal} ROTATE TRANSLATE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The first two parameters &amp;quot;{2.1}{1.1}&amp;quot; define which atoms will be affected by the superposition. Here, we choose all of the atoms in the two structures. Next, the atom selections after the &amp;quot;ATOMS&amp;quot; keyword define which equivalent pairs of atoms. Here, we are using the atoms selections previously defined, but you can also use atom selections on the fly. Within these selections, atoms will be paired up in order (first atom in first selection pairs with first atom in second selection, ..., N-th atom in first selection pairs with N-th atom in second selection). If this is not the pairing you want, you can split up the selection and add more selection statements, i.e. something like &amp;quot;{selection A of structure 1}{selection A of structure 2}{selection B of structure 1}{selection B of structure 2}...&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Finally, the &amp;quot;ROTATE TRANSLATE&amp;quot; keywords do the actual superposition, i.e. change the coordinates of the first structure (in our case all coordinates of the single model in the second structure because we specified this with the first parameter &amp;quot;2.1&amp;quot;). This change of parameters is permanent, so for all following commands displaying structures, the coordinates will be superimposed.&lt;br /&gt;
&lt;br /&gt;
If the superposition is successful, the root mean square distance (RMSD) of matching atoms will be displayed in the console. If there is no output, the superposition failed (e.g. if less than 3 atoms are selected).&lt;br /&gt;
&lt;br /&gt;
==Displaying the superposed structures==&lt;br /&gt;
Once the structures are superimposed, you can show them using the usual selection and drawing commands. To avoid selecting atoms from the second structure by accident when you just want atoms from the first structure, the easiest is to add a &amp;quot;and 1.1&amp;quot; to your selections. Here is an example of two separate sets of commands to draw a cartoon of the first structure in green and the second in blue. &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
model 0&lt;br /&gt;
select protein and 1.1; cartoon; color palegreen; center selected&lt;br /&gt;
select protein and 2.1; cartoon; color cornflowerblue;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Jmol does not alert you if your sets of equivalent atoms used in a superposition contain different number of atoms. Let&#039;s say you made a mistake in your selection and the first atom set contains 50 atoms and the second contains 51. Jmol will just ignore the last atom in the second set. However, your mistake might have messed up the pairing of atoms you intended. The only feedback Jmol gives is the so-called RMSD (the root-mean-square distance of equivalent atom pairs). You can also check if your superposition makes sense by displaying both structures, and checking if equivalent atoms are close to each other.&lt;br /&gt;
&lt;br /&gt;
If something did go awry, an efficient way of troubleshooting is to list the selected atoms. Whenever you select atoms, Jmol tells you how many atoms are selected. The command &amp;quot;show selection&amp;quot; shows a list of all the selected atoms. If you put both lists side by side, the intended equivalent atom pairs should line up.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
define ~actgal 1.1 and (47,92,93,134,142,168,170,172,203,206,207,227,231) and *:A.CA&lt;br /&gt;
define ~actnagal 2.1 and (33,78,79,119,127,154,156,158,188,191,192,213,217) and *:A.CA&lt;br /&gt;
select ~actgal&lt;br /&gt;
show selected&lt;br /&gt;
select ~actnagal&lt;br /&gt;
show selected&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the output:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
structure 1		        structure 2&lt;br /&gt;
13 atoms selected		13 atoms selected&lt;br /&gt;
[TRP]47:A.CA/1.1 #119		[TRP]33:A.CA/2.1 #115&lt;br /&gt;
[ASP]92:A.CA/1.1 #489		[ASP]78:A.CA/2.1 #496&lt;br /&gt;
[ASP]93:A.CA/1.1 #497		[ASP]79:A.CA/2.1 #504&lt;br /&gt;
[TYR]134:A.CA/1.1 #826		[TYR]119:A.CA/2.1 #814&lt;br /&gt;
[CYS]142:A.CA/1.1 #886		[CYS]127:A.CA/2.1 #877&lt;br /&gt;
[LYS]168:A.CA/1.1 #1086		[LYS]154:A.CA/2.1 #1088&lt;br /&gt;
[ASP]170:A.CA/1.1 #1106		[ASP]156:A.CA/2.1 #1105&lt;br /&gt;
[CYS]172:A.CA/1.1 #1118		[CYS]158:A.CA/2.1 #1117&lt;br /&gt;
[GLU]203:A.CA/1.1 #1358		[SER]188:A.CA/2.1 #1338&lt;br /&gt;
[LEU]206:A.CA/1.1 #1388		[ALA]191:A.CA/2.1 #1365&lt;br /&gt;
[TYR]207:A.CA/1.1 #1396		[TYR]192:A.CA/2.1 #1370&lt;br /&gt;
[ARG]227:A.CA/1.1 #1587		[ARG]213:A.CA/2.1 #1550&lt;br /&gt;
[ASP]231:A.CA/1.1 #1622		[ASP]217:A.CA/2.1 #1589&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It shows that even though the residue numbers are different within the pairs, most pairs have matching residue types, supporting the notion that atoms are indeed equivalent. (Exceptions are Glu203 vs Ser188, and Leu206 vs Ala 191, which do occupy equivalent positions in the active site but are responsible for different substrate specificities of the two enzymes). This method is excellent for spotting problems like typos, problems related to missing residues in one or the other structure, alternate conformations (i.e. selecting two C-alpha atoms for a single residue), etc.&lt;br /&gt;
&lt;br /&gt;
The [[Image:storymorph.spt | storymorph]] suite of functions has two ways to check selections. &amp;quot;atom_order(sel1, sel2)&amp;quot; prints the selected atoms in the two sets side-by-side. The function &amp;quot;matched_residues(sel1, sel2)&amp;quot; goes through all residue numbers and says whether both selections contain the same number of atoms of a given residue number.&lt;br /&gt;
&lt;br /&gt;
The [[Jmol/Storymorph#Helper_functions|Storymorph]] scripts contain helper functions mathed_residues and atom_order that make troubleshooting easier.&lt;br /&gt;
&lt;br /&gt;
==Demonstration==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;3hg5&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039;&amp;gt;&lt;br /&gt;
The initial scene is one of the two example structures, 3HG5. Click on the green link to see the &amp;lt;scene name=&#039;79/794960/Test/3&#039;&amp;gt;superposition&amp;lt;/scene&amp;gt; of 3HG5 and 3H54 resulting from the example code above. It is nice to offer views of just one or the other structure, or animate the scene go back and forth. This makes it easier to examine the structures. &lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.2; model 1&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;structure 1&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.5; model 2&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;structure 2&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.5; model 0&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;both&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;animation mode loop; animation on&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;animate&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The four buttons above were created with the following script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.2; model 1&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;structure 1&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.5; model 2&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;structure 2&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; delay 1.5; model 0&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;both&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;animation mode loop; animation on&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;animate&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Superposition of atoms within a single structure===&lt;br /&gt;
We can also do a superposition of the two subunits in the dimer of a single structure, say &amp;lt;scene name=&#039;79/794960/Dimer_intact/1&#039;&amp;gt;3HG5&amp;lt;/scene&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can see an animation of the superposition by clicking on the button below (to get back to the dimer, click on the green link above):&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;compare {*:A} {*:B} SUBSET{*.CA} ATOMS{protein}{protein} ROTATE TRANSLATE 2.0&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;Superimpose!&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting scene is &amp;lt;scene name=&#039;79/794960/Dimer_difference/1&#039;&amp;gt;here&amp;lt;/scene&amp;gt; and the commands used to make this figure are below.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load 3HG5&lt;br /&gt;
compare {*:A} {*:B} SUBSET{*.CA} ATOMS{protein}{protein} ROTATE TRANSLATE&lt;br /&gt;
select all; center selected&lt;br /&gt;
cartoon only&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script compares (and superimposes) all C-alpha atoms of chain A with all of chain B. This script would not do a good job if - say - the first couple residues were missing in chain A but not in chain B (because the atom pairs would not be matched up correctly). In our case, however, each subunit has the same residues in the same order, so it works nicely.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need a console:&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt; console;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;console&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348066</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348066"/>
		<updated>2025-06-20T02:46:22Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. To assemble it, you bring the two flat sides together (the view is a &amp;quot;butterflied&amp;quot; version of the structure). On the left is the N-terminal part (roughly) with the nucleic acid forming a transcription bubble. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm. For an annotated image, see below.&lt;br /&gt;
&lt;br /&gt;
[[Image:1msw legend.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1081719/T7_rnap/2&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/2&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 3.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 3.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 3.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 3.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 3.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;select protein; cartoon off; spacefill off; backbone 0.5&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;alpha trace&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348065</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348065"/>
		<updated>2025-06-20T02:45:07Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. To assemble it, you bring the two flat sides together (the view is a &amp;quot;butterflied&amp;quot; version of the structure). On the left is the N-terminal part (roughly) with the nucleic acid forming a transcription bubble. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm. For an annotated image, see below.&lt;br /&gt;
&lt;br /&gt;
[[Image:1msw legend.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1081719/T7_rnap/2&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/2&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 5.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 5.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 5.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 5.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 5.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;select protein; cartoon off; spacefill off; backbone 0.5&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;alpha trace&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348064</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348064"/>
		<updated>2025-06-20T02:43:42Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. To assemble it, you bring the two flat sides together (the view is a &amp;quot;butterflied&amp;quot; version of the structure). On the left is the N-terminal part (roughly) with the nucleic acid forming a transcription bubble. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm. For an annotated image, see below.&lt;br /&gt;
&lt;br /&gt;
[[Image:1msw legend.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1081719/T7_rnap/2&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/2&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;select protein; cartoon off; spacefill off; backbone 0.5&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;alpha trace&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348063</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348063"/>
		<updated>2025-06-20T02:41:55Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. To assemble it, you bring the two flat sides together (the view is a &amp;quot;butterflied&amp;quot; version of the structure). On the left is the N-terminal part (roughly) with the nucleic acid forming a transcription bubble. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm. For an annotated image, see below.&lt;br /&gt;
&lt;br /&gt;
[[Image:1msw legend.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1081719/T7_rnap/2&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/2&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface on; select protein; cartoon off; spacefill off&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;surface&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348062</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348062"/>
		<updated>2025-06-20T02:41:12Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. To assemble it, you bring the two flat sides together (the view is a &amp;quot;butterflied&amp;quot; version of the structure). On the left is the N-terminal part (roughly) with the nucleic acid forming a transcription bubble. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm. For an annotated image, see below.&lt;br /&gt;
&lt;br /&gt;
[[Image:1msw legend.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1081719/T7_rnap/1&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/2&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface on; select protein; cartoon off; spacefill off&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;surface&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348061</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4348061"/>
		<updated>2025-06-20T02:37:58Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. To assemble it, you bring the two flat sides together (the view is a &amp;quot;butterflied&amp;quot; version of the structure). On the left is the N-terminal part (roughly) with the nucleic acid forming a transcription bubble. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm. For an annotated image, see below.&lt;br /&gt;
&lt;br /&gt;
[[Image:1msw legend.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1081719/T7_rnap/1&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface on; select protein; cartoon off; spacefill off&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;surface&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Proteopedia:Cookbook&amp;diff=4341301</id>
		<title>Proteopedia:Cookbook</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Proteopedia:Cookbook&amp;diff=4341301"/>
		<updated>2025-06-02T19:58:30Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains some advanced editing information. Make sure you looked at [[Help:Getting Started in Proteopedia]] and [[Help:Editing]] before you delve into this page. &lt;br /&gt;
&lt;br /&gt;
==Text color==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;{{Font color|red|Please}}&lt;br /&gt;
{{Font color|green|see}}&#039;&#039;&#039;&lt;br /&gt;
[[Help:Coloring text]]. &lt;br /&gt;
&lt;br /&gt;
==Tables==&lt;br /&gt;
Most of the tags to define a HTML table [https://www.w3schools.com/html/html_tables.asp] are valid in a Proteopedia wiki text.&lt;br /&gt;
&lt;br /&gt;
The official [https://www.mediawiki.org/wiki/Help:Tables Help:Tables] warns &amp;quot;&#039;&#039;Tables may be created in wiki pages. As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing&#039;&#039;.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A good alternative is available at [https://www.tablesgenerator.com/mediawiki_tables tablesgenerator.com] with a good interface to generate tables that can be inserted in Proteopedia pages.&lt;br /&gt;
&lt;br /&gt;
==Checkboxes, Buttons, Radio Buttons==&lt;br /&gt;
These can be used to toggle something in JSmol on/off, or for more complicated purposes, including running any JSmol script. See working examples at [[Proteopedia:DIY:Templates]], and more details in the [http://wiki.jmol.org/index.php/MediaWiki/ExtensionV4 Jmol Wiki].&amp;lt;br/&amp;gt;&lt;br /&gt;
Also see [[Jmol/Interactivity]].&lt;br /&gt;
&lt;br /&gt;
==Font Awesome icons on pages &amp;lt;span class=&amp;quot;fas fa-child&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
You may choose from a large gallery of free [https://fontawesome.com/icons?d=gallery&amp;amp;m=free Font Awesome] icons . &lt;br /&gt;
&lt;br /&gt;
The icon on the heading above was inserted with &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;fas fa-child&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.  Replace &#039;child&#039; with the name of the icon you want to display. For those icons available on &#039;regular&#039; and &#039;solid&#039; modes, use either &#039;far&#039; or &#039;fas&#039; in the class.&lt;br /&gt;
&lt;br /&gt;
Adding a CSS style allows to set color, size, background, etc. &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;far fa-lightbulb&amp;quot; style=&amp;quot;color:#FF6600&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; &amp;lt;span class=&amp;quot;far fa-lightbulb&amp;quot; style=&amp;quot;color:#FF6600&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Jump to a specific green link==&lt;br /&gt;
To build a link (url2greenLink) to a specific &amp;lt;span style=&#039;color: green;&#039;&amp;gt;green link&amp;lt;/span&amp;gt; on a Proteopedia page, right click on the green link and Copy (not CopyLinkAddress). This will just copy the displayed text of the green link.&lt;br /&gt;
&lt;br /&gt;
Add to the URL of the target page the sign &#039;&#039;&#039;#&#039;&#039;&#039; followed for the text you just copied, and press enter. This will force the browser to reformat the just created URL replacing spaces by %20 and encoding other special characters. &lt;br /&gt;
&lt;br /&gt;
This is the url2greenLink you want.&lt;br /&gt;
Use this url2greenLink on a Proteopedia page as any other link to external sites: enclose the url2greenLink followed by space and the link text in single square brackets &amp;lt;nowiki&amp;gt;[url2greenLink one or more words]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This [http://proteopedia.org/w/Journal:PLoS_ONE:2#carboxylate%20group demo link] was created with the following text in this page&lt;br /&gt;
&amp;lt;pre&amp;gt;[http://proteopedia.org/w/Journal:PLoS_ONE:2#carboxylate%20group demo link]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; assign unique text to green links, to be able to address each one of the green links on a given page. Otherwise the jump will go to the first occurrence of the word(s).&lt;br /&gt;
&lt;br /&gt;
==JSmol examples and documentation==&lt;br /&gt;
Tips, examples and advanced help for using JSmol are available at [https://wiki.jmol.org wiki.jmol.org], a complete Jmol/JSmol [https://chemapps.stolaf.edu/jmol/docs/ interactive script documentation] and &lt;br /&gt;
Jmol [https://chemapps.stolaf.edu/pe/protexpl/htm/seleccmd.htm select commands] with explanations.&lt;br /&gt;
&lt;br /&gt;
==Translucent Cylinder==&lt;br /&gt;
[[Image:Translucent Cylinder 200px.gif|Translucent Cylinder]] Instructions and related examples at [[Jmol/Visualizing membrane position#Methods:_Translucent_Cylinder|Translucent Cylinder]]&lt;br /&gt;
&lt;br /&gt;
==Side by side still images==&lt;br /&gt;
To arrange still images side by side on a page, insert them in a table&lt;br /&gt;
{| &lt;br /&gt;
| [[Image:1cjq.png|left|200px|]] &lt;br /&gt;
| [[Image:1stp.png|left|200px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| &lt;br /&gt;
| [[Image:1cjq.png|left|200px]] &lt;br /&gt;
| [[Image:1stp.png|left|200px]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Rectangular Jmol Structure Applets==&lt;br /&gt;
[http://jmol.sourceforge.net/jslibrary/ jslibrary] describes:&amp;lt;br&amp;gt;&lt;br /&gt;
For a rectangular Jmol structure applet, an array containing two elements, width and height; this is usually easiest to do using JavaScript square bracket notation for array constants, as in [400, 200], [&amp;quot;50%&amp;quot;, &amp;quot;100%&amp;quot;] or [0.5, 1.0]. Proteopedia currently only accepts integers, as in this example &amp;lt;b&amp;gt;size=&#039;[800,200]&#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Structure load=&#039;1stp&#039; size=&#039;[400,100]&#039; frame=&#039;true&#039; align=&#039;left&#039; caption=&#039;Insert caption here&#039; /&amp;gt;&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
==Synchronizing molecules==&lt;br /&gt;
Please see [[Jmol/Synchronization]]&lt;br /&gt;
&lt;br /&gt;
==Capturing Movies==&lt;br /&gt;
On pages titled with a [[PDB ID]], simple rocking or spinning movies can be captured using the &#039;&#039;Export Animated Image&#039;&#039; link under the molecule, or by clicking &#039;&#039;FirstGlance&#039;&#039; in the Resources block, and then clicking &#039;&#039;Save Image or Animation for Powerpoint&#039;&#039; under the molecule (see&lt;br /&gt;
[http://firstglance.jmol.org/slides.htm overview]).&lt;br /&gt;
&lt;br /&gt;
Complex operations and manual movements with the mouse can be captured as movies by &amp;quot;screen recording&amp;quot;. Here are [http://firstglance.jmol.org/videocapture.htm examples and instructions].&lt;br /&gt;
&lt;br /&gt;
==Movies mp4==&lt;br /&gt;
Click the &#039;&#039;Play&#039;&#039; icon below to start the sample movie.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;300&amp;quot; width=&amp;quot;300&amp;quot; loop&amp;gt;/mp4/Resolution_holton.mp4&amp;lt;/html5media&amp;gt;&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;html5media height=&amp;quot;300&amp;quot; width=&amp;quot;300&amp;quot; loop&amp;gt;/mp4/file.mp4&amp;lt;/html5media&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Shows the movie with the with a width of 300 and a height of 300 pixels. Including &amp;quot;loop&amp;quot; makes the movie loop back to the beginning while playing.&lt;br /&gt;
&lt;br /&gt;
A movie controller is also displayed at the bottom beneath the movie. If the height is too small, the controller will not be displayed. Clicking on the movie stops playing, and clicking again resumes playing in both Mac OS X and Windows. This is&lt;br /&gt;
useful in case the controller is not displayed (&amp;quot;controller=false&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Embedded Youtube ==&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=Q1ftYq13XKk&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=Q1ftYq13XKk&amp;lt;/html5media&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Embedded Youtube Shorts ==&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;300&amp;quot; width=&amp;quot;180&amp;quot;&amp;gt;https://www.youtube.com/shorts/9hLJao96r0k&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The text that is visible upon starting the video goes away as you move your mouse out of the video window. It might be appropriate to mention that to the reader/viewer for better visibility.&lt;br /&gt;
&lt;br /&gt;
==Embedded Vimeo ==&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;360&amp;quot; width=&amp;quot;640&amp;quot;&amp;gt;https://vimeo.com/235321305&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;html5media height=&amp;quot;360&amp;quot; width=&amp;quot;640&amp;quot;&amp;gt;https://vimeo.com/235321305&amp;lt;/html5media&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Quiz ==&lt;br /&gt;
The special implementation of Quiz in Proteopedia includes an email feedback to the teacher.&lt;br /&gt;
See overview at [[Help:Quiz]] and the full explanation and examples on How To Use at [http://en.wikiversity.org/wiki/Help:Quiz Help:Quiz at Wikiversity].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;quiz display=simple&amp;gt;&lt;br /&gt;
{  &lt;br /&gt;
|type=&amp;quot;{}&amp;quot;}&lt;br /&gt;
Name a famous Greek philosopher. &lt;br /&gt;
{ Aristotle|Plato }&lt;br /&gt;
&lt;br /&gt;
{Question&lt;br /&gt;
|type=&amp;quot;[]&amp;quot;}&lt;br /&gt;
+ Correct answer.&lt;br /&gt;
- Incorrect answer.&lt;br /&gt;
+ Correct answer.&lt;br /&gt;
- Incorrect answer.&lt;br /&gt;
&amp;lt;/quiz&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Image as clickable link ==&lt;br /&gt;
People tend to click an image expecting it to take them to more about that image, via a hyperlink. Below is the wikitext to do this. This method goes to only one link target, regardless of where you click within the image. If you want to have different targets for different parts of the image, see the next section below on &#039;&#039;Imagemaps&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
Image:Cys-spacefilled.png|100px&lt;br /&gt;
default [[Introduction to molecular visualization]]&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
Clicking this image goes to &#039;&#039;Introduction to molecular visualization&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
Image:Cys-spacefilled.png|100px&lt;br /&gt;
default [[Introduction to molecular visualization]]&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more options, such as putting a border around the image, or aligning it to the right side of the page, please see [[Proteopedia:Image as clickable link]].&lt;br /&gt;
&lt;br /&gt;
== Imagemaps ==&lt;br /&gt;
&amp;lt;!-- I could not find this page by searching for &amp;quot;image maps&amp;quot;, which is the reason for adding those words in this comment, and at the beginning of the following sentence --&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;In the image map below, clicking on the computer screen should lead you to &#039;&#039;&#039;2ace&#039;&#039;&#039;, the keyboard to &#039;&#039;&#039;1rat&#039;&#039;&#039;, &amp;lt;br&amp;gt;&lt;br /&gt;
and the &#039;&#039;thinking balloon&#039;&#039; to &#039;&#039;&#039;Believe It or Not!&#039;&#039;&#039;. A click on the person&#039;s head goes to the &#039;&#039;&#039;external article on Student at Wikipedia&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
The &#039;&#039;(i)&#039;&#039; goes to the image info.&lt;br /&gt;
&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
Image:Foo.jpg|200px|picture of a foo&lt;br /&gt;
poly 131 45 213 41 210 110 127 109 [[2ace]]&lt;br /&gt;
poly 104 126 105 171 269 162 267 124 [[1rat]]&lt;br /&gt;
rect 15 95 94 176   [http://en.wikipedia.org/wiki/Student]&lt;br /&gt;
# A comment, this line is ignored&lt;br /&gt;
circle 57 57 20    [[Believe_It_or_Not!]]&lt;br /&gt;
desc bottom-left&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
Image:Foo.jpg|200px|picture of a foo&lt;br /&gt;
poly 131 45 213 41 210 110 127 109 [[2ace]]&lt;br /&gt;
poly 104 126 105 171 269 162 267 124 [[1rat]]&lt;br /&gt;
rect 15 95 94 176   [http://en.wikipedia.org/wiki/Student]&lt;br /&gt;
# A comment, this line is ignored&lt;br /&gt;
circle 57 57 20    [[Believe_It_or_Not!]]&lt;br /&gt;
desc bottom-left&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://www.image-maps.com/ Here]&#039;s a nice tool for finding the coordinates in an image.&lt;br /&gt;
&amp;lt;!--Formerly had:&lt;br /&gt;
[http://image-mapper.mgwalk.com/ Here]&#039;s a nice tool for finding the coordinates in an image.&lt;br /&gt;
Howeer, according to http://groups.google.com/group/google-excanvas/browse_thread/thread/affca8a3fcb5cf4d/44589930cf53d3dd , the link http://image-mapper.mgwalk.com/ has been updated to the link http://www.image-maps.com/ --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Structure Gallery Generator==&lt;br /&gt;
A list of PDB codes can generate small images and links automatically. See the [[Structure Gallery Generator]].&lt;br /&gt;
&lt;br /&gt;
==Theoretical Models==&lt;br /&gt;
On pages that largely or entirely concern theoretical model structures, please insert &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;{{Theoretical_model}}&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; in the top of the wikitext box. It will generate this banner:&lt;br /&gt;
{{Theoretical_model}}&lt;br /&gt;
&lt;br /&gt;
If a page shows largely empirical models, but also one or more theoretical models, please put &amp;lt;font color=&#039;red&#039;&amp;gt;Theoretical Model&amp;lt;/font&amp;gt; in the text, and/or as a caption in Jmol whenever the model is theoretical:&lt;br /&gt;
* The wikitext is: &amp;lt;nowiki&amp;gt;&#039;&#039;&#039;&amp;lt;font color=&#039;red&#039;&amp;gt;Theoretical Model&amp;lt;/font&amp;gt;&#039;&#039;&#039;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* To add the red caption to a scene, use the &amp;quot;labels&amp;quot; tab in the &#039;&#039;Scene Authoring Tools&#039;&#039; and open the &amp;quot;caption&amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
Policy concerning theoretical models is at [[Proteopedia:Policy#Theoretical_Models]], where you will also find links to &#039;&#039;&#039;examples&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Anchors==&lt;br /&gt;
Section headings automatically act as anchors, with the heading text as the &amp;quot;anchor_name&amp;quot;. Links of the form [[#anchor_name]] will link to the first anchor on the page matching that &amp;quot;anchor_name&amp;quot;, usually the first identical section heading.&lt;br /&gt;
&lt;br /&gt;
For example, try [[#Quiz]] ( &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[#Quiz]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ) and [[#KiNG]] ( &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[#KiNG]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ) to jump to those sections.&lt;br /&gt;
&lt;br /&gt;
==Floating quote Box==&lt;br /&gt;
{{Quote box&lt;br /&gt;
 | quote  = Alice&#039;s Adventures in Wonderland by Lewis Carroll&lt;br /&gt;
 | source = [http://www.gutenberg.org Project Gutemberg]&lt;br /&gt;
 | width  = 50%&lt;br /&gt;
 | align  = right&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, `Oh dear! Oh dear! I shall be late!&#039; (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
{{Quote box&lt;br /&gt;
 | quote  =&lt;br /&gt;
 | source =&lt;br /&gt;
 | width  =&lt;br /&gt;
 | align  =&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Flash==&lt;br /&gt;
This loads a local .swf file (Shockwave Flash). The interactive feature works fine. Click buttons and slide controls to try.&lt;br /&gt;
&amp;lt;swf width=&amp;quot;400&amp;quot; height=&amp;quot;300&amp;quot;&amp;gt;/wiki/images/8/8c/7_scrolling.swf&amp;lt;/swf&amp;gt;&lt;br /&gt;
&amp;lt;swf width=&amp;quot;390&amp;quot; height=&amp;quot;390&amp;quot;&amp;gt;http://carb.umbi.umd.edu//system/files/users/herzberg/ppdk_release.swf&amp;lt;/swf&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==KiNG==&lt;br /&gt;
To insert a KiNG (Kinemage, Next Generation) applet use this tag and provide as &#039;&#039;file&#039;&#039; the name of a Kinemage uploaded file:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&amp;lt;kinemage align=&amp;quot;left&amp;quot; width=&amp;quot;420&amp;quot; height=&amp;quot;300&amp;quot; file=&amp;quot;HbAllo.kin&amp;quot;/&amp;gt;&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;kinemage align=&amp;quot;left&amp;quot; width=&amp;quot;420&amp;quot; height=&amp;quot;300&amp;quot; file=&amp;quot;HbAllo.kin&amp;quot;/&amp;gt;&lt;br /&gt;
{{Clear}}&lt;br /&gt;
===Articles that use KiNG===&lt;br /&gt;
* [[Hemoglobin]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
==ConSurf==&lt;br /&gt;
To insert the ConSurf panel, type the following line&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;noinclude&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:ConSurf|1stp|st}}&amp;lt;/nowiki&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the 2 parameters, &amp;lt;b&amp;gt;1stp&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;st&amp;lt;/b&amp;gt;, need to be adjusted to your case:&lt;br /&gt;
* First parameter is the PDB ID of the model.&lt;br /&gt;
* Second parameter is the 2nd and 3rd characters of the PDB ID.&lt;br /&gt;
&lt;br /&gt;
The result will look like below and will be made a hard-coded content of the page (i.e. the template wikitext is removed and the result is inserted into the page source).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- The content below was inserted by the ConSurf template --&amp;gt;&lt;br /&gt;
== Evolutionary Conservation ==&lt;br /&gt;
[[Image:Consurf_key_small.gif|right|200px]]&lt;br /&gt;
Check&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolCheckbox&amp;gt;&lt;br /&gt;
&amp;lt;scriptWhenChecked&amp;gt;&lt;br /&gt;
select protein; define ~consurf_to_do selected; &lt;br /&gt;
consurf_initial_scene = true; &lt;br /&gt;
script /wiki/ConSurf/st/1stp_consurf.spt;&lt;br /&gt;
&amp;lt;/scriptWhenChecked&amp;gt;&lt;br /&gt;
&amp;lt;scriptWhenUnchecked&amp;gt;&lt;br /&gt;
script /wiki/extensions/Proteopedia/spt/initialview01.spt;&lt;br /&gt;
&amp;lt;/scriptWhenUnchecked&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;to colour the structure by Evolutionary Conservation&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolCheckbox&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;, as determined by [http://consurfdb.tau.ac.il/ ConSurfDB]. &lt;br /&gt;
You may read the [[Conservation%2C_Evolutionary|explanation]] &lt;br /&gt;
of the method and the full data available from &lt;br /&gt;
[http://bental.tau.ac.il/new_ConSurfDB/main_output.php?pdb_ID=1stp ConSurf].&lt;br /&gt;
&amp;lt;!-- end of content inserted by the ConSurf template --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ConSurf Documentation==&lt;br /&gt;
[[ConSurf/Index]] has a list of many articles about ConSurf and evolutionary conservation.&lt;br /&gt;
&lt;br /&gt;
==Combine Proteopedia scenes with JSmol scripting==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced&#039;&#039;&#039;. You may wish to call up a scene saved via Proteopedia from within inline JSmol scripts placed in a page. For example, this can be useful for some pages that use multiple structures to call up a certain scene at the start of JSmol script be sure the user has the structure or scene open that you wish the inline JSmol script to build upon. Please see [[Combine Proteopedia scenes with inline JSmol scripting]].&lt;br /&gt;
&lt;br /&gt;
==Mix and Edit scenes from other pages==&lt;br /&gt;
To load on SAT scenes from other Proteopedia pages and become able to edit them, simply insert the page ID (wgArticleId) of other pages between &amp;amp;lt; &amp;amp;gt; like this: &#039;&#039;&#039;&amp;amp;lt;!-- /471747/ /351028/ --&amp;amp;gt;&#039;&#039;&#039; somewhere in your page. You may insert this way as many page IDs as you want, and [[Scene_authoring_tools|SAT]] will allow you to load any scene from those pages. From that moment, any edited scene will be saved under your page, without altering the original scene nor the source page.&lt;br /&gt;
* How to find the page ID? Edit or view the source code (wikitext) of the page from which you want to borrow the scenes, find the &amp;lt;code&amp;gt;scene&amp;lt;/code&amp;gt; tag and pick the number after the first slash, e.g. that in red here:&lt;br /&gt;
 &amp;amp;lt;scene name=&#039;58/&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;587840&amp;lt;/span&amp;gt;/Cartoon_rainbow_and_water/1&#039;&amp;amp;gt;Color by group&amp;amp;lt;/scene&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Proteopedia:DIY:Templates]]&lt;br /&gt;
* [[DRuMS#The DRuMS Color Schemes|DRuMS color templates]]&lt;br /&gt;
* [[Jmol/Interactivity]]&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4341300</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4341300"/>
		<updated>2025-06-02T19:40:32Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. To assemble it, you bring the two flat sides together (the view is a &amp;quot;butterflied&amp;quot; version of the structure). On the left is the N-terminal part (roughly) with the nucleic acid forming a transcription bubble. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm. For an annotated image, see below.&lt;br /&gt;
&lt;br /&gt;
[[Image:1msw legend.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface on; select protein; cartoon off; spacefill off&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;surface&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4341299</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4341299"/>
		<updated>2025-06-02T19:39:11Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. To assemble it, you bring the two flat sides together (the view is a &amp;quot;butterflied&amp;quot; version of the structure). On the left is the N-terminal part (roughly) with the nucleic acid. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm. For an annotated image, see below.&lt;br /&gt;
&lt;br /&gt;
[[Image:1msw legend.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface on; select protein; cartoon off; spacefill off&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;surface&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=File:1msw_legend.png&amp;diff=4341298</id>
		<title>File:1msw legend.png</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=File:1msw_legend.png&amp;diff=4341298"/>
		<updated>2025-06-02T19:34:32Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Licensing ==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Lipase_lid_morph&amp;diff=4341297</id>
		<title>Lipase lid morph</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Lipase_lid_morph&amp;diff=4341297"/>
		<updated>2025-06-02T18:56:32Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;Structure load=&#039;&#039; size=&#039;400&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;Candida rugosa lipase ([[1trh]], [[1lpm]]).&#039; scene=&#039;Lipase_lid_morph/Lightseagreen_hinge/1&#039; /&amp;gt;&lt;br /&gt;
For an introduction to the structure and function of lipase, please see the article [[Lipase]]. This &#039;&#039;Lipase lid morph&#039;&#039; article is a supplement to the main article on [[Lipase]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Candida rugosa&#039;&#039; lipase (triacylglycerol hydrolase) has been observed in two conformations, with the &amp;quot;lid&amp;quot; (residues 66-92&amp;lt;ref name=&#039;2states1994&#039; /&amp;gt;) closed ([[1trh]]) or open ([[1lpm]])&amp;lt;ref name=&#039;2states1994&#039;&amp;gt;PMID: 8142901&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Closed &amp;lt;font color=&#039;lightseagreen&#039;&amp;gt;&amp;lt;b&amp;gt;LID&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt; (&amp;lt;scene name=&#039;Lipase_lid_morph/Lightseagreen_hinge/1&#039;&amp;gt;restore initial scene&amp;lt;/scene&amp;gt;).&lt;br /&gt;
*&amp;lt;scene name=&#039;Lipase_lid_morph/Lightseagreen_hinge/4&#039;&amp;gt;Open&amp;lt;/scene&amp;gt; &amp;lt;font color=&#039;lightseagreen&#039;&amp;gt;&amp;lt;b&amp;gt;LID&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt; with inhibitor (1R)-menthyl hexyl phosphonate (&amp;lt;b&amp;gt;&amp;lt;font color=&#039;#909090&#039;&amp;gt;C&amp;lt;/font&amp;gt; &amp;lt;font color=&#039;#ff0d0d&#039;&amp;gt;O&amp;lt;/font&amp;gt; &amp;lt;font color=&#039;#ff8000&#039;&amp;gt;P&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
A morph&amp;lt;ref&amp;gt;This is a [[Morphs#Linear_Interpolation|linear interpolation morph]]. The 14-model PDB file is [[Image:Morph-linear-1trh-1lpm.pdb.gz]].&amp;lt;/ref&amp;gt; shows the lid opening and closing.&lt;br /&gt;
*&amp;lt;scene name=&#039;Lipase_lid_morph/Lightseagreen_hinge/2&#039;&amp;gt;Cartoon morph&amp;lt;/scene&amp;gt; (&amp;lt;font color=&#039;lightseagreen&#039;&amp;gt;&amp;lt;b&amp;gt;LID&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;).&lt;br /&gt;
*&amp;lt;scene name=&#039;Lipase_lid_morph/Lightseagreen_hinge/3&#039;&amp;gt;Spacefilling morph&amp;lt;/scene&amp;gt; (&amp;lt;font color=&#039;lightseagreen&#039;&amp;gt;&amp;lt;b&amp;gt;LID&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;, &amp;lt;font color=&#039;orange&#039;&amp;gt;&amp;lt;b&amp;gt;catalytic triad: Ser209, Glu341, and His449&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;ref name=&#039;2states1994&#039; /&amp;gt;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{Template:Button Toggle Animation2}}&lt;br /&gt;
&lt;br /&gt;
When the lid is closed, the enzyme surface is largely {{Template:ColorKey_Polar}}. When the lid opens, a {{Template:ColorKey_Hydrophobic}} pocket is exposed with the catalytic triad in the bottom.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;scene name=&#039;Lipase_lid_morph/Lightseagreen_hinge/5&#039;&amp;gt;Spacefilling morph&amp;lt;/scene&amp;gt; ({{Template:ColorKey_Polar}}, {{Template:ColorKey_Hydrophobic}}, &amp;lt;font color=&#039;orange&#039;&amp;gt;&amp;lt;b&amp;gt;catalytic triad: Ser209, Glu341, and His449&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;ref name=&#039;2states1994&#039; /&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Rigid body morph ===&lt;br /&gt;
&lt;br /&gt;
An &amp;lt;scene name=&#039;49/493694/Storymorph/1&#039;&amp;gt;alternate morph&amp;lt;/scene&amp;gt; shows a different path between the same initial and final experimental structures &amp;lt;ref&amp;gt;This is a rigid body morph based on the superposition in PDB file [[Image:1TRH_1LPM.pdb]]. It is created by the [[Jmol/Storymorph|Storymorph script]] on the fly.&amp;lt;/ref&amp;gt;. The position of the inhibitor in the 1lpm structure is shown throughout; it would clash with the conformation of the lid in the 1trh structures, showing that closed lid and inhibitor binding are mutually exclusive.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;script &amp;quot;https://proteopedia.org/wiki/images/a/a2/Storymorph.spt&amp;quot;;&lt;br /&gt;
domain2 = {(75-85)};&lt;br /&gt;
model 2;&lt;br /&gt;
structures = [{1.2}, {1.1}];&lt;br /&gt;
domains = [ &lt;br /&gt;
  [{protein and not domain2}], &lt;br /&gt;
  [{domain2}, {(74,86) and *.CA}],  &lt;br /&gt;
];&lt;br /&gt;
morph_palindrome = 1;&lt;br /&gt;
morph(15,structures,domains);&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Run alternate morph&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Lipase]], the main article in Proteopedia.&lt;br /&gt;
*[[Molecular Playground/Pancreatic Lipase]]&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Lipase Lipase in Wikipedia]&lt;br /&gt;
&lt;br /&gt;
==Notes and References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4341296</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4341296"/>
		<updated>2025-06-02T18:55:42Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[Image:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. On the left is the N-terminal part (roughly) with the nucleic acid. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface on; select protein; cartoon off; spacefill off&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;surface&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Proteopedia:Cookbook&amp;diff=4341293</id>
		<title>Proteopedia:Cookbook</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Proteopedia:Cookbook&amp;diff=4341293"/>
		<updated>2025-06-02T18:17:20Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains some advanced editing information. Make sure you looked at [[Help:Getting Started in Proteopedia]] and [[Help:Editing]] before you delve into this page. &lt;br /&gt;
&lt;br /&gt;
==Text color==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;{{Font color|red|Please}}&lt;br /&gt;
{{Font color|green|see}}&#039;&#039;&#039;&lt;br /&gt;
[[Help:Coloring text]]. &lt;br /&gt;
&lt;br /&gt;
==Tables==&lt;br /&gt;
Most of the tags to define a HTML table [https://www.w3schools.com/html/html_tables.asp] are valid in a Proteopedia wiki text.&lt;br /&gt;
&lt;br /&gt;
The official [https://www.mediawiki.org/wiki/Help:Tables Help:Tables] warns &amp;quot;&#039;&#039;Tables may be created in wiki pages. As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing&#039;&#039;.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A good alternative is available at [https://www.tablesgenerator.com/mediawiki_tables tablesgenerator.com] with a good interface to generate tables that can be inserted in Proteopedia pages.&lt;br /&gt;
&lt;br /&gt;
==Checkboxes, Buttons, Radio Buttons==&lt;br /&gt;
These can be used to toggle something in JSmol on/off, or for more complicated purposes, including running any JSmol script. See working examples at [[Proteopedia:DIY:Templates]], and more details in the [http://wiki.jmol.org/index.php/MediaWiki/ExtensionV4 Jmol Wiki].&amp;lt;br/&amp;gt;&lt;br /&gt;
Also see [[Jmol/Interactivity]].&lt;br /&gt;
&lt;br /&gt;
==Font Awesome icons on pages &amp;lt;span class=&amp;quot;fas fa-child&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
You may choose from a large gallery of free [https://fontawesome.com/icons?d=gallery&amp;amp;m=free Font Awesome] icons . &lt;br /&gt;
&lt;br /&gt;
The icon on the heading above was inserted with &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;fas fa-child&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.  Replace &#039;child&#039; with the name of the icon you want to display. For those icons available on &#039;regular&#039; and &#039;solid&#039; modes, use either &#039;far&#039; or &#039;fas&#039; in the class.&lt;br /&gt;
&lt;br /&gt;
Adding a CSS style allows to set color, size, background, etc. &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;far fa-lightbulb&amp;quot; style=&amp;quot;color:#FF6600&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; &amp;lt;span class=&amp;quot;far fa-lightbulb&amp;quot; style=&amp;quot;color:#FF6600&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Jump to a specific green link==&lt;br /&gt;
To build a link (url2greenLink) to a specific &amp;lt;span style=&#039;color: green;&#039;&amp;gt;green link&amp;lt;/span&amp;gt; on a Proteopedia page, right click on the green link and Copy (not CopyLinkAddress). This will just copy the displayed text of the green link.&lt;br /&gt;
&lt;br /&gt;
Add to the URL of the target page the sign &#039;&#039;&#039;#&#039;&#039;&#039; followed for the text you just copied, and press enter. This will force the browser to reformat the just created URL replacing spaces by %20 and encoding other special characters. &lt;br /&gt;
&lt;br /&gt;
This is the url2greenLink you want.&lt;br /&gt;
Use this url2greenLink on a Proteopedia page as any other link to external sites: enclose the url2greenLink followed by space and the link text in single square brackets &amp;lt;nowiki&amp;gt;[url2greenLink one or more words]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This [http://proteopedia.org/w/Journal:PLoS_ONE:2#carboxylate%20group demo link] was created with the following text in this page&lt;br /&gt;
&amp;lt;pre&amp;gt;[http://proteopedia.org/w/Journal:PLoS_ONE:2#carboxylate%20group demo link]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; assign unique text to green links, to be able to address each one of the green links on a given page. Otherwise the jump will go to the first occurrence of the word(s).&lt;br /&gt;
&lt;br /&gt;
==JSmol examples and documentation==&lt;br /&gt;
Tips, examples and advanced help for using JSmol are available at [https://wiki.jmol.org wiki.jmol.org], a complete Jmol/JSmol [https://chemapps.stolaf.edu/jmol/docs/ interactive script documentation] and &lt;br /&gt;
Jmol [https://chemapps.stolaf.edu/pe/protexpl/htm/seleccmd.htm select commands] with explanations.&lt;br /&gt;
&lt;br /&gt;
==Translucent Cylinder==&lt;br /&gt;
[[Image:Translucent Cylinder 200px.gif|Translucent Cylinder]] Instructions and related examples at [[Jmol/Visualizing membrane position#Methods:_Translucent_Cylinder|Translucent Cylinder]]&lt;br /&gt;
&lt;br /&gt;
==Side by side still images==&lt;br /&gt;
To arrange still images side by side on a page, insert them in a table&lt;br /&gt;
{| &lt;br /&gt;
| [[Image:1cjq.png|left|200px|]] &lt;br /&gt;
| [[Image:1stp.png|left|200px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| &lt;br /&gt;
| [[Image:1cjq.png|left|200px]] &lt;br /&gt;
| [[Image:1stp.png|left|200px]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Rectangular Jmol Structure Applets==&lt;br /&gt;
[http://jmol.sourceforge.net/jslibrary/ jslibrary] describes:&amp;lt;br&amp;gt;&lt;br /&gt;
For a rectangular Jmol structure applet, an array containing two elements, width and height; this is usually easiest to do using JavaScript square bracket notation for array constants, as in [400, 200], [&amp;quot;50%&amp;quot;, &amp;quot;100%&amp;quot;] or [0.5, 1.0]. Proteopedia currently only accepts integers, as in this example &amp;lt;b&amp;gt;size=&#039;[800,200]&#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Structure load=&#039;1stp&#039; size=&#039;[400,100]&#039; frame=&#039;true&#039; align=&#039;left&#039; caption=&#039;Insert caption here&#039; /&amp;gt;&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
==Synchronizing molecules==&lt;br /&gt;
Please see [[Jmol/Synchronization]]&lt;br /&gt;
&lt;br /&gt;
==Capturing Movies==&lt;br /&gt;
On pages titled with a [[PDB ID]], simple rocking or spinning movies can be captured using the &#039;&#039;Export Animated Image&#039;&#039; link under the molecule, or by clicking &#039;&#039;FirstGlance&#039;&#039; in the Resources block, and then clicking &#039;&#039;Save Image or Animation for Powerpoint&#039;&#039; under the molecule (see&lt;br /&gt;
[http://firstglance.jmol.org/slides.htm overview]).&lt;br /&gt;
&lt;br /&gt;
Complex operations and manual movements with the mouse can be captured as movies by &amp;quot;screen recording&amp;quot;. Here are [http://firstglance.jmol.org/videocapture.htm examples and instructions].&lt;br /&gt;
&lt;br /&gt;
==Movies mp4==&lt;br /&gt;
Click the &#039;&#039;Play&#039;&#039; icon below to start the sample movie.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;300&amp;quot; width=&amp;quot;300&amp;quot; loop&amp;gt;/mp4/Resolution_holton.mp4&amp;lt;/html5media&amp;gt;&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;html5media height=&amp;quot;300&amp;quot; width=&amp;quot;300&amp;quot; loop&amp;gt;/mp4/file.mp4&amp;lt;/html5media&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Shows the movie with the with a width of 300 and a height of 300 pixels. Including &amp;quot;loop&amp;quot; makes the movie loop back to the beginning while playing.&lt;br /&gt;
&lt;br /&gt;
A movie controller is also displayed at the bottom beneath the movie. If the height is too small, the controller will not be displayed. Clicking on the movie stops playing, and clicking again resumes playing in both Mac OS X and Windows. This is&lt;br /&gt;
useful in case the controller is not displayed (&amp;quot;controller=false&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Embedded Youtube ==&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=Q1ftYq13XKk&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=Q1ftYq13XKk&amp;lt;/html5media&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Embedded Youtube Shorts ==&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;300&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/shorts/9hLJao96r0k&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The text that is visible upon starting the video goes away as you move your mouse out of the video window. It might be appropriate to mention that to the reader/viewer for better visibility.&lt;br /&gt;
&lt;br /&gt;
==Embedded Vimeo ==&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;360&amp;quot; width=&amp;quot;640&amp;quot;&amp;gt;https://vimeo.com/235321305&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;html5media height=&amp;quot;360&amp;quot; width=&amp;quot;640&amp;quot;&amp;gt;https://vimeo.com/235321305&amp;lt;/html5media&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Quiz ==&lt;br /&gt;
The special implementation of Quiz in Proteopedia includes an email feedback to the teacher.&lt;br /&gt;
See overview at [[Help:Quiz]] and the full explanation and examples on How To Use at [http://en.wikiversity.org/wiki/Help:Quiz Help:Quiz at Wikiversity].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;quiz display=simple&amp;gt;&lt;br /&gt;
{  &lt;br /&gt;
|type=&amp;quot;{}&amp;quot;}&lt;br /&gt;
Name a famous Greek philosopher. &lt;br /&gt;
{ Aristotle|Plato }&lt;br /&gt;
&lt;br /&gt;
{Question&lt;br /&gt;
|type=&amp;quot;[]&amp;quot;}&lt;br /&gt;
+ Correct answer.&lt;br /&gt;
- Incorrect answer.&lt;br /&gt;
+ Correct answer.&lt;br /&gt;
- Incorrect answer.&lt;br /&gt;
&amp;lt;/quiz&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Image as clickable link ==&lt;br /&gt;
People tend to click an image expecting it to take them to more about that image, via a hyperlink. Below is the wikitext to do this. This method goes to only one link target, regardless of where you click within the image. If you want to have different targets for different parts of the image, see the next section below on &#039;&#039;Imagemaps&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
Image:Cys-spacefilled.png|100px&lt;br /&gt;
default [[Introduction to molecular visualization]]&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
Clicking this image goes to &#039;&#039;Introduction to molecular visualization&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
Image:Cys-spacefilled.png|100px&lt;br /&gt;
default [[Introduction to molecular visualization]]&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more options, such as putting a border around the image, or aligning it to the right side of the page, please see [[Proteopedia:Image as clickable link]].&lt;br /&gt;
&lt;br /&gt;
== Imagemaps ==&lt;br /&gt;
&amp;lt;!-- I could not find this page by searching for &amp;quot;image maps&amp;quot;, which is the reason for adding those words in this comment, and at the beginning of the following sentence --&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;In the image map below, clicking on the computer screen should lead you to &#039;&#039;&#039;2ace&#039;&#039;&#039;, the keyboard to &#039;&#039;&#039;1rat&#039;&#039;&#039;, &amp;lt;br&amp;gt;&lt;br /&gt;
and the &#039;&#039;thinking balloon&#039;&#039; to &#039;&#039;&#039;Believe It or Not!&#039;&#039;&#039;. A click on the person&#039;s head goes to the &#039;&#039;&#039;external article on Student at Wikipedia&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
The &#039;&#039;(i)&#039;&#039; goes to the image info.&lt;br /&gt;
&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
Image:Foo.jpg|200px|picture of a foo&lt;br /&gt;
poly 131 45 213 41 210 110 127 109 [[2ace]]&lt;br /&gt;
poly 104 126 105 171 269 162 267 124 [[1rat]]&lt;br /&gt;
rect 15 95 94 176   [http://en.wikipedia.org/wiki/Student]&lt;br /&gt;
# A comment, this line is ignored&lt;br /&gt;
circle 57 57 20    [[Believe_It_or_Not!]]&lt;br /&gt;
desc bottom-left&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
Image:Foo.jpg|200px|picture of a foo&lt;br /&gt;
poly 131 45 213 41 210 110 127 109 [[2ace]]&lt;br /&gt;
poly 104 126 105 171 269 162 267 124 [[1rat]]&lt;br /&gt;
rect 15 95 94 176   [http://en.wikipedia.org/wiki/Student]&lt;br /&gt;
# A comment, this line is ignored&lt;br /&gt;
circle 57 57 20    [[Believe_It_or_Not!]]&lt;br /&gt;
desc bottom-left&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://www.image-maps.com/ Here]&#039;s a nice tool for finding the coordinates in an image.&lt;br /&gt;
&amp;lt;!--Formerly had:&lt;br /&gt;
[http://image-mapper.mgwalk.com/ Here]&#039;s a nice tool for finding the coordinates in an image.&lt;br /&gt;
Howeer, according to http://groups.google.com/group/google-excanvas/browse_thread/thread/affca8a3fcb5cf4d/44589930cf53d3dd , the link http://image-mapper.mgwalk.com/ has been updated to the link http://www.image-maps.com/ --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Structure Gallery Generator==&lt;br /&gt;
A list of PDB codes can generate small images and links automatically. See the [[Structure Gallery Generator]].&lt;br /&gt;
&lt;br /&gt;
==Theoretical Models==&lt;br /&gt;
On pages that largely or entirely concern theoretical model structures, please insert &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;{{Theoretical_model}}&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; in the top of the wikitext box. It will generate this banner:&lt;br /&gt;
{{Theoretical_model}}&lt;br /&gt;
&lt;br /&gt;
If a page shows largely empirical models, but also one or more theoretical models, please put &amp;lt;font color=&#039;red&#039;&amp;gt;Theoretical Model&amp;lt;/font&amp;gt; in the text, and/or as a caption in Jmol whenever the model is theoretical:&lt;br /&gt;
* The wikitext is: &amp;lt;nowiki&amp;gt;&#039;&#039;&#039;&amp;lt;font color=&#039;red&#039;&amp;gt;Theoretical Model&amp;lt;/font&amp;gt;&#039;&#039;&#039;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* To add the red caption to a scene, use the &amp;quot;labels&amp;quot; tab in the &#039;&#039;Scene Authoring Tools&#039;&#039; and open the &amp;quot;caption&amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
Policy concerning theoretical models is at [[Proteopedia:Policy#Theoretical_Models]], where you will also find links to &#039;&#039;&#039;examples&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Anchors==&lt;br /&gt;
Section headings automatically act as anchors, with the heading text as the &amp;quot;anchor_name&amp;quot;. Links of the form [[#anchor_name]] will link to the first anchor on the page matching that &amp;quot;anchor_name&amp;quot;, usually the first identical section heading.&lt;br /&gt;
&lt;br /&gt;
For example, try [[#Quiz]] ( &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[#Quiz]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ) and [[#KiNG]] ( &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[#KiNG]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ) to jump to those sections.&lt;br /&gt;
&lt;br /&gt;
==Floating quote Box==&lt;br /&gt;
{{Quote box&lt;br /&gt;
 | quote  = Alice&#039;s Adventures in Wonderland by Lewis Carroll&lt;br /&gt;
 | source = [http://www.gutenberg.org Project Gutemberg]&lt;br /&gt;
 | width  = 50%&lt;br /&gt;
 | align  = right&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, `Oh dear! Oh dear! I shall be late!&#039; (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
{{Quote box&lt;br /&gt;
 | quote  =&lt;br /&gt;
 | source =&lt;br /&gt;
 | width  =&lt;br /&gt;
 | align  =&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Flash==&lt;br /&gt;
This loads a local .swf file (Shockwave Flash). The interactive feature works fine. Click buttons and slide controls to try.&lt;br /&gt;
&amp;lt;swf width=&amp;quot;400&amp;quot; height=&amp;quot;300&amp;quot;&amp;gt;/wiki/images/8/8c/7_scrolling.swf&amp;lt;/swf&amp;gt;&lt;br /&gt;
&amp;lt;swf width=&amp;quot;390&amp;quot; height=&amp;quot;390&amp;quot;&amp;gt;http://carb.umbi.umd.edu//system/files/users/herzberg/ppdk_release.swf&amp;lt;/swf&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==KiNG==&lt;br /&gt;
To insert a KiNG (Kinemage, Next Generation) applet use this tag and provide as &#039;&#039;file&#039;&#039; the name of a Kinemage uploaded file:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&amp;lt;kinemage align=&amp;quot;left&amp;quot; width=&amp;quot;420&amp;quot; height=&amp;quot;300&amp;quot; file=&amp;quot;HbAllo.kin&amp;quot;/&amp;gt;&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;kinemage align=&amp;quot;left&amp;quot; width=&amp;quot;420&amp;quot; height=&amp;quot;300&amp;quot; file=&amp;quot;HbAllo.kin&amp;quot;/&amp;gt;&lt;br /&gt;
{{Clear}}&lt;br /&gt;
===Articles that use KiNG===&lt;br /&gt;
* [[Hemoglobin]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
==ConSurf==&lt;br /&gt;
To insert the ConSurf panel, type the following line&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;noinclude&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:ConSurf|1stp|st}}&amp;lt;/nowiki&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the 2 parameters, &amp;lt;b&amp;gt;1stp&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;st&amp;lt;/b&amp;gt;, need to be adjusted to your case:&lt;br /&gt;
* First parameter is the PDB ID of the model.&lt;br /&gt;
* Second parameter is the 2nd and 3rd characters of the PDB ID.&lt;br /&gt;
&lt;br /&gt;
The result will look like below and will be made a hard-coded content of the page (i.e. the template wikitext is removed and the result is inserted into the page source).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- The content below was inserted by the ConSurf template --&amp;gt;&lt;br /&gt;
== Evolutionary Conservation ==&lt;br /&gt;
[[Image:Consurf_key_small.gif|right|200px]]&lt;br /&gt;
Check&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolCheckbox&amp;gt;&lt;br /&gt;
&amp;lt;scriptWhenChecked&amp;gt;&lt;br /&gt;
select protein; define ~consurf_to_do selected; &lt;br /&gt;
consurf_initial_scene = true; &lt;br /&gt;
script /wiki/ConSurf/st/1stp_consurf.spt;&lt;br /&gt;
&amp;lt;/scriptWhenChecked&amp;gt;&lt;br /&gt;
&amp;lt;scriptWhenUnchecked&amp;gt;&lt;br /&gt;
script /wiki/extensions/Proteopedia/spt/initialview01.spt;&lt;br /&gt;
&amp;lt;/scriptWhenUnchecked&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;to colour the structure by Evolutionary Conservation&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolCheckbox&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;, as determined by [http://consurfdb.tau.ac.il/ ConSurfDB]. &lt;br /&gt;
You may read the [[Conservation%2C_Evolutionary|explanation]] &lt;br /&gt;
of the method and the full data available from &lt;br /&gt;
[http://bental.tau.ac.il/new_ConSurfDB/main_output.php?pdb_ID=1stp ConSurf].&lt;br /&gt;
&amp;lt;!-- end of content inserted by the ConSurf template --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ConSurf Documentation==&lt;br /&gt;
[[ConSurf/Index]] has a list of many articles about ConSurf and evolutionary conservation.&lt;br /&gt;
&lt;br /&gt;
==Combine Proteopedia scenes with JSmol scripting==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced&#039;&#039;&#039;. You may wish to call up a scene saved via Proteopedia from within inline JSmol scripts placed in a page. For example, this can be useful for some pages that use multiple structures to call up a certain scene at the start of JSmol script be sure the user has the structure or scene open that you wish the inline JSmol script to build upon. Please see [[Combine Proteopedia scenes with inline JSmol scripting]].&lt;br /&gt;
&lt;br /&gt;
==Mix and Edit scenes from other pages==&lt;br /&gt;
To load on SAT scenes from other Proteopedia pages and become able to edit them, simply insert the page ID (wgArticleId) of other pages between &amp;amp;lt; &amp;amp;gt; like this: &#039;&#039;&#039;&amp;amp;lt;!-- /471747/ /351028/ --&amp;amp;gt;&#039;&#039;&#039; somewhere in your page. You may insert this way as many page IDs as you want, and [[Scene_authoring_tools|SAT]] will allow you to load any scene from those pages. From that moment, any edited scene will be saved under your page, without altering the original scene nor the source page.&lt;br /&gt;
* How to find the page ID? Edit or view the source code (wikitext) of the page from which you want to borrow the scenes, find the &amp;lt;code&amp;gt;scene&amp;lt;/code&amp;gt; tag and pick the number after the first slash, e.g. that in red here:&lt;br /&gt;
 &amp;amp;lt;scene name=&#039;58/&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;587840&amp;lt;/span&amp;gt;/Cartoon_rainbow_and_water/1&#039;&amp;amp;gt;Color by group&amp;amp;lt;/scene&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Proteopedia:DIY:Templates]]&lt;br /&gt;
* [[DRuMS#The DRuMS Color Schemes|DRuMS color templates]]&lt;br /&gt;
* [[Jmol/Interactivity]]&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=File:1MSW_butterfly.png&amp;diff=4341273</id>
		<title>File:1MSW butterfly.png</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=File:1MSW_butterfly.png&amp;diff=4341273"/>
		<updated>2025-06-02T16:57:17Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Licensing ==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4341272</id>
		<title>User:Karsten Theis/T7RNAP physical model explanation</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/T7RNAP_physical_model_explanation&amp;diff=4341272"/>
		<updated>2025-06-02T16:55:51Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: New page: This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID 1msw). 800px  Above is a photograph of the two parts of the model. On the left is ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tour of a physical model of the T7 virus RNA polymerase (PDB ID [[1msw]]).&lt;br /&gt;
[[File:1MSW butterfly.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above is a photograph of the two parts of the model. On the left is the N-terminal part (roughly) with the nucleic acid. On the right is the C-terminal part (roughly), in the shape of the right hand, with the active site at the palm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;400&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;https://www.youtube.com/watch?v=q3GUgPdEBbU&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can track the video in the interactive scene by clicking the timestamp buttons. (&amp;lt;scene name=&#039;10/1070504/T7_rnap/1&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 0.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;t=0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 782 -558 279 143.88} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt; 7&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 320 -808 495 177.79} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;14&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 311 706 -636 140.67} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;22&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 788 408 -461 122.55} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;30&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;moveto 1.0 { 976 -176 -124 114.98} 100.0 0.0 0.0 {-17.5975 -34.407000000000004 -2.4944999999999986} 59.686702486397 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;..0&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video starts with a view of the N-terminal part of the protein. You can see the exiting template DNA (blue) on the right. As the model rotates, the active site comes into view. In red, you can see the most recently added nucleotide (about 10 seconds in). The active site is formed by the C-terminal part of the protein, which is shaped like a right hand. Access to the active site (the &amp;quot;palm&amp;quot; of the hand) is in between the &amp;quot;thumb&amp;quot; (in front about 7 sec in) and &amp;quot;the fingers&amp;quot; (in front about 14 sec in). At 22 s in, you have view on the helical axis of the upstream DNA. At about 30 s in, you can see the RNA exit channel. At 36 s, we are back to the start, and you can press &amp;quot;rewatch&amp;quot; on the YouTube window to take another turn.&lt;br /&gt;
&lt;br /&gt;
Also, use the widgets below to change representations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Protein shown as &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolRadioGroup&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface on; select protein; cartoon off; spacefill off&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;surface&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;true&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; spacefill only&amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;spacefill&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;item&amp;gt;&lt;br /&gt;
      &amp;lt;script&amp;gt;isosurface off; select protein; cartoon only; select not (helix or strand); cartoon 0.3 &amp;lt;/script&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt;&lt;br /&gt;
    &amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;/jmolRadioGroup&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select nucleic; cartoon only&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;DNA/RNA as cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Amylose&amp;diff=4341251</id>
		<title>Amylose</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Amylose&amp;diff=4341251"/>
		<updated>2025-05-29T16:02:21Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Amylose&#039;&#039;&#039; is a linear polymer of glucose that occurs in starch. It occurs in foods such as grains and potatoes, and it is a major source of energy (calories) in most diets. There are three major forms of crystalline amylose, A, B, and V, that differ in the three-dimensional structure. Amylose can also occur as amorphous structure, for example in starch or when cooked in water. Amylose is distinct from amylopectin, which is a branched polymer of glucose, and from [[cellulose]], which is a linear polymer of glucose that differs in stereochemistry from amylose. In the context of naturally occurring starch, parts of amylopectin form semi-crystalline layers resembling amylose A or B, while amylose itself occurs in the amorphous parts.&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; scene=&#039;82/824003/Amylose_v/5&#039;&amp;gt;&lt;br /&gt;
&amp;lt;scene name=&#039;82/824003/Amylose_a/3&#039;&amp;gt;Amylose A&amp;lt;/scene&amp;gt; and B occur as parallel double-helices of glucose chains, with 6 glucose units per turn. In contrast, amylose V shows single helices, as illustrated in the crystal structure of &amp;lt;scene name=&#039;82/824003/Amylose_v/6&#039;&amp;gt;cyclodextrine 26&amp;lt;/scene&amp;gt; (same structure shown as &amp;lt;scene name=&#039;82/824003/Amylose_v/5&#039;&amp;gt;cartoon&amp;lt;/scene&amp;gt;). A more irregular conformation of a cyclic amylose occurs is found in complex with a protein in the structure [[5jiw]]. In solution, amylose occurs as flexible hydrated single helices. These can bind to small molecules to form inclusion complexes such as the famous starch/iodine/iodide complex. Because of the difficulty in characterizing non-crystalline or semi-crystalline polymeric materials with complex chemical makeup (variation in chain length and location of branch points), the structure of starch and its components &amp;lt;ref&amp;gt;Perez, Serge &amp;amp; Bertoft, Eric. (2010). The molecular structures of starch components and their contribution to the architecture of starch granules: A comprehensive review. Starch ‐ Stärke. 62. 389 - 420. 10.1002/star.201000013.&amp;lt;/ref&amp;gt; is less well characterized than that of proteins.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Amylose&amp;diff=4341248</id>
		<title>Amylose</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Amylose&amp;diff=4341248"/>
		<updated>2025-05-29T15:52:17Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Amylose&#039;&#039;&#039; is a linear polymer of glucose that occurs in starch. It occurs in foods such as grains and potatoes, and it is a major source of energy (calories) in most diets. There are three major forms of crystalline amylose, A, B, and V, that differ in the three-dimensional structure. Amylose can also occur as amorphous structure, for example in starch or when cooked in water. Amylose is distinct from amylopectin, which is a branched polymer of glucose, and from [[cellulose]], which is a linear polymer of glucose that differs in stereochemistry from amylose. In the context of naturally occurring starch, parts of amylopectin form semi-crystalline layers resembling amylose A or B, while amylose itself occurs in the amorphous parts.&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;Caption for this structure&#039; scene=&#039;82/824003/Amylose_v/4&#039;&amp;gt;&lt;br /&gt;
&amp;lt;scene name=&#039;82/824003/Amylose_a/3&#039;&amp;gt;Amylose A&amp;lt;/scene&amp;gt; and B occur as parallel double-helices of glucose chains, with 6 glucose units per turn. In contrast, amylose V shows single helices, as illustrated in the crystal structure of &amp;lt;scene name=&#039;82/824003/Amylose_v/2&#039;&amp;gt;cyclodextrine 26&amp;lt;/scene&amp;gt; (same structure shown as &amp;lt;scene name=&#039;82/824003/Amylose_v/3&#039;&amp;gt;cartoon&amp;lt;/scene&amp;gt;). A more irregular conformation of a cyclic amylose occurs is found in complex with a protein in the structure [[5jiw]]. In solution, amylose occurs as flexible hydrated single helices. These can bind to small molecules to form inclusion complexes such as the famous starch/iodine/iodide complex. Because of the difficulty in characterizing non-crystalline or semi-crystalline polymeric materials with complex chemical makeup (variation in chain length and location of branch points), the structure of starch and its components &amp;lt;ref&amp;gt;Perez, Serge &amp;amp; Bertoft, Eric. (2010). The molecular structures of starch components and their contribution to the architecture of starch granules: A comprehensive review. Starch ‐ Stärke. 62. 389 - 420. 10.1002/star.201000013.&amp;lt;/ref&amp;gt; is less well characterized than that of proteins.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Amylose&amp;diff=4341247</id>
		<title>Amylose</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Amylose&amp;diff=4341247"/>
		<updated>2025-05-29T15:40:41Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Amylose&#039;&#039;&#039; is a linear polymer of glucose that occurs in starch. It occurs in foods such as grains and potatoes, and it is a major source of energy (calories) in most diets. There are three major forms of crystalline amylose, A, B, and V, that differ in the three-dimensional structure. Amylose can also occur as amorphous structure, for example in starch or when cooked in water. Amylose is distinct from amylopectin, which is a branched polymer of glucose, and from [[cellulose]], which is a linear polymer of glucose that differs in stereochemistry from amylose. In the context of naturally occurring starch, parts of amylopectin form semi-crystalline layers resembling amylose A or B, while amylose itself occurs in the amorphous parts.&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;Caption for this structure&#039; scene=&#039;82/824003/Amylose_v/4&#039;&amp;gt;&lt;br /&gt;
&amp;lt;scene name=&#039;82/824003/Amylose_a/3&#039;&amp;gt;Amylose A&amp;lt;/scene&amp;gt; and B occur as parallel double-helices of glucose chains, with 6 glucose units per turn. In contrast, &amp;lt;scene name=&#039;82/824003/Amylose_v/2&#039;&amp;gt;amylose V&amp;lt;/scene&amp;gt; occurs as a single helix as shown in the figure (same structure shown as &amp;lt;scene name=&#039;82/824003/Amylose_v/3&#039;&amp;gt;cartoon&amp;lt;/scene&amp;gt;). A more irregular conformation of a cyclic amylose occurs is found in complex with a protein in the structure [[5jiw]]. In solution, amylose occurs as flexible hydrated single helices. These can bind to small molecules to form inclusion complexes such as the famous starch/iodine/iodide complex. Because of the difficulty in characterizing non-crystalline or semi-crystalline polymeric materials with complex chemical makeup (variation in chain length and location of branch points), the structure of starch and its components &amp;lt;ref&amp;gt;Perez, Serge &amp;amp; Bertoft, Eric. (2010). The molecular structures of starch components and their contribution to the architecture of starch granules: A comprehensive review. Starch ‐ Stärke. 62. 389 - 420. 10.1002/star.201000013.&amp;lt;/ref&amp;gt; is less well characterized than that of proteins.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Amylose&amp;diff=4341246</id>
		<title>Amylose</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Amylose&amp;diff=4341246"/>
		<updated>2025-05-29T15:38:52Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Amylose&#039;&#039;&#039; is a linear polymer of glucose that occurs in starch. It occurs in foods such as grains and potatoes, and it is a major source of energy (calories) in most diets. There are three major forms of crystalline amylose, A, B, and V, that differ in the three-dimensional structure. Amylose can also occur as amorphous structure, for example in starch or when cooked in water. Amylose is distinct from amylopectin, which is a branched polymer of glucose, and from [[cellulose]], which is a linear polymer of glucose that differs in stereochemistry from amylose. In the context of naturally occurring starch, parts of amylopectin form semi-crystalline layers resembling amylose A or B, while amylose itself occurs in the amorphous parts.&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;Caption for this structure&#039; scene=&#039;82/824003/Amylose_v/4&#039;&amp;gt;&lt;br /&gt;
&amp;lt;scene name=&#039;82/824003/Amylose_a/3&#039;&amp;gt;Amylose A&amp;lt;/scene&amp;gt; and B occur as parallel double-helices of glucose chains, with 6 glucose units per turn. In contrast, &amp;lt;scene name=&#039;82/824003/Amylose_v/2&#039;&amp;gt;amylose V&amp;lt;/scene&amp;gt; occurs as a single helix as shown in the figure (same structure shown as &amp;lt;scene name=&#039;82/824003/Amylose_v/3&#039;&amp;gt;cartoon&amp;lt;/scene&amp;gt;). A more irregular conformation of a cyclic amylose occurs is found in complex with a protein in the structure [[5jiw]]. In solution, amylose occurs as flexible hydrated single helices. These can bind to small molecules to form inclusion complexes such as the famous starch/iodine/iodide complex. Because of the difficulty in characterizing non-crystalline or semi-crystalline polymeric materials with complex chemical makeup (variation in chain length and location of branch points), the structure of starch and its components &amp;lt;ref&amp;gt;DOI:10.1002/star.201000013&amp;lt;/ref&amp;gt; is less well characterized than that of proteins.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Amylose&amp;diff=4341245</id>
		<title>Amylose</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Amylose&amp;diff=4341245"/>
		<updated>2025-05-29T14:55:27Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Amylose&#039;&#039;&#039; is a linear polymer of glucose that occurs in starch. It occurs in foods such as grains and potatoes, and it is a major source of energy (calories) in most diets. There are three major forms of crystalline amylose, A, B, and V, that differ in the three-dimensional structure. Amylose can also occur with an undefined structure, for example when cooked in water. Amylose is distinct from amylopectin, which is a branched polymer of glucose, and from [[cellulose]], which is a linear polymer of glucose that differs in stereochemistry from amylose. In the context of naturally occurring starch, parts of amylopectin form semi-crystalline layers resembling amylose A or B, while amylose itself occurs in the amorphous parts.&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;Caption for this structure&#039; scene=&#039;82/824003/Amylose_v/4&#039;&amp;gt;&lt;br /&gt;
&amp;lt;scene name=&#039;82/824003/Amylose_a/3&#039;&amp;gt;Amylose A&amp;lt;/scene&amp;gt; and B occur as parallel double-helices of glucose chains, with 6 glucose units per turn. In contrast, &amp;lt;scene name=&#039;82/824003/Amylose_v/2&#039;&amp;gt;amylose V&amp;lt;/scene&amp;gt; occurs as a single helix as shown in the figure (same structure shown as &amp;lt;scene name=&#039;82/824003/Amylose_v/3&#039;&amp;gt;cartoon&amp;lt;/scene&amp;gt;). A more irregular conformation of a cyclic amylose occurs is found in complex with a protein in the structure [[5jiw]]. In solution, amylose occurs as flexible hydrated single helices. These can bind to small molecules to form inclusion complexes such as the famous starch/iodine/iodide complex. Because of the difficulty in characterizing non-crystalline or semi-crystalline polymeric materials with complex chemical makeup (variation in chain length and location of branch points), the structure of starch and its components &amp;lt;ref&amp;gt;DOI:10.1002/star.201000013&amp;lt;/ref&amp;gt; is less well characterized than that of proteins.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Amylose&amp;diff=4341244</id>
		<title>Amylose</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Amylose&amp;diff=4341244"/>
		<updated>2025-05-29T14:53:59Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Amylose&#039;&#039;&#039; is a linear polymer of glucose that occurs in starch. It occurs in foods such as grains and potatoes, and it is a major source of energy (calories) in most diets. There are three major forms of crystalline amylose, A, B, and V, that differ in the three-dimensional structure. Amylose can also occur with an undefined structure, for example when cooked in water. Amylose is distinct from amylopectin, which is a branched polymer of glucose, and from [[cellulose]], which is a linear polymer of glucose that differs in stereochemistry from amylose. In the context of naturally occurring starch, parts of amylopectin form semi-crystalline layers, while amylose occurs in the amorphous parts.&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;340&#039; side=&#039;right&#039; caption=&#039;Caption for this structure&#039; scene=&#039;82/824003/Amylose_v/4&#039;&amp;gt;&lt;br /&gt;
&amp;lt;scene name=&#039;82/824003/Amylose_a/3&#039;&amp;gt;Amylose A&amp;lt;/scene&amp;gt; and B occur as parallel double-helices of glucose chains, with 6 glucose units per turn. In contrast, &amp;lt;scene name=&#039;82/824003/Amylose_v/2&#039;&amp;gt;amylose V&amp;lt;/scene&amp;gt; occurs as a single helix as shown in the figure (same structure shown as &amp;lt;scene name=&#039;82/824003/Amylose_v/3&#039;&amp;gt;cartoon&amp;lt;/scene&amp;gt;). A more irregular conformation of a cyclic amylose occurs is found in complex with a protein in the structure [[5jiw]]. In solution, amylose occurs as flexible hydrated single helices. These can bind to small molecules to form inclusion complexes such as the famous starch/iodine/iodide complex. Because of the difficulty in characterizing non-crystalline or semi-crystalline polymeric materials with complex chemical makeup (variation in chain length and location of branch points), the structure of starch and its components &amp;lt;ref&amp;gt;DOI:10.1002/star.201000013&amp;lt;/ref&amp;gt; is less well characterized than that of proteins.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4341238</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4341238"/>
		<updated>2025-05-28T13:27:45Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=gzlKHNoZdYc&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], normal modes in crystals [https://www.crystal.unito.it/animations_vibrational_modes.html], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console). Complex visualizations might be slower here than on molecular playground because the Jmol application is more powerful than the applet used in the browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[1024,693]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/5/5e/Benzene_cyclohexane.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Cyclohexane vs Benzene&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/c/c6/Cellulose.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Cellulose&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=File:Uvrb_fancy.spt&amp;diff=4338994</id>
		<title>File:Uvrb fancy.spt</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=File:Uvrb_fancy.spt&amp;diff=4338994"/>
		<updated>2025-05-21T02:02:23Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: uploaded a new version of &amp;quot;Image:Uvrb fancy.spt&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Testing a concept of selecting the next scene by rotation&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Sandbox_2&amp;diff=4338993</id>
		<title>User:Karsten Theis/Sandbox 2</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Sandbox_2&amp;diff=4338993"/>
		<updated>2025-05-21T01:57:50Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/5/5e/Benzene_cyclohexane.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Cyclohexane vs Benzene&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB single scene&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/6b/Uvrb_fancy.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB selector test&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/c/c8/UvrB_tour.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB tour&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=File:Uvrb_fancy.spt&amp;diff=4338992</id>
		<title>File:Uvrb fancy.spt</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=File:Uvrb_fancy.spt&amp;diff=4338992"/>
		<updated>2025-05-21T01:57:11Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: Testing a concept of selecting the next scene by rotation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Testing a concept of selecting the next scene by rotation&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Sandbox_2&amp;diff=4338991</id>
		<title>User:Karsten Theis/Sandbox 2</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Sandbox_2&amp;diff=4338991"/>
		<updated>2025-05-21T01:53:10Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/5/5e/Benzene_cyclohexane.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Cyclohexane vs Benzene&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB single scene&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&lt;br /&gt;
function selector(selections) {&lt;br /&gt;
 x_min = 0.4 * _width&lt;br /&gt;
 x_max = 0.6 * _width&lt;br /&gt;
 y_min = 0.4 * _height&lt;br /&gt;
 y_max = 0.6 * _height&lt;br /&gt;
 focus = {clickable and (sy &amp;gt; y_min and sy &amp;lt; y_max  and sx &amp;gt; x_min and sx &amp;lt; x_max)}&lt;br /&gt;
 minz = 0&lt;br /&gt;
 best = 0&lt;br /&gt;
 for (var j FROM [1,selections.length]) {&lt;br /&gt;
   a = selections[j] and focus&lt;br /&gt;
   if (a.length &amp;gt; 0) {&lt;br /&gt;
	if ((best = 0) or (minz &amp;gt; a.sz)) {&lt;br /&gt;
		best = j&lt;br /&gt;
		minz = a.sz&lt;br /&gt;
	}&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 return best&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
selections = [{ATP}, {91-117}, {157-245}]&lt;br /&gt;
old_s = 0&lt;br /&gt;
times = 0&lt;br /&gt;
while (times &amp;lt; 2) {&lt;br /&gt;
  delay 2&lt;br /&gt;
  s = selector(selections)&lt;br /&gt;
  print s&lt;br /&gt;
  if (s &amp;gt; 0) {&lt;br /&gt;
     select @{selections[s]}&lt;br /&gt;
     selectionhalos on&lt;br /&gt;
     delay 5&lt;br /&gt;
  }&lt;br /&gt;
  if (s = old_s) {&lt;br /&gt;
     selectionhalos off&lt;br /&gt;
     hide not selected&lt;br /&gt;
     select none&lt;br /&gt;
     center visible&lt;br /&gt;
     times = times + 1&lt;br /&gt;
     delay 10&lt;br /&gt;
     hide none&lt;br /&gt;
     select none&lt;br /&gt;
     center visible&lt;br /&gt;
     zoom 100&lt;br /&gt;
     delay 5&lt;br /&gt;
     s = 0&lt;br /&gt;
  }&lt;br /&gt;
  old_s = s&lt;br /&gt;
}&lt;br /&gt;
print &amp;quot;script done&amp;quot;&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB selector test&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/c/c8/UvrB_tour.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB tour&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Trypsin&amp;diff=4338857</id>
		<title>User:Karsten Theis/Trypsin</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Trypsin&amp;diff=4338857"/>
		<updated>2025-05-15T15:44:55Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a lesson on Trypsin, a serine protease. It assumes you already know how chymotrypsin, another serine protease, works. It explores substrate specificity, activation and degradation, and relationship to thrombin.&lt;br /&gt;
&lt;br /&gt;
By the end of this brief session, students will be able to:&lt;br /&gt;
&lt;br /&gt;
* Explain how substrate specificity in trypsin is achieved, emphasizing the role of Asp189 in recognizing and binding positively charged residues like Arg and Lys.&lt;br /&gt;
&lt;br /&gt;
* Compare the substrate-binding pockets of trypsin and chymotrypsin, noting how differences in residue composition drive specificity.&lt;br /&gt;
&lt;br /&gt;
* Describe the biological importance of regulating trypsin activation and degradation, considering the fact that a significant portion of amino acids in the gut come from digestive enzymes themselves.&lt;br /&gt;
&lt;br /&gt;
* Recognize the historical and structural relevance of trypsin as a model for thrombin, and appreciate how this influenced early biochemical and structural studies.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Center on:&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;center HIS and 57&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;His 57&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;center SER and 195&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;Ser 195&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;center ASP and 189&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;Asp 189&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
==Figures==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;550&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1071246/Trypsin_5mop/5&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1: &amp;lt;scene name=&#039;10/1071246/Trypsin_5mop/4&#039;&amp;gt;overall view&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Transition: &amp;lt;scene name=&#039;10/1071246/Overall_1oph/1&#039;&amp;gt;overall view in 1oph&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2: &amp;lt;scene name=&#039;10/1071246/Pocket/3&#039;&amp;gt;P1 pocket&amp;lt;/scene&amp;gt;&lt;br /&gt;
with &amp;lt;scene name=&#039;10/1071246/Pocket/4&#039;&amp;gt;mesh&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3: with &amp;lt;scene name=&#039;10/1071246/Pocket/4&#039;&amp;gt;mesh&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4: &amp;lt;scene name=&#039;10/1071246/Trypsinogen_2tgt_trypsin_2ptn/2&#039;&amp;gt;Trypsinogen superposition&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; ppdiaCaptionCmd = &amp;quot;changeCaption(&#039;Trypsin binds to its N-terminus, loops are ordered, and it is active&#039;,&#039;white&#039;,&#039;black&#039;);&amp;quot;; javascript @ppdiaCaptionCmd; model 1&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;active&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; ppdiaCaptionCmd = &amp;quot;changeCaption(&#039;Trypsinogen has disordered loops, including its (longer) N-terminus&#039;,&#039;white&#039;,&#039;black&#039;);&amp;quot;;&lt;br /&gt;
  javascript @ppdiaCaptionCmd;model 2&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;inactive&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; ppdiaCaptionCmd = &amp;quot;changeCaption(&#039;Superposition of trypsin(green) and trypsinogen(maroon)&#039;,&#039;white&#039;,&#039;black&#039;);&amp;quot;; javascript @ppdiaCaptionCmd; model 0&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;both&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;animation mode loop; ppdiaCaptionCmd = &amp;quot;changeCaption(&#039;Animated superposition of trypsin(green) and trypsinogen(maroon).&#039;,&#039;white&#039;,&#039;black&#039;);&amp;quot;; javascript @ppdiaCaptionCmd; animation on&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;animate&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5: inhibitor complex&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref&amp;gt;PMID:6207021&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref&amp;gt;PMID: 10181&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
&lt;br /&gt;
https://www.worthington-biochem.com/products/trypsin/manual (alpha trypsin, beta, anionic, cationic...)&lt;br /&gt;
&lt;br /&gt;
anhydro: treated to convert serines to anhydroalanines&lt;br /&gt;
&lt;br /&gt;
https://www.elegantexperiments.net/en/post/length-digestive-system/ digestive tract length&lt;br /&gt;
&lt;br /&gt;
https://derangedphysiology.com/main/cicm-primary-exam/gastrointestinal-system/Chapter-110/composition-volumes-and-regulation-gastrointestinal-secretions volume of secretions&lt;br /&gt;
&lt;br /&gt;
https://pubmed.ncbi.nlm.nih.gov/24694282/ Surface area (tennis court or badminton court?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Trypsin&amp;diff=4338856</id>
		<title>User:Karsten Theis/Trypsin</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Trypsin&amp;diff=4338856"/>
		<updated>2025-05-15T15:08:41Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Center on:&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;center HIS and 57&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;His 57&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;center SER and 195&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;Ser 195&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;center ASP and 189&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;Asp 189&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
==Figures==&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;550&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1071246/Trypsin_5mop/5&#039;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1: &amp;lt;scene name=&#039;10/1071246/Trypsin_5mop/4&#039;&amp;gt;overall view&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Transition: &amp;lt;scene name=&#039;10/1071246/Overall_1oph/1&#039;&amp;gt;overall view in 1oph&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2: &amp;lt;scene name=&#039;10/1071246/Pocket/3&#039;&amp;gt;P1 pocket&amp;lt;/scene&amp;gt;&lt;br /&gt;
with &amp;lt;scene name=&#039;10/1071246/Pocket/4&#039;&amp;gt;mesh&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3: with &amp;lt;scene name=&#039;10/1071246/Pocket/4&#039;&amp;gt;mesh&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4: &amp;lt;scene name=&#039;10/1071246/Trypsinogen_2tgt_trypsin_2ptn/2&#039;&amp;gt;Trypsinogen superposition&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; ppdiaCaptionCmd = &amp;quot;changeCaption(&#039;Trypsin binds to its N-terminus, loops are ordered, and it is active&#039;,&#039;white&#039;,&#039;black&#039;);&amp;quot;; javascript @ppdiaCaptionCmd; model 1&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;active&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; ppdiaCaptionCmd = &amp;quot;changeCaption(&#039;Trypsinogen has disordered loops, including its (longer) N-terminus&#039;,&#039;white&#039;,&#039;black&#039;);&amp;quot;;&lt;br /&gt;
  javascript @ppdiaCaptionCmd;model 2&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;inactive&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;!exit; ppdiaCaptionCmd = &amp;quot;changeCaption(&#039;Superposition of trypsin(green) and trypsinogen(maroon)&#039;,&#039;white&#039;,&#039;black&#039;);&amp;quot;; javascript @ppdiaCaptionCmd; model 0&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;both&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;animation mode loop; ppdiaCaptionCmd = &amp;quot;changeCaption(&#039;Animated superposition of trypsin(green) and trypsinogen(maroon).&#039;,&#039;white&#039;,&#039;black&#039;);&amp;quot;; javascript @ppdiaCaptionCmd; animation on&amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;text&amp;gt;animate&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5: inhibitor complex&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref&amp;gt;PMID:6207021&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref&amp;gt;PMID: 10181&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
&lt;br /&gt;
https://www.worthington-biochem.com/products/trypsin/manual (alpha trypsin, beta, anionic, cationic...)&lt;br /&gt;
&lt;br /&gt;
anhydro: treated to convert serines to anhydroalanines&lt;br /&gt;
&lt;br /&gt;
https://www.elegantexperiments.net/en/post/length-digestive-system/ digestive tract length&lt;br /&gt;
&lt;br /&gt;
https://derangedphysiology.com/main/cicm-primary-exam/gastrointestinal-system/Chapter-110/composition-volumes-and-regulation-gastrointestinal-secretions volume of secretions&lt;br /&gt;
&lt;br /&gt;
https://pubmed.ncbi.nlm.nih.gov/24694282/ Surface area (tennis court or badminton court?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=File:Molecular_playground_helpers.spt&amp;diff=4336739</id>
		<title>File:Molecular playground helpers.spt</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=File:Molecular_playground_helpers.spt&amp;diff=4336739"/>
		<updated>2025-05-09T16:00:02Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: uploaded a new version of &amp;quot;Image:Molecular playground helpers.spt&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Helper functions to show molecular playground scenes in applet (online) or app (offline).&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Lesson:_beta_turns&amp;diff=4336738</id>
		<title>Lesson: beta turns</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Lesson:_beta_turns&amp;diff=4336738"/>
		<updated>2025-05-09T15:26:58Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;beta turn&#039;&#039;&#039; is a secondary structure element consisting of four consecutive amino acids (or three consecutive peptide planes). The geometry of turns correspond to a change in the direction of the polypeptide backbone, with a short distance between the first and fourth alpha carbon. &lt;br /&gt;
&lt;br /&gt;
==Concepts you can explore here==&lt;br /&gt;
&lt;br /&gt;
# A beta turn is a secondary structure element distinct from (but sometimes overlapping with) alpha helices and beta strands&lt;br /&gt;
# Beta turns consist of stretches of four amino acids making a sharp turn, with a short distance between the first and last alpha carbon&lt;br /&gt;
# Beta turns typically occur near the surface of globular proteins, often connecting helices and strands&lt;br /&gt;
# There are multiple types of beta turns, distinguished by the torsion angles of the second and third residue&lt;br /&gt;
# Glycine and proline occur relatively often in beta turns and play distinct special roles&lt;br /&gt;
&lt;br /&gt;
See the [[Talk:Lesson:_beta_turns|discussion tab]] for learning and teaching notes.&lt;br /&gt;
&lt;br /&gt;
==Turns in 3D==&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;Phi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;set echo top center; color echo white; rotate BRANCH {68.CA} {68.N} 10; ang = angle({67.C},{68.N},{68.CA},{68.C})%0; echo &amp;quot;phi2 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} -10; ang = angle({67.C},{68.N},{68.CA},{68.C})%0; echo &amp;quot;phi2 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA}  10; ang = angle({68.C},{69.N},{69.CA},{69.C})%0; echo &amp;quot;phi3 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA} -10; ang = angle({68.C},{69.N},{69.CA},{69.C})%0; echo &amp;quot;phi3 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;  &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; select 2.1 and 68; label 2; select 2.1 and 69; label 3; delay 5; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Ramachandran&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;Psi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} 10; ang = angle({68.N},{68.CA},{68.C},{69.N})%0; echo &amp;quot;psi2 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} -10; ang = angle({68.N},{68.CA},{68.C},{69.N})%0; echo &amp;quot;psi2 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} 10; ang = angle({69.N},{69.CA},{69.C},{70.N})%0; echo &amp;quot;psi3 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} -10; ang = angle({69.N},{69.CA},{69.C},{70.N})%0; echo &amp;quot;psi3 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;original = {all}.xyz.all;rotate BRANCH  {68.CA}{68.C} 180;rotate BRANCH {69.N}{69.CA} 180;rotate COMPARE {all} @original;echo &amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;pepflip&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;--&amp;gt;&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;350&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1072233/Turn_2mhr/2&#039;&amp;gt;&lt;br /&gt;
===Basic features===&lt;br /&gt;
The interactive Jmol window on the right shows a beta turn (&amp;lt;scene name=&#039;10/1072233/Turn_2mhr/2&#039;&amp;gt;reload initial scene&amp;lt;/scene&amp;gt;) indicating the short distance between the first and the fourth alpha carbon. Because of this short distance, the polypeptide takes a sharp turn, sometimes also called a reverse turn. There are many types of beta turns, and they differ in the [[Tutorial:Ramachandran_principle_and_phi_psi_angles|phi and psi angles]] of residues two and three&amp;lt;ref&amp;gt;PMID:7756980&amp;lt;/ref&amp;gt;. Some turns feature a &amp;lt;scene name=&#039;10/1072233/Turn_2mhr/4&#039;&amp;gt;hydrogen bond&amp;lt;/scene&amp;gt; between residues one and four (like the one shown here) and others don&#039;t.&lt;br /&gt;
&lt;br /&gt;
===Beta turns in the context of other secondary structures===&lt;br /&gt;
The repetitive secondary structure elements ([[Alpha helix|alpha helices]] and [[Sheets in Proteins|beta strands]]) go in a single direction. Turns change the direction of the main chain, allowing them to connect alpha helices and beta strands at the surface of a globular protein. Of the six main chain hydrogen bonding partners of a turn, a maximum of two are engaged in hydrogen bonding, and turns are rarely found in the hydrophobic core. Below are three different protein folds highlighting the role of turns and their positions within a fold.&lt;br /&gt;
&lt;br /&gt;
====Turns in an all-alpha protein====&lt;br /&gt;
&lt;br /&gt;
In this &amp;lt;scene name=&#039;10/1072233/Alpha_2hmr/4&#039;&amp;gt;myohemerythrin&amp;lt;/scene&amp;gt; protein, you can see beta turns connecting the anti-parallel alpha helices. You can &amp;lt;jmol&amp;gt;&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
view1 = script(&amp;quot;show moveto&amp;quot;)[11][0];&lt;br /&gt;
select (67-70 and mainchain) or (68-69 and *.CB);&lt;br /&gt;
moveto 0.5 { 396 918 -22 24.97} 132.25 0.0 0.0 {27.01119230769231 33.81188461538462 10.03376923076923} 43.963541342342076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
wireframe 0.3;&lt;br /&gt;
color cpk;&lt;br /&gt;
select 67-70;&lt;br /&gt;
backbone off;&lt;br /&gt;
delay 0.5;&lt;br /&gt;
moveto 1.0 { 455 178 -872 110.43} 935.76 0.0 0.0 {26.793 33.036 8.6745} 44.96343106192573 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
slab on&lt;br /&gt;
slab 60&lt;br /&gt;
delay 6;&lt;br /&gt;
select 67-70; backbone 0.4; wireframe off;&lt;br /&gt;
slab off;&lt;br /&gt;
script inline @{&amp;quot;moveto 1.0&amp;quot; + view1};&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;zoom in&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; on the turn shown in the initial scene (and used below to explore conformations).&lt;br /&gt;
&lt;br /&gt;
====Turns in an all-beta protein====&lt;br /&gt;
In this &amp;lt;scene name=&#039;10/1072233/Agglutinin/3&#039;&amp;gt;agglutinin protein&amp;lt;/scene&amp;gt;, you can see beta turns connecting the strands of anti-parallel beta sheets. Two antiparallel beta strands directly connected by a turn is called a &amp;lt;jmol&amp;gt;&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;spin off; moveto 1.0 { 788 -362 -499 99.91} 404.55 0.0 0.0 {48.10615151515151 42.74112121212122 9.030939393939395} 37.460536158500446 {0 0 0} 0 0 0 3.0 0.0 0.0; delay 0.5; set zshade on; select protein; backbone -0.5;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;beta hairpin structure&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;. In this case, residues 1 and 4 of the turn are also part of the strands. This overlap of secondary structure assignment is common, but residues 2 and 3 of the turn are never part of a strand or an helix, by definition.&lt;br /&gt;
&lt;br /&gt;
====Turns in an alpha/beta protein====&lt;br /&gt;
&lt;br /&gt;
In this &amp;lt;scene name=&#039;10/1072233/Tim/3&#039;&amp;gt;TIM barrel protein&amp;lt;/scene&amp;gt;, you can see beta turns connecting helices and strands. The beta sheet is a barrel of parallel strands, as you can see if you turn on the cartoon representation with the buttons below.&lt;br /&gt;
&lt;br /&gt;
The buttons below alow you to change the background color, spin the molecule, change the style and turn on the Ramachandran plot for 10 seconds.&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;background white&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;white&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;background black&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;black&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;spin y -50&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;fastspin&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;spin off&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;spin off&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select protein; cartoon on; backbone off&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select protein; backbone 0.5; cartoon off&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;trace&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;set zshade on; set zshadepower 2&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;zshade&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; delay 10; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;rama&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Exploring torsion angles of turns===&lt;br /&gt;
&lt;br /&gt;
The interactive Jmol window shows a &amp;lt;scene name=&#039;10/1072233/Turn_2mhr/1&#039;&amp;gt;turn&amp;lt;/scene&amp;gt; (residues 67-70 of the [[2hmr]] structure shown previously) that you can explore. Four consecutive amino acids are said to form a beta turn if the alpha carbon atoms of the first and the fourth residue are in close proximity (less than 7.0 or 7.5 Angstrom&amp;lt;ref&amp;gt;PMID:36293166&amp;lt;/ref&amp;gt;). However, this also happens in alpha helices and 3(10) helices, and these are not classified as beta turn. &lt;br /&gt;
&lt;br /&gt;
In the structure fragment shown, the alpha carbon atoms are numbered 1 through 4 (relative numbering, sometimes also given as n, n+1, n+2, n+3), and the distance between the carbonyl oxygen and the amide hydrogen is indicated (dashed line and magnitude). Side chains are truncated to just show the beta carbon, and residues 1 and 4 have some main chain omitted for clarity.&lt;br /&gt;
&lt;br /&gt;
Another way of looking at it is that turns consist of three &amp;lt;jmol&amp;gt;&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
draw ID p68a polygon [{68.CA} {69.H} {69.CA}] color blue;&lt;br /&gt;
draw ID p68b polygon [{68.CA} {69.CA} {68.O}] color red;&lt;br /&gt;
draw ID p67a polygon [{67.CA} {68.H} {68.CA}] color blue;&lt;br /&gt;
draw ID p67b polygon [{67.CA} {68.CA} {67.O}] color red;&lt;br /&gt;
draw ID p69a polygon [{69.CA} {70.H} {70.CA}] color blue;&lt;br /&gt;
draw ID p69b polygon [{69.CA} {70.CA} {69.O}] color red;&lt;br /&gt;
delay 2; hide protein; delay 5; display protein; delay 1; draw ID p* delete;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;peptide planes&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;, whose relative orientation is determined by the phi/psi angles of residue 2 and 3.&lt;br /&gt;
&lt;br /&gt;
The buttons below allow you to modify the conformation of the turn by changing the relevant torsion angles. To get a low energy conformation, you want a good hydrogen bond, i.e. carbonyl oxygen, amide hydrogen and nitrogen colinear &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
define current selected;&lt;br /&gt;
select 67.O or 70.N or 70.H;&lt;br /&gt;
spacefill 30%;&lt;br /&gt;
selectionHalos on; &lt;br /&gt;
delay 1.5; &lt;br /&gt;
selectionHalos off;&lt;br /&gt;
spacefill off&lt;br /&gt;
select current;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;(☼)&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;, and want to avoid any clashes, e.g. carbonyl oxygen &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
define current selected;&lt;br /&gt;
select *.O and visible; &lt;br /&gt;
spacefill 30%;&lt;br /&gt;
selectionHalos on; &lt;br /&gt;
delay 1.5; &lt;br /&gt;
selectionHalos off;&lt;br /&gt;
spacefill off&lt;br /&gt;
select current;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;(☼)&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; too close to beta carbon &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
define current selected;&lt;br /&gt;
select *.CB and visible;&lt;br /&gt;
spacefill 30%; &lt;br /&gt;
selectionHalos on; &lt;br /&gt;
delay 1.5; &lt;br /&gt;
selectionHalos off;&lt;br /&gt;
spacefill off;&lt;br /&gt;
select current;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;(☼)&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; of the side chains.&lt;br /&gt;
&lt;br /&gt;
====Excercise 1====&lt;br /&gt;
&lt;br /&gt;
Turns have been classified into different types in different ways, but most classifications include type I, type II, and type I&#039; &amp;lt;ref&amp;gt;PMID: 3184187&amp;lt;/ref&amp;gt;. Try to use the buttons to make a type I turn with the features shown below. This is the most common beta turn (more than one third are of this type). Are there any clashes? How is the different from an alpha helix (where all carbonyl groups are pointing in the same direction)?&lt;br /&gt;
&lt;br /&gt;
Before you start, make sure a single turn is displayed in the Jmol window on the right (&amp;lt;scene name=&#039;10/1072233/Turn_2mhr/1&#039;&amp;gt;reload&amp;lt;/scene&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Phi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA}  10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;  &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; select 2.1 and 68; label 2; select 2.1 and 69; label 3; delay 5; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Ramachandran&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
Psi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;original = {all}.xyz.all;rotate BRANCH  {68.CA}{68.C} 180;rotate BRANCH {69.N}{69.CA} 180;rotate COMPARE {all} @original&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;pepflip&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Beta_turn_type_I.png|500px]]&lt;br /&gt;
&lt;br /&gt;
====Excercise 2====&lt;br /&gt;
&lt;br /&gt;
And now try to get a type I prime conformation, as shown below. This turn is rare (about 4% of beta turns are of this type). Hint: the pepflip button might serve as a bit of a shortcut. Why is that? Are there any clashes? If you had to choose, would you place a glycine at position 2 or position 3?&lt;br /&gt;
&lt;br /&gt;
[[Image:Beta_turn_type_I_prime.png|500px]]&lt;br /&gt;
&lt;br /&gt;
Before you start, make sure a single turn is displayed in the Jmol window on the right (&amp;lt;scene name=&#039;10/1072233/Turn_2mhr/3&#039;&amp;gt;reload&amp;lt;/scene&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Phi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA}  10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;  &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; select 2.1 and 68; label 2; select 2.1 and 69; label 3; delay 5; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Ramachandran&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Psi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} 10;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;original = {all}.xyz.all;rotate BRANCH  {68.CA}{68.C} 180;rotate BRANCH {69.N}{69.CA} 180;rotate COMPARE {all} @original&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;pepflip&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Exercise 3====&lt;br /&gt;
Compare and contrast the two turns we discussed, and compare them to alpha helix and beta sheet. Clicking the buttons will preserve the orientation of the 2-&amp;gt;3 peptide plane &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
define current selected;&lt;br /&gt;
select 68.C or 68.O or 69.N or 69.H;&lt;br /&gt;
spacefill 30%;&lt;br /&gt;
select 68.CA or 68.C or 68.O or 69.N or 69.H or 69.CA;&lt;br /&gt;
selectionHalos on; &lt;br /&gt;
delay 0.8; &lt;br /&gt;
selectionHalos off;&lt;br /&gt;
select 68.C or 68.O or 69.N or 69.H;&lt;br /&gt;
spacefill off;&lt;br /&gt;
select current;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;(☼)&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; while adjusting the torsion angles. You can press the last button to rotate the entire molecules as a rigid body (different from the pepflip button above, which changes torsion angles).&lt;br /&gt;
&lt;br /&gt;
Before you start, make sure a single turn is displayed in the Jmol window on the right (&amp;lt;scene name=&#039;10/1072233/Turn_2mhr/3&#039;&amp;gt;reload&amp;lt;/scene&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -60 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;&lt;br /&gt;
rpsi2 = -30 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA} @rpsi2;&lt;br /&gt;
rphi3 = -90 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;&lt;br /&gt;
rpsi3 =   0 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; &lt;br /&gt;
set echo top center; echo &amp;quot;Type I&amp;quot;; color echo white&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Type I&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -57 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = -47 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = -57 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = -47 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;alpha helix&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;(alpha helix)&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -49 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = -26 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = -49 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = -26 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;3-10 helix&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;(3-10 helix)&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -140 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = 130 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = -140 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = 130 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;beta strand&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;(beta strand)&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = 60 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = 30 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = 90 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = 0 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;Type I prime&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Type I prime&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -60 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = 120 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = 80 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = 0 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;Type II&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Type II&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -60 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = -30 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = -120 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = 120 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;Type VIII&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Type VIII&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate X 180 180&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;rotate along x-axis&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;center visible&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;center&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;  &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; select 2.1 and 68; label 2; select 2.1 and 69; label 3; delay 5; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;rama&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some possible things to discuss: the orientation of the carbonyl groups, hydrogen bonding patterns, potential clashes of side chains with the main chain secondary structure conformation, regions of the Ramachandran plot, distance of certain pairs of atoms, cis and trans peptides (what?).&lt;br /&gt;
&lt;br /&gt;
===Role of glycine and proline===&lt;br /&gt;
&lt;br /&gt;
Glycine is the only amino acid lacking a side chain, allowing for a larger range of favorable phi/psi combinations. Proline, on the other hand, has a severely restricted range of phi torsion angles because it forms a five-membered ring involving the side chain and the main chain nitrogen. This allows these two amino acids to fulfil special roles in beta turns.&lt;br /&gt;
&lt;br /&gt;
We will look at two examples from myohemethryin. The first shows a type II turn with &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;source /scripts/10/1072233/Alpha_2hmr/1.spt; background black; set zshade on; delay 0.5; moveto 1.0 { 68 -995 72 143.7} 132.25 0.0 0.0 {17.7825 49.4315 12.7155} 29.587605862640846 {0 0 0} 0 0 0 3.0 0.0 0.0;;&lt;br /&gt;
moveto 2.0 { 732 -555 394 175.75} 615.28 0.0 0.0 {15.7575 32.677 14.6085} 44.38762035414952 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
source /scripts/10/1072233/Alpha_2hmr/2.spt; background black; set zshade on;delay 0.5;draw * off &lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;glycine in position 3&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;. A side chain in position 3 would clash with the carbonyl group of the central peptide plane of the turn, so a glycine in the position avoids a clash. Position 2 would be a good fit for a proline, but is a different amino acid in this case.&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;source /scripts/10/1072233/Alpha_2hmr/1.spt; background black; set zshade on; delay 0.5; &lt;br /&gt;
moveto 2.5 { -576 521 -629 104.96} 1076.13 -1.4 -15.1 {3.9860344827586216 57.429310344827584 10.870275862068969} 43.92085420330055 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
source /scripts/10/1072233/Alpha_2hmr/6.spt; delay 1.0;select visible and alpha; backbone off; color cpk; draw * off &lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;second example&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;, we have a proline in position 3 and a cis-peptide between position 2 and 3. The cis-peptide has a shorter distance between alpha carbons (3.04 instead of 3.76 angstroms), making for a very tight turn. There is no hydrogen bond between residue 1 and 4 in this case. Beta turns involving a cis-peptide are classified as type VI.&lt;br /&gt;
&lt;br /&gt;
You can revisit &amp;lt;scene name=&#039;10/1072233/Alpha_2hmr/4&#039;&amp;gt;myohemerythrin&amp;lt;/scene&amp;gt; and &amp;lt;scene name=&#039;10/1072233/Agglutinin/3&#039;&amp;gt;agglutinin protein&amp;lt;/scene&amp;gt;and &amp;lt;scene name=&#039;10/1072233/Tim/3&#039;&amp;gt;TIM barrel protein&amp;lt;/scene&amp;gt;. Use the button below to highlight glycine (white) and proline (green) residues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select gly.ca;&lt;br /&gt;
spacefill on;&lt;br /&gt;
color white;&lt;br /&gt;
select pro.ca;&lt;br /&gt;
spacefill on; &lt;br /&gt;
color green&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;Glycine and Proline&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can explore more turns at [https://betaturn.com/ betaturn.com], which allows you to browse for turns of a specific type, and contains a lot of information and explanations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Stay above this line...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
--!&amp;gt;&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Further reading&lt;br /&gt;
* [[Turns in Proteins]]&lt;br /&gt;
* [[Alpha helix]]&lt;br /&gt;
* [[Sheets in Proteins]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=Lesson:_beta_turns&amp;diff=4336737</id>
		<title>Lesson: beta turns</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=Lesson:_beta_turns&amp;diff=4336737"/>
		<updated>2025-05-09T15:05:38Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;beta turn&#039;&#039;&#039; is a secondary structure element consisting of four consecutive amino acids (or three consecutive peptide planes). The geometry of turns correspond to a change in the direction of the polypeptide backbone, with a short distance between the first and fourth alpha carbon. &lt;br /&gt;
&lt;br /&gt;
==Concepts you can explore here==&lt;br /&gt;
&lt;br /&gt;
# A beta turn is a secondary structure element distinct from (but sometimes overlapping with) alpha helices and beta strands&lt;br /&gt;
# Beta turns consist of stretches of four amino acids making a sharp turn, with a short distance between the first and last alpha carbon&lt;br /&gt;
# Beta turns typically occur near the surface of globular proteins, often connecting helices and strands&lt;br /&gt;
# There are multiple types of beta turns, distinguished by the torsion angles of the second and third residue&lt;br /&gt;
# Glycine and proline occur relatively often in beta turns and play distinct special roles&lt;br /&gt;
&lt;br /&gt;
See the [[Talk:Lesson:_beta_turns|discussion tab]] for learning and teaching notes.&lt;br /&gt;
&lt;br /&gt;
==Turns in 3D==&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;Phi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;set echo top center; color echo white; rotate BRANCH {68.CA} {68.N} 10; ang = angle({67.C},{68.N},{68.CA},{68.C})%0; echo &amp;quot;phi2 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} -10; ang = angle({67.C},{68.N},{68.CA},{68.C})%0; echo &amp;quot;phi2 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA}  10; ang = angle({68.C},{69.N},{69.CA},{69.C})%0; echo &amp;quot;phi3 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA} -10; ang = angle({68.C},{69.N},{69.CA},{69.C})%0; echo &amp;quot;phi3 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;  &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; select 2.1 and 68; label 2; select 2.1 and 69; label 3; delay 5; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Ramachandran&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;Psi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} 10; ang = angle({68.N},{68.CA},{68.C},{69.N})%0; echo &amp;quot;psi2 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} -10; ang = angle({68.N},{68.CA},{68.C},{69.N})%0; echo &amp;quot;psi2 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} 10; ang = angle({69.N},{69.CA},{69.C},{70.N})%0; echo &amp;quot;psi3 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} -10; ang = angle({69.N},{69.CA},{69.C},{70.N})%0; echo &amp;quot;psi3 is @{ang}&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;original = {all}.xyz.all;rotate BRANCH  {68.CA}{68.C} 180;rotate BRANCH {69.N}{69.CA} 180;rotate COMPARE {all} @original;echo &amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;pepflip&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;--&amp;gt;&lt;br /&gt;
&amp;lt;StructureSection load=&#039;&#039; size=&#039;[517,350]&#039; side=&#039;right&#039; caption=&#039;&#039; scene=&#039;10/1072233/Turn_2mhr/2&#039;&amp;gt;&lt;br /&gt;
===Basic features===&lt;br /&gt;
The interactive Jmol window on the right shows a beta turn (&amp;lt;scene name=&#039;10/1072233/Turn_2mhr/2&#039;&amp;gt;reload initial scene&amp;lt;/scene&amp;gt;) indicating the short distance between the first and the fourth alpha carbon. Because of this short distance, the polypeptide takes a sharp turn, sometimes also called a reverse turn. There are many types of beta turns, and they differ in the [[Tutorial:Ramachandran_principle_and_phi_psi_angles|phi and psi angles]] of residues two and three&amp;lt;ref&amp;gt;PMID:7756980&amp;lt;/ref&amp;gt;. Some turns feature a &amp;lt;scene name=&#039;10/1072233/Turn_2mhr/4&#039;&amp;gt;hydrogen bond&amp;lt;/scene&amp;gt; between residues one and four (like the one shown here) and others don&#039;t.&lt;br /&gt;
&lt;br /&gt;
===Beta turns in the context of other secondary structures===&lt;br /&gt;
The repetitive secondary structure elements ([[Alpha helix|alpha helices]] and [[Sheets in Proteins|beta strands]]) go in a single direction. Turns change the direction of the main chain, allowing them to connect alpha helices and beta strands at the surface of a globular protein. Of the six main chain hydrogen bonding partners of a turn, a maximum of two are engaged in hydrogen bonding, and turns are rarely found in the hydrophobic core. Below are three different protein folds highlighting the role of turns and their positions within a fold.&lt;br /&gt;
&lt;br /&gt;
====Turns in an all-alpha protein====&lt;br /&gt;
&lt;br /&gt;
In this &amp;lt;scene name=&#039;10/1072233/Alpha_2hmr/4&#039;&amp;gt;myohemerythrin&amp;lt;/scene&amp;gt; protein, you can see beta turns connecting the anti-parallel alpha helices. You can &amp;lt;jmol&amp;gt;&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
view1 = script(&amp;quot;show moveto&amp;quot;)[11][0];&lt;br /&gt;
select (67-70 and mainchain) or (68-69 and *.CB);&lt;br /&gt;
moveto 0.5 { 396 918 -22 24.97} 132.25 0.0 0.0 {27.01119230769231 33.81188461538462 10.03376923076923} 43.963541342342076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
wireframe 0.3;&lt;br /&gt;
color cpk;&lt;br /&gt;
select 67-70;&lt;br /&gt;
backbone off;&lt;br /&gt;
delay 0.5;&lt;br /&gt;
moveto 1.0 { 455 178 -872 110.43} 935.76 0.0 0.0 {26.793 33.036 8.6745} 44.96343106192573 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
slab on&lt;br /&gt;
slab 60&lt;br /&gt;
delay 6;&lt;br /&gt;
select 67-70; backbone 0.4; wireframe off;&lt;br /&gt;
slab off;&lt;br /&gt;
script inline @{&amp;quot;moveto 1.0&amp;quot; + view1};&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;zoom in&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; on the turn shown in the initial scene (and used below to explore conformations).&lt;br /&gt;
&lt;br /&gt;
====Turns in an all-beta protein====&lt;br /&gt;
In this &amp;lt;scene name=&#039;10/1072233/Agglutinin/3&#039;&amp;gt;agglutinin protein&amp;lt;/scene&amp;gt;, you can see beta turns connecting the strands of anti-parallel beta sheets. Two antiparallel beta strands directly connected by a turn is called a &amp;lt;jmol&amp;gt;&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;spin off; moveto 1.0 { 788 -362 -499 99.91} 404.55 0.0 0.0 {48.10615151515151 42.74112121212122 9.030939393939395} 37.460536158500446 {0 0 0} 0 0 0 3.0 0.0 0.0; delay 0.5; set zshade on; select protein; backbone -0.5;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;beta hairpin structure&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;. In this case, residues 1 and 4 of the turn are also part of the strands. This overlap of secondary structure assignment is common, but residues 2 and 3 of the turn are never part of a strand or an helix, by definition.&lt;br /&gt;
&lt;br /&gt;
====Turns in an alpha/beta protein====&lt;br /&gt;
&lt;br /&gt;
In this &amp;lt;scene name=&#039;10/1072233/Tim/3&#039;&amp;gt;TIM barrel protein&amp;lt;/scene&amp;gt;, you can see beta turns connecting helices and strands. The beta sheet is a barrel of parallel strands, as you can see if you turn on the cartoon representation with the buttons below.&lt;br /&gt;
&lt;br /&gt;
The buttons below alow you to change the background color, spin the molecule, change the style and turn on the Ramachandran plot for 10 seconds.&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;background white&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;white&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;background black&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;black&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;spin y -50&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;fastspin&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;spin off&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;spin off&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select protein; cartoon on; backbone off&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;cartoon&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select protein; backbone 0.5; cartoon off&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;trace&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;set zshade on; set zshadepower 2&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;zshade&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; delay 10; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;rama&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Exploring torsion angles of turns===&lt;br /&gt;
&lt;br /&gt;
The interactive Jmol window shows a &amp;lt;scene name=&#039;10/1072233/Turn_2mhr/1&#039;&amp;gt;turn&amp;lt;/scene&amp;gt; (residues 67-70 of the [[2hmr]] structure shown previously) that you can explore. Four consecutive amino acids are said to form a beta turn if the alpha carbon atoms of the first and the fourth residue are in close proximity (less than 7.0 or 7.5 Angstrom&amp;lt;ref&amp;gt;PMID:36293166&amp;lt;/ref&amp;gt;). However, this also happens in alpha helices and 3(10) helices, and these are not classified as beta turn. &lt;br /&gt;
&lt;br /&gt;
In the structure fragment shown, the alpha carbon atoms are numbered 1 through 4 (relative numbering, sometimes also given as n, n+1, n+2, n+3), and the distance between the carbonyl oxygen and the amide hydrogen is indicated (dashed line and magnitude). Side chains are truncated to just show the beta carbon, and residues 1 and 4 have some main chain omitted for clarity.&lt;br /&gt;
&lt;br /&gt;
Another way of looking at it is that turns consist of three &amp;lt;jmol&amp;gt;&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
draw ID p68a polygon [{68.CA} {69.H} {69.CA}] color blue;&lt;br /&gt;
draw ID p68b polygon [{68.CA} {69.CA} {68.O}] color red;&lt;br /&gt;
draw ID p67a polygon [{67.CA} {68.H} {68.CA}] color blue;&lt;br /&gt;
draw ID p67b polygon [{67.CA} {68.CA} {67.O}] color red;&lt;br /&gt;
draw ID p69a polygon [{69.CA} {70.H} {70.CA}] color blue;&lt;br /&gt;
draw ID p69b polygon [{69.CA} {70.CA} {69.O}] color red;&lt;br /&gt;
delay 2; hide protein; delay 5; display protein; delay 1; draw ID p* delete;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;peptide planes&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;, whose relative orientation is determined by the phi/psi angles of residue 2 and 3.&lt;br /&gt;
&lt;br /&gt;
The buttons below allow you to modify the conformation of the turn by changing the relevant torsion angles. To get a low energy conformation, you want a good hydrogen bond, i.e. carbonyl oxygen, amide hydrogen and nitrogen colinear &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
define current selected;&lt;br /&gt;
select 67.O or 70.N or 70.H;&lt;br /&gt;
spacefill 30%;&lt;br /&gt;
selectionHalos on; &lt;br /&gt;
delay 1.5; &lt;br /&gt;
selectionHalos off;&lt;br /&gt;
spacefill off&lt;br /&gt;
select current;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;(☼)&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;, and want to avoid any clashes, e.g. carbonyl oxygen &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
define current selected;&lt;br /&gt;
select *.O and visible; &lt;br /&gt;
spacefill 30%;&lt;br /&gt;
selectionHalos on; &lt;br /&gt;
delay 1.5; &lt;br /&gt;
selectionHalos off;&lt;br /&gt;
spacefill off&lt;br /&gt;
select current;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;(☼)&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; too close to beta carbon &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
define current selected;&lt;br /&gt;
select *.CB and visible;&lt;br /&gt;
spacefill 30%; &lt;br /&gt;
selectionHalos on; &lt;br /&gt;
delay 1.5; &lt;br /&gt;
selectionHalos off;&lt;br /&gt;
spacefill off;&lt;br /&gt;
select current;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;(☼)&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; of the side chains.&lt;br /&gt;
&lt;br /&gt;
====Excercise 1====&lt;br /&gt;
&lt;br /&gt;
Turns have been classified into different types in different ways, but most classifications include type I, type II, and type I&#039; &amp;lt;ref&amp;gt;PMID: 3184187&amp;lt;/ref&amp;gt;. Try to use the buttons to make a type I turn with the features shown below. This is the most common beta turn (more than one third are of this type). Are there any clashes? How is the different from an alpha helix (where all carbonyl groups are pointing in the same direction)?&lt;br /&gt;
&lt;br /&gt;
Before you start, make sure a single turn is displayed in the Jmol window on the right (&amp;lt;scene name=&#039;10/1072233/Turn_2mhr/1&#039;&amp;gt;reload&amp;lt;/scene&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Phi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA}  10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;  &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; select 2.1 and 68; label 2; select 2.1 and 69; label 3; delay 5; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Ramachandran&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
Psi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;original = {all}.xyz.all;rotate BRANCH  {68.CA}{68.C} 180;rotate BRANCH {69.N}{69.CA} 180;rotate COMPARE {all} @original&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;pepflip&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Beta_turn_type_I.png|500px]]&lt;br /&gt;
&lt;br /&gt;
====Excercise 2====&lt;br /&gt;
&lt;br /&gt;
And now try to get a type I prime conformation, as shown below. This turn is rare (about 4% of beta turns are of this type). Hint: the pepflip button might serve as a bit of a shortcut. Why is that? Are there any clashes? If you had to choose, would you place a glycine at position 2 or position 3?&lt;br /&gt;
&lt;br /&gt;
[[Image:Beta_turn_type_I_prime.png|500px]]&lt;br /&gt;
&lt;br /&gt;
Before you start, make sure a single turn is displayed in the Jmol window on the right (&amp;lt;scene name=&#039;10/1072233/Turn_2mhr/3&#039;&amp;gt;reload&amp;lt;/scene&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Phi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {68.CA} {68.N} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA}  10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH {69.N}{69.CA} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;  &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; select 2.1 and 68; label 2; select 2.1 and 69; label 3; delay 5; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Ramachandran&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Psi&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} 10;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 2 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {68.C}{68.CA} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} 10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;+&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; 3 &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate BRANCH  {69.CA}{69.C} -10&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;−&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&amp;amp;emsp;&amp;amp;emsp;&amp;amp;emsp;&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;original = {all}.xyz.all;rotate BRANCH  {68.CA}{68.C} 180;rotate BRANCH {69.N}{69.CA} 180;rotate COMPARE {all} @original&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;pepflip&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Exercise 3====&lt;br /&gt;
Compare and contrast the two turns we discussed, and compare them to alpha helix and beta sheet. Clicking the buttons will preserve the orientation of the 2-&amp;gt;3 peptide plane &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
define current selected;&lt;br /&gt;
select 68.C or 68.O or 69.N or 69.H;&lt;br /&gt;
spacefill 30%;&lt;br /&gt;
select 68.CA or 68.C or 68.O or 69.N or 69.H or 69.CA;&lt;br /&gt;
selectionHalos on; &lt;br /&gt;
delay 0.8; &lt;br /&gt;
selectionHalos off;&lt;br /&gt;
select 68.C or 68.O or 69.N or 69.H;&lt;br /&gt;
spacefill off;&lt;br /&gt;
select current;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;(☼)&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; while adjusting the torsion angles. You can press the last button to rotate the entire molecules as a rigid body (different from the pepflip button above, which changes torsion angles).&lt;br /&gt;
&lt;br /&gt;
Before you start, make sure a single turn is displayed in the Jmol window on the right (&amp;lt;scene name=&#039;10/1072233/Turn_2mhr/3&#039;&amp;gt;reload&amp;lt;/scene&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -60 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;&lt;br /&gt;
rpsi2 = -30 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA} @rpsi2;&lt;br /&gt;
rphi3 = -90 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;&lt;br /&gt;
rpsi3 =   0 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; &lt;br /&gt;
set echo top center; echo &amp;quot;Type I&amp;quot;; color echo white&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Type I&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -57 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = -47 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = -57 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = -47 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;alpha helix&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;(alpha helix)&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -49 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = -26 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = -49 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = -26 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;3-10 helix&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;(3-10 helix)&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -140 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = 130 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = -140 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = 130 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;beta strand&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;(beta strand)&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = 60 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = 30 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = 90 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = 0 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;Type I prime&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Type I prime&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -60 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = 120 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = 80 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = 0 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;Type II&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Type II&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rphi2 = -60 - angle({67.C},{68.N},{68.CA},{68.C});rotate branch {68.CA} {68.N} @rphi2;rpsi2 = -30 - angle({68.N},{68.CA},{68.C},{69.N});rotate branch {68.C} {68.CA}@rpsi2;rphi3 = -120 - angle({68.C},{69.N},{69.CA},{69.C});rotate branch {69.N} {69.CA} @rphi3;rpsi3 = 120 - angle({69.N},{69.CA},{69.C},{70.N});rotate branch {69.CA} {69.C} @rpsi3; echo &amp;quot;Type VIII&amp;quot;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Type VIII&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;rotate X 180 180&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;rotate along x-axis&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt; &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;center visible&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;center&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;  &amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;save state ~one;&lt;br /&gt;
   plot ramachandran; select 2.1 and 68; label 2; select 2.1 and 69; label 3; delay 5; restore state ~one&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;rama&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some possible things to discuss: the orientation of the carbonyl groups, hydrogen bonding patterns, potential clashes of side chains with the main chain secondary structure conformation, regions of the Ramachandran plot, distance of certain pairs of atoms, cis and trans peptides (what?).&lt;br /&gt;
&lt;br /&gt;
===Role of glycine and proline===&lt;br /&gt;
&lt;br /&gt;
Glycine is the only amino acid lacking a side chain, allowing for a larger range of favorable phi/psi combinations. Proline, on the other hand, has a severely restricted range of phi torsion angles because it forms a five-membered ring involving the side chain and the main chain nitrogen. This allows these two amino acids to fulfil special roles in beta turns.&lt;br /&gt;
&lt;br /&gt;
We will look at two examples from myohemethryin. The first shows a type II turn with &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;source /scripts/10/1072233/Alpha_2hmr/1.spt; background black; set zshade on; delay 0.5; moveto 1.0 { 68 -995 72 143.7} 132.25 0.0 0.0 {17.7825 49.4315 12.7155} 29.587605862640846 {0 0 0} 0 0 0 3.0 0.0 0.0;;&lt;br /&gt;
moveto 2.0 { 732 -555 394 175.75} 615.28 0.0 0.0 {15.7575 32.677 14.6085} 44.38762035414952 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
source /scripts/10/1072233/Alpha_2hmr/2.spt; background black; set zshade on;delay 0.5;draw * off &lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;glycine in position 3&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;. A side chain in position 3 would clash with the carbonyl group of the central peptide plane of the turn, so a glycine in the position avoids a clash. Position 2 would be a good fit for a proline, but is a different amino acid in this case.&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;jmol&amp;gt;&lt;br /&gt;
&amp;lt;jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;source /scripts/10/1072233/Alpha_2hmr/1.spt; background black; set zshade on; delay 0.5; &lt;br /&gt;
moveto 2.5 { -576 521 -629 104.96} 1076.13 -1.4 -15.1 {3.9860344827586216 57.429310344827584 10.870275862068969} 43.92085420330055 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
source /scripts/10/1072233/Alpha_2hmr/6.spt; delay 1.0;select visible and alpha; backbone off; color cpk; draw * off &lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;second example&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;, we have a proline in position 3 and a cis-peptide between position 2 and 3. The cis-peptide has a shorter distance between alpha carbons (3.04 instead of 3.76 angstroms), making for a very tight turn. There is no hydrogen bond between residue 1 and 4 in this case. Beta turns involving a cis-peptide are classified as type VI.&lt;br /&gt;
&lt;br /&gt;
You can revisit &amp;lt;scene name=&#039;10/1072233/Alpha_2hmr/4&#039;&amp;gt;myohemerythrin&amp;lt;/scene&amp;gt; and &amp;lt;scene name=&#039;10/1072233/Agglutinin/3&#039;&amp;gt;agglutinin protein&amp;lt;/scene&amp;gt;and &amp;lt;scene name=&#039;10/1072233/Tim/3&#039;&amp;gt;TIM barrel protein&amp;lt;/scene&amp;gt;. Use the button below to highlight glycine (white) and proline (green) residues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;select gly.ca;&lt;br /&gt;
spacefill on;&lt;br /&gt;
color white;&lt;br /&gt;
select pro.ca;&lt;br /&gt;
spacefill on; &lt;br /&gt;
color green&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;text&amp;gt;Glycine and Proline&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can explore more turns at [https://betaturn.com/ betaturn.com], which allows you to browse for turns of a specific type, and contains a lot of information and explanations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Stay above this line...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
--!&amp;gt;&lt;br /&gt;
&amp;lt;/StructureSection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Further reading&lt;br /&gt;
* [[Turns in Proteins]]&lt;br /&gt;
* [[Alpha helix]]&lt;br /&gt;
* [[Sheets in Proteins]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/AI_tutorial&amp;diff=4336736</id>
		<title>User:Karsten Theis/AI tutorial</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/AI_tutorial&amp;diff=4336736"/>
		<updated>2025-05-08T18:05:53Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a tutorial for AI how to help with making 3D figures in Jmol (see all materials [https://github.com/ktheis/Jmol-Jane here]). If it helps humans too, so much the better.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;350&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;85/857774/Chymotrypsin/4&#039; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==My take on high-quality figures==&lt;br /&gt;
&lt;br /&gt;
This is paraphrased from [[Image:Proteopedia_rubrics.pdf]].&lt;br /&gt;
&lt;br /&gt;
A 3D figure should be content-rich, visually clear, fun to explore, and understandable. If it is part of a series of figures, they should work together well.&lt;br /&gt;
&lt;br /&gt;
*Content-rich: If you can, tell a complete story in a single figure rather than having to click through multiple figures. Journal articles sometimes limit the number of figures to as low as 5, and so they are information-packed.&lt;br /&gt;
&lt;br /&gt;
*Visually clear: There should be a clear sense of what the focus of the figure is (the foreground), and how this focal point connects to the whole (the background). There are multiple aspects that can help achieve a clear image (choice of initial zoom level, color, of representation, slabbing and fogging, line widths, initial orientation and center of rotation)&lt;br /&gt;
&lt;br /&gt;
*Fun to explore: The viewer should be invited to rotate the figure and to zoom in and out. Interactive elements (hiding and displaying structural features, buttons to get back to the original view or to other standard views, animation, morphs) can guide this exploration, as well as [[Help:Viewing_pages|reminders]] about Proteopedia&#039;s and Jmol&#039;s built-in features (measure distances and angles, invitation to view in stereo, pop-out the image to maximize viewing area).&lt;br /&gt;
&lt;br /&gt;
*Understandable: The viewer should be able to understand the visual elements (color coding, which representation for what) and the source of the data (PDB ID, typically) through the caption, legends on the viewing window, permanent and hover labels, and the text around the green link.&lt;br /&gt;
&lt;br /&gt;
==Annotated scripts==&lt;br /&gt;
Here are some scripts. If you click on the title, you can see the resulting figure in the Jmol window above.&lt;br /&gt;
&lt;br /&gt;
===Detailed views===&lt;br /&gt;
These have a focal point which should be centered and visible in the foreground. The focal point could be a ligand, an (empty) ligand binding site, an interface (e.g. dimer interface), a single interaction (e.g. disulfide bridge), or a single molecule. The background could be the entire remainder of the structure, or carefully selected parts of it, or blank (e.g. for a single molecule).&lt;br /&gt;
&lt;br /&gt;
Typically, the foreground is shown at the detail of single atoms (represented by wireframe, spacefill, both &amp;quot;ball-and-stick&amp;quot;, surfaces), and it is the center of rotation. Often, the background is shown with thinner lines, uniform color, or not showing single atoms but groups (represented by backbone, cartoon, meshribbon, ribbon, strand, trace, or surface). If the viewer is encouraged to rotate 360 degrees, the background should not interfere with seeing the foreground (use thin lines, slabbing, fading/fogging &amp;quot;zshade&amp;quot;). Transparency should be used with caution in Jmol because it can add visual clutter (spacefill and thick wireframe as well as cartoons add clutter, strands of constant thickness work well).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;scene name=&#039;85/857774/Chymotrypsin/4&#039;&amp;gt;initial scene&amp;lt;/scene&amp;gt;: Chymotrypsin active site&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load =7GCH                                                    # Chymotrypsin with covalently bound inhibitor&lt;br /&gt;
restrict none                                                 # clean slate&lt;br /&gt;
define ~focal 57, 102, 195, LPF                               # foreground: catalytic triad and inhibitor&lt;br /&gt;
select LPF.C2 or 195.CB; bondOrder single;                    # ensure covalent bond&lt;br /&gt;
select ~focal; Spacefill 25%; wireframe 0.36                  # ball-and-stick for foreground&lt;br /&gt;
center selected; zoom 300;                                    # &lt;br /&gt;
select LPF.CP1, LPF.CP2, LPF.CP3, LPF.CP4, LPF.CP5, LPF.CP6;  # aromatic ring of inhibitor&lt;br /&gt;
color atoms opaque [xda70d6];                                 # magenta&lt;br /&gt;
select LPF and not selected; color atoms opaque [xe6e6fa];    # rest of inhibitor: lavender???&lt;br /&gt;
select not ~focal; color chain;                               # default chain colors (pastel tones)&lt;br /&gt;
select protein and not ~focal; Spacefill 100%;                # background as spacefill&lt;br /&gt;
select 57.CD2, 102.OD1, 195.CB; label &amp;quot;%n %r&amp;quot;;                # labelled atoms&lt;br /&gt;
color label [x000000]; font label 13 SansSerif Bold;          # white labels, chose font&lt;br /&gt;
select 57.CD2; set labelOffset -4 4;                          # each label has a different offset&lt;br /&gt;
select 102.OD1; set labelOffset 1 1;                          # &lt;br /&gt;
select 195.CB; set labelOffset 0 -1;                          #&lt;br /&gt;
background black; set zshade on                               # the background is almost not visible affects zshade&lt;br /&gt;
moveto 0.0 { -97 855 -510 89.56} 300.0 0.0 0.0 {38.343720000000005 74.45217999999998 85.45410000000003} 34.78371098010064 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;10/1076814/Etransfer/1&#039;&amp;gt;Electron transfer&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load &amp;quot;=1JRO&amp;quot; filter &amp;quot;biomolecule 2&amp;quot;                                   # The structure contains 2 dimers, we are loading the second dimer&lt;br /&gt;
restrict none&lt;br /&gt;
define ~focal FES:E, FAD:E, MTE:F, MOS:F                              # Ligands involved in electron transfer (in chain E, F, not G, H)&lt;br /&gt;
select (sulfur and MTE:F) or MOS:E.MO; bondOrder single               # show bond between sulfur atoms and molybdenum&lt;br /&gt;
select ~focal; wireframe 0.36; Spacefill 25%                          # ball-and-stick (atom colors default to CPK upon loading)&lt;br /&gt;
select 3001:E.S2 or 3002:E.FE1; label &amp;quot;Fe2S2&amp;quot;; color label [xffa500]; # label electron carriers&lt;br /&gt;
select FAD:E.O2; label &amp;quot;FAD&amp;quot;                                          # label electron donor (color as atom)&lt;br /&gt;
select MOS:F.MO; label &amp;quot;MoCo&amp;quot;                                         # label electron acceptor (color as atom)&lt;br /&gt;
select ~focal; set labelOffset 4 4;                                   # offset for all labels&lt;br /&gt;
center visible; zoom 400; spin on                                     # there is no good single view, so spin &lt;br /&gt;
set measurementUnits Angstroms                                        # units for the measurements below&lt;br /&gt;
measure ([FAD]3005:E.C7M) ([FES]3002:E.S1)                            # shortest path for electrons&lt;br /&gt;
measure ([FES]3002:E.FE2) ([FES]3001:E.S2)&lt;br /&gt;
measure ([FES]3001:E.FE1) ([MTE]3003:F.C2) &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;80/804504/Dna/5&#039;&amp;gt;Base stacking&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load =4c64&lt;br /&gt;
restrict none&lt;br /&gt;
define ~focal [DC]21:B or [DG]4:A                                      # G:C base pair &lt;br /&gt;
select ~focal; wireframe 0.3;                                          # show entire nucleotide (with backbone)&lt;br /&gt;
select sidechain and 5:A, 3:A, 20:B, 22:B; wireframe 0.2; color gray   # stacking G:C and A:T base pair, just nucleobases&lt;br /&gt;
select 20:B or 5:A; color atoms opaque [xff7f50]; # coral              # A:T base pair in coral&lt;br /&gt;
&lt;br /&gt;
# The following shows the focal base pair as surface, with coloring indicating distance of closest stacked atom&lt;br /&gt;
set defaultVDW JMOL                                                    # sets Van der Waals radii&lt;br /&gt;
contact ID &amp;quot;contact1&amp;quot; ({(21:B or 4:A) and sidechain}) ({sidechain and (5:A, 3:A, 20:B ,22:B)}) surface;&lt;br /&gt;
contact ID &amp;quot;contact1&amp;quot; fill noMesh noDots notFrontOnly frontlit;        # surface representation parameters&lt;br /&gt;
color $&amp;quot;contact1&amp;quot;&amp;quot;roygb&amp;quot; range -0.5 1;                                 # color scheme rainbow, with overlap in VdW radii in red&lt;br /&gt;
&lt;br /&gt;
# Here is how to find the neighboring nucleobases (which are given explicitly in the &amp;quot;contact&amp;quot; command above)&lt;br /&gt;
# select within(3.8, ~focal and sidechain) and not (~focal or water)&lt;br /&gt;
# define ~neighbors within(group, selected) and sidechain&lt;br /&gt;
&lt;br /&gt;
center visible; zoom 250&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;10/1076814/Intercalation/1&#039;&amp;gt;Intercalation&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load =3k5y                                                                 # RNA bound to protein&lt;br /&gt;
restrict none&lt;br /&gt;
select protein and sidechain and within(3.5, RNA and sidechain);           # protein side chain atoms that are close to nucleobases&lt;br /&gt;
select within(group, selected) and (alpha or sidechain); wireframe 0.3;    # entire side chain plus alpha carbon shown&lt;br /&gt;
select selected and (alpha or *.CB); color bond gray;                      # fix bond color between alpha and beta carbon to uniform gray&lt;br /&gt;
select alpha; backbone on; color chain                                     # entire protein shown as thin backbone&lt;br /&gt;
select RNA and sidechain; Spacefill 100%; color atoms red;                 # Nucleobases shown as red spacefilling (this is the focus of the figure)&lt;br /&gt;
select RNA and mainchain; Spacefill 0.5;                                   # rest of RNA shown as ball...&lt;br /&gt;
select RNA; wireframe 0.3;                                                 # and stick (it&#039;s fine to show nucleobases as wireframe, too, gets occluded) &lt;br /&gt;
center RNA; zoom 200                                                       # center of rotation is RNA so it stays in view&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;10/1076814/Nagal_galsa_superposition/1&#039;&amp;gt;Superposition&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolCheckbox&amp;gt;&lt;br /&gt;
    &amp;lt;scriptWhenUnChecked&amp;gt;animation off; model 0&lt;br /&gt;
       &amp;lt;/scriptWhenUnChecked&amp;gt;&lt;br /&gt;
    &amp;lt;scriptWhenchecked&amp;gt;animation mode loop; animation on&lt;br /&gt;
       &amp;lt;/scriptWhenchecked&amp;gt;&lt;br /&gt;
    &amp;lt;checked&amp;gt;false&amp;lt;/checked&amp;gt; &lt;br /&gt;
    &amp;lt;text&amp;gt;animation&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolCheckbox&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load files &amp;quot;=3H54&amp;quot; &amp;quot;=3LX9&amp;quot;                                                            # load 2 files, they are selected as 1.1 and 2.1 below&lt;br /&gt;
restrict none                                                                         # display is cleared&lt;br /&gt;
define ~act2 2.1 and (47,92,93,134,142,168,170,172,203,206,207,227,231) and *:A       # active site residues of 3LX9&lt;br /&gt;
define ~act1 1.1 and (33,78,79,119,127,154,156,158,188,191,192,213,217) and *:A       # active site residues of 3H54&lt;br /&gt;
compare {2.1} {1.1} SUBSET{*.CA} ATOMS{~act2}{~act1} ROTATE TRANSLATE                 # superposition (different sequences, so use alpha carbon)&lt;br /&gt;
set ssbonds SIDECHAIN                                                                 # disulfide bonds are anchored on SG, not on CA&lt;br /&gt;
&lt;br /&gt;
set traceAlpha TRUE&lt;br /&gt;
set zshade on&lt;br /&gt;
set sheetSmoothing 0.3&lt;br /&gt;
&lt;br /&gt;
# drawing 3H54 active site&lt;br /&gt;
select 1.1 and ~act1 and (sidechain or *.CA); wireframe 60;                           # show the active site as wireframe&lt;br /&gt;
color bonds cornflowerblue                                                            # 3H54 is shown in blue (just the bonds)&lt;br /&gt;
select selected and not _C; spacefill 80; color cpk                                   # spacefill, atoms other than carbon shown using CPK color scheme&lt;br /&gt;
select 1.1 and (32-34, 77-80, 118-120, 126-128, 153-159, 187-193, 212-218) and *:A.CA;# some main chain context for the active site residues &lt;br /&gt;
trace 10; color cornflowerblue                                                        # show as trace in blue&lt;br /&gt;
select 1.1 and 1000:A; wireframe 60;                                                  # selecting the sugar in 3H54&lt;br /&gt;
select selected and _C; color skyblue;                                                # carbons in skyblue&lt;br /&gt;
&lt;br /&gt;
# drawing 3LX9 active site&lt;br /&gt;
select 2.1 and ~act2 and (sidechain or *.CA); wireframe 60;                           # show the active site as wireframe &lt;br /&gt;
color bonds yellow                                                                    # 3LX9 is shown in yellow (just the bonds)&lt;br /&gt;
select selected and not _C; spacefill 80; color cpk                                   # spacefill, atoms other than carbon shown using CPK color scheme&lt;br /&gt;
select 2.1 and (46-48, 91-94, 133-135, 141-143, 167-173, 202-208, 226-232) and *:A.CA;# some main chain context for the active site residues&lt;br /&gt;
trace 10; color yellow                                                                # show as trace in yellow &lt;br /&gt;
select 2.1 and 1000:A; wireframe 60;;                                                 # selecting the sugar in 3LX9 &lt;br /&gt;
select selected and _C; color beige;                                                  # carbons in beige&lt;br /&gt;
center selected; zoom 300                                                             # center and zoom in&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And here are the commands for turning animation on or off (used in the checkbox above):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
animation off; model 0                 # show both models&lt;br /&gt;
animation mode loop; animation on      # animate between the models&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;10/1076814/Trypsin_ryan_nini/2&#039;&amp;gt;Trypsin&amp;lt;/scene&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load =2PTC&lt;br /&gt;
restrict none&lt;br /&gt;
# active site and pocket of enzyme as well as &lt;br /&gt;
# lysine and cystine of inhibitor are featured here&lt;br /&gt;
define ~focal 14:I, 15:I, 38:I, 57:E, 102:E, 195:E, 189:E             &lt;br /&gt;
select ~focal and (sidechain or alpha); wireframe 0.2; spacefill 0.4; # ball-and-stick for focus&lt;br /&gt;
select protein and not (1-15 and chain=I); backbone 0.5               # leave out 15-16 in chain=I&lt;br /&gt;
select protein and (1-15 and chain=I); backbone 0.5                   # this is a hack to ...&lt;br /&gt;
connect (15:I.CA)(16:I.CA) radius 0.52 create                         # get one backbone segment&lt;br /&gt;
select 15:I.CA or 16:I.CA; color bond white                           # in a different color&lt;br /&gt;
select nitrogen; color atoms opaque [x002da6];                        # CPK-like palette for side chains&lt;br /&gt;
select oxygen; color atoms opaque [xa6243a];&lt;br /&gt;
select sulfur; color atoms opaque [xffff00];&lt;br /&gt;
&lt;br /&gt;
# slightly more intense color than backbone for carbons in side chains&lt;br /&gt;
select alpha and chain=E; color atoms opaque [x5a91b8];&lt;br /&gt;
select alpha and chain=I; color atoms opaque [xfb8a8a];&lt;br /&gt;
select ~focal and chain=E and carbon and sidechain; color atoms opaque [x96e1fb]&lt;br /&gt;
select ~focal and chain=E and (*.CA or *.CB); color bond [x96e1fb]&lt;br /&gt;
select ~focal and chain=I and carbon and sidechain; color atoms opaque [xfa6563];&lt;br /&gt;
select ~focal and chain=I and (*.CA or *.CB); color bond [xfa6563]&lt;br /&gt;
&lt;br /&gt;
#hydrogen bonds in catalytic triad&lt;br /&gt;
select (57:E or 195:E or 102:E) and sidechain&lt;br /&gt;
set hbondsRasmol FALSE; calculate HBONDS; hbonds 0.1&lt;br /&gt;
&lt;br /&gt;
#the dark purple background in combination with zShade gives good depth feeling for this color palette&lt;br /&gt;
background [x3d2b49];&lt;br /&gt;
set zShadePower 2; set zShade true;&lt;br /&gt;
&lt;br /&gt;
#slab removes a loop that interferes with view into active site in the initial orientation&lt;br /&gt;
moveto 0.0 { 124 277 953 167.49} 300.0 0.0 0.0 {11.051 74.132 19.27} 38.73 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
slab 60;depth 0;slab on;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;10/100139/Spacefill/1&#039;&amp;gt;Green fluorescent protein&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load =1ema&lt;br /&gt;
# define the central helix in GFP and the hydrophobic residues lining it&lt;br /&gt;
define ~helix 57-71&lt;br /&gt;
define ~hydrophobic_liner 12, 14, 16, 18, 22, 27, 29, 42, 44, 46, 48, 98, 100, 110, 112, 114, 119, 123, 125, 150, 152, 161, 163, 165, 167, 179, 201, 207, 220, 224, 226&lt;br /&gt;
&lt;br /&gt;
# Show a translucent ribbon for context (some of the colors are overridden later)&lt;br /&gt;
select all&lt;br /&gt;
Ribbon on;&lt;br /&gt;
color atoms translucent 128 [xf0f8ff]; # aliceblue&lt;br /&gt;
&lt;br /&gt;
# The helix is shown as solid red spacefill&lt;br /&gt;
select ~helix&lt;br /&gt;
Spacefill 100%&lt;br /&gt;
color atoms opaque [xdc143c]; # crimson&lt;br /&gt;
&lt;br /&gt;
# The side chains lining it are shown as solid whitish spacefill&lt;br /&gt;
select sidechain and ~hydrophobic_liner&lt;br /&gt;
color atoms opaque [xf0f8ff]; # aliceblue&lt;br /&gt;
Spacefill 100%&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Overall views===&lt;br /&gt;
These don&#039;t have a focal point. They should be centered on everything displayed. If using a representation you can look through (e.g. backbone or cartoon rather than surface or spacefill), fading/fogging &amp;quot;zshade&amp;quot; may be helpful to distinguish front and back.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;78/780454/Domains/7&#039;&amp;gt;Domains&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load =1d9z                                        # UvrB, a helicase-like protein bound to ATP&lt;br /&gt;
restrict none&lt;br /&gt;
select protein; color gold; cartoon on            # The gold domain has most segments, so make everything gold&lt;br /&gt;
select not helix and not sheet; cartoon 0.3       # Make coils a bit thicker than default for balance and visibility&lt;br /&gt;
select 415-595; color red           &lt;br /&gt;
select 157-244; color blue&lt;br /&gt;
select 91-116; color aqua                         # beta hairpin, unique to UvrB&lt;br /&gt;
select 245-324, 349-378; color lime               # UvrA interaction domain&lt;br /&gt;
select MG, ATP, ZN; color silver; spacefill 100%  # Ligands in spacefill (Zn is crystallization artifact)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scene name=&#039;10/1071246/Trypsin_5mop/5&#039;&amp;gt;Rainbow plus surface&amp;lt;/scene&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load =5mop                                                                                # trypsin&lt;br /&gt;
restrict none&lt;br /&gt;
select protein; cartoon on; color group                                                   # rainbow cartoon&lt;br /&gt;
select protein and (57,195) and sidechain and not hydrogen; color cpk; spacefill 25%      # ball ...&lt;br /&gt;
select protein and (57,195) and (sidechain or alpha) and not hydrogen; wireframe 0.36     # ...and stick&lt;br /&gt;
select protein; isosurface ID &amp;quot;1&amp;quot; SASURFACE                                               # solvent-accessible surface&lt;br /&gt;
color isosurface translucent 0.875 white                                                  # white and translucent&lt;br /&gt;
isosurface ID &amp;quot;1&amp;quot; fill noMesh noDots notFrontOnly frontlit                                # these settings help to see the cartoon&lt;br /&gt;
select all; set hoverLabel &amp;quot;%n %R&amp;quot;;                                                       # residue numbers and name&lt;br /&gt;
select [CA]; set hoverLabel &amp;quot;Calcium&amp;quot;;                                                    # spell out &amp;quot;calcium&amp;quot; to distinguish from alpha-carbon&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334924</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334924"/>
		<updated>2025-05-06T14:25:23Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=gzlKHNoZdYc&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console). Complex visualizations might be slower here than on molecular playground because the Jmol application is more powerful than the applet used in the browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[1024,693]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/5/5e/Benzene_cyclohexane.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Cyclohexane vs Benzene&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/c/c6/Cellulose.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Cellulose&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=File:Cellulose.spt&amp;diff=4334923</id>
		<title>File:Cellulose.spt</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=File:Cellulose.spt&amp;diff=4334923"/>
		<updated>2025-05-06T14:24:04Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: Molecular Playground script, cellulose&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Molecular Playground script, cellulose&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{self|cc-by-3.0}}&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=File:Cellulose.pngj&amp;diff=4334920</id>
		<title>File:Cellulose.pngj</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=File:Cellulose.pngj&amp;diff=4334920"/>
		<updated>2025-05-06T14:07:33Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: Opening scene for cellulose molecular playground exhibit.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Opening scene for cellulose molecular playground exhibit.&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{self|cc-by-3.0}}&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334919</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334919"/>
		<updated>2025-05-06T14:06:18Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: /* Sandbox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=gzlKHNoZdYc&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console). Complex visualizations might be slower here than on molecular playground because the Jmol application is more powerful than the applet used in the browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[1024,693]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/5/5e/Benzene_cyclohexane.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Cyclohexane vs Benzene&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334918</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334918"/>
		<updated>2025-05-06T13:02:39Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=gzlKHNoZdYc&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[1024,693]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/5/5e/Benzene_cyclohexane.spt&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Cyclohexane vs Benzene&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334917</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334917"/>
		<updated>2025-05-06T12:49:30Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: /* First scene */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://www.youtube.com/watch?v=gzlKHNoZdYc&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[1024,693]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334916</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334916"/>
		<updated>2025-05-06T12:47:26Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html5media height=&amp;quot;337&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;https://youtu.be/gzlKHNoZdYc&amp;lt;/html5media&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[1024,693]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334915</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334915"/>
		<updated>2025-05-06T12:44:30Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: /* First scene */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
https://youtu.be/gzlKHNoZdYc&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[1024,693]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334914</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334914"/>
		<updated>2025-05-06T12:34:37Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[1024,693]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334897</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334897"/>
		<updated>2025-05-05T15:36:43Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: /* First scene */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
What should you check before you save an existing scene?&lt;br /&gt;
&lt;br /&gt;
# Make sure the parts of interest stay in view as you rotate the molecule&lt;br /&gt;
# Decide whether your background should be black (works well) or something else&lt;br /&gt;
# Choose a descriptive file name&lt;br /&gt;
&lt;br /&gt;
What are the advantages of creating and loading a pngj file?&lt;br /&gt;
&lt;br /&gt;
# It contains everything Jmol needs for the initial scene, including the coordinates&lt;br /&gt;
# It preserves the orientation&lt;br /&gt;
# It has a built-in preview that works without Jmol&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334896</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334896"/>
		<updated>2025-05-05T15:31:10Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;, http://jmol.x3dna.org/ for nucleic acids and complexes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334756</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334756"/>
		<updated>2025-05-03T17:42:31Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[Molecular Playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;,&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334755</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334755"/>
		<updated>2025-05-03T17:42:01Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sketch how to create content for the [[molecular playground]].&lt;br /&gt;
&lt;br /&gt;
== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;,&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
	<entry>
		<id>https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334754</id>
		<title>User:Karsten Theis/Molecular Playground</title>
		<link rel="alternate" type="text/html" href="https://proteopedia.org/index.php?title=User:Karsten_Theis/Molecular_Playground&amp;diff=4334754"/>
		<updated>2025-05-03T17:40:43Z</updated>

		<summary type="html">&lt;p&gt;Karsten Theis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Project name ==&lt;br /&gt;
Choose a project name, for example UvrB_1d9z. In the example, I combined the protein name with the PDB ID code of the coordinates I am showing.&lt;br /&gt;
&lt;br /&gt;
== First scene ==&lt;br /&gt;
The easiest way to get started is with an existing Jmol scene (from Proteopedia, First Glance or from other sources - just make sure you have the rights to it). In the Jmol window, right-click somewhere on the top, and choose &amp;quot;console&amp;quot; from the menu. Then, type &amp;quot;write project_name.pngj&amp;quot; and save the file. This contains the coordinates and the drawing commands.&lt;br /&gt;
&lt;br /&gt;
Then, start on your script file, named &amp;quot;project_name.spt&amp;quot;. It could be as simple as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumes that your &amp;quot;UvrB_1d9z.pngj&amp;quot; file is in the same folder as the script file, &amp;quot;UvrB_1d9z.spt&amp;quot;, which is how the molecular playground is set up.&lt;br /&gt;
&lt;br /&gt;
== Banner ==&lt;br /&gt;
There is space for limited text at the top of the display, called the banner. We will add one command to set the banner to &amp;quot;DNA repair protein UvrB&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
load UvrB_1d9z.pngj&lt;br /&gt;
message driver:DNA repair protein UvrB&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When running in the molecular playground, the banner is also used to give feedback when the viewers hands are detected for rotation and zoom. This minimal file is ready for the molecular playground, but we will expand it a bit for testing.&lt;br /&gt;
&lt;br /&gt;
== Testing online or offline ==&lt;br /&gt;
With a little bit of extra work, we can write a script that you can test online and share (by posting on Proteopedia, for example), or run locally. You will see the line &amp;quot;if (_applet)&amp;quot; below, which checks if Jmol is running in an applet (i.e. is online). Here is the updated script:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;DNA repair protein UvrB&amp;quot;)&lt;br /&gt;
spin on&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the applet, the URLs are given in their complete form, so they should work on Proteopedia and on other platforms. Try opening up [https://chemapps.stolaf.edu/jmol/jsmol/simple.htm Jmol Simple], clicking on console, and pasting the code above to test.&lt;br /&gt;
&lt;br /&gt;
To test this in a molecular playground installation, you have to copy the *.pngj and the *.spt files into the assets folder, and ask the admin to add the project to one of the play lists.&lt;br /&gt;
&lt;br /&gt;
To run it on Proteopedia, you upload the script, edit a page to make a rectangular window and add a Jmol link with the script in it (go to the sandbox below to test it without the need to log in):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolLink&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt; script /images/6/65/UvrB_1d9z.spt&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;UvrB, a helicase adapted for DNA repair&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolLink&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find working examples [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here].&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
Here are the steps without using Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file&lt;br /&gt;
# Create a script loading the initial scene (plus other commands, if desired)&lt;br /&gt;
# Give both files to the Molecular Playground administrator&lt;br /&gt;
&lt;br /&gt;
Here are the steps with Proteopedia:&lt;br /&gt;
# Create an initial scene as PNGJ file, upload to Proteopedia and note the URL&lt;br /&gt;
# Create a script loading the initial scene using the URL, upload to Proteopedia and note the URL&lt;br /&gt;
# Call the script in a jmolLink on a page with a rectangular Jmol window&lt;br /&gt;
&lt;br /&gt;
== Creating a tour ==&lt;br /&gt;
&lt;br /&gt;
We can expand the single-scene-script to show off the molecule. Below is the finished script, which you can try [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. The first part is the same as the UvrB_1d9z script, up until the &amp;quot;# Guided tour ...&amp;quot; comment. The rest of the script goes to different views, changes the banner text and lets the viewer explore.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
if (_applet) {&lt;br /&gt;
  script https://proteopedia.org/wiki/images/6/65/Molecular_playground_helpers.spt&lt;br /&gt;
  load https://proteopedia.org/wiki/images/f/f6/Uvrb_1d9z.pngj&lt;br /&gt;
} else {&lt;br /&gt;
  script Molecular_playground_helpers.spt&lt;br /&gt;
  load UvrB_1d9z.pngj&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Guided tour, showing 3 features of UvrB&lt;br /&gt;
antialiasDisplay=false; cartoonFancy=false; antialiasDisplayFlag=false #faster rotation&lt;br /&gt;
&lt;br /&gt;
banner(&amp;quot;UvrB, a DNA repair helicase [PDB ID 1d9z]&amp;quot;)&lt;br /&gt;
spin on # Start with spinning molecule so the 3D nature is clear&lt;br /&gt;
delay 5&lt;br /&gt;
spin off&lt;br /&gt;
moveto 1.0 { -844 -132 520 125.23} 300.0 0.0 0.0 {42.099225806451614 43.53887096774192 61.17029032258063} 68.42333343999844 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;bound ATP&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
select ATP; color cpk&lt;br /&gt;
delay2play(5) # delays 5 seconds plus the time viewer rotates/zooms the structure&lt;br /&gt;
banner(&amp;quot;DNA binding clamp in cyan&amp;quot;)&lt;br /&gt;
moveto 1.0 { -905 -349 244 137.3} 260.87 0.0 0.0 {64.70854666666669 12.864631111111102 63.586506666666644} 64.2453671308168 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -732 -239 637 116.38} 260.87 0.0 0.0 {58.64131184407797 19.068823088455765 30.446964017990993} 81.87433897489076 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
banner(&amp;quot;UvrA binding domain ([1t5l] has corrected fold)&amp;quot;)&lt;br /&gt;
delay 2&lt;br /&gt;
delay2play(5)&lt;br /&gt;
moveto 1.0 { -850 23 526 128.87} 115.0 0.0 0.29 {56.569378268323966 31.076560437205238 59.530780111444614} 51.673541253257795 {0 0 0} 0 0 0 3.0 0.0 0.0;&lt;br /&gt;
antialiasDisplay=true; cartoonFancy=true; antialiasDisplayFlag=true #nicer rendering&lt;br /&gt;
banner(&amp;quot;Thanks for watching&amp;quot;)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;moveto 1.0&amp;quot; commands change the orientation. You can manually change the orientation (and centering and zoom) to something you like, and then write &amp;quot;show moveto&amp;quot; in the Jmol console. This gives you the command to copy and paste into your script. You can also use the console to select the feature of interest (&amp;quot;select ATP&amp;quot;), and then issue the command &amp;quot;center selected&amp;quot; to center automatically. Again, you would issue &amp;quot;show moveto&amp;quot; to get the orientation, and paste it into your script.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;banner()&amp;quot; function changes the banner and the &amp;quot;delay&amp;quot; function waits until proceeding to the next step. The &amp;quot;delay2play()&amp;quot; function is a bit more complex. It monitors the orientation of the molecule. As long as the viewer changes the orientation, it will not proceed in the script. Once the viewer is done interacting for a prescribed number of seconds, it goes back to the orientation it had before the viewer interaction, and proceeds with the script.&lt;br /&gt;
&lt;br /&gt;
There is only one command that changes the scene, &amp;quot;select ATP; color CPK&amp;quot;. It changes the color of the bound ATP from silver to CPK (a color scheme giving unique colors to each chemical element). You can have lots of other commands in your script, even loading a new set of coordinates (or new PNGJ file). You can get as fancy as Jmol allows, which is pretty fancy.&lt;br /&gt;
&lt;br /&gt;
An example for a more complex script is also [https://proteopedia.org/wiki/index.php/User:Karsten_Theis/Sandbox_2 here]. It uses a picture as background, and switches between the two molecules, cyclohexane and benzene.&lt;br /&gt;
&lt;br /&gt;
== Sandbox ==&lt;br /&gt;
&lt;br /&gt;
You can use this space to load a PNGJ file (right-click, &amp;quot;file &amp;gt; load &amp;gt; open local file&amp;quot;) and start finding good viewing orientations or testing Jmol commands (via console).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jmol&amp;gt;&lt;br /&gt;
  &amp;lt;jmolButton&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;console&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;Open console&amp;lt;/text&amp;gt;&lt;br /&gt;
  &amp;lt;/jmolButton&amp;gt;&lt;br /&gt;
&amp;lt;/jmol&amp;gt;&lt;br /&gt;
&amp;lt;Structure load=&#039;&#039; size=&#039;[800,600]&#039; frame=&#039;true&#039; align=&#039;right&#039; caption=&#039;&#039; scene=&#039;&#039; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* Why use the PNGJ file? It has the advantage of saving everything in a single file (coordinates, state, additional information case-by-case such as electron density, surfaces, background image, etc.). It also makes it easy to adopt scenes that are already made. Alternatively, you could just load a PDB file, and script everything else, which is nice for others learning how to script Jmol.&lt;br /&gt;
* Why do we need a rectangular canvas? Traditionally, the Jmol canvas is square (makes sense for rotating molecules, round would be even better). However, the Molecular Playground uses a projector with 4:3 aspect ratio, and it makes sense to build content starting with that aspect ratio. Granted, the banner uses some of that, so the real aspect ratio is a bit different.&lt;br /&gt;
* What are good sources for the initial scene? First Glance in Jmol (check out the electron density), Proteopedia, Molecule of the Month (RCSB or for small molecules [https://www.chm.bris.ac.uk/motm/motm.htm Bristol], Google e.g. &amp;quot;jmol DNA&amp;quot;,&lt;/div&gt;</summary>
		<author><name>Karsten Theis</name></author>
	</entry>
</feed>