User:Karsten Theis/Animation course
From Proteopedia
(Difference between revisions)
Line 66: | Line 66: | ||
<jmol><jmolLink><script>script "http://proteopedia.org/scripts/52/520489/Ligand_pocket/2.spt"; connect (BF0) (not BF0) DELETE; select BF0; set picking dragselected; set allowrotateselected; temp0 = {BF0}.xyz.all</script><text>click to prepare</text></jmolLink></jmol> | <jmol><jmolLink><script>script "http://proteopedia.org/scripts/52/520489/Ligand_pocket/2.spt"; connect (BF0) (not BF0) DELETE; select BF0; set picking dragselected; set allowrotateselected; temp0 = {BF0}.xyz.all</script><text>click to prepare</text></jmolLink></jmol> | ||
- | Click and drag on the ligand | + | Click and drag on the ligand to move it. Alt-click and drag on the ligand to rotate it. Click and drag away from the ligand to adjust the view. To store each consecutive ligand position, consecutively click on the links below: |
- | store | + | |
<jmol><jmolLink><script>temp1 = {BF0}.xyz.all</script><text>scene1</text></jmolLink></jmol> | <jmol><jmolLink><script>temp1 = {BF0}.xyz.all</script><text>scene1</text></jmolLink></jmol> | ||
<jmol><jmolLink><script>temp2 = {BF0}.xyz.all</script><text>scene2</text></jmolLink></jmol> | <jmol><jmolLink><script>temp2 = {BF0}.xyz.all</script><text>scene2</text></jmolLink></jmol> | ||
Line 73: | Line 72: | ||
<jmol><jmolLink><script>temp4 = {BF0}.xyz.all</script><text>scene4</text></jmolLink></jmol> | <jmol><jmolLink><script>temp4 = {BF0}.xyz.all</script><text>scene4</text></jmolLink></jmol> | ||
- | Recall ligand position | + | ===Recall ligand position=== |
+ | Clicking on the links below will restore the ligand position (scene0 is the original position in the binding pocket): | ||
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp0} 30</script><text>scene0</text></jmolLink></jmol> | <jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp0} 30</script><text>scene0</text></jmolLink></jmol> | ||
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp1} 30</script><text>scene1</text></jmolLink></jmol> | <jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp1} 30</script><text>scene1</text></jmolLink></jmol> |
Revision as of 04:25, 13 September 2019
|