Jmol/Using the console: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Karsten Theis (talk | contribs)
No edit summary
Karsten Theis (talk | contribs)
No edit summary
Line 40: Line 40:
Model 2.1 gets moved and model 1.1 stays in place.
Model 2.1 gets moved and model 1.1 stays in place.


Here is an example, GAL and NAGAL superimposed via the ligand. The Jmol script for the scene is here (see Figure X), and the key command is:
Here is an example, <scene name='78/786673/Gal_nagal_other_superposition/1'>GAL and NAGAL superimposed via the ligand</scene>. The Jmol script for the scene is here (see Figure X), and the key command is "compare {2.1} {1.1} ATOMS{1000:A and _C}{801:A and _C} ROTATE TRANSLATE"
compare {2.1} {1.1} ATOMS{1000:A and _C}{801:A and _C} ROTATE TRANSLATE
 
Use the following buttons to explore the example scene:
 
 
<jmol>
<jmolButton>
<script>!exit; ppdiaCaptionCmd = "changeCaption('The enyme GAL (green) in complex with the sugar galactose. ','white','black');"; javascript @ppdiaCaptionCmd; delay 1.2; model 1</script>
  <text>GAL</text>
</jmolButton>
</jmol> <jmol>
<jmolButton>
<script>!exit; ppdiaCaptionCmd = "changeCaption('The enyme NAGAL (blue) in complex with the sugar N-acetyl galactosamin. ','white','black');";
  javascript @ppdiaCaptionCmd;delay 1.5; model 2</script>
  <text>NAGAL</text>
</jmolButton>
</jmol> <jmol>
<jmolButton>
<script>!exit; ppdiaCaptionCmd = "changeCaption('Superposition of GAL (green) and NAGAL (blue).','white','black');"; javascript @ppdiaCaptionCmd; delay 1.5; model 0</script>
  <text>both</text>
</jmolButton>
</jmol> <jmol>
<jmolButton>
<script>animation mode loop; ppdiaCaptionCmd = "changeCaption('Animated superposition of GAL (green) and NAGAL (blue).','white','black');"; javascript @ppdiaCaptionCmd; animation on</script>
  <text>animate</text>
</jmolButton>
</jmol>


===Covalent modifications===
===Covalent modifications===