Difference between revisions of "Protein Community"

From Jmol
Jump to navigation Jump to search
(Selection and coloring)
(Secondary structure)
Line 12: Line 12:
  
 
=== When reading files ===
 
=== When reading files ===
# '''If the {{file|pdb}} or {{file|mmcif}} file contains HELIX/SHEET/TURN information''': that information is respected in '''all''' Jmol versions. In '''new''' Jmol versions, {{file|pdb}} and {{file|mmcif}} readers also read helix types alpha, pi, and 3<sub>10</sub>, and color them slightly differently ([http://jmol.sourceforge.net/jscolors/index.en.html#Secondary%20structure Jmol Colors]).
+
# '''If the {{file|pdb}} or {{file|mmcif}} file contains HELIX/SHEET/TURN information''': that information is respected in '''all''' Jmol versions. In '''new''' Jmol versions, {{file|pdb}} and {{file|mmcif}} readers also read helix types alpha, pi, and 3<sub>10</sub>, and color them slightly differently (see colors below).
 
# '''If the {{file|pdb}} or {{file|mmcif}} file des not contain HELIX/SHEET/TURN information''':  
 
# '''If the {{file|pdb}} or {{file|mmcif}} file des not contain HELIX/SHEET/TURN information''':  
 
#* '''Old''' versions of Jmol used Ramachandran-angle based calculation.  
 
#* '''Old''' versions of Jmol used Ramachandran-angle based calculation.  
Line 114: Line 114:
 
''Note'': it is safe to use <code>substructure</code> for all selection commands. For ex., <code>select substructure=2</code> selects beta strands, but <code>select structure=8</code> selects nothing.
 
''Note'': it is safe to use <code>substructure</code> for all selection commands. For ex., <code>select substructure=2</code> selects beta strands, but <code>select structure=8</code> selects nothing.
  
* <code>color structure</code> now applies different shades of color to alpha, 3<sub>10</sub> and pi helices, in addition to the classic coloring of helices, beta strands, turns and unstructured portions ([http://jmol.sourceforge.net/jscolors/index.en.html#Secondary%20structure Jmol Colors]).
+
* <code>color structure</code> now applies different shades of color to alpha, 3<sub>10</sub> and pi helices, in addition to the classic coloring of helices, beta strands, turns and unstructured portions (see colors below).
  
 
* <code>label %[substructure]</code> labels with the texts: helixalpha, helix310, helixpi, sheet, turn, none
 
* <code>label %[substructure]</code> labels with the texts: helixalpha, helix310, helixpi, sheet, turn, none

Revision as of 15:43, 23 June 2011

Jmol/JSmol Community

This subcommunity is for Jmol users that use Jmol for display and analysis of protein structures. Please add on this page your favorite scripts etc. for displaying proteins in Jmol.

  • Angel Herraez page
  • Eric Martz: FirstGlance in Jmol is a simple tool for exploring the structure of any on-line macromolecular model. Proteopedia.Org is a Jmol-based wiki with easy Scene-Authoring Tools for creating and sharing customized molecular scenes without learning Jmol language.

Molecular surfaces

documentation and testing page

Secondary structure

Starting with versions 12.0.18 and 12.1.15, Jmol implements the DSSP algorithm for determination of secondary structure in proteins. This is accompanied by some changes in the defaults and some new commands.

When reading files

  1. If the File icon.gifpdb or File icon.gifmmcif file contains HELIX/SHEET/TURN information: that information is respected in all Jmol versions. In new Jmol versions, File icon.gifpdb and File icon.gifmmcif readers also read helix types alpha, pi, and 310, and color them slightly differently (see colors below).
  2. If the File icon.gifpdb or File icon.gifmmcif file des not contain HELIX/SHEET/TURN information:
    • Old versions of Jmol used Ramachandran-angle based calculation.
    • New versions of Jmol use DSSP calculation.
  3. In the case of alpha-carbon-only chains, all versions of Jmol use the method of Levitt and Greer (doi).
  4. In new versions of Jmol the calculation based on Ramachandran angles is still available (see below).

Forced recalculation of structure

calculate structure

This command overwrites any secondary structure assignment with a new one:

  • In old Jmol versions, calculated using the Ramachandran method.
  • In new Jmol versions, calculated using the DSSP method.

Note that, intentionally, Jmol turns off all bioshapes when the calculate structure command is given. So, you will usually want to follow it with cartoons on or something of the sort.

New commands

  • calculate structure ramachandran is available for forcing the old method of calculation (it may have some advantages in certain contexts). It can be shortened to calculate structure rama.
  • calculate hBonds structure does DSSP determining hydrogen bonds only.
  • set defaultStructureDSSP false will change the defaults of file load and calculate structure to use the Ramachandran method; by default, it is true and uses the DSSP method.
  • set dsspCalculateHydrogenAlways false does DSSP enforcing the use of backbone amide H atoms present in the file; by default, it is true and does standard DSSP, ignoring all backbone amide H atoms present in the file and using rough approximations instead.
  • show dssp displays a report of the DSSP calculation.
  • set debug displays a verbose DSSP calculation.
  • save structure s1 (for example) saves in memory the current structure assignment with the internal ID 's1' for later restoring.
  • restore structure s1 restores the previously saved assignment.

Selection and coloring

Atom expressions related to secondary structure:

by name by index
select structure=-1 matches non-protein parts (ligands,...)
select structure=0 matches unstructured protein (random coil)
select turn or select structure=1 matches turns
select sheet or select structure=2 matches beta strands
select helix or select structure=3 includes all 3 types of helices
select dna or select structure=4 matches DNA
select rna or select structure=5 matches RNA
select carbohydrate or select structure=6 matches carbohydrates
select helix310 or select substructure=7 matches 310 helices (DSSP code "G"). Example: 2JC9.pdb
select helixAlpha or select substructure=8 matches alpha helices (DSSP code "H")
select helixPi or select substructure=9 matches pi helices (DSSP code "I").
Example: 2JC9.pdb after calculate structure

Note: it is safe to use substructure for all selection commands. For ex., select substructure=2 selects beta strands, but select structure=8 selects nothing.

  • color structure now applies different shades of color to alpha, 310 and pi helices, in addition to the classic coloring of helices, beta strands, turns and unstructured portions (see colors below).
  • label %[substructure] labels with the texts: helixalpha, helix310, helixpi, sheet, turn, none
  • structure helixAlpha ....
  • structure helix310 ....
  • structure helixPi ....

Reference section

  • W. Kabsch, C. Sander (1983) Dictionary of protein secondary structure: pattern recognition of hydrogen-bonded and geometrical features. Biopolymers 22: 2577-2637. doi:10.1002/bip.360221211
  • DSSP Home Page: http://swift.cmbi.ru.nl/gv/dssp/
  • M. Levitt, J. Greer (1977) Automatic identification of secondary structure in globular proteins. J. Mol. Biol. 114: 181-239. doi:10.1016/0022-2836(77)90207-8
  • Codes for structure types:
PDB
code
SPSS
code
Jmol codes
substructure and name
right-handed alpha (default) 1 H 8 helixalpha
right-handed omega 2
right-handed pi 3 G 7 helixpi
right-handed gamma 4
right-handed 310 5 I 9 helix310
left-handed alpha 6
left-handed omega 7
left-handed gamma 8
27 ribbon/helix 9
polyproline 10
(beta) strand 0 first
1 parallel
-1 antiparallel
E 2 sheet
turn T 1 turn
isolated beta-bridge residue B
bend S
none (unstructured protein) - 0 none
DNA 4 dna
RNA 5 rna
carbohydrate 6 carbohydrate
other* -1
Helix types in PDB format: columns 39-40 of HELIX record, right-justified.
Strand sense in PDB format: columns 39-40 of SHEET record, right-justified.
(*) Other = not protein, not nucleic, not carbohydrate.

Pretty cartoons

Apply this script to get cartoons with a better-than-default look (it will take some more time to rotate them around):

set hermiteLevel -4; set ribbonAspectRatio 12;

or

set hermiteLevel 4; set ribbonAspectRatio 12;

which accelerates rotation (the thickness disappears while manipulating with the mouse)