OEMonomerColorDefault
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
class OEMonomerColorDefault : public OEMonomerColorBase
The OEMonomerColorDefault class is used
to assign colors to monomers for depiction.
The following methods are publicly inherited from OEMonomerColorBase:
Constructors
OEMonomerColorDefault() -> OEMonomerColorDefault
Default constructor.
operator()
__call__(arg2: OEMonomerData) -> OEColor
Returns the color assigned to a specific monomer (OEMonomerData).
Standard amino acids are colored by their properties (containing sulphur, aliphatic, aromatic, acidic, basic, hydroxylic, amidic).
OEBlack is returned for all other monomers.
CreateCopy
CreateCopy() -> OEMonomerColorBase
Deep copy constructor that returns a copy of the object.
The memory for the returned OEMonomerColorDefault
object is dynamically allocated and owned by the caller.