Support for bond orders
Jmol supports bond orders (i.e., different from single bonds) and displays them as parallel, solid or dashed, cylinders.
Visualization of non-single bonds can be supressed (all will show as single) if
set showMultipleBonds off is issued at the console or from a script.
Definition of bond order
File formats that specify bond order --and Jmol recognizes as such:
- MOL specifies bond order natively, using certain numeric codes (see table below)
- MOL2 specifies bond order natively, using certain alphanumeric codes (see table below)
- PDB can do double bonds using a trick: specify twice each CONECT record, or put the second atom twice in the same record.
- CML specifies bond order natively, using XML tags; Jmol implements single, double, triple, aromatic and 'partial12'.
Jmol commands that assign bond order:
connectaccepts a parameter specifying bond type (see table below)
bondOrder(new in Jmol 11.3.x) accepts a parameter specifying bond type (see table below)
|bond order|| Jmol syntax in || Jmol syntax in ||bond code in MOL file||bond code in MOL2 file||bond code in CML file e|
|0.5||partial a||0.5||8 d||n/a||partial01 f|
|1||single||1||1||1||1 or S|
|1.5||partialDouble b||-1.5||5||n/a||partial12 f|
|2||double||2||2||2||2 or D|
|2.5||partialTriple ? c||2.5 or -2.5 b,c||n/a||n/a||partial23 f|
|3||triple||3||3||3||3 or T|
(a) "hBond" and "partial" are both dashed, but they have different patterns, and newly created hydrogen bonds are only thin lines (wireframe style).
(b) "partialDouble" and "aromatic" are identical except for which side of the bond is represented by a dashed line. Same applies to "2.5" and "-2.5".
(c) starting Jmol 11.3.28
(d) type 8 is defined as "any" in MOL format; most versions of Jmol will render that as partial.
(e) as documented at http://eugen.leitl.org/nesc/jumbo4.3/schemas/cmlAll/htmldocs/orderType.html
(f) not fully implemented; starting Jmol 11.7.32 only partial12 is implemented
By default, Jmol displays double bonds as twin sticks (cylinders) contained in the viewer's plane, i.e. always visible as double sticks.
You may opt for double sticks that are in the plane of the atoms involved (particularly significant for bonds in rings), using a positive 'N' value in
set multipleBondSpacing N
The default thickness and spacing of the sticks may be changed using
set multipleBondSpacing N and
set multipleBondSpacing N
There is also an alternative style using curved sticks, available with
set multipleBondBananas on
Detailed documentation for all these.
|default||set multipleBondSpacing -0.5||set multipleBondSpacing 0.5||set multipleBondBananas on|
- The fourth model is not interactive, it is an animated gif, since the Jmol version currently used in this wiki does not yet support