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
 
(4 intermediate revisions by the same user not shown)
Line 182: Line 182:
===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):
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} -2</script><text>retrieve state 0</text></jmolLink></jmol>
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp0} -2</script><text>retrieve state 0</text></jmolLink></jmol>


Line 194: Line 195:
To animate, click below
To animate, click below


<jmol><jmolLink><script>set picking none</script><text>turn of ligand dragging</text></jmolLink></jmol>
<jmol><jmolLink><script>set picking none</script><text>turn off ligand dragging</text></jmolLink></jmol>


<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp3} -2; ROTATE COMPARE {BF0} @{temp2} -2; ROTATE COMPARE {BF0} @{temp1} -2; ROTATE COMPARE {BF0} @{temp0} -2;</script><text>bind</text></jmolLink></jmol>
<jmol><jmolLink><script>ROTATE COMPARE {BF0} @{temp3} -2; ROTATE COMPARE {BF0} @{temp2} -2; ROTATE COMPARE {BF0} @{temp1} -2; ROTATE COMPARE {BF0} @{temp0} -2;</script><text>bind</text></jmolLink></jmol>
Line 344: Line 345:
==Morph a helix==
==Morph a helix==


Here is the SARS-2 <scene name='82/824516/Spike/3'>spike protein</scene>.
Here is the SARS-2 <scene name='82/824516/Spike/5'>spike protein</scene>.


(<jmol><jmolLink><script>delete not (:A or :X); model 1; select protein; backbone only; select :X; cartoon on; select :X; set picking dragselected; set allowrotateselected; temp0 = {:X}.xyz.all</script><text>click to prepare</text></jmolLink></jmol>)
(<jmol><jmolLink><script>delete chain="B"; delete chain="C"; model 1; select protein; backbone only; select chain="X"; cartoon on; select 912, 982; spacefill 5.0; select 1.2; color red; model 0; select chain="X"; set picking dragselected; set allowrotateselected; temp0 = {chain="X"}.xyz.all</script><text>click to prepare</text></jmolLink></jmol>)


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:  
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:  
Line 373: Line 374:
<jmol><jmolLink><script>set picking none</script><text>turn of ligand dragging</text></jmolLink></jmol>
<jmol><jmolLink><script>set picking none</script><text>turn of ligand dragging</text></jmolLink></jmol>


<jmol><jmolLink><script>ROTATE COMPARE :X} @{temp3} -2; ROTATE COMPARE {:X} @{temp2} -2; ROTATE COMPARE {:X} @{temp1} -2; ROTATE COMPARE {:X} @{temp0} -2;</script><text>bind</text></jmolLink></jmol>
<jmol><jmolLink><script>ROTATE COMPARE {:X} @{temp3} -2; ROTATE COMPARE {:X} @{temp2} -2; ROTATE COMPARE {:X} @{temp1} -2; ROTATE COMPARE {:X} @{temp0} -2;</script><text>bind</text></jmolLink></jmol>


<jmol><jmolLink><script>ROTATE COMPARE {:X} @{temp1} -2; ROTATE COMPARE {:X} @{temp2} -2; ROTATE COMPARE {:X} @{temp3} -2; ROTATE COMPARE {:X} @{temp4} -2;</script><text>dissociate</text></jmolLink></jmol>
<jmol><jmolLink><script>ROTATE COMPARE {:X} @{temp1} -2; ROTATE COMPARE {:X} @{temp2} -2; ROTATE COMPARE {:X} @{temp3} -2; ROTATE COMPARE {:X} @{temp4} -2;</script><text>dissociate</text></jmolLink></jmol>