Skip to content

can't config the plugin to N-terminus to C-terminus (rainbow) style #110

Open
@yyli2022

Description

@yyli2022

hi, dear, i can't config the plugin to N-terminus to C-terminus (rainbow) style. what i can do?
there is my code. THX
` const options = {
"customData": { url: pdbPath, format: 'pdb' },
"sequencePanel": true,
"hideControls": true,
"bgColor": { r: 255, g: 255, b: 255 },
"alphafoldView": true,
visualStyle: 'cartoon', // cartoon | ball-and-stick | carbohydrate | ellipsoid | gaussian-surface | molecular-surface | point | putty | spacefill
hideStructure: ['het', 'water'],
loadMaps: true,
mapSettings: { '2fo-fc': { opacity: 0.8, wireframe: true } },
highlightColor: '#ffff00',
selectColor: '#77bbff',
lighting: 'metallic', // flat | matte | glossy | metallic | plastic

// BEHAVIOR
validationAnnotation: true,
domainAnnotation: true,
symmetryAnnotation: true,
// pdbeUrl: 'https://www.ebi.ac.uk/pdbe/',
// encoding: 'cif', // cif | bcif
lowPrecisionCoords: true,
selectInteraction: false,
granularity: 'chainInstances', // element | residue | chain | entity | model | operator | structure | elementInstances | residueInstances | chainInstances
subscribeEvents: true,

"defaultPreset": "all-models",
"superpositionParams": { matrixAccession: 'P08684', segment: 1, ligandView: true, ligandColor: { r: 255, g: 255, b: 50 } }

};`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions