Help:Copying FirstGlance Scenes into Proteopedia

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
2. Obtain the '''desired scene''' in FirstGlance in Jmol. Turn off spinning (even if you want it to spin in Proteopedia), and orient and zoom the molecule as you want it to appear initially.
2. Obtain the '''desired scene''' in FirstGlance in Jmol. Turn off spinning (even if you want it to spin in Proteopedia), and orient and zoom the molecule as you want it to appear initially.
-
3. Click on <font color='red'>'''Jmol_S'''</font> to open Jmol's menu. Select '''File''', '''Save script with state'''. A dialog will appear in which you can choose the location on your computer's disk to save the file. Take note of the name of the file and where you are putting it. This file contains a ''state script'' of Jmol commands that will produce your scene.
+
3. Right-click (Mac: Ctrl-click) on or near the molecule to open JSmol's menu. Select '''File''', '''Save script with state'''. A dialog will appear in which you can choose the location on your computer's disk to save the file. Take note of the name of the file and where you are putting it. This file contains a ''state script'' of JSmol commands that will produce your scene.
4. '''Comment out the load command.''' Edit the state script file with a [[Help:Plain text editors|plain text editor]]. Before you use the state script, you must insert '''#''' before the word "load" in the command at the end of the 3rd block of commands, and then save the file with that change. This disables the command -- disabling it is crucial. It should look something like this:
4. '''Comment out the load command.''' Edit the state script file with a [[Help:Plain text editors|plain text editor]]. Before you use the state script, you must insert '''#''' before the word "load" in the command at the end of the 3rd block of commands, and then save the file with that change. This disables the command -- disabling it is crucial. It should look something like this:
Line 26: Line 26:
5. Edit the page in Proteopedia where you want to install the scene from FirstGlance in Jmol. Show the '''Scene Authoring Tool'''.
5. Edit the page in Proteopedia where you want to install the scene from FirstGlance in Jmol. Show the '''Scene Authoring Tool'''.
-
6. '''Load your molecule:''' Use the '''load molecule''' tab to load your PDB code (or uploaded molecule) into the signed Jmol in the ''Scene Authoring Tool''.
+
6. '''Load your molecule:''' Use the '''load molecule''' tab to load your PDB code (or uploaded molecule) into JSmol in the ''Scene Authoring Tool''.
-
7. '''Drag''' the edited state script file and '''drop''' it into Jmol (where the molecule is displayed). Your scene should appear in a few seconds.
+
7. '''Drag''' the edited state script file and '''drop''' it into JSmol (where the molecule is displayed). Your scene should appear in a few seconds.
8. Use the '''save scene''' tab to save your scene. Follow the instructions there to insert a green link into the page to show your scene.
8. Use the '''save scene''' tab to save your scene. Follow the instructions there to insert a green link into the page to show your scene.

Revision as of 22:03, 3 February 2019

FirstGlance in Jmol makes it easy to obtain certain types of molecular scenes more easily than generating those scenes in Proteopedia's Scene Authoring Tools. This page explains how to move those scenes into Proteopedia, attaching them to a green link.

Selected contacts between an anti-Alzheimer`s drug analog and acetylcholinesterase in 1gpk. Scene generated largely and quite easily in FirstGlance in Jmol. Atoms shown as balls are within non-covalent bonding distances. Use popup to see details in this scene!

Drag the structure with the mouse to rotate

Feedback

If you have problems getting this to work, or suggestions to clarify this page, please email Image:Contact-email.png

Notes

  1. The size of the font for distances in Ångstroms was reduced by opening the "measurements" box under the Labels tab, and selecting size 12.

See Also

Proteopedia Page Contributors and Editors (what is this?)

Eric Martz, Wayne Decatur, Eran Hodis

Personal tools