ChimeraX docs icon

Command: info

Usage:
info  model-specsaveFile  file ]

The top-level info command shows information about the specified models in the Log. As per the usual convention, a blank specification indicates “all.” The type of information depends on the type of model, and includes the numbers of atoms, bonds, residues, and chains in an atomic model, the number of coordinate sets in a trajectory model, and the size, voxel dimensions, value range, and current contour level(s) of a volume model.

The saveFile option saves the information to a text file (instead of to the Log), where file is the output file pathname, enclosed in quotation marks if it includes spaces, or the word browse to specify it interactively in a file browser window.

See also: open, sym, log metadata, log chains, setattr, volume settings, model information, save attribute values, attribute assignment files

Various subcommands of info report attribute values or other data to the Log or to “client” programs:

Some of the subcommands report values for id (unique identifier) and/or index (residue position in biopolymer chain, starting with 0), but these are not attributes. See also: setattr

info atoms  atom-spec  [ attribute attribute-name ] [ saveFile  file ]
Report values of an attribute of atoms. By default, the idatm_type attribute is reported for the specified atoms. If attribute is given, values of attribute-name are reported instead. The names of atom attributes can be listed with info atomattr.
info atomcolor  atom-spec  [ saveFile  file ]
Report atom colors as hex codes.
info atomattrsaveFile  file ]
List the names of atom attributes.
info bondattrsaveFile  file ]
List the names of bond attributes.
info residues  atom-spec  [ attribute attribute-name ] [ saveFile  file ]
Report values of an attribute of residues. By default, the name attribute is reported for the residues containing the specified atoms. If attribute is given, values of attribute-name are reported instead. The names of residue attributes can be listed with info resattr. The reported index is not an attribute, but simply the index of a residue within its chain, starting with 0.
info rescolor  atom-spec  [ saveFile  file ]
Report residue cartoon colors as hex codes.
info resattrsaveFile  file ]
List the names of residue attributes.
info chains  atom-spec  [ attribute attribute-name ] [ saveFile  file ]
Report values of an attribute of chains. By default, the chain_id attribute is reported for the chains containing the specified atoms. If attribute is given, values of attribute-name are reported instead.
info polymers  atom-spec  [ saveFile  file ]
Report the starting and ending residues of the physically connected chains containing the specified atoms.
info models  model-spec  [ type model-type ] [ attribute attribute-name ] [ saveFile  file ]
Report values of an attribute of the specified model(s), optionally restricted by model type. By default, model type and name attributes are reported; if attribute is given, values of attribute-name are reported instead. The model-type for restricting the output can be any of the type values shown in the default report, without truncation.
info selectionlevel  level ] [ attribute attribute-name ] [ saveFile  file ]
Report attribute values for items that are currently selected. The level of reporting can be atom (default), residue, chain, structure (atomic model), or model (any type of model). If attribute is given, values are reported for attribute-name instead of the default attribute for the level. See also: save PDB
info bounds  model-specsaveFile  file ]
Report the bounds for the specified model(s), or if none are specified, the scene bounds. Bounds are reported as the coordinates of the front lower left and the back upper right of a rectangular box.
info distmat  atom-specsaveFile  file ]
Report all pairwise distances among the specified atoms. The atom-spec cannot be blank. The output consists of lines that start with “distmat,” followed by the specifiers of the two atoms, followed by the distance in Å. The upper triangle of the distance matrix is given row by row, with atoms in the order (if any) in which they were specified.
info pathall | system | user [ all | versioned | unversioned [ cache | config | data | log | state ]]] [ saveFile  file ]
Report local paths for ChimeraX-related files; default is all files, but reporting can be limited to those which are system or user-specific, versioned or unversioned, and/or of a specific type: cache, config, data, log, or state.
info notify startmodels | selection )  clientId  [ prefix prefix ] [ url URL ]
info notifysuspend | resume | stop ) ( models | selection )  clientId 
(The ChimeraX Programming Manual will include a description.) See also: remotecontrol

UCSF Resource for Biocomputing, Visualization, and Informatics / September 2023