User:Karsten Theis/Animation course

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 65: Line 65:
<jmol><jmolLink><script>script inline @{speed + x1}</script><text>V1</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x2}</script><text>V2</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x3}</script><text>V3</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x4}</script><text>V4</text></jmolLink></jmol>
<jmol><jmolLink><script>script inline @{speed + x1}</script><text>V1</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x2}</script><text>V2</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x3}</script><text>V3</text></jmolLink></jmol> <jmol><jmolLink><script>script inline @{speed + x4}</script><text>V4</text></jmolLink></jmol>
 +
===Dock a ligand===
 +
<jmol><jmolLink><script>script 52/520489/Ligand_pocket/2.spt; select protein; color group; center selected; select BF0; set picking dragselected; set allowrotateselected; temp0 = {BF0}.xyz.all</script><text>click to prepare</text></jmolLink></jmol>
 +
 +
Store ligand position:
 +
<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>temp3 = {BF0}.xyz.all</script><text>scene3</text></jmolLink></jmol>
 +
<jmol><jmolLink><script>temp4 = {BF0}.xyz.all</script><text>scene4</text></jmolLink></jmol>
 +
 +
Recall ligand position:
 +
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp1} 30</script><text>scene1</text></jmolLink></jmol>
 +
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp2} 30</script><text>scene2</text></jmolLink></jmol>
 +
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp3} 30</script><text>scene3</text></jmolLink></jmol>
 +
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp4} 30</script><text>scene4</text></jmolLink></jmol>
 +
 +
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp0} 30; ROTATE COMPARE {BF0} @{temp1} 30; ROTATE COMPARE {BF0} @{temp2} 30; ROTATE COMPARE {BF0} @{temp3} 30; ROTATE COMPARE {BF0} @{temp4} 30;</script><text>Animation forwards</text></jmolLink></jmol>
 +
 +
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp4} 30; ROTATE COMPARE {BF0} @{temp3} 30; ROTATE COMPARE {BF0} @{temp2} 30; ROTATE COMPARE {BF0} @{temp1} 30; ROTATE COMPARE {BF0} @{temp0} 30;</script><text>Animation backwards</text></jmolLink></jmol>
==Collection of molecules==
==Collection of molecules==

Revision as of 03:34, 13 September 2019

Drag the structure with the mouse to rotate

References

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools