Status: Accepted. Extends 0006; reuses the spatial grid of 0009.
Ribbons and the Structure colour scheme read each residue’s secondary structure, which came only from the file’s
_struct_conf and _struct_sheet_range. Predicted models and some files have no such annotation, so they showed as
all coil (roadmap slice 5). Slice 6 (cartoon) also depends on good
helix and strand assignment.
jmvs-core (chem.DsspAssigner), following the core of DSSP
(Kabsch & Sander, 1983):
0.084 × 332 × (1/rON + 1/rCH − 1/rOH − 1/rCN); an H-bond if below −0.5 kcal/mol,
keeping the two best acceptors per donor. Candidate O atoms come from SpatialGrid within 5.2 Å of N; bonds
may cross chains within a model.HELIX; E → SHEET; T → TURN; B, S and the rest → COIL.COIL.Structure records whether the file had any annotation
(secondaryStructureAnnotated()), and withSecondaryStructure(list) returns a copy that shares models, chains,
atoms and bonds, so atom indices, scenes’ atom references, selection and surfaces stay valid.SecondaryStructureSource): Auto (default: the file’s annotation if it has any, else
computed), From file, or Computed. Chosen in the Display menu or with --ss auto|file|computed, and kept
when another file is opened. ViewerController keeps the structure as read and the one shown; switching source
applies it and rebuilds the current mode’s scene on the background executor, then sends sceneChanged.AF-P69905-F1-model_v6-noss.cif has it removed to exercise Auto.1aon), so it runs at load without a progress indicator.4hhb); users can pick From file.