pdbe-molstar
Version:
Molstar implementation for PDBe
56 lines (55 loc) • 1.76 kB
TypeScript
import { PDBeMolstarPlugin } from '../..';
import { QueryParam } from '../../helpers';
export declare function colorComponents(viewer: PDBeMolstarPlugin, params: {
structId: string;
components: string[];
mappings?: {
[accession: string]: QueryParam[];
};
coreColor?: string;
componentColors?: string[];
}): Promise<void>;
/**
Coloring - subcomplexes:
- base common -> by entity, lighter
- base additional -> gray, lighter
- sub common -> by entity, darker
- sub additional -> gray, darker (these are all unmapped components, includes antibodies and ligands)
*/
export declare function colorSubcomplex(viewer: PDBeMolstarPlugin, params: {
baseStructId?: string;
otherStructId?: string;
baseComponents: string[];
otherComponents: string[];
baseMappings?: {
[accession: string]: QueryParam[];
};
otherMappings?: {
[accession: string]: QueryParam[];
};
coreColor?: string;
componentColors?: string[];
}): Promise<void>;
/**
Coloring - supercomplexes:
- base common -> gray, lighter
- base additional -> unmapped color, lighter (these are all unmapped components, includes antibodies and ligands)
- super common -> gray, darker
- super additional mapped -> by entity, darker
- super additional unmapped -> unmapped color, darker
*/
export declare function colorSupercomplex(viewer: PDBeMolstarPlugin, params: {
baseStructId?: string;
otherStructId?: string;
baseComponents: string[];
otherComponents: string[];
baseMappings?: {
[accession: string]: QueryParam[];
};
otherMappings?: {
[accession: string]: QueryParam[];
};
coreColor?: string;
unmappedColor?: string;
componentColors?: string[];
}): Promise<void>;