SBColorSchemePerSideChainCharge#

This class describes a per side chain charge color scheme for amino acid residues.

Please refer to samson.SBNodeColorScheme.

See also

SAMSON SDK: SBDColorSchemePerSideChainCharge

class samson.SBColorSchemePerSideChainCharge(*args, **kwargs)#

Bases: SBColorSchemePerAttribute_SideChainCharge

This class describes a per side chain charge color scheme for amino acid residues.

Overloaded function.

  1. __init__(self: samson.SBColorSchemePerSideChainCharge) -> None

  2. __init__(self: samson.SBColorSchemePerSideChainCharge, nodeIndexer: samson.SBNodeIndexer, colorPalette: samson.SBPalette = None) -> None

Constructs color scheme for nodeIndexer with the given colorPalette.

The colorization is based on the standard side chain charges: negative, neutral, positive.

Parameters:
  • nodeIndexer (samson.SBNodeIndexer) – A indexer of nodes to which the color scheme is applied

  • colorPalette (samson.SBPalette, default=None) –

    A color palette.

    If None, then the default color palette associated with this color scheme will be used.