Selecting

From Jmol
Revision as of 16:48, 27 June 2007 by Pimpim (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Jmol / JSmol Tutorials


Selecting can be done via atom expressions or based on geometry. The selection expressions used in Jmol can be used for the "select" and the "display within" commands.

Atom expressions

Geometric expressions

Combining selection statements

The combination of selection statements in Jmol is based on Boolean logic, using the statements And, Or, and Not, in a slightly different way than these are used in conversational language.

Example: We have a system consisting of water and a peptide chain. We are interested in selecting oxygen atoms. Let's call the set of atoms in the peptide chain A, and all oxygen atoms B.

Select A not B

File:Http://www.molmod.com/~schraven/jmolwiki/a.jpg



  • Select A and B


  • Select A or B

Contributors

Pimpim, AngelHerraez