User:Karsten Theis/Animation course
From Proteopedia
(Difference between revisions)
Line 346: | Line 346: | ||
Here is the SARS-2 <scene name='82/824516/Spike/1'>spike protein</scene>. | Here is the SARS-2 <scene name='82/824516/Spike/1'>spike protein</scene>. | ||
- | <jmol><jmolLink><script>delete not *:A; connect (912-985) (not 912-985) DELETE; model 1; select 912-985 and model 1; set picking dragselected; set allowrotateselected; temp0 = {(912-985) and | + | <jmol><jmolLink><script>delete not *:A; connect (912-985) (not 912-985) DELETE; model 1; select 912-985; cartoon on; select 912-985 and model 1;set picking dragselected; set allowrotateselected; temp0 = {(912-985) and 1.1}.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: | ||
- | <jmol><jmolLink><script>temp1 = {(912-985) and | + | <jmol><jmolLink><script>temp1 = {(912-985) and 1.1}.xyz.all</script><text>store state 1</text></jmolLink></jmol> |
- | <jmol><jmolLink><script>temp2 = {(912-985) and | + | <jmol><jmolLink><script>temp2 = {(912-985) and 1.1}.xyz.all</script><text>store state 2</text></jmolLink></jmol> |
- | <jmol><jmolLink><script>temp3 = {(912-985) and | + | <jmol><jmolLink><script>temp3 = {(912-985) and 1.1}.xyz.all</script><text>store state 3</text></jmolLink></jmol> |
- | <jmol><jmolLink><script>temp4 = {(912-985) and | + | <jmol><jmolLink><script>temp4 = {(912-985) and 1.1}.xyz.all</script><text>store state 4</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): | Clicking on the links below will restore the ligand position (scene0 is the original position in the binding pocket): | ||
- | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and | + | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and 1.1} @{temp0} -2</script><text>retrieve state 0</text></jmolLink></jmol> |
- | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and | + | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and 1.1} @{temp1} -2</script><text>retrieve state 1</text></jmolLink></jmol> |
- | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and | + | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and 1.1} @{temp2} -2</script><text>retrieve state 2</text></jmolLink></jmol> |
- | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and | + | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and 1.1} @{temp3} -2</script><text>retrieve state 3</text></jmolLink></jmol> |
- | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and | + | <jmol><jmolLink><script>ROTATE COMPARE {(912-985) and 1.1} @{temp4} -2</script><text>retrieve state 4</text></jmolLink></jmol> |
To animate, click below | To animate, click below |
Revision as of 13:49, 5 March 2021
|