Color schemes#
Data graph nodes in SAMSON may have color schemes that apply to themselves and their descendants. Color schemes may be used to e.g. assign a constant color to a node, color atoms by residue, chain, etc. or based on node properties (e.g. temperature factor, atom velocity, etc.).
Color schemes can be applied to structural nodes (e.g. to modify the colors of atoms and bonds) and to visual models (e.g. to colorize the secondary structure).
When a color scheme is applied to a node, all the node's descendants are affected.
See also
Colors#
See also
Available color schemes#
Three types of color schemes are available:
- Constant: the same color is uniformly applied.
- Constant (illustrate): the same color is uniformly applied to most of the atom types and is lightened for some atom types.
- Per atom element:
- Per element: sets atom colors based on their element types using the classic Corey-Pauling-Koltun (CPK) color scheme. This is the default colorization of structural models.
- Per element (custom carbons): sets the specified color for carbons and CPK colors for other atom element types.
- Per element (per chain carbons): sets palette colors for carbons based on their chain ID and CPK colors for other atom element types.
- Per attribute: the color is determined based on an atom attribute (e.g. temperature factor, residue, etc.) and a color palette:
SBDColorSchemePerChainID
SBDColorSchemePerChainIllustrate
SBDColorSchemePerFormalCharge
SBDColorSchemePerOccupancy
SBDColorSchemePerPartialCharge
SBDColorSchemePerResidueHydrophobicity
SBDColorSchemePerResidueSequenceNumber
SBDColorSchemePerResidueType
SBDColorSchemePerSecondaryStructureType
SBDColorSchemePerSideChainCharge
SBDColorSchemePerSideChainPolarity
SBDColorSchemePerTemperatureFactor