Chimera Commands Index

Usage:
writesel sel-file options

Writesel writes a parsable list of the currently selected (or unselected) items. It is the command-line implementation of 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. If sel-file is a single dash, the information will be sent to the Reply Log instead of saved to a file.

Options

Option keywords for writesel can be truncated to unique strings and their case does not matter. A vertical bar "|" designates mutually exclusive options, and default values are indicated with bold. 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