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>


Store ligand position:  
Click and drag on the ligand and move it. Click and drag away from the ligand to adjust the view. To
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 72: Line 73:
<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>
Line 79: Line 80:
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp4} 30</script><text>scene4</text></jmolLink></jmol>
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp4} 30</script><text>scene4</text></jmolLink></jmol>


To animate, click below
<jmol><jmolLink><script>set picking none</script><text>turn of ligand dragging</text></jmolLink></jmol>


<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp3} 30; ROTATE COMPARE {BF0} @{temp2} 30; ROTATE COMPARE {BF0} @{temp1} 30; ROTATE COMPARE {BF0} @{temp0} 30;</script><text>bind</text></jmolLink></jmol>
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp3} 30; ROTATE COMPARE {BF0} @{temp2} 30; ROTATE COMPARE {BF0} @{temp1} 30; ROTATE COMPARE {BF0} @{temp0} 30;</script><text>bind</text></jmolLink></jmol>

Revision as of 04:21, 13 September 2019

Drag the structure with the mouse to rotate

References

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis