Jmol/Interactivity

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 109: Line 109:
<item>
<item>
<script>select sidechain; spacefill off;
<script>select sidechain; spacefill off;
-
select sidechain and 35 ; spacefill on</script>
+
select sidechain and 35; spacefill on</script>
<text>Residue 35</text>
<text>Residue 35</text>
<checked>false</checked>
<checked>false</checked>
Line 115: Line 115:
<item>
<item>
<script>select sidechain; spacefill off;
<script>select sidechain; spacefill off;
-
select sidechain and 52 ; spacefill on</script>
+
select sidechain and 52; spacefill on</script>
<text>Residue 52</text>
<text>Residue 52</text>
<checked>false</checked>
<checked>false</checked>
Line 131: Line 131:
<nowiki>
<nowiki>
{{subst:Triple radiobutton
{{subst:Triple radiobutton
-
|Residue 35|select sidechain; spacefill off; select sidechain and 35 ; spacefill on
+
|Residue 35|select sidechain; spacefill off; select sidechain and 35; spacefill on
-
|Residue 52|select sidechain; spacefill off; select sidechain and 52 ; spacefill on
+
|Residue 52|select sidechain; spacefill off; select sidechain and 52; spacefill on
|No side chains|select sidechain; spacefill off}}</nowiki>
|No side chains|select sidechain; spacefill off}}</nowiki>
- 
<jmol>
<jmol>
<jmolRadioGroup>
<jmolRadioGroup>
<item>
<item>
-
<script>select sidechain; spacefill off; select sidechain and 35 ; spacefill on</script>
+
<script>select sidechain; spacefill off; select sidechain and 35; spacefill on</script>
<text>Residue 35</text>
<text>Residue 35</text>
</item>
</item>
<item>
<item>
-
<script>select sidechain; spacefill off; select sidechain and 52 ; spacefill on</script>
+
<script>select sidechain; spacefill off; select sidechain and 52; spacefill on</script>
<text>Residue 52</text>
<text>Residue 52</text>
</item>
</item>
Line 153: Line 152:
</jmolRadioGroup>
</jmolRadioGroup>
</jmol>
</jmol>
 +
</StructureSection>
</StructureSection>

Revision as of 01:08, 10 September 2020

Structure of UvrB in complex with ATP

Drag the structure with the mouse to rotate

Advantages

The commands issued by these interactive elements are in effect immediately, i.e. without delay. You could accomplish the same effect by saving a separate 3D scene, but this will always have a loading delay. The effect is that "playing" with interactive elements is much more immediate than switching between green links.

Caveats

The commands will be issued to the Jmol window irrespective of what is shown there. If you click on a green link elsewhere and then try the buttons etc, the effect is unpredictable. You can try this here by using the interactive elements before clicking on the button that loads the lysozyme structure. If you do that, the commands associated with the interactive elements will act on the UvrB structure instead.

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools