Interface: ProteinOptions
Defined in: src/mobjects/molecular/Protein.ts:57
Options for a Protein.
Properties
colorMode?
optionalcolorMode:ProteinColorMode
Defined in: src/mobjects/molecular/Protein.ts:63
The color mode. Default: 'secondary-structure'.
colors?
optionalcolors:Record<string,string>
Defined in: src/mobjects/molecular/Protein.ts:65
Color overrides, keyed by residue code (residue mode) or SS name (SS mode).
lineWidth?
optionallineWidth:number
Defined in: src/mobjects/molecular/Protein.ts:71
Line width for the 'backbone-line' representation. Default: 4.
representation?
optionalrepresentation:ProteinRepresentation
Defined in: src/mobjects/molecular/Protein.ts:61
The backbone representation. Default: 'tube'.
residues
residues:
ResidueCA[]
Defined in: src/mobjects/molecular/Protein.ts:59
The residues, one CA each, in chain order. At least two.
scale?
optionalscale:number
Defined in: src/mobjects/molecular/Protein.ts:77
World scale applied to every CA coordinate. Default: 1.
smoothing?
optionalsmoothing:number
Defined in: src/mobjects/molecular/Protein.ts:69
Catmull-Rom subdivisions per residue span. Default: 6.
ssColors?
optionalssColors:object
Defined in: src/mobjects/molecular/Protein.ts:75
Secondary-structure colors. Missing entries fall back to the defaults.
coil?
optionalcoil:string
helix?
optionalhelix:string
sheet?
optionalsheet:string
tubeRadius?
optionaltubeRadius:number
Defined in: src/mobjects/molecular/Protein.ts:67
Tube radius for the 'tube' representation. Default: 0.3.
uniformColor?
optionaluniformColor:string
Defined in: src/mobjects/molecular/Protein.ts:73
Color for the 'uniform' mode. Default: '#4f8ac9'.