New
v5.5.0
- Viewer app
- Move viewer extensions, options, and presets to a separate file
- Add
molstar.libexport providing access to a wide range of functionality previously not available from the compiled bundle - Add
Viewer.subscribemethod that keeps track of subscribed plugin events and disposes them together with the parent viewer - Add
Viewer.structureInteractivitythat makes it easy to highlight/select elements on the loaded structure - Add
viewportBackgroundColorandviewportFocusBehavioroptions - Add
mvs.htmlexample to showcase the new functionality combined with MolViewSpec - Add dark and blue color theme support (import
theme/dark.cssortheme/blue.cssinstead of the defaultmolstar.css)
- MolViewSpec extension
- Add
tryGetPrimitivesFromLocithat makes it easier to access primitive element data from hover/click interactions - Add
getCurrentMVSSnapshotto obtain source data for the currently displayed snapshot
- Add
- Add TM-align structure-based protein alignment algorithm
- New
TMAlignnamespace inmol-math/linear-algebra/3d/tm-align.ts - New
tmAlignfunction inmol-model/structure/structure/util/tm-align.ts - Returns TM-score, RMSD, alignment mapping, and transformation matrix
- New
- Molecular Surface
- Fix "auto" quality params not hidden
- Fix calculation when probe diameter is smaller then resolution
- Fix webgl1 shader syntax
- Fix program not compiled for sync picking
- Fix missing
gl.flushfor async picking (needed for Safari) - Add Residue Charge color scheme (#1722)
- Add dropdown indicator for mapped parameter definitions and adjust "more options" icon
- Fix
flipSidedfor meshes - [Breaking] Interior coloring
- Remove global
interiorDarkening,interiorColorFlag,interiorColor - Add per-geometry
interiorColor,interiorSubstance
- Remove global
- Add
label/auth_comp_idtoStructureProperties.residue- Previously, this has been only been present on
.atom(since residue name can alter on per-atom basis), but this has been a bit confusing for the general use-case
- Previously, this has been only been present on
- Move canvas "checkered background" logic to
canvas3d.tsand only apply it whentransparentBackgroundis on- This prevents ugly flickering during plugin initialization
- Fix unit hash collision issues (#1721)