Saving Coordinates
See also:
write,
sessions,
exporting a scene
The dialog for saving PDB files can be invoked with
File... Save PDB or Actions... Write PDB
in the Chimera menu, the Write PDB...
button on the Selection Inspector, or
write PDB
in the Model Panel.
The dialog resembles other open/save dialogs,
but has additional specific options.
Individual models or blocks of models can be chosen
from the Save models list with the left mouse button.
Ctrl-click toggles the status of an individual model.
To choose a block of models without dragging,
click on the first (or last) and then Shift-click
on the last (or first) in the desired block.
Only molecule models are listed.
Options:
- Save displayed atoms only - only write coordinates of atoms
that are displayed
- Save selected atoms only - only write coordinates of atoms
that are selected
Option when only one model is present:
- Use untransformed coordinates - write coordinates without
applying any rotations and translations that have been performed in Chimera
Option when more than one model is present:
- Save relative to model [model] -
save coordinates relative to the untransformed coordinates of a
specified reference model
(otherwise, transformed coordinates will be saved).
This is useful for preserving the spatial relationship between models.
For example, if model 1 has been matched or docked to model 0,
saving 1 relative to 0 results in the models being matched
or docked in the same way when the model 0 file (original) and
the model 1 file (saved relative to 0) are reopened.
Option when more than one model is chosen:
- Save multiple models in
- a single file
- one PDB file containing all chosen models, with
MODEL/ENDMDL records delimiting the coordinates of each
(technically, this treatment is only correct for models with identical
sets of atoms, but may be convenient in the more general case of disparate
models)
- multiple files [appending model number]
- a different PDB file for each model, named by appending
model ID number (model or model.submodel)
to the specified file name, before the ".pdb" suffix, if present
If one or more of the chosen models contains a trajectory, there will also be
an option to Save the current frame or all frames.
In this context, "all frames" means all frames whose coordinate sets have been
read in
with MD Movie.
A model will not be recognized as a trajectory until more than one
set of coordinates has been read.
Besides atomic coordinates,
HELIX and SHEET records
are written out. These reflect the current residue helix/strand
assignments. However, helices are assumed to be of the right-handed
alpha type, and information on strands is written as if each were a
separate sheet (information on the actual number of sheets and strand
register is not included).
The dialog for saving Mol2 files can be invoked with
File... Save Mol2 in the Chimera menu.
The dialog resembles other open/save dialogs,
but has additional specific options.
Individual models or blocks of models can be chosen
from the Save models list with the left mouse button.
Ctrl-click toggles the status of an individual model.
To choose a block of models without dragging,
click on the first (or last) and then Shift-click
on the last (or first) in the desired block.
Only molecule models are listed.
Option when only one model is present:
- Use untransformed coordinates - write coordinates without
applying any rotations and translations that have been performed in Chimera
Option when more than one model is present:
- Save relative to model [model] - save coordinates
relative to the untransformed coordinates of a specified
reference model (otherwise, transformed coordinates will be saved)
Option when more than one model is chosen:
- Save multiple models in
- a single file [individual @MOLECULE sections]
- multiple files [appending model number]
- a different Mol2 file for each model, named by appending
model ID number (model or model.submodel)
to the specified file name, before the ".mol2" suffix, if present
- a single file [combined @MOLECULE section]
Further options:
- Use Sybyl-style hydrogen naming (e.g. HE12 rather than 2HE1)
- move leading numerals to the ends of hydrogen names
- Write current selection to @SETS section of file
- make the currently
selected atoms a SET
(as used to specify the rigid portion of a ligand in
DOCK)
Mol2 files include columns for atom types and partial charges.
Mol2 files written from Chimera contain
Sybyl atom types
translated from the atom types in Chimera;
partial charges are set to zero, unless atoms have been assigned values for the
attribute
named charge (such as with
Add
Charge).
As there is not a simple one-to-one relationship between the
atom types, users may wish to check the Sybyl type assignments,
particularly for nonstandard residues.
UCSF Computer Graphics Laboratory / August 2007