User:Karsten Theis/Animation course: 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 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 and move it. Click and drag away from the ligand to adjust the view. To
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 the ligand position, click on the links below:  
<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: Clicking on the links below will restore the ligand position (scene0 is the original position in the binding pocket):
===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>