molstar 3.4.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +202 -197
- package/build/viewer/embedded.html +43 -43
- package/build/viewer/index.html +106 -106
- package/build/viewer/molstar.js +1 -1
- package/build/viewer/molstar.js.LICENSE.txt +12 -14
- package/lib/apps/docking-viewer/index.html +36 -36
- package/lib/apps/docking-viewer/index.js +1 -1
- package/lib/apps/viewer/app.js +1 -1
- package/lib/apps/viewer/embedded.html +43 -43
- package/lib/apps/viewer/index.html +106 -106
- package/lib/cli/chem-comp-dict/util.d.ts +20 -20
- package/lib/cli/cif2bcif/converter.js +1 -1
- package/lib/cli/cif2bcif/index.js +4 -4
- package/lib/cli/cifschema/util/cif-dic.d.ts +1 -1
- package/lib/cli/cifschema/util/cif-dic.js +7 -5
- package/lib/cli/cifschema/util/generate.d.ts +1 -1
- package/lib/cli/cifschema/util/generate.js +12 -3
- package/lib/cli/cifschema/util/schema.d.ts +3 -3
- package/lib/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/apps/docking-viewer/index.js +2 -2
- package/lib/commonjs/apps/viewer/app.js +2 -2
- package/lib/commonjs/cli/chem-comp-dict/util.d.ts +20 -20
- package/lib/commonjs/cli/cif2bcif/converter.js +1 -1
- package/lib/commonjs/cli/cif2bcif/index.js +4 -4
- package/lib/commonjs/cli/cifschema/util/cif-dic.d.ts +1 -1
- package/lib/commonjs/cli/cifschema/util/cif-dic.js +7 -5
- package/lib/commonjs/cli/cifschema/util/generate.d.ts +1 -1
- package/lib/commonjs/cli/cifschema/util/generate.js +12 -3
- package/lib/commonjs/cli/cifschema/util/schema.d.ts +3 -3
- package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/examples/alpha-orbitals/index.js +2 -2
- package/lib/commonjs/examples/basic-wrapper/index.js +2 -2
- package/lib/commonjs/examples/lighting/index.js +2 -2
- package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
- package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/anvil/representation.d.ts +4 -0
- package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -0
- package/lib/commonjs/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
- package/lib/commonjs/extensions/dnatco/confal-pyramids/color.js +223 -131
- package/lib/commonjs/extensions/dnatco/confal-pyramids/property.js +1 -3
- package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
- package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js +18 -19
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -0
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/commonjs/mol-data/db/column.d.ts +10 -3
- package/lib/commonjs/mol-data/db/column.js +39 -17
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +5 -3
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/image.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/image.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/lines.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/lines.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/points.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/points.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/text.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/text.frag.js +2 -2
- package/lib/commonjs/mol-gl/webgl/buffer.d.ts +2 -2
- package/lib/commonjs/mol-gl/webgl/buffer.js +12 -12
- package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/context.js +2 -2
- package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/program.js +10 -4
- package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +8 -8
- package/lib/commonjs/mol-io/reader/cif/schema/bird.js +12 -11
- package/lib/commonjs/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +12 -12
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +13 -12
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +44 -39
- package/lib/commonjs/mol-io/reader/cif/schema.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema.js +22 -2
- package/lib/commonjs/mol-io/writer/mol/encoder.js +1 -1
- package/lib/commonjs/mol-math/geometry/common.d.ts +2 -1
- package/lib/commonjs/mol-math/geometry/common.js +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.js +2 -2
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +7 -7
- package/lib/commonjs/mol-math/geometry/gaussian-density.d.ts +2 -2
- package/lib/commonjs/mol-math/geometry/gaussian-density.js +1 -1
- package/lib/commonjs/mol-math/geometry/molecular-surface.d.ts +2 -1
- package/lib/commonjs/mol-math/geometry/molecular-surface.js +2 -2
- package/lib/commonjs/mol-math/geometry/primitives/box3d.js +2 -1
- package/lib/commonjs/mol-math/geometry/primitives/sphere3d.js +12 -6
- package/lib/commonjs/mol-model/structure/model/model.js +14 -6
- package/lib/commonjs/mol-model/structure/model/properties/common.js +1 -1
- package/lib/commonjs/mol-model/structure/model/types.d.ts +19 -17
- package/lib/commonjs/mol-model/structure/model/types.js +30 -31
- package/lib/commonjs/mol-model/structure/query/queries/generators.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
- package/lib/commonjs/mol-model/structure/structure/unit/rings.js +3 -0
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -0
- package/lib/commonjs/mol-model-formats/structure/basic/entities.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/commonjs/mol-model-formats/structure/common/component.js +46 -46
- package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js +72 -7
- package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
- package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js +7 -2
- package/lib/commonjs/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -0
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
- package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -0
- package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +6 -6
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -0
- package/lib/commonjs/mol-plugin-ui/react18.d.ts +11 -0
- package/lib/commonjs/mol-plugin-ui/react18.js +38 -0
- package/lib/commonjs/mol-plugin-ui/state/common.js +6 -7
- package/lib/commonjs/mol-plugin-ui/structure/focus.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/focus.js +2 -2
- package/lib/commonjs/mol-plugin-ui/task.d.ts +2 -21
- package/lib/commonjs/mol-plugin-ui/task.js +39 -43
- package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/params.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/registry.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -9
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +3 -3
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +4 -4
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +1 -3
- package/lib/commonjs/mol-repr/structure/visual/util/common.js +2 -27
- package/lib/commonjs/mol-repr/util.d.ts +2 -1
- package/lib/commonjs/mol-repr/util.js +2 -2
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -0
- package/lib/commonjs/mol-repr/volume/registry.d.ts +1 -0
- package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
- package/lib/examples/alpha-orbitals/index.html +61 -61
- package/lib/examples/alpha-orbitals/index.js +1 -1
- package/lib/examples/basic-wrapper/index.html +137 -137
- package/lib/examples/basic-wrapper/index.js +1 -1
- package/lib/examples/lighting/index.html +88 -88
- package/lib/examples/lighting/index.js +1 -1
- package/lib/examples/proteopedia-wrapper/index.html +236 -236
- package/lib/examples/proteopedia-wrapper/index.js +1 -1
- package/lib/extensions/anvil/behavior.d.ts +1 -0
- package/lib/extensions/anvil/representation.d.ts +4 -0
- package/lib/extensions/cellpack/representation.d.ts +1 -0
- package/lib/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
- package/lib/extensions/dnatco/confal-pyramids/color.js +224 -132
- package/lib/extensions/dnatco/confal-pyramids/property.js +1 -3
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
- package/lib/extensions/dnatco/confal-pyramids/util.js +19 -20
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
- package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -0
- package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -0
- package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -0
- package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/mol-data/db/column.d.ts +10 -3
- package/lib/mol-data/db/column.js +39 -18
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
- package/lib/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
- package/lib/mol-geo/geometry/mesh/color-smoothing.js +5 -3
- package/lib/mol-geo/geometry/mesh/mesh.d.ts +2 -1
- package/lib/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +2 -1
- package/lib/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
- package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
- package/lib/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
- package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/mol-gl/shader/image.frag.d.ts +2 -2
- package/lib/mol-gl/shader/image.frag.js +2 -2
- package/lib/mol-gl/shader/lines.frag.d.ts +2 -2
- package/lib/mol-gl/shader/lines.frag.js +2 -2
- package/lib/mol-gl/shader/points.frag.d.ts +2 -2
- package/lib/mol-gl/shader/points.frag.js +2 -2
- package/lib/mol-gl/shader/text.frag.d.ts +2 -2
- package/lib/mol-gl/shader/text.frag.js +2 -2
- package/lib/mol-gl/webgl/buffer.d.ts +2 -2
- package/lib/mol-gl/webgl/buffer.js +12 -12
- package/lib/mol-gl/webgl/context.d.ts +1 -1
- package/lib/mol-gl/webgl/context.js +2 -2
- package/lib/mol-gl/webgl/program.d.ts +1 -1
- package/lib/mol-gl/webgl/program.js +10 -4
- package/lib/mol-io/reader/cif/schema/bird.d.ts +8 -8
- package/lib/mol-io/reader/cif/schema/bird.js +12 -11
- package/lib/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/ccd.d.ts +12 -12
- package/lib/mol-io/reader/cif/schema/ccd.js +13 -12
- package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
- package/lib/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
- package/lib/mol-io/reader/cif/schema/mmcif.js +44 -39
- package/lib/mol-io/reader/cif/schema.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema.js +22 -2
- package/lib/mol-io/writer/mol/encoder.js +1 -1
- package/lib/mol-math/geometry/common.d.ts +2 -1
- package/lib/mol-math/geometry/common.js +1 -1
- package/lib/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
- package/lib/mol-math/geometry/gaussian-density/cpu.js +2 -2
- package/lib/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
- package/lib/mol-math/geometry/gaussian-density/gpu.js +7 -7
- package/lib/mol-math/geometry/gaussian-density.d.ts +2 -2
- package/lib/mol-math/geometry/gaussian-density.js +1 -1
- package/lib/mol-math/geometry/molecular-surface.d.ts +2 -1
- package/lib/mol-math/geometry/molecular-surface.js +2 -2
- package/lib/mol-math/geometry/primitives/box3d.js +2 -1
- package/lib/mol-math/geometry/primitives/sphere3d.js +12 -6
- package/lib/mol-model/structure/model/model.js +14 -6
- package/lib/mol-model/structure/model/properties/common.js +1 -1
- package/lib/mol-model/structure/model/types.d.ts +19 -17
- package/lib/mol-model/structure/model/types.js +30 -31
- package/lib/mol-model/structure/query/queries/generators.js +1 -1
- package/lib/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
- package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
- package/lib/mol-model/structure/structure/unit/rings.js +3 -0
- package/lib/mol-model-formats/shape/ply.d.ts +2 -0
- package/lib/mol-model-formats/structure/basic/entities.js +1 -1
- package/lib/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/mol-model-formats/structure/common/component.js +46 -46
- package/lib/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
- package/lib/mol-model-formats/structure/pdb/atom-site.js +72 -7
- package/lib/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
- package/lib/mol-model-formats/structure/pdb/to-cif.js +7 -2
- package/lib/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
- package/lib/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
- package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -0
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
- package/lib/mol-plugin/commands.d.ts +1 -0
- package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -0
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/actions/structure.d.ts +6 -6
- package/lib/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
- package/lib/mol-plugin-state/helpers/structure-selection-query.js +1 -1
- package/lib/mol-plugin-state/transforms/representation.d.ts +6 -0
- package/lib/mol-plugin-ui/react18.d.ts +11 -0
- package/lib/mol-plugin-ui/react18.js +34 -0
- package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
- package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
- package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
- package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
- package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
- package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
- package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -643
- package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
- package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
- package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
- package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
- package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
- package/lib/mol-plugin-ui/skin/base/components/viewport.scss +128 -128
- package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
- package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
- package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
- package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
- package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
- package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
- package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
- package/lib/mol-plugin-ui/skin/blue.scss +1 -1
- package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
- package/lib/mol-plugin-ui/skin/dark.scss +1 -1
- package/lib/mol-plugin-ui/skin/light.scss +1 -1
- package/lib/mol-plugin-ui/state/common.js +7 -8
- package/lib/mol-plugin-ui/structure/focus.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/focus.js +2 -2
- package/lib/mol-plugin-ui/task.d.ts +2 -21
- package/lib/mol-plugin-ui/task.js +40 -46
- package/lib/mol-repr/shape/loci/angle.d.ts +1 -0
- package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -0
- package/lib/mol-repr/shape/loci/orientation.d.ts +1 -0
- package/lib/mol-repr/shape/loci/plane.d.ts +1 -0
- package/lib/mol-repr/shape/model/unitcell.d.ts +1 -0
- package/lib/mol-repr/structure/complex-visual.d.ts +3 -0
- package/lib/mol-repr/structure/params.d.ts +4 -0
- package/lib/mol-repr/structure/registry.d.ts +10 -0
- package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
- package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/orientation.d.ts +3 -0
- package/lib/mol-repr/structure/representation/putty.d.ts +3 -0
- package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -0
- package/lib/mol-repr/structure/units-visual.d.ts +4 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +10 -10
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -4
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +5 -5
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/util/common.d.ts +1 -3
- package/lib/mol-repr/structure/visual/util/common.js +1 -24
- package/lib/mol-repr/util.d.ts +2 -1
- package/lib/mol-repr/util.js +2 -2
- package/lib/mol-repr/volume/isosurface.d.ts +5 -0
- package/lib/mol-repr/volume/registry.d.ts +1 -0
- package/lib/mol-script/language/builder.d.ts +1 -0
- package/package.json +162 -160
|
@@ -19,7 +19,7 @@ export declare class ComponentBuilder {
|
|
|
19
19
|
private getType;
|
|
20
20
|
has(compId: string): boolean;
|
|
21
21
|
get(compId: string): Table.Row<Pick<{
|
|
22
|
-
type: Column.Schema.Aliased<"other" | "
|
|
22
|
+
type: Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
23
23
|
formula: Column.Schema.Str;
|
|
24
24
|
formula_weight: Column.Schema.Float;
|
|
25
25
|
id: Column.Schema.Str;
|
|
@@ -28,7 +28,7 @@ export declare class ComponentBuilder {
|
|
|
28
28
|
pdbx_synonyms: Column.Schema.List<string>;
|
|
29
29
|
}, "name" | "id" | "type">> | undefined;
|
|
30
30
|
add(compId: string, index: number): Table.Row<Pick<{
|
|
31
|
-
type: Column.Schema.Aliased<"other" | "
|
|
31
|
+
type: Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
32
32
|
formula: Column.Schema.Str;
|
|
33
33
|
formula_weight: Column.Schema.Float;
|
|
34
34
|
id: Column.Schema.Str;
|
|
@@ -37,7 +37,7 @@ export declare class ComponentBuilder {
|
|
|
37
37
|
pdbx_synonyms: Column.Schema.List<string>;
|
|
38
38
|
}, "name" | "id" | "type">>;
|
|
39
39
|
getChemCompTable(): Table<{
|
|
40
|
-
type: Column.Schema.Aliased<"other" | "
|
|
40
|
+
type: Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
41
41
|
formula: Column.Schema.Str;
|
|
42
42
|
formula_weight: Column.Schema.Float;
|
|
43
43
|
id: Column.Schema.Str;
|
|
@@ -30,45 +30,45 @@ var NonPolymerNames = new Set([
|
|
|
30
30
|
var StandardComponents = (function () {
|
|
31
31
|
var map = new Map();
|
|
32
32
|
var components = [
|
|
33
|
-
{ id: 'HIS', name: 'HISTIDINE', type: '
|
|
34
|
-
{ id: 'ARG', name: 'ARGININE', type: '
|
|
35
|
-
{ id: 'LYS', name: 'LYSINE', type: '
|
|
36
|
-
{ id: 'ILE', name: 'ISOLEUCINE', type: '
|
|
37
|
-
{ id: 'PHE', name: 'PHENYLALANINE', type: '
|
|
38
|
-
{ id: 'LEU', name: 'LEUCINE', type: '
|
|
39
|
-
{ id: 'TRP', name: 'TRYPTOPHAN', type: '
|
|
40
|
-
{ id: 'ALA', name: 'ALANINE', type: '
|
|
41
|
-
{ id: 'MET', name: 'METHIONINE', type: '
|
|
42
|
-
{ id: 'CYS', name: 'CYSTEINE', type: '
|
|
43
|
-
{ id: 'ASN', name: 'ASPARAGINE', type: '
|
|
44
|
-
{ id: 'VAL', name: 'VALINE', type: '
|
|
33
|
+
{ id: 'HIS', name: 'HISTIDINE', type: 'l-peptide linking' },
|
|
34
|
+
{ id: 'ARG', name: 'ARGININE', type: 'l-peptide linking' },
|
|
35
|
+
{ id: 'LYS', name: 'LYSINE', type: 'l-peptide linking' },
|
|
36
|
+
{ id: 'ILE', name: 'ISOLEUCINE', type: 'l-peptide linking' },
|
|
37
|
+
{ id: 'PHE', name: 'PHENYLALANINE', type: 'l-peptide linking' },
|
|
38
|
+
{ id: 'LEU', name: 'LEUCINE', type: 'l-peptide linking' },
|
|
39
|
+
{ id: 'TRP', name: 'TRYPTOPHAN', type: 'l-peptide linking' },
|
|
40
|
+
{ id: 'ALA', name: 'ALANINE', type: 'l-peptide linking' },
|
|
41
|
+
{ id: 'MET', name: 'METHIONINE', type: 'l-peptide linking' },
|
|
42
|
+
{ id: 'CYS', name: 'CYSTEINE', type: 'l-peptide linking' },
|
|
43
|
+
{ id: 'ASN', name: 'ASPARAGINE', type: 'l-peptide linking' },
|
|
44
|
+
{ id: 'VAL', name: 'VALINE', type: 'l-peptide linking' },
|
|
45
45
|
{ id: 'GLY', name: 'GLYCINE', type: 'peptide linking' },
|
|
46
|
-
{ id: 'SER', name: 'SERINE', type: '
|
|
47
|
-
{ id: 'GLN', name: 'GLUTAMINE', type: '
|
|
48
|
-
{ id: 'TYR', name: 'TYROSINE', type: '
|
|
49
|
-
{ id: 'ASP', name: 'ASPARTIC ACID', type: '
|
|
50
|
-
{ id: 'GLU', name: 'GLUTAMIC ACID', type: '
|
|
51
|
-
{ id: 'THR', name: 'THREONINE', type: '
|
|
52
|
-
{ id: 'PRO', name: 'PROLINE', type: '
|
|
53
|
-
{ id: 'SEC', name: 'SELENOCYSTEINE', type: '
|
|
54
|
-
{ id: 'PYL', name: 'PYRROLYSINE', type: '
|
|
55
|
-
{ id: 'MSE', name: 'SELENOMETHIONINE', type: '
|
|
56
|
-
{ id: 'SEP', name: 'PHOSPHOSERINE', type: '
|
|
57
|
-
{ id: 'TPO', name: 'PHOSPHOTHREONINE', type: '
|
|
58
|
-
{ id: 'PTR', name: 'O-PHOSPHOTYROSINE', type: '
|
|
59
|
-
{ id: 'PCA', name: 'PYROGLUTAMIC ACID', type: '
|
|
60
|
-
{ id: 'A', name: 'ADENOSINE-5\'-MONOPHOSPHATE', type: '
|
|
61
|
-
{ id: 'C', name: 'CYTIDINE-5\'-MONOPHOSPHATE', type: '
|
|
62
|
-
{ id: 'T', name: 'THYMIDINE-5\'-MONOPHOSPHATE', type: '
|
|
63
|
-
{ id: 'G', name: 'GUANOSINE-5\'-MONOPHOSPHATE', type: '
|
|
64
|
-
{ id: 'I', name: 'INOSINIC ACID', type: '
|
|
65
|
-
{ id: 'U', name: 'URIDINE-5\'-MONOPHOSPHATE', type: '
|
|
66
|
-
{ id: 'DA', name: '2\'-DEOXYADENOSINE-5\'-MONOPHOSPHATE', type: '
|
|
67
|
-
{ id: 'DC', name: '2\'-DEOXYCYTIDINE-5\'-MONOPHOSPHATE', type: '
|
|
68
|
-
{ id: 'DT', name: 'THYMIDINE-5\'-MONOPHOSPHATE', type: '
|
|
69
|
-
{ id: 'DG', name: '2\'-DEOXYGUANOSINE-5\'-MONOPHOSPHATE', type: '
|
|
70
|
-
{ id: 'DI', name: '2\'-DEOXYINOSINE-5\'-MONOPHOSPHATE', type: '
|
|
71
|
-
{ id: 'DU', name: '2\'-DEOXYURIDINE-5\'-MONOPHOSPHATE', type: '
|
|
46
|
+
{ id: 'SER', name: 'SERINE', type: 'l-peptide linking' },
|
|
47
|
+
{ id: 'GLN', name: 'GLUTAMINE', type: 'l-peptide linking' },
|
|
48
|
+
{ id: 'TYR', name: 'TYROSINE', type: 'l-peptide linking' },
|
|
49
|
+
{ id: 'ASP', name: 'ASPARTIC ACID', type: 'l-peptide linking' },
|
|
50
|
+
{ id: 'GLU', name: 'GLUTAMIC ACID', type: 'l-peptide linking' },
|
|
51
|
+
{ id: 'THR', name: 'THREONINE', type: 'l-peptide linking' },
|
|
52
|
+
{ id: 'PRO', name: 'PROLINE', type: 'l-peptide linking' },
|
|
53
|
+
{ id: 'SEC', name: 'SELENOCYSTEINE', type: 'l-peptide linking' },
|
|
54
|
+
{ id: 'PYL', name: 'PYRROLYSINE', type: 'l-peptide linking' },
|
|
55
|
+
{ id: 'MSE', name: 'SELENOMETHIONINE', type: 'l-peptide linking' },
|
|
56
|
+
{ id: 'SEP', name: 'PHOSPHOSERINE', type: 'l-peptide linking' },
|
|
57
|
+
{ id: 'TPO', name: 'PHOSPHOTHREONINE', type: 'l-peptide linking' },
|
|
58
|
+
{ id: 'PTR', name: 'O-PHOSPHOTYROSINE', type: 'l-peptide linking' },
|
|
59
|
+
{ id: 'PCA', name: 'PYROGLUTAMIC ACID', type: 'l-peptide linking' },
|
|
60
|
+
{ id: 'A', name: 'ADENOSINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
61
|
+
{ id: 'C', name: 'CYTIDINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
62
|
+
{ id: 'T', name: 'THYMIDINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
63
|
+
{ id: 'G', name: 'GUANOSINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
64
|
+
{ id: 'I', name: 'INOSINIC ACID', type: 'rna linking' },
|
|
65
|
+
{ id: 'U', name: 'URIDINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
66
|
+
{ id: 'DA', name: '2\'-DEOXYADENOSINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
67
|
+
{ id: 'DC', name: '2\'-DEOXYCYTIDINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
68
|
+
{ id: 'DT', name: 'THYMIDINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
69
|
+
{ id: 'DG', name: '2\'-DEOXYGUANOSINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
70
|
+
{ id: 'DI', name: '2\'-DEOXYINOSINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
71
|
+
{ id: 'DU', name: '2\'-DEOXYURIDINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
72
72
|
];
|
|
73
73
|
components.forEach(function (c) { return map.set(c.id, c); });
|
|
74
74
|
return map;
|
|
@@ -76,12 +76,12 @@ var StandardComponents = (function () {
|
|
|
76
76
|
var CharmmIonComponents = (function () {
|
|
77
77
|
var map = new Map();
|
|
78
78
|
var components = [
|
|
79
|
-
{ id: 'ZN2', name: 'ZINC ION', type: '
|
|
80
|
-
{ id: 'SOD', name: 'SODIUM ION', type: '
|
|
81
|
-
{ id: 'CES', name: 'CESIUM ION', type: '
|
|
82
|
-
{ id: 'CLA', name: 'CHLORIDE ION', type: '
|
|
83
|
-
{ id: 'CAL', name: 'CALCIUM ION', type: '
|
|
84
|
-
{ id: 'POT', name: 'POTASSIUM ION', type: '
|
|
79
|
+
{ id: 'ZN2', name: 'ZINC ION', type: 'ion' },
|
|
80
|
+
{ id: 'SOD', name: 'SODIUM ION', type: 'ion' },
|
|
81
|
+
{ id: 'CES', name: 'CESIUM ION', type: 'ion' },
|
|
82
|
+
{ id: 'CLA', name: 'CHLORIDE ION', type: 'ion' },
|
|
83
|
+
{ id: 'CAL', name: 'CALCIUM ION', type: 'ion' },
|
|
84
|
+
{ id: 'POT', name: 'POTASSIUM ION', type: 'ion' },
|
|
85
85
|
];
|
|
86
86
|
components.forEach(function (c) { return map.set(c.id, c); });
|
|
87
87
|
return map;
|
|
@@ -130,10 +130,10 @@ var ComponentBuilder = /** @class */ (function () {
|
|
|
130
130
|
return 'peptide linking';
|
|
131
131
|
}
|
|
132
132
|
else if (this.hasAtomIds(atomIds, RnaAtomIdsList)) {
|
|
133
|
-
return '
|
|
133
|
+
return 'rna linking';
|
|
134
134
|
}
|
|
135
135
|
else if (this.hasAtomIds(atomIds, DnaAtomIdsList)) {
|
|
136
|
-
return '
|
|
136
|
+
return 'dna linking';
|
|
137
137
|
}
|
|
138
138
|
else {
|
|
139
139
|
return 'other';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -28,7 +28,7 @@ export declare function getAtomSiteTemplate(data: string, count: number): {
|
|
|
28
28
|
label_entity_id: string[];
|
|
29
29
|
partial_charge: import("../../../mol-io/reader/common/text/tokenizer").Tokens;
|
|
30
30
|
};
|
|
31
|
-
export declare function getAtomSite(sites: AtomSiteTemplate): {
|
|
31
|
+
export declare function getAtomSite(sites: AtomSiteTemplate, hasTer: boolean): {
|
|
32
32
|
[K in keyof mmCIF_Schema['atom_site'] | 'partial_charge']?: CifField;
|
|
33
33
|
};
|
|
34
34
|
export declare function addAtom(sites: AtomSiteTemplate, model: string, data: Tokenizer, s: number, e: number, isPdbqt: boolean): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -33,31 +33,96 @@ export function getAtomSiteTemplate(data, count) {
|
|
|
33
33
|
partial_charge: ts(),
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
export function getAtomSite(sites) {
|
|
36
|
+
export function getAtomSite(sites, hasTer) {
|
|
37
|
+
var pdbx_PDB_model_num = CifField.ofStrings(sites.pdbx_PDB_model_num);
|
|
37
38
|
var auth_asym_id = CifField.ofTokens(sites.auth_asym_id);
|
|
39
|
+
var auth_seq_id = CifField.ofTokens(sites.auth_seq_id);
|
|
38
40
|
var auth_atom_id = CifField.ofTokens(sites.auth_atom_id);
|
|
39
41
|
var auth_comp_id = CifField.ofTokens(sites.auth_comp_id);
|
|
42
|
+
var id = CifField.ofStrings(sites.id);
|
|
43
|
+
//
|
|
44
|
+
var currModelNum = pdbx_PDB_model_num.str(0);
|
|
45
|
+
var currAsymId = auth_asym_id.str(0);
|
|
46
|
+
var currSeqId = auth_seq_id.int(0);
|
|
47
|
+
var currLabelAsymId = currAsymId;
|
|
48
|
+
var asymIdCounts = new Map();
|
|
49
|
+
var atomIdCounts = new Map();
|
|
50
|
+
var labelAsymIds = [];
|
|
51
|
+
var labelAtomIds = [];
|
|
52
|
+
// ensure unique asym ids per model and unique atom ids per seq id
|
|
53
|
+
for (var i = 0, il = id.rowCount; i < il; ++i) {
|
|
54
|
+
var modelNum = pdbx_PDB_model_num.str(i);
|
|
55
|
+
var asymId = auth_asym_id.str(i);
|
|
56
|
+
var seqId = auth_seq_id.int(i);
|
|
57
|
+
var atomId = auth_atom_id.str(i);
|
|
58
|
+
var asymIdChanged = false;
|
|
59
|
+
if (modelNum !== currModelNum) {
|
|
60
|
+
asymIdCounts.clear();
|
|
61
|
+
atomIdCounts.clear();
|
|
62
|
+
currModelNum = modelNum;
|
|
63
|
+
currAsymId = asymId;
|
|
64
|
+
currSeqId = seqId;
|
|
65
|
+
asymIdChanged = true;
|
|
66
|
+
currLabelAsymId = asymId;
|
|
67
|
+
}
|
|
68
|
+
else if (currAsymId !== asymId) {
|
|
69
|
+
atomIdCounts.clear();
|
|
70
|
+
currAsymId = asymId;
|
|
71
|
+
currSeqId = seqId;
|
|
72
|
+
asymIdChanged = true;
|
|
73
|
+
currLabelAsymId = asymId;
|
|
74
|
+
}
|
|
75
|
+
else if (currSeqId !== seqId) {
|
|
76
|
+
atomIdCounts.clear();
|
|
77
|
+
currSeqId = seqId;
|
|
78
|
+
}
|
|
79
|
+
if (asymIdCounts.has(asymId)) {
|
|
80
|
+
// only change the chains name if there are TER records
|
|
81
|
+
// otherwise assume repeated chain name use is from interleaved chains
|
|
82
|
+
if (hasTer && asymIdChanged) {
|
|
83
|
+
var asymIdCount = asymIdCounts.get(asymId) + 1;
|
|
84
|
+
asymIdCounts.set(asymId, asymIdCount);
|
|
85
|
+
currLabelAsymId = "".concat(asymId, "_").concat(asymIdCount);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
asymIdCounts.set(asymId, 0);
|
|
90
|
+
}
|
|
91
|
+
labelAsymIds[i] = currLabelAsymId;
|
|
92
|
+
if (atomIdCounts.has(atomId)) {
|
|
93
|
+
var atomIdCount = atomIdCounts.get(atomId) + 1;
|
|
94
|
+
atomIdCounts.set(atomId, atomIdCount);
|
|
95
|
+
atomId = "".concat(atomId, "_").concat(atomIdCount);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
atomIdCounts.set(atomId, 0);
|
|
99
|
+
}
|
|
100
|
+
labelAtomIds[i] = atomId;
|
|
101
|
+
}
|
|
102
|
+
var labelAsymId = Column.ofStringArray(labelAsymIds);
|
|
103
|
+
var labelAtomId = Column.ofStringArray(labelAtomIds);
|
|
104
|
+
//
|
|
40
105
|
return {
|
|
41
106
|
auth_asym_id: auth_asym_id,
|
|
42
107
|
auth_atom_id: auth_atom_id,
|
|
43
108
|
auth_comp_id: auth_comp_id,
|
|
44
|
-
auth_seq_id:
|
|
109
|
+
auth_seq_id: auth_seq_id,
|
|
45
110
|
B_iso_or_equiv: CifField.ofTokens(sites.B_iso_or_equiv),
|
|
46
111
|
Cartn_x: CifField.ofTokens(sites.Cartn_x),
|
|
47
112
|
Cartn_y: CifField.ofTokens(sites.Cartn_y),
|
|
48
113
|
Cartn_z: CifField.ofTokens(sites.Cartn_z),
|
|
49
114
|
group_PDB: CifField.ofTokens(sites.group_PDB),
|
|
50
|
-
id:
|
|
115
|
+
id: id,
|
|
51
116
|
label_alt_id: CifField.ofTokens(sites.label_alt_id),
|
|
52
|
-
label_asym_id:
|
|
53
|
-
label_atom_id:
|
|
117
|
+
label_asym_id: CifField.ofColumn(labelAsymId),
|
|
118
|
+
label_atom_id: CifField.ofColumn(labelAtomId),
|
|
54
119
|
label_comp_id: auth_comp_id,
|
|
55
120
|
label_seq_id: CifField.ofUndefined(sites.index, Column.Schema.int),
|
|
56
121
|
label_entity_id: CifField.ofStrings(sites.label_entity_id),
|
|
57
122
|
occupancy: areTokensEmpty(sites.occupancy) ? CifField.ofUndefined(sites.index, Column.Schema.float) : CifField.ofTokens(sites.occupancy),
|
|
58
123
|
type_symbol: CifField.ofTokens(sites.type_symbol),
|
|
59
124
|
pdbx_PDB_ins_code: CifField.ofTokens(sites.pdbx_PDB_ins_code),
|
|
60
|
-
pdbx_PDB_model_num:
|
|
125
|
+
pdbx_PDB_model_num: pdbx_PDB_model_num,
|
|
61
126
|
partial_charge: CifField.ofTokens(sites.partial_charge)
|
|
62
127
|
};
|
|
63
128
|
}
|
|
@@ -19,19 +19,19 @@ var HelixTypes = {
|
|
|
19
19
|
// Left-handed gamma 8
|
|
20
20
|
// 2 - 7 ribbon/helix 9
|
|
21
21
|
// Polyproline 10
|
|
22
|
-
1: '
|
|
23
|
-
2: '
|
|
24
|
-
3: '
|
|
25
|
-
4: '
|
|
26
|
-
5: '
|
|
27
|
-
6: '
|
|
28
|
-
7: '
|
|
29
|
-
8: '
|
|
30
|
-
9: '
|
|
31
|
-
10: '
|
|
22
|
+
1: 'helx_rh_al_p',
|
|
23
|
+
2: 'helx_rh_om_p',
|
|
24
|
+
3: 'helx_rh_pi_p',
|
|
25
|
+
4: 'helx_rh_ga_p',
|
|
26
|
+
5: 'helx_rh_3t_p',
|
|
27
|
+
6: 'helx_lh_al_p',
|
|
28
|
+
7: 'helx_lh_om_p',
|
|
29
|
+
8: 'helx_lh_ga_p',
|
|
30
|
+
9: 'helx_rh_27_p',
|
|
31
|
+
10: 'helx_rh_pp_p', // TODO or left-handed???
|
|
32
32
|
};
|
|
33
33
|
function getStructConfTypeId(type) {
|
|
34
|
-
return HelixTypes[type] || '
|
|
34
|
+
return HelixTypes[type] || 'helx_p';
|
|
35
35
|
}
|
|
36
36
|
export function parseHelix(lines, lineStart, lineEnd) {
|
|
37
37
|
var helices = [];
|
|
@@ -21,7 +21,7 @@ import { parseConect } from './conect';
|
|
|
21
21
|
import { isDebugMode } from '../../../mol-util/debug';
|
|
22
22
|
export function pdbToMmCif(pdb) {
|
|
23
23
|
return __awaiter(this, void 0, void 0, function () {
|
|
24
|
-
var lines, data, indices, tokenizer, isPdbqt, atomCount, anisotropicCount, i, _i, s, e, atomSite, anisotropic, entityBuilder, helperCategories, heteroNames, modelNum, modelStr, conectRange, i, _i, s, e, j, j, j, j, j, j, j, seqIds, atomIds, compIds, asymIds, componentBuilder, i, il, compId, moleculeType, atom_site, categories, _a, helperCategories_1, c;
|
|
24
|
+
var lines, data, indices, tokenizer, isPdbqt, atomCount, anisotropicCount, i, _i, s, e, atomSite, anisotropic, entityBuilder, helperCategories, heteroNames, modelNum, modelStr, conectRange, hasTer, i, _i, s, e, j, j, j, j, j, j, j, seqIds, atomIds, compIds, asymIds, componentBuilder, i, il, compId, moleculeType, atom_site, categories, _a, helperCategories_1, c;
|
|
25
25
|
return __generator(this, function (_b) {
|
|
26
26
|
lines = pdb.lines;
|
|
27
27
|
data = lines.data, indices = lines.indices;
|
|
@@ -51,6 +51,7 @@ export function pdbToMmCif(pdb) {
|
|
|
51
51
|
heteroNames = [];
|
|
52
52
|
modelNum = 0, modelStr = '';
|
|
53
53
|
conectRange = undefined;
|
|
54
|
+
hasTer = false;
|
|
54
55
|
for (i = 0, _i = lines.count; i < _i; i++) {
|
|
55
56
|
s = indices[2 * i], e = indices[2 * i + 1];
|
|
56
57
|
switch (data[s]) {
|
|
@@ -186,6 +187,10 @@ export function pdbToMmCif(pdb) {
|
|
|
186
187
|
}
|
|
187
188
|
// TODO: SCALE record => cif.atom_sites.fract_transf_matrix, cif.atom_sites.fract_transf_vector
|
|
188
189
|
break;
|
|
190
|
+
case 'T':
|
|
191
|
+
if (substringStartsWith(data, s, e, 'TER')) {
|
|
192
|
+
hasTer = true;
|
|
193
|
+
}
|
|
189
194
|
}
|
|
190
195
|
}
|
|
191
196
|
seqIds = Column.ofIntTokens(atomSite.auth_seq_id);
|
|
@@ -200,7 +205,7 @@ export function pdbToMmCif(pdb) {
|
|
|
200
205
|
moleculeType = getMoleculeType(componentBuilder.add(compId, i).type, compId);
|
|
201
206
|
atomSite.label_entity_id[i] = entityBuilder.getEntityId(compId, moleculeType, asymIds.value(i));
|
|
202
207
|
}
|
|
203
|
-
atom_site = getAtomSite(atomSite);
|
|
208
|
+
atom_site = getAtomSite(atomSite, hasTer);
|
|
204
209
|
if (!isPdbqt)
|
|
205
210
|
delete atom_site.partial_charge;
|
|
206
211
|
if (conectRange) {
|
|
@@ -60,7 +60,7 @@ export var ComponentBond;
|
|
|
60
60
|
var nameA = atom_id_1.value(i);
|
|
61
61
|
var nameB = atom_id_2.value(i);
|
|
62
62
|
var order = value_order.value(i);
|
|
63
|
-
var aromatic = pdbx_aromatic_flag.value(i) === '
|
|
63
|
+
var aromatic = pdbx_aromatic_flag.value(i) === 'y';
|
|
64
64
|
if (entry.id !== id) {
|
|
65
65
|
entry = addEntry(id);
|
|
66
66
|
}
|
|
@@ -115,7 +115,7 @@ export var StructConn;
|
|
|
115
115
|
if (partnerA === undefined || partnerB === undefined)
|
|
116
116
|
continue;
|
|
117
117
|
var type = conn_type_id.value(i);
|
|
118
|
-
var orderType = (pdbx_value_order.value(i) || '')
|
|
118
|
+
var orderType = (pdbx_value_order.value(i) || '');
|
|
119
119
|
var flags = 0 /* None */;
|
|
120
120
|
var order = 1;
|
|
121
121
|
switch (orderType) {
|
|
@@ -25,6 +25,7 @@ export declare const InteractionsInterUnitParams: {
|
|
|
25
25
|
flatShaded: PD.BooleanParam;
|
|
26
26
|
ignoreLight: PD.BooleanParam;
|
|
27
27
|
xrayShaded: PD.BooleanParam;
|
|
28
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
28
29
|
bumpFrequency: PD.Numeric;
|
|
29
30
|
bumpAmplitude: PD.Numeric;
|
|
30
31
|
alpha: PD.Numeric;
|
|
@@ -25,6 +25,7 @@ export declare const InteractionsIntraUnitParams: {
|
|
|
25
25
|
flatShaded: PD.BooleanParam;
|
|
26
26
|
ignoreLight: PD.BooleanParam;
|
|
27
27
|
xrayShaded: PD.BooleanParam;
|
|
28
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
28
29
|
bumpFrequency: PD.Numeric;
|
|
29
30
|
bumpAmplitude: PD.Numeric;
|
|
30
31
|
alpha: PD.Numeric;
|
|
@@ -29,6 +29,7 @@ export declare const InteractionsParams: {
|
|
|
29
29
|
flatShaded: PD.BooleanParam;
|
|
30
30
|
ignoreLight: PD.BooleanParam;
|
|
31
31
|
xrayShaded: PD.BooleanParam;
|
|
32
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
32
33
|
bumpFrequency: PD.Numeric;
|
|
33
34
|
bumpAmplitude: PD.Numeric;
|
|
34
35
|
alpha: PD.Numeric;
|
|
@@ -71,6 +72,7 @@ export declare function getInteractionParams(ctx: ThemeRegistryContext, structur
|
|
|
71
72
|
flatShaded: PD.BooleanParam;
|
|
72
73
|
ignoreLight: PD.BooleanParam;
|
|
73
74
|
xrayShaded: PD.BooleanParam;
|
|
75
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
74
76
|
bumpFrequency: PD.Numeric;
|
|
75
77
|
bumpAmplitude: PD.Numeric;
|
|
76
78
|
alpha: PD.Numeric;
|
|
@@ -114,6 +116,7 @@ export declare const InteractionsRepresentationProvider: StructureRepresentation
|
|
|
114
116
|
flatShaded: PD.BooleanParam;
|
|
115
117
|
ignoreLight: PD.BooleanParam;
|
|
116
118
|
xrayShaded: PD.BooleanParam;
|
|
119
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
117
120
|
bumpFrequency: PD.Numeric;
|
|
118
121
|
bumpAmplitude: PD.Numeric;
|
|
119
122
|
alpha: PD.Numeric;
|
|
@@ -30,6 +30,7 @@ export declare const CrossLinkRestraintCylinderParams: {
|
|
|
30
30
|
flatShaded: PD.BooleanParam;
|
|
31
31
|
ignoreLight: PD.BooleanParam;
|
|
32
32
|
xrayShaded: PD.BooleanParam;
|
|
33
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
33
34
|
bumpFrequency: PD.Numeric;
|
|
34
35
|
bumpAmplitude: PD.Numeric;
|
|
35
36
|
alpha: PD.Numeric;
|
|
@@ -72,6 +73,7 @@ export declare const CrossLinkRestraintParams: {
|
|
|
72
73
|
flatShaded: PD.BooleanParam;
|
|
73
74
|
ignoreLight: PD.BooleanParam;
|
|
74
75
|
xrayShaded: PD.BooleanParam;
|
|
76
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
75
77
|
bumpFrequency: PD.Numeric;
|
|
76
78
|
bumpAmplitude: PD.Numeric;
|
|
77
79
|
alpha: PD.Numeric;
|
|
@@ -113,6 +115,7 @@ export declare function getCrossLinkRestraintParams(ctx: ThemeRegistryContext, s
|
|
|
113
115
|
flatShaded: PD.BooleanParam;
|
|
114
116
|
ignoreLight: PD.BooleanParam;
|
|
115
117
|
xrayShaded: PD.BooleanParam;
|
|
118
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
116
119
|
bumpFrequency: PD.Numeric;
|
|
117
120
|
bumpAmplitude: PD.Numeric;
|
|
118
121
|
alpha: PD.Numeric;
|
|
@@ -155,6 +158,7 @@ export declare const CrossLinkRestraintRepresentationProvider: StructureRepresen
|
|
|
155
158
|
flatShaded: PD.BooleanParam;
|
|
156
159
|
ignoreLight: PD.BooleanParam;
|
|
157
160
|
xrayShaded: PD.BooleanParam;
|
|
161
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
158
162
|
bumpFrequency: PD.Numeric;
|
|
159
163
|
bumpAmplitude: PD.Numeric;
|
|
160
164
|
alpha: PD.Numeric;
|
|
@@ -9,12 +9,12 @@ import { Volume } from '../../../../mol-model/volume';
|
|
|
9
9
|
import { Structure } from '../../../../mol-model/structure';
|
|
10
10
|
declare const VolumeServerInfo_base: {
|
|
11
11
|
new (data: VolumeServerInfo.Data, props?: {
|
|
12
|
-
|
|
12
|
+
/** Precision data the server can show. */
|
|
13
|
+
label: string;
|
|
13
14
|
description?: string | undefined;
|
|
14
15
|
} | undefined): {
|
|
15
16
|
id: import("../../../../mol-util/uuid").UUID;
|
|
16
17
|
type: PluginStateObject.TypeInfo;
|
|
17
|
-
/** The value are stored in blockSize^3 cubes */
|
|
18
18
|
label: string;
|
|
19
19
|
description?: string | undefined;
|
|
20
20
|
data: VolumeServerInfo.Data;
|
|
@@ -23,7 +23,6 @@ declare const VolumeServerInfo_base: {
|
|
|
23
23
|
is(obj?: import("../../../../mol-state/object").StateObject<any, import("../../../../mol-state/object").StateObject.Type<any>> | undefined): obj is {
|
|
24
24
|
id: import("../../../../mol-util/uuid").UUID;
|
|
25
25
|
type: PluginStateObject.TypeInfo;
|
|
26
|
-
/** The value are stored in blockSize^3 cubes */
|
|
27
26
|
label: string;
|
|
28
27
|
description?: string | undefined;
|
|
29
28
|
data: VolumeServerInfo.Data;
|
|
@@ -68,7 +68,7 @@ export function getContourLevel(provider, plugin, taskCtx, emdbId) {
|
|
|
68
68
|
}
|
|
69
69
|
export function getContourLevelEmdb(plugin, taskCtx, emdbId) {
|
|
70
70
|
return __awaiter(this, void 0, void 0, function () {
|
|
71
|
-
var emdbHeaderServer, header, contours, primaryContour, i, contourLevel;
|
|
71
|
+
var emdbHeaderServer, header, map, contours, primaryContour, i, contourLevel;
|
|
72
72
|
return __generator(this, function (_a) {
|
|
73
73
|
switch (_a.label) {
|
|
74
74
|
case 0:
|
|
@@ -76,7 +76,8 @@ export function getContourLevelEmdb(plugin, taskCtx, emdbId) {
|
|
|
76
76
|
return [4 /*yield*/, plugin.fetch({ url: "".concat(emdbHeaderServer, "/").concat(emdbId.toUpperCase(), "/header/").concat(emdbId.toLowerCase(), ".xml"), type: 'xml' }).runInContext(taskCtx)];
|
|
77
77
|
case 1:
|
|
78
78
|
header = _a.sent();
|
|
79
|
-
|
|
79
|
+
map = header.getElementsByTagName('map')[0];
|
|
80
|
+
contours = map.getElementsByTagName('contour');
|
|
80
81
|
primaryContour = contours[0];
|
|
81
82
|
for (i = 1; i < contours.length; i++) {
|
|
82
83
|
if (contours[i].getAttribute('primary') === 'true') {
|
|
@@ -85,6 +86,7 @@ export function getContourLevelEmdb(plugin, taskCtx, emdbId) {
|
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
contourLevel = parseFloat(primaryContour.getElementsByTagName('level')[0].textContent);
|
|
89
|
+
console.log({ contourLevel: contourLevel });
|
|
88
90
|
return [2 /*return*/, contourLevel];
|
|
89
91
|
}
|
|
90
92
|
});
|
|
@@ -37,6 +37,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
37
37
|
flipSided: boolean;
|
|
38
38
|
flatShaded: boolean;
|
|
39
39
|
xrayShaded: boolean;
|
|
40
|
+
allowTransparentBackfaces: boolean;
|
|
40
41
|
bumpFrequency: number;
|
|
41
42
|
bumpAmplitude: number;
|
|
42
43
|
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
@@ -69,6 +70,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
69
70
|
flipSided: boolean;
|
|
70
71
|
flatShaded: boolean;
|
|
71
72
|
xrayShaded: boolean;
|
|
73
|
+
allowTransparentBackfaces: boolean;
|
|
72
74
|
bumpFrequency: number;
|
|
73
75
|
bumpAmplitude: number;
|
|
74
76
|
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
@@ -109,6 +111,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
109
111
|
flipSided: boolean;
|
|
110
112
|
flatShaded: boolean;
|
|
111
113
|
xrayShaded: boolean;
|
|
114
|
+
allowTransparentBackfaces: boolean;
|
|
112
115
|
bumpFrequency: number;
|
|
113
116
|
bumpAmplitude: number;
|
|
114
117
|
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var PLUGIN_VERSION = '3.
|
|
2
|
-
export var PLUGIN_VERSION_DATE = new Date(typeof __MOLSTAR_DEBUG_TIMESTAMP__ !== 'undefined' ? __MOLSTAR_DEBUG_TIMESTAMP__ :
|
|
1
|
+
export var PLUGIN_VERSION = '3.6.1';
|
|
2
|
+
export var PLUGIN_VERSION_DATE = new Date(typeof __MOLSTAR_DEBUG_TIMESTAMP__ !== 'undefined' ? __MOLSTAR_DEBUG_TIMESTAMP__ : 1648986596976);
|
|
@@ -26,6 +26,12 @@ declare const DownloadStructure: StateAction<PluginStateObject.Root, void, PD.No
|
|
|
26
26
|
isBinary: any;
|
|
27
27
|
options: any;
|
|
28
28
|
}>, "url"> | PD.NamedParams<PD.Normalize<{
|
|
29
|
+
id: any;
|
|
30
|
+
options: any;
|
|
31
|
+
}>, "alphafolddb"> | PD.NamedParams<PD.Normalize<{
|
|
32
|
+
id: any;
|
|
33
|
+
options: any;
|
|
34
|
+
}>, "modelarchive"> | PD.NamedParams<PD.Normalize<{
|
|
29
35
|
provider: any;
|
|
30
36
|
options: any;
|
|
31
37
|
}>, "pdb"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -37,12 +43,6 @@ declare const DownloadStructure: StateAction<PluginStateObject.Root, void, PD.No
|
|
|
37
43
|
}>, "swissmodel"> | PD.NamedParams<PD.Normalize<{
|
|
38
44
|
id: any;
|
|
39
45
|
options: any;
|
|
40
|
-
}>, "alphafolddb"> | PD.NamedParams<PD.Normalize<{
|
|
41
|
-
id: any;
|
|
42
|
-
options: any;
|
|
43
|
-
}>, "modelarchive"> | PD.NamedParams<PD.Normalize<{
|
|
44
|
-
id: any;
|
|
45
|
-
options: any;
|
|
46
46
|
}>, "pubchem">;
|
|
47
47
|
}>>;
|
|
48
48
|
export declare const UpdateTrajectory: StateAction<import("../../mol-state/object").StateObject<any, import("../../mol-state/object").StateObject.Type<any>>, void, PD.Normalize<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
5
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
5
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
@@ -150,6 +150,7 @@ declare const ModelUnitcell3D: StateTransformer<SO.Molecule.Model, SO.Shape.Repr
|
|
|
150
150
|
flatShaded: boolean;
|
|
151
151
|
ignoreLight: boolean;
|
|
152
152
|
xrayShaded: boolean;
|
|
153
|
+
allowTransparentBackfaces: boolean;
|
|
153
154
|
bumpFrequency: number;
|
|
154
155
|
bumpAmplitude: number;
|
|
155
156
|
alpha: number;
|
|
@@ -172,6 +173,7 @@ declare const StructureBoundingBox3D: StateTransformer<SO.Molecule.Structure, SO
|
|
|
172
173
|
flatShaded: boolean;
|
|
173
174
|
ignoreLight: boolean;
|
|
174
175
|
xrayShaded: boolean;
|
|
176
|
+
allowTransparentBackfaces: boolean;
|
|
175
177
|
bumpFrequency: number;
|
|
176
178
|
bumpAmplitude: number;
|
|
177
179
|
alpha: number;
|
|
@@ -276,6 +278,7 @@ declare const StructureSelectionsAngle3D: StateTransformer<SO.Molecule.Structure
|
|
|
276
278
|
flipSided: boolean;
|
|
277
279
|
flatShaded: boolean;
|
|
278
280
|
xrayShaded: boolean;
|
|
281
|
+
allowTransparentBackfaces: boolean;
|
|
279
282
|
bumpFrequency: number;
|
|
280
283
|
bumpAmplitude: number;
|
|
281
284
|
lineSizeAttenuation: boolean;
|
|
@@ -327,6 +330,7 @@ declare const StructureSelectionsDihedral3D: StateTransformer<SO.Molecule.Struct
|
|
|
327
330
|
flipSided: boolean;
|
|
328
331
|
flatShaded: boolean;
|
|
329
332
|
xrayShaded: boolean;
|
|
333
|
+
allowTransparentBackfaces: boolean;
|
|
330
334
|
bumpFrequency: number;
|
|
331
335
|
bumpAmplitude: number;
|
|
332
336
|
lineSizeAttenuation: boolean;
|
|
@@ -384,6 +388,7 @@ declare const StructureSelectionsOrientation3D: StateTransformer<SO.Molecule.Str
|
|
|
384
388
|
flatShaded: boolean;
|
|
385
389
|
ignoreLight: boolean;
|
|
386
390
|
xrayShaded: boolean;
|
|
391
|
+
allowTransparentBackfaces: boolean;
|
|
387
392
|
bumpFrequency: number;
|
|
388
393
|
bumpAmplitude: number;
|
|
389
394
|
alpha: number;
|
|
@@ -409,6 +414,7 @@ declare const StructureSelectionsPlane3D: StateTransformer<SO.Molecule.Structure
|
|
|
409
414
|
flatShaded: boolean;
|
|
410
415
|
ignoreLight: boolean;
|
|
411
416
|
xrayShaded: boolean;
|
|
417
|
+
allowTransparentBackfaces: boolean;
|
|
412
418
|
bumpFrequency: number;
|
|
413
419
|
bumpAmplitude: number;
|
|
414
420
|
alpha: number;
|