Back to TABLE OF CONTENTSCommand Reference: A-C  D-H  I-P   Q-Se  Se-St T-Z
Trace
Syntax: trace {<boolean>}
              trace <value>
                trace temperature

The RasMol trace command displays a smooth spline between consecutive alpha carbon positions. This spline does not pass exactly through the alpha carbon position of each residue, but follows the same path as ribbons, strands, and cartoons. Note that each residue may be displayed as either a ribbon, strands, cartoon or trace, and enabling one of these representations disables the others. However, a residue may be displayed simultaneously as backbone and as one of the above representations [though this may change in future versions of RasMol]. [Prior to version 2.6, trace was synonymous with backbone.]
Trace temperature displays the backbone as a wider cylinder at high temperature factors and thinner at lower. This representation is useful to X-ray crystallographers and NMR spectroscopists.
Translate                          Syntax:   translate <axis> {-} <value>
The RasMol translate command moves the position of the center of the molecule on the screen. The axis parameter specifies the axis along which molecule is to be moved; the integer parameter specifies the absolute position of the molecule center from the middle of the screen. Permitted values for the axis parameter are x, y, and z. Displacement values must be between -100 and 100 which correspond to moving the current molecule just off the screen. A positive x displacement moves the molecule to the right, and a positive y displacement moves the molecule down the screen. The pair of commands, translate x 0 and translate y 0 centers the molecule on the screen.

Wireframe                         Syntax:   wireframe {<boolean>}
                                                               wireframe <value>
                                                                wireframe dash

The RasMol wireframe command represents each bond within the selected region of the molecule as either a cylinder, a line or depth-cued vector. The display of bonds as depth-cued vectors (drawn darker the further away from the viewer) is turned on by the command wireframe or wireframe on. The selected bonds are displayed as cylinders by specifying a radius either as an integer in RasMol units or containing a decimal point as a value in Angstroms. A parameter value of 500 (2.0 Å) or above results in an "Parameter value too large" error. Bonds may be colored using the color bonds command.
Wireframe, backbone, and strands representations may be displayed with dashed (dotted) lines. This is enabled by allowing the dash or dashes parameter to the wireframe, backbone, and strands commands.
Write                                    Syntax:   write {<format>} <filename>
Write the current image to a file in a standard raster format. Currently supported image file formats include "gif" (Compuserve GIF), "iris" (IRIS RBG format), "ppm" (Portable Pixmap), "ras" (Sun rasterfile), "ps" and "epsf" (Encapsulated PostScript), "monops" (Monochrome Encapsulated PostScript), "bmp" (Microsoft bitmap) and "pict" (Apple PICT).
The write command may also be used to generate command scripts for other graphics programs. The format script writes out a file containing the RasMol script commands to reproduce the current image; the format molscript writes out the commands required to render the current view of the molecule as ribbons in Per Kraulis' Molscript program [3]; and the format kinemage, writes out the the commands for David Richardson's program, MAGE [5].
The distinction between this command and the RasMol save command has been dropped. The only difference is that without a format specifier the save command generates a PDB file and the write command generates a GIF image.
The write gif <filename> command allows generation of transparent GIFs. This may be controlled by the set transparent on and set transparent off commands.
Zap                 Syntax:   zap
Deletes the contents of the current database and resets parameter variables to their initial default state.
Zoom        Syntax:   zoom {<boolean>}
                                        zoom <value>

Change the magnification of the currently displayed image. Boolean parameters either magnify or reset the scale of the current molecule. An integer parameter specifies the desired magnification as a percentage of the default scale. The minimum parameter value is 10; the maximum parameter value is dependent upon the size of the molecule being displayed. For medium sized proteins this is about 500.
Back to TABLE OF CONTENTS  Command Reference: A-C  D-H  I-P  Q-Se   Se-St  T-Z