Week 4 - Jmol¶
Jmol is an open source Java viewer for chemical structures in 3D. It allows users to visualize chemical structures like organic compounds, drugs, nucleic acids and proteins. Jmol has many options and tools to both analyze and modify structures.
This lab session is an introduction to:
- Viewing protein structures
- Analyzing structures with Jmol
- Modifying a structure
First go to http://jmol.sourceforge.net/ and download Jmol.
Rotating and magnifying a protein¶
Example 1: View “epoxide hydrolase” (PDB ID: 3KOO) in Jmol¶
- Create a folder named
pdb fileson your Desktop. - Download the PDB file of
3KOOin.txtformat into the folder you created. - Open the
Jmol-14.32.47-binaryfolder and open the filejmol.bat. - You should now see the Jmol window.
- Click File on the menu bar.
- Select Open.
- Choose the
pdb filesfolder from the Look In box. - Select
3KOOfrom the list displayed by double-clicking it.

Notes / alternatives:
- Alternatively you can use File → Get PDB and search for the PDB ID directly from Jmol.
Manipulation:
- Click and drag to rotate the protein.
- Scroll forward to zoom out; backward to zoom in.
- Alternatively:
- Display → Zoom and choose 100%, 150%, 200%, 400%, 800%.
- Hold Shift and click-drag back and forth.
- To move (translate) the molecule:
- Double click on the structure, then drag.
Visualization styles of proteins in Jmol¶
Jmol displays molecules in cartoon (ribbon) form by default, but other styles are available (ball-and-stick, spacefill, etc.).
Example 2: Display 3KOO in different styles¶
- Right-click on the screen.
- Select Style.
- Select Scheme.
-
Click the following styles one by one and examine the structure:
-
CPK Spacefill
- Ball and Stick
- Sticks
- Wireframe
- Cartoon
- Trace
Coloring atoms and residues¶
Example 3¶
- Open
3KOOin Sticks style. - Right click → Color → Atoms → By Scheme → Amino Acid
- Each amino acid is colored.
- Colors are not assigned to a specific amino acid type (coloring is random).
- Right click → Color → Atoms → By Scheme → Element (CPK)
- Carbons: gray
- Oxygens: red
- Nitrogens: blue
- Sulfurs: yellow
- Right click → Color → Atoms → By Scheme → Secondary Structure
- Helices: pink
- Sheets: yellow
- Loops: white
- Right click → Color → Atoms → By Scheme → Temperature (Relative)
Coloring bonds¶
Example 4: Disulfide bonds and hydrogen bonds¶
- Open
3P3Fand view it in Sticks style. - Right click → Color → Disulfide Bonds → Cyan
- Positions of disulfide bonds can be displayed.
Alternative to improve visibility:
- Right click → Color → Bonds → Green
- Right click → Color → Disulfide Bonds → Cyan
Hydrogen bonds:
- Right click → Style → Hydrogen Bonds → Calculate
- You will see hydrogen bonds as red-blue lines.
Selecting¶
Example 5: Selecting ligands/residues/elements¶
Open 3NOJ (HMG/CHA aldolase).
Ligands:
- Right click → Select → Hetero → Ligand
- Right click → Select → Display Selected Only
- Right click → Select → Hetero → By HETATM → PG4 (or
MGorPYR) - Right click → Uncheck Display Selected Only
- Right click → Select → All
Residues:
- View the protein in Ball and Stick style.
- Right click → Select → Protein → By Residue Name → Ser (or any amino acid)
- Right click → Select → Selection Halos (check)
- Right click → Select → Protein → Backbone
- Halos show the peptide bond line.
- Side chains are not highlighted in backbone selection.
- To select side chains:
- Right click → Select → Protein → Side Chains
Elements:
- Right click → Select → Element → S (sulfur)
Selecting a specific region¶
- Click on the cursor icon on the toolbar.

- Press Shift + Left click + Drag to select the longest tail-like α-helix region.
Labeling¶
Example 6¶
- Select and display only pyruvic acid.
- Right click → Style → Labels → With Element Name or Atom Name or Atom Number.
- Select and display only His residues and label them:
- With Atom Name
- Then with Atom Number
- To display the whole structure again:
- Right click → Select → All
- To remove labels:
- Right click → Style → Labels → None
Surface¶
Example 7: Display surfaces¶
Display the surface of HMG/CHA aldolase in different styles:
- Right click → Surfaces → Dot Surface
- Right click → Surfaces → van der Waals Surface
- Right click → Surfaces → Solvent-Accessible Surface
- Right click → Surfaces → Solvent Surface
- Right click → Surfaces → Molecular Surface
Ligand surface:
- Select the ligand as you learned previously.
- Display the surface for the selected ligand.
Opacity and color:
- Right click → Surfaces → Make Opaque / Make Translucent
- Right click → Color → Surfaces → White
Spinning:
- Right click → Spin → On
- Right click → Spin → Off
Measurements¶
Example 8¶
Measuring a distance¶
- View the protein in Ball and Stick style.
- Click the ruler icon on the toolbar.

- Zoom the molecule up to 400×.
- Double click on an atom, then double click on another atom to measure the distance.
Measuring an angle¶
- Right click → Measurements → Click for angle measurement
- Double click on three consecutive atoms on an amino acid to measure the angle.
Measuring torsion (dihedral) angles¶
- Right click → Measurements → Click for torsion (dihedral) measurement
- Measure:
- Four atoms on the side chain of a leucine
- Four atoms in a phenyl ring
- Compare and contrast the torsion angles.
You can list or delete measurements from the Right click → Measurements menu.
Model Kit¶
Example 9¶
- Click on the model kit icon on the toolbar.

- Open
3NOJin Ball and Stick style.
Replacing an atom with another¶
- Right click → bring the cursor on the spacefill-style molecule → check N for nitrogen.
- Click on an oxygen or carbon to replace it with nitrogen.
Jmol adds hydrogen atoms automatically to satisfy valence.
Deleting an atom¶
- Right click → bring the cursor on the spacefill-style molecule icon → check delete atom.
- Click on an atom to delete.
If an atom is not bonded to any other, the first click may add hydrogen and the second click deletes.
Dragging an atom¶
- Right click → bring the cursor on the spacefill-style molecule icon → check drag atom.
- Click an atom and drag it to a new position.
Track changes:
- Measure the distance between two bonded atoms, then drag one while monitoring the distance.
Bond formation:
- Right click → check drag to bond
- Drag one atom onto another to form a bond.
Dragging a molecule:
- Right click → check drag molecule (SHIFT TO ROTATE)
- Click on PG4 and drag.
- Hold Shift while dragging to rotate it independently.
Manipulating charges¶
- Right click → check increase charge / decrease charge
- Click an atom to change charge.
Manipulating bonds¶
- Right click → (ball-and-stick tool) → check delete bond; click a bond to delete
- Right click → check double; click a single bond to make it double
- Right click → check single; click a double bond to make it single
- Alternatively use increase order / decrease order
Rotating a bond¶
- Right click → (ball-and-stick tool) → check rotate bond.
- Click on a bond.
- Click an empty area and drag while holding Shift.
Adding hydrogens¶
- Right click → ("..." icon) → Add Hydrogens
Saving a structure from Jmol¶
Example 10¶
- Go to the menu bar.
- File → Export → Export image
- Save a
.jpgimage of the structure.