Chimera Commands Index

Usage:
swapaa type atom-spec options

Swapaa replaces amino acid sidechains using information from a rotamer library; it is the command-line implementation of Rotamers. A residue can be changed to a different sidechain conformation (rotamer) of the same type of amino acid or mutated into a different type. Rotamers can be chosen based on best fit to density, lowest clash score, most H-bonds, or highest probability according to the library.

The sidechain of each residue with at least one atom in atom-spec is replaced with a rotamer of type. The type can be specified with a three-letter code for one of the 20 standard amino acids (case is unimportant) or the word same, which allows substitutions at multiple residues of different types to be performed simultaneously. Bond lengths and angles are taken from the Amber parameter files all*94.lib, and hydrogens are not included.

Although multiple sidechains can be replaced simultaneously, swapaa is not recommended for predicting the conformations of multiple sidechains in an interacting cluster. Programs such as SCWRL are more appropriate for that purpose.

Options

Option keywords for swapaa 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.

criteria method
How to choose the rotamer. The method can be any combination, without spaces, of one or more of the following letters (default dchp): Each successive method is only used when the previous method(s) have produced a tie. For example, with the default criteria (dchp), if no density map is specified, clashes will be evaluated; if the clash scoring method is num and more than one rotamer ties for the lowest number of clashes, H-bonds will be evaluated to break the tie; if the lowest-clashing rotamers also have equal numbers of H-bonds, the one with the highest probability will be used.
lib rotamer-library
What rotamer library to use; the source of rotamer torsion angles and probabilities. Possible values of rotamer-library (capitalization optional):
Density parameters:
densitySpec mapmodel
The mapmodel is the model number preceded by # of the density map open in Chimera.
Clash parameters:
overlapCutoff cutoff
The cutoff is how much VDW overlap should count as a clash (default 0.6 Å). A larger positive cutoff restricts the results to more severe clashes (details).
hbondAllowance allowance
When VDW overlap is calculated, an allowance (default 0.4 Å) is subtracted for atom pairs comprised of a possible hydrogen bond donor (or its hydrogen) and a possible acceptor (details).
scoreMethod sum|num
How to calculate the clash score: as a simple count of the number of clashes (num) or a sum of all overlaps ≥ cutoff (sum).
H-bond parameters:
relax true|false
Whether to relax the precise criteria for hydrogen bonding.
distSlop tolerance
The tolerance is how much to relax the distance criteria if relax is true (default 0.4 Å).
angleSlop tolerance
The tolerance is how much to relax the angle criteria if relax is true (default 20.0 degrees).
See also: addaa, swapna, Rotamers, Adjust Torsions