Resrepr creates a ribbon representation showing the secondary structure of proteins and nucleic acids. Possible values of type are
Protein secondary structure is determined from HELIX and SHEET records in the input file, or if these are not present, using ksdssp. For nucleic acids, the ribbon simply follows the phosphodiester backbone. No ribbon is drawn for molecules that are not proteins/peptides or nucleic acids.
While repr operates at the level of atoms, resrepr operates at the level of residues. Even if only particular atoms are specified, the entire residue(s) containing the atoms will be affected. The ribbon does not replace any atoms; rather, it is added to the current display. The color of the ribbon at each residue depends on the color assigned on a per-residue basis (for example, using rescolor or rainbow), which may differ from the apparent color of the residue's atoms; see coloring hierarchy. At residues that have not been assigned a per-residue color, the ribbon defaults to the per-model color.
See also: represent, rainbow, rescolor, modelcolor, the Represent section of the Actions menu, the extension Ribbon Style Editor