Difference between revisions of "Jmol as editor"

From Jmol
Jump to navigation Jump to search
(first draft)
 
(brief details and links)
Line 4: Line 4:
 
== Modifying bonds ==
 
== Modifying bonds ==
  
set autoBond
+
[http://chemapps.stolaf.edu/jmol/docs/#set_autobond set autoBond]
 +
defines whether Jmol will add bonds based on interatomic distances (for file formats that do not specify bonds).
  
connect
+
[http://chemapps.stolaf.edu/jmol/docs/#connect connect]
 +
allows to add or delete bonds arbitrarily, or to change bond order.
  
calculate hBonds  
+
[http://chemapps.stolaf.edu/jmol/docs/#calculate calculate hBonds]
 +
makes Jmol calculate a limited set of likely hydrogen bonds.
  
calculate aromatic
+
[http://chemapps.stolaf.edu/jmol/docs/#calculate calculate aromatic]
 +
reassigns all bonds of aromatic type as alternating single and double aromatic bonds.
  
calculate structure -- not really bonds
+
[http://chemapps.stolaf.edu/jmol/docs/#calculate calculate structure] does not really change bonds, but assignation of secondary structure for proteins and, hence, cartoon/ribbon rendering and coloring by structure.
  
 
== Moving atoms ==
 
== Moving atoms ==
  
translateSelected
+
[http://chemapps.stolaf.edu/jmol/docs/#translateSelected translateSelected]
 +
changes atom coordinates according to some XYZ values (or fractional crystallographic coordinates).
  
rotateSelected
+
[http://chemapps.stolaf.edu/jmol/docs/#rotateSelected rotateSelected]
 +
changes atom coordinates applying a rotation operation.
  
invertSelected
+
[http://chemapps.stolaf.edu/jmol/docs/#invertSelected invertSelected]
 +
changes atom coordinates applying a symmetry operation.
  
minimize
+
[http://chemapps.stolaf.edu/jmol/docs/#minimize minimize]
 +
changes atom coordinates following a force field calculation in search of a conformation of minimal energy.
  
 
== Adding atoms ==
 
== Adding atoms ==
  
data
+
[http://chemapps.stolaf.edu/jmol/docs/#data data]
 +
allows to add atoms and to add or redefine atom-associated properties (such as coordinates, charge, radius, temperature factor, occupancy, vibration, etc., or custom properties).
  
 
== Removing atoms ==
 
== Removing atoms ==
  
zap frame
+
[http://chemapps.stolaf.edu/jmol/docs/#zap zap]
 +
allows to delete all atoms in a certain model/frame.

Revision as of 17:33, 15 November 2008

Although Jmol is by design a viewer for molecular structures, its growth has brought some limited capabilities for editing the model. By editing, we mean altering atom positions or identities (e.g. chemical element), addition or removal of some atoms.

Modifying bonds

set autoBond defines whether Jmol will add bonds based on interatomic distances (for file formats that do not specify bonds).

connect allows to add or delete bonds arbitrarily, or to change bond order.

calculate hBonds makes Jmol calculate a limited set of likely hydrogen bonds.

calculate aromatic reassigns all bonds of aromatic type as alternating single and double aromatic bonds.

calculate structure does not really change bonds, but assignation of secondary structure for proteins and, hence, cartoon/ribbon rendering and coloring by structure.

Moving atoms

translateSelected changes atom coordinates according to some XYZ values (or fractional crystallographic coordinates).

rotateSelected changes atom coordinates applying a rotation operation.

invertSelected changes atom coordinates applying a symmetry operation.

minimize changes atom coordinates following a force field calculation in search of a conformation of minimal energy.

Adding atoms

data allows to add atoms and to add or redefine atom-associated properties (such as coordinates, charge, radius, temperature factor, occupancy, vibration, etc., or custom properties).

Removing atoms

zap allows to delete all atoms in a certain model/frame.