User:Karsten Theis/Animation course
From Proteopedia
(Difference between revisions)
Line 208: | Line 208: | ||
==Two competing ligands== | ==Two competing ligands== | ||
- | <jmol><jmolLink><script>load files "=4dkl" $naloxone; connect (BF0) (not BF0) DELETE; select BF0; set picking dragselected; set allowrotateselected; | + | <jmol><jmolLink><script>load files "=4dkl" "$naloxone"; restrict protein, bf0, 2.1; select protein; cartoon only |
+ | ; model 0; select 1000-1161; cartoon off; compare {2.1} {1.1} ATOMS {N25} {*.NAJ} {C6} {*.CAE} {C16} {*.CAO} rotate translate; center bf0; select 2.1; color green; spacefill only; connect (BF0) (not BF0) DELETE; select BF0; color red; spacefill only; set picking dragselected; set allowrotateselected; ago0 = {BF0}.xyz.all; anta0 = {2.1}.xyz.all;</script><text>click to prepare</text></jmolLink></jmol> | ||
+ | |||
+ | <jmol><jmolLink><script>ago1 = {BF0}.xyz.all</script><text>store agonist 1</text></jmolLink></jmol> | ||
+ | |||
+ | <jmol><jmolLink><script>ago2 = {BF0}.xyz.all</script><text>store agonist 2</text></jmolLink></jmol> | ||
+ | |||
+ | |||
+ | <jmol><jmolLink><script>select 2.1; </script><text>click to move naloxone</text></jmolLink></jmol> | ||
+ | |||
+ | |||
+ | <jmol><jmolLink><script>anta1 = {2.1}.xyz.all</script><text>store antagonist 1</text></jmolLink></jmol> | ||
+ | |||
+ | <jmol><jmolLink><script>anta2 = {2.1}.xyz.all</script><text>store antagonist 2</text></jmolLink></jmol> | ||
+ | |||
+ | ===Recall ligand position=== | ||
+ | Clicking on the links below will restore the agonist and antagonist positions: | ||
+ | |||
+ | <jmol><jmolLink><script>ROTATE COMPARE {BF0} @{ago0} -2</script><text>agonist original</text></jmolLink></jmol> | ||
+ | |||
+ | <jmol><jmolLink><script>ROTATE COMPARE {BF0} @{ago1} -2</script><text>agonist 1</text></jmolLink></jmol> | ||
+ | |||
+ | <jmol><jmolLink><script>ROTATE COMPARE {BF0} @{ago2} -2</script><text>agonist 2</text></jmolLink></jmol> | ||
+ | |||
+ | <jmol><jmolLink><script>ROTATE COMPARE {2.1} @{anta0} -2</script><text>antaoriginal</text></jmolLink></jmol> | ||
+ | |||
+ | <jmol><jmolLink><script>ROTATE COMPARE {2.1} @{anta1} -2</script><text>antagonist 1</text></jmolLink></jmol> | ||
+ | |||
+ | <jmol><jmolLink><script>ROTATE COMPARE {2.1} @{anta2} -2</script><text>antagonist 2</text></jmolLink></jmol> | ||
+ | |||
==Collection of molecules== | ==Collection of molecules== |
Revision as of 09:42, 15 October 2019
|