14 .TH XScreenSaver 1 "13-Mar-01" "X Version 11"
16 molecule - draws 3D moleclear structures
19 [\-display \fIhost:display.screen\fP] [\-window] [\-root]
20 [\-visual \fIvisual\fP] [\-delay \fImicroseconds\fP] [\-fps]
21 [\-wander] [\-no-wander]
25 [\-timeout \fIseconds\fP]
26 [\-labels] [\-no-labels]
27 [\-titles] [\-no-titles]
28 [\-atoms] [\-no-atoms]
29 [\-bonds] [\-no-bonds]
30 [\-molecule \fIfile-or-directory\fP]
32 The \fImolecule\fP program draws several different representations of
33 molecules. Some common molecules are built in, and it can read PDB
34 (Protein Data Base) files as input.
37 accepts the following options:
40 Draw on a newly-created window. This is the default.
43 Draw on the root window.
46 Install a private colormap for the window.
48 .B \-visual \fIvisual\fP\fP
49 Specify which visual to use. Legal values are the name of a visual class,
50 or the id number (decimal or hex) of a specific visual.
53 Display a running tally of how many frames per second are being rendered.
54 In conjunction with \fB\-delay 0\fP, this can be a useful benchmark of
58 Move the molecules around the screen.
61 Keep the molecule centered on the screen. This is the default.
64 Which axes around which the molecule should spin. The default is "XYZ",
65 meaning rotate it freely in space. "\fB\-spin Z\fP" would rotate the
66 molecule in the plane of the screen while not rotating it into or out
70 Don't spin it at all: the same as \fB\-spin ""\fP.
73 Draw labels on the atoms (or the spot where the atoms would be.)
77 Do not draw labels on the atoms.
80 Print the name of the molecule and its chemical formula at the top of
84 Do not print the molecule name.
87 Represent the atoms as shaded spheres of appropriate sizes.
91 Do not draw spheres for the atoms: only draw bond lines.
94 Represent the atomic bonds as solid tubes of appropriate thicknesses.
98 Do not draw the bonds: instead, make the spheres for the atoms be
99 larger, for a "space-filling" representation of the molecule.
102 Draw a wireframe rendition of the molecule: this will consist only of
103 single-pixel lines for the bonds, and text labels where the atoms go.
104 This will be very fast.
106 .B \-timeout \fIseconds\fP
107 When using the built-in data set, change to a new molecule every
108 this-many seconds. Default is 20 seconds.
110 .B \-molecule \fIfile-or-directory\fP
111 Instead of using the built-in molecules, read one from the given file.
112 This file must be in PDB (Protein Data Base) format. (Note that it's
113 not uncommon for PDB files to contain only the atoms, with no (or
114 little) information about the atomic bonds.)
116 This can also be a directory, in which case, all of the .pdb files in
117 that directory will be loaded. A new one will be displayed at random
118 every few seconds (as per the \fI\-timeout\fP option.)
120 When the molecule is too large (bigger than about 30 angstroms from
121 side to side), the \fI\-label\fP option will be automatically turned
122 off, because otherwise, the labels would overlap and completely obscure
125 When the molecule is around 150 angstroms from side to side, wireframe
126 mode will be turned on (because otherwise it would be too slow.)
131 to get the default host and display number.
134 to get the name of a resource file that overrides the global resources
135 stored in the RESOURCE_MANAGER property.
140 Documentation on the PDB file format:
142 http://www.rcsb.org/pdb/docs/format/pdbguide2.2/guide2.2_frame.html
144 A good source of PDB files:
146 http://www.sci.ouc.bc.ca/chem/molecule/molecule.html
149 Copyright \(co 2001, 2004 by Jamie Zawinski.
150 Permission to use, copy, modify, distribute, and sell this software and
151 its documentation for any purpose is hereby granted without fee,
152 provided that the above copyright notice appear in all copies and that
153 both that copyright notice and this permission notice appear in
154 supporting documentation. No representations are made about the
155 suitability of this software for any purpose. It is provided "as is"
156 without express or implied warranty.
158 Jamie Zawinski <jwz@jwz.org>