Chimera Commands Index

Usage:
writesel sel-file options

Writesel writes a parsable text file containing specifications of the currently selected (or unselected) items. It is the command-line implementation of the menu item Actions... Write List. The output file name/pathname (sel-file) must be specified before any options. If sel-file includes spaces, it must be enclosed in single or double quote marks. If sel-file is browse or browser, a dialog for saving the file will appear.

Options

Unlike the keywords of most commands, option keywords for writesel can be truncated to unique strings. In addition, keyword case does not matter. Default values are indicated with bold. A vertical bar "|" designates mutually exclusive options. Synonyms for true: True, 1. Synonyms for false: False, 0.

naming simple|command-line
Whether the specifications should be written in the simple (e.g., #0 PHE 16 CD1) or command-line (e.g., #0:16@CD1) style.
selected true|false
Whether to write out specifications of items that are selected; if false, descriptions of the unselected items will be written out.
itemType atom|bond|pseudobond|residue|molecule|model
Whether to write specifications of atoms, bonds, pseudobonds, residues, molecule models, or non-molecule (molecular surface, surface, VRML, and volume) models, respectively.
See also: Actions... Write List, pdbrun, write, the Save PDB Dialog