molstar 2.3.5 → 2.3.9
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 +176 -176
- package/build/viewer/embedded.html +43 -43
- package/build/viewer/index.html +94 -94
- package/build/viewer/molstar.css +1 -2
- package/build/viewer/molstar.js +1 -1
- package/lib/apps/docking-viewer/index.html +36 -36
- package/lib/apps/docking-viewer/index.js +1 -1
- package/lib/apps/docking-viewer/index.js.map +1 -1
- package/lib/apps/viewer/embedded.html +43 -43
- package/lib/apps/viewer/index.d.ts +290 -1
- package/lib/apps/viewer/index.html +94 -94
- package/lib/apps/viewer/index.js +91 -5
- package/lib/apps/viewer/index.js.map +1 -1
- package/lib/cli/chem-comp-dict/create-ions.js +1 -1
- package/lib/cli/chem-comp-dict/create-ions.js.map +1 -1
- package/lib/cli/chem-comp-dict/create-table.js +3 -3
- package/lib/cli/chem-comp-dict/create-table.js.map +1 -1
- package/lib/cli/chem-comp-dict/util.js +2 -2
- package/lib/cli/chem-comp-dict/util.js.map +1 -1
- package/lib/cli/cif2bcif/converter.js +2 -2
- package/lib/cli/cif2bcif/converter.js.map +1 -1
- package/lib/cli/cifschema/index.js +12 -12
- package/lib/cli/cifschema/index.js.map +1 -1
- package/lib/cli/cifschema/util/cif-dic.js +19 -19
- package/lib/cli/cifschema/util/cif-dic.js.map +1 -1
- package/lib/cli/cifschema/util/generate.js +21 -21
- package/lib/cli/cifschema/util/generate.js.map +1 -1
- package/lib/cli/cifschema/util/schema.js +1 -1
- package/lib/cli/cifschema/util/schema.js.map +1 -1
- package/lib/cli/lipid-params/index.js +3 -3
- package/lib/cli/lipid-params/index.js.map +1 -1
- package/lib/cli/state-docs/index.js +4 -4
- package/lib/cli/state-docs/index.js.map +1 -1
- package/lib/cli/state-docs/pd-to-md.js +10 -10
- package/lib/cli/state-docs/pd-to-md.js.map +1 -1
- package/lib/cli/structure-info/model.js +18 -18
- package/lib/cli/structure-info/model.js.map +1 -1
- package/lib/cli/structure-info/volume.js +1 -1
- package/lib/cli/structure-info/volume.js.map +1 -1
- package/lib/commonjs/apps/docking-viewer/index.js +1 -1
- package/lib/commonjs/apps/docking-viewer/index.js.map +1 -1
- package/lib/commonjs/apps/viewer/index.d.ts +289 -0
- package/lib/commonjs/apps/viewer/index.js +91 -5
- package/lib/commonjs/apps/viewer/index.js.map +1 -1
- package/lib/commonjs/cli/chem-comp-dict/create-ions.js +1 -1
- package/lib/commonjs/cli/chem-comp-dict/create-ions.js.map +1 -1
- package/lib/commonjs/cli/chem-comp-dict/create-table.js +3 -3
- package/lib/commonjs/cli/chem-comp-dict/create-table.js.map +1 -1
- package/lib/commonjs/cli/chem-comp-dict/util.js +2 -2
- package/lib/commonjs/cli/chem-comp-dict/util.js.map +1 -1
- package/lib/commonjs/cli/cif2bcif/converter.js +2 -2
- package/lib/commonjs/cli/cif2bcif/converter.js.map +1 -1
- package/lib/commonjs/cli/cif2bcif/index.js +0 -0
- package/lib/commonjs/cli/cifschema/index.js +12 -12
- package/lib/commonjs/cli/cifschema/index.js.map +1 -1
- package/lib/commonjs/cli/cifschema/util/cif-dic.js +19 -19
- package/lib/commonjs/cli/cifschema/util/cif-dic.js.map +1 -1
- package/lib/commonjs/cli/cifschema/util/generate.js +21 -21
- package/lib/commonjs/cli/cifschema/util/generate.js.map +1 -1
- package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/cli/cifschema/util/schema.js.map +1 -1
- package/lib/commonjs/cli/lipid-params/index.js +3 -3
- package/lib/commonjs/cli/lipid-params/index.js.map +1 -1
- package/lib/commonjs/cli/state-docs/index.js +4 -4
- package/lib/commonjs/cli/state-docs/index.js.map +1 -1
- package/lib/commonjs/cli/state-docs/pd-to-md.js +10 -10
- package/lib/commonjs/cli/state-docs/pd-to-md.js.map +1 -1
- package/lib/commonjs/cli/structure-info/model.js +18 -18
- package/lib/commonjs/cli/structure-info/model.js.map +1 -1
- package/lib/commonjs/cli/structure-info/volume.js +1 -1
- package/lib/commonjs/cli/structure-info/volume.js.map +1 -1
- package/lib/commonjs/examples/basic-wrapper/superposition.js +3 -3
- package/lib/commonjs/examples/basic-wrapper/superposition.js.map +1 -1
- package/lib/commonjs/examples/domain-annotation-server/mapping.js +2 -2
- package/lib/commonjs/examples/domain-annotation-server/mapping.js.map +1 -1
- package/lib/commonjs/examples/domain-annotation-server/server.js +3 -3
- package/lib/commonjs/examples/domain-annotation-server/server.js.map +1 -1
- package/lib/commonjs/examples/proteopedia-wrapper/annotation.js +3 -3
- package/lib/commonjs/examples/proteopedia-wrapper/annotation.js.map +1 -1
- package/lib/commonjs/examples/proteopedia-wrapper/helpers.js +1 -1
- package/lib/commonjs/examples/proteopedia-wrapper/helpers.js.map +1 -1
- package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
- package/lib/commonjs/examples/proteopedia-wrapper/index.js.map +1 -1
- package/lib/commonjs/examples/task.js +6 -6
- package/lib/commonjs/examples/task.js.map +1 -1
- package/lib/commonjs/extensions/alpha-orbitals/transforms.js +2 -2
- package/lib/commonjs/extensions/alpha-orbitals/transforms.js.map +1 -1
- package/lib/commonjs/extensions/anvil/representation.js +1 -1
- package/lib/commonjs/extensions/anvil/representation.js.map +1 -1
- package/lib/commonjs/extensions/cellpack/color/generate.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/color/generate.js +1 -1
- package/lib/commonjs/extensions/cellpack/color/provided.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/color/provided.js +1 -1
- package/lib/commonjs/extensions/cellpack/curve.d.ts +2 -2
- package/lib/commonjs/extensions/cellpack/curve.js +2 -2
- package/lib/commonjs/extensions/cellpack/data.d.ts +32 -0
- package/lib/commonjs/extensions/cellpack/index.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/index.js +1 -1
- package/lib/commonjs/extensions/cellpack/model.d.ts +5 -3
- package/lib/commonjs/extensions/cellpack/model.js +203 -65
- package/lib/commonjs/extensions/cellpack/model.js.map +1 -1
- package/lib/commonjs/extensions/cellpack/preset.d.ts +2 -1
- package/lib/commonjs/extensions/cellpack/preset.js +12 -15
- package/lib/commonjs/extensions/cellpack/preset.js.map +1 -1
- package/lib/commonjs/extensions/cellpack/property.d.ts +1 -1
- package/lib/commonjs/extensions/cellpack/property.js +1 -1
- package/lib/commonjs/extensions/cellpack/representation.d.ts +53 -0
- package/lib/commonjs/extensions/cellpack/representation.js +47 -0
- package/lib/commonjs/extensions/cellpack/representation.js.map +1 -0
- package/lib/commonjs/extensions/cellpack/state.d.ts +16 -5
- package/lib/commonjs/extensions/cellpack/state.js +234 -27
- package/lib/commonjs/extensions/cellpack/state.js.map +1 -1
- package/lib/commonjs/extensions/cellpack/util.d.ts +3 -1
- package/lib/commonjs/extensions/cellpack/util.js +34 -6
- package/lib/commonjs/extensions/cellpack/util.js.map +1 -1
- package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js +7 -7
- package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js.map +1 -1
- package/lib/commonjs/extensions/g3d/data.js +2 -2
- package/lib/commonjs/extensions/g3d/data.js.map +1 -1
- package/lib/commonjs/extensions/g3d/model.js +2 -2
- package/lib/commonjs/extensions/g3d/model.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/controls.js +2 -2
- package/lib/commonjs/extensions/geo-export/controls.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/glb-exporter.js +1 -1
- package/lib/commonjs/extensions/geo-export/glb-exporter.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/obj-exporter.js +3 -3
- package/lib/commonjs/extensions/geo-export/obj-exporter.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/stl-exporter.js +1 -1
- package/lib/commonjs/extensions/geo-export/stl-exporter.js.map +1 -1
- package/lib/commonjs/extensions/geo-export/usdz-exporter.js +5 -5
- package/lib/commonjs/extensions/geo-export/usdz-exporter.js.map +1 -1
- package/lib/commonjs/extensions/mp4-export/controls.js +1 -1
- package/lib/commonjs/extensions/mp4-export/controls.js.map +1 -1
- package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js +1 -1
- package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js.map +1 -1
- package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js +1 -1
- package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -4
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js +3 -3
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js +2 -2
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +2 -2
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js +7 -7
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/validation-report/behavior.js +11 -11
- package/lib/commonjs/extensions/rcsb/validation-report/behavior.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/validation-report/prop.js +2 -2
- package/lib/commonjs/extensions/rcsb/validation-report/prop.js.map +1 -1
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +15 -0
- package/lib/commonjs/extensions/rcsb/validation-report/representation.js +2 -2
- package/lib/commonjs/extensions/rcsb/validation-report/representation.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +4 -4
- package/lib/commonjs/mol-canvas3d/canvas3d.js +3 -3
- package/lib/commonjs/mol-canvas3d/canvas3d.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +2 -2
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.js +1 -1
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +2 -2
- package/lib/commonjs/mol-canvas3d/passes/wboit.js +1 -1
- package/lib/commonjs/mol-canvas3d/passes/wboit.js.map +1 -1
- package/lib/commonjs/mol-canvas3d/util.js +1 -1
- package/lib/commonjs/mol-canvas3d/util.js.map +1 -1
- package/lib/commonjs/mol-data/db/table.js +1 -1
- package/lib/commonjs/mol-data/db/table.js.map +1 -1
- package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js +1 -1
- package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js.map +1 -1
- package/lib/commonjs/mol-data/int/impl/ordered-set.d.ts +3 -3
- package/lib/commonjs/mol-data/int/impl/sorted-array.js +2 -2
- package/lib/commonjs/mol-data/int/impl/sorted-array.js.map +1 -1
- package/lib/commonjs/mol-data/int/tuple.js +1 -1
- package/lib/commonjs/mol-data/int/tuple.js.map +1 -1
- package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js +1 -1
- package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +2 -2
- package/lib/commonjs/mol-geo/geometry/image/image.d.ts +2 -2
- package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js +19 -11
- package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.d.ts +2 -2
- package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js +57 -15
- package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -0
- package/lib/commonjs/mol-geo/geometry/text/font-atlas.js +1 -1
- package/lib/commonjs/mol-geo/geometry/text/font-atlas.js.map +1 -1
- package/lib/commonjs/mol-geo/geometry/text/text.js +1 -1
- package/lib/commonjs/mol-geo/geometry/text/text.js.map +1 -1
- package/lib/commonjs/mol-geo/primitive/polyhedron.js +1 -1
- package/lib/commonjs/mol-geo/primitive/polyhedron.js.map +1 -1
- package/lib/commonjs/mol-gl/_spec/cylinders.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/cylinders.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/cylinders.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/direct-volume.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/gl.d.ts +9 -0
- package/lib/commonjs/mol-gl/_spec/gl.js +33 -0
- package/lib/commonjs/mol-gl/_spec/gl.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/gl.shim.js +5 -5
- package/lib/commonjs/mol-gl/_spec/gl.shim.js.map +1 -1
- package/lib/commonjs/mol-gl/_spec/image.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/image.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/image.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/lines.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/lines.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/lines.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/mesh.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/mesh.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/mesh.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/points.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/points.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/points.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/renderer.spec.d.ts +7 -1
- package/lib/commonjs/mol-gl/_spec/renderer.spec.js +7 -45
- package/lib/commonjs/mol-gl/_spec/renderer.spec.js.map +1 -1
- package/lib/commonjs/mol-gl/_spec/spheres.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/spheres.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/spheres.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/text.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/text.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/text.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.d.ts +6 -0
- package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js +42 -0
- package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js.map +1 -0
- package/lib/commonjs/mol-gl/compute/grid3d.js +3 -3
- package/lib/commonjs/mol-gl/compute/grid3d.js.map +1 -1
- package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js +4 -4
- package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js.map +1 -1
- package/lib/commonjs/mol-gl/renderable/util.js +1 -1
- package/lib/commonjs/mol-gl/renderable/util.js.map +1 -1
- package/lib/commonjs/mol-gl/renderer.d.ts +2 -2
- package/lib/commonjs/mol-gl/scene.js +1 -1
- package/lib/commonjs/mol-gl/scene.js.map +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js.map +1 -1
- package/lib/commonjs/mol-gl/shader-code.js +8 -8
- package/lib/commonjs/mol-gl/shader-code.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/buffer.d.ts +3 -2
- package/lib/commonjs/mol-gl/webgl/buffer.js +5 -5
- package/lib/commonjs/mol-gl/webgl/buffer.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/compat.js +3 -3
- package/lib/commonjs/mol-gl/webgl/compat.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/context.js +6 -4
- package/lib/commonjs/mol-gl/webgl/context.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/extensions.js +5 -1
- package/lib/commonjs/mol-gl/webgl/extensions.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/framebuffer.js +1 -1
- package/lib/commonjs/mol-gl/webgl/framebuffer.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/program.js +14 -12
- package/lib/commonjs/mol-gl/webgl/program.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/render-item.d.ts +3 -2
- package/lib/commonjs/mol-gl/webgl/render-item.js +2 -2
- package/lib/commonjs/mol-gl/webgl/render-item.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/resources.js +1 -1
- package/lib/commonjs/mol-gl/webgl/resources.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/shader.js +3 -3
- package/lib/commonjs/mol-gl/webgl/shader.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/state.d.ts +4 -1
- package/lib/commonjs/mol-gl/webgl/state.js +25 -1
- package/lib/commonjs/mol-gl/webgl/state.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/texture.js +2 -2
- package/lib/commonjs/mol-gl/webgl/texture.js.map +1 -1
- package/lib/commonjs/mol-gl/webgl/uniform.js +2 -2
- package/lib/commonjs/mol-gl/webgl/uniform.js.map +1 -1
- package/lib/commonjs/mol-io/common/file-handle.js +1 -1
- package/lib/commonjs/mol-io/common/file-handle.js.map +1 -1
- package/lib/commonjs/mol-io/common/typed-array.js +1 -1
- package/lib/commonjs/mol-io/common/typed-array.js.map +1 -1
- package/lib/commonjs/mol-io/reader/ccp4/parser.js +1 -1
- package/lib/commonjs/mol-io/reader/ccp4/parser.js.map +1 -1
- package/lib/commonjs/mol-io/reader/cif/binary/parser.js +1 -1
- package/lib/commonjs/mol-io/reader/cif/binary/parser.js.map +1 -1
- package/lib/commonjs/mol-io/reader/cif/data-model.js +7 -7
- package/lib/commonjs/mol-io/reader/cif/data-model.js.map +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/density-server.d.ts +2 -2
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +12 -12
- package/lib/commonjs/mol-io/reader/cif/schema.js +7 -7
- package/lib/commonjs/mol-io/reader/cif/schema.js.map +1 -1
- package/lib/commonjs/mol-io/reader/cif/text/parser.js +2 -2
- package/lib/commonjs/mol-io/reader/cif/text/parser.js.map +1 -1
- package/lib/commonjs/mol-io/reader/dcd/parser.js +2 -2
- package/lib/commonjs/mol-io/reader/dcd/parser.js.map +1 -1
- package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/ply/schema.js +1 -1
- package/lib/commonjs/mol-io/reader/ply/schema.js.map +1 -1
- package/lib/commonjs/mol-io/reader/result.js +1 -1
- package/lib/commonjs/mol-io/reader/result.js.map +1 -1
- package/lib/commonjs/mol-io/writer/cif/encoder/text.js +3 -3
- package/lib/commonjs/mol-io/writer/cif/encoder/text.js.map +1 -1
- package/lib/commonjs/mol-io/writer/cif/encoder.js +5 -5
- package/lib/commonjs/mol-io/writer/cif/encoder.js.map +1 -1
- package/lib/commonjs/mol-io/writer/mol/encoder.js +4 -4
- package/lib/commonjs/mol-io/writer/mol/encoder.js.map +1 -1
- package/lib/commonjs/mol-io/writer/mol2/encoder.js +6 -6
- package/lib/commonjs/mol-io/writer/mol2/encoder.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/primitives/axes3d.d.ts +2 -1
- package/lib/commonjs/mol-math/geometry/primitives/axes3d.js +9 -2
- package/lib/commonjs/mol-math/geometry/primitives/axes3d.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/spacegroup/construction.js +8 -8
- package/lib/commonjs/mol-math/geometry/spacegroup/construction.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/spacegroup/tables.js +1 -1
- package/lib/commonjs/mol-math/geometry/spacegroup/tables.js.map +1 -1
- package/lib/commonjs/mol-math/geometry/symmetry-operator.js +4 -4
- package/lib/commonjs/mol-math/geometry/symmetry-operator.js.map +1 -1
- package/lib/commonjs/mol-math/graph/inter-unit-graph.js +2 -2
- package/lib/commonjs/mol-math/graph/inter-unit-graph.js.map +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/quat.js +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/quat.js.map +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js.map +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js.map +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js +1 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js.map +1 -1
- package/lib/commonjs/mol-model/loci.d.ts +30 -30
- package/lib/commonjs/mol-model/sequence/sequence.js +2 -2
- package/lib/commonjs/mol-model/sequence/sequence.js.map +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/atom_site.js +2 -2
- package/lib/commonjs/mol-model/structure/export/categories/atom_site.js.map +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js +1 -1
- package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js.map +1 -1
- package/lib/commonjs/mol-model/structure/export/mmcif.js +1 -1
- package/lib/commonjs/mol-model/structure/export/mmcif.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js +2 -2
- package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/symmetry.js +3 -3
- package/lib/commonjs/mol-model/structure/model/properties/symmetry.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +2 -2
- package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js.map +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js +1 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js.map +1 -1
- package/lib/commonjs/mol-model/structure/query/context.js +1 -1
- package/lib/commonjs/mol-model/structure/query/context.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/element/loci.d.ts +1 -0
- package/lib/commonjs/mol-model/structure/structure/element/loci.js +16 -2
- package/lib/commonjs/mol-model/structure/structure/element/loci.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/element/util.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/element/util.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/structure.js +3 -2
- package/lib/commonjs/mol-model/structure/structure/structure.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/symmetry.js +3 -3
- package/lib/commonjs/mol-model/structure/structure/symmetry.js.map +1 -1
- package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js.map +1 -1
- package/lib/commonjs/mol-model/volume/volume.js +2 -2
- package/lib/commonjs/mol-model/volume/volume.js.map +1 -1
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +8 -8
- package/lib/commonjs/mol-model-formats/shape/ply.js +1 -1
- package/lib/commonjs/mol-model-formats/shape/ply.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/atomic.js +2 -2
- package/lib/commonjs/mol-model-formats/structure/basic/atomic.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/properties.js +2 -2
- package/lib/commonjs/mol-model-formats/structure/basic/properties.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +4 -4
- package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +5 -5
- package/lib/commonjs/mol-model-formats/structure/common/entity.js +6 -6
- package/lib/commonjs/mol-model-formats/structure/common/entity.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js +10 -10
- package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/conect.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/conect.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/entity.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/pdb/entity.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/assembly.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/assembly.js.map +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/symmetry.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/symmetry.js.map +1 -1
- package/lib/commonjs/mol-model-formats/volume/ccp4.js +1 -1
- package/lib/commonjs/mol-model-formats/volume/ccp4.js.map +1 -1
- package/lib/commonjs/mol-model-props/common/custom-element-property.js +1 -1
- package/lib/commonjs/mol-model-props/common/custom-element-property.js.map +1 -1
- package/lib/commonjs/mol-model-props/common/custom-property.js +1 -1
- package/lib/commonjs/mol-model-props/common/custom-property.js.map +1 -1
- package/lib/commonjs/mol-model-props/computed/interactions/common.js +1 -1
- package/lib/commonjs/mol-model-props/computed/interactions/common.js.map +1 -1
- package/lib/commonjs/mol-model-props/computed/interactions/refine.js +2 -2
- package/lib/commonjs/mol-model-props/computed/interactions/refine.js.map +1 -1
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +3 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +3 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +9 -0
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js +1 -1
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js.map +1 -1
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +12 -0
- package/lib/commonjs/mol-model-props/integrative/pair-restraints.js +1 -1
- package/lib/commonjs/mol-model-props/integrative/pair-restraints.js.map +1 -1
- package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js +1 -1
- package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js.map +1 -1
- package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
- package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js +1 -1
- package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/behavior.d.ts +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js +3 -3
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js +3 -3
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +4 -4
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js +6 -6
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +3 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +4 -4
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js +5 -5
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +6 -6
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +1 -1
- package/lib/commonjs/mol-plugin/behavior/static/state.js +4 -4
- package/lib/commonjs/mol-plugin/behavior/static/state.js.map +1 -1
- package/lib/commonjs/mol-plugin/commands.d.ts +2 -2
- package/lib/commonjs/mol-plugin/config.js +10 -3
- package/lib/commonjs/mol-plugin/config.js.map +1 -1
- package/lib/commonjs/mol-plugin/context.js +2 -3
- package/lib/commonjs/mol-plugin/context.js.map +1 -1
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +6 -6
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.js +1 -1
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/actions/file.js +3 -3
- package/lib/commonjs/mol-plugin-state/actions/file.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/actions/structure.js +12 -12
- package/lib/commonjs/mol-plugin-state/actions/structure.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/actions/volume.js +16 -16
- package/lib/commonjs/mol-plugin-state/actions/volume.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +4 -4
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +4 -4
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js +2 -2
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +10 -10
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +21 -17
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.js +2 -2
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/builder/structure.js +3 -3
- package/lib/commonjs/mol-plugin-state/builder/structure.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/formats/registry.js +1 -1
- package/lib/commonjs/mol-plugin-state/formats/registry.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +8 -8
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +4 -4
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.js +10 -10
- package/lib/commonjs/mol-plugin-state/helpers/root-structure.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.js +3 -3
- package/lib/commonjs/mol-plugin-state/helpers/structure-component.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-query.js +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-query.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +5 -5
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/animation.js +1 -1
- package/lib/commonjs/mol-plugin-state/manager/animation.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/interactivity.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/manager/loci-label.js +1 -1
- package/lib/commonjs/mol-plugin-state/manager/loci-label.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/snapshots.js +2 -2
- package/lib/commonjs/mol-plugin-state/manager/snapshots.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js +2 -2
- package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/measurement.d.ts +7 -2
- package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js +111 -13
- package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/selection.d.ts +3 -3
- package/lib/commonjs/mol-plugin-state/manager/structure/selection.js +4 -10
- package/lib/commonjs/mol-plugin-state/manager/structure/selection.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/data.js +8 -8
- package/lib/commonjs/mol-plugin-state/transforms/data.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/helpers.d.ts +3 -1
- package/lib/commonjs/mol-plugin-state/transforms/helpers.js +7 -4
- package/lib/commonjs/mol-plugin-state/transforms/helpers.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +6 -6
- package/lib/commonjs/mol-plugin-state/transforms/model.js +18 -18
- package/lib/commonjs/mol-plugin-state/transforms/model.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +19 -4
- package/lib/commonjs/mol-plugin-state/transforms/representation.js +78 -26
- package/lib/commonjs/mol-plugin-state/transforms/representation.js.map +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/volume.js +7 -7
- package/lib/commonjs/mol-plugin-state/transforms/volume.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/base.js +1 -1
- package/lib/commonjs/mol-plugin-ui/base.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/action-menu.js +3 -3
- package/lib/commonjs/mol-plugin-ui/controls/action-menu.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/color.js +2 -2
- package/lib/commonjs/mol-plugin-ui/controls/color.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/common.js +9 -9
- package/lib/commonjs/mol-plugin-ui/controls/common.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/icons.js +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/icons.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/legend.js +3 -3
- package/lib/commonjs/mol-plugin-ui/controls/legend.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js +6 -6
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/parameters.js +29 -29
- package/lib/commonjs/mol-plugin-ui/controls/parameters.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/screenshot.js +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/screenshot.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls/slider.js +9 -9
- package/lib/commonjs/mol-plugin-ui/controls/slider.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/controls.js +2 -2
- package/lib/commonjs/mol-plugin-ui/controls.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/plugin.js +3 -3
- package/lib/commonjs/mol-plugin-ui/plugin.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/sequence/chain.js +3 -3
- package/lib/commonjs/mol-plugin-ui/sequence/chain.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/sequence/sequence.js +4 -4
- package/lib/commonjs/mol-plugin-ui/sequence/sequence.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/sequence.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/sequence.js +24 -10
- package/lib/commonjs/mol-plugin-ui/sequence.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/state/actions.js +1 -1
- package/lib/commonjs/mol-plugin-ui/state/actions.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/state/common.js +2 -2
- package/lib/commonjs/mol-plugin-ui/state/common.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/state/snapshots.js +4 -4
- package/lib/commonjs/mol-plugin-ui/state/snapshots.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/state/tree.js +8 -8
- package/lib/commonjs/mol-plugin-ui/state/tree.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/components.js +4 -4
- package/lib/commonjs/mol-plugin-ui/structure/components.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/focus.js +4 -4
- package/lib/commonjs/mol-plugin-ui/structure/focus.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/generic.js +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/generic.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/measurements.d.ts +10 -1
- package/lib/commonjs/mol-plugin-ui/structure/measurements.js +49 -6
- package/lib/commonjs/mol-plugin-ui/structure/measurements.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/selection.js +4 -4
- package/lib/commonjs/mol-plugin-ui/structure/selection.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/source.js +12 -12
- package/lib/commonjs/mol-plugin-ui/structure/source.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/superposition.js +4 -4
- package/lib/commonjs/mol-plugin-ui/structure/superposition.js.map +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/volume.js +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/volume.js.map +1 -1
- package/lib/commonjs/mol-repr/representation.d.ts +1 -0
- package/lib/commonjs/mol-repr/representation.js +14 -8
- package/lib/commonjs/mol-repr/representation.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/angle.js +2 -2
- package/lib/commonjs/mol-repr/shape/loci/angle.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/dihedral.js +2 -2
- package/lib/commonjs/mol-repr/shape/loci/dihedral.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/distance.js +2 -2
- package/lib/commonjs/mol-repr/shape/loci/distance.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/label.js +1 -1
- package/lib/commonjs/mol-repr/shape/loci/label.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +5 -4
- package/lib/commonjs/mol-repr/shape/loci/orientation.js +38 -52
- package/lib/commonjs/mol-repr/shape/loci/orientation.js.map +1 -1
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +27 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.js +61 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.js.map +1 -0
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/params.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/registry.d.ts +22 -11
- package/lib/commonjs/mol-repr/structure/registry.js +1 -1
- package/lib/commonjs/mol-repr/structure/registry.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +15 -6
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +9 -0
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +15 -6
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/representation/line.d.ts +9 -6
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +6 -6
- package/lib/commonjs/mol-repr/structure/units-representation.js +1 -1
- package/lib/commonjs/mol-repr/structure/units-representation.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +10 -4
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +6 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +3 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +10 -4
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +6 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +3 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +8 -8
- package/lib/commonjs/mol-repr/structure/visual/label-text.js +3 -3
- package/lib/commonjs/mol-repr/structure/visual/label-text.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js +22 -15
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +24 -16
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/color.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/util/link.d.ts +8 -0
- package/lib/commonjs/mol-repr/structure/visual/util/link.js +37 -27
- package/lib/commonjs/mol-repr/structure/visual/util/link.js.map +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/polymer.d.ts +2 -2
- package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +5 -5
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +3 -3
- package/lib/commonjs/mol-repr/volume/registry.d.ts +4 -4
- package/lib/commonjs/mol-repr/volume/registry.js +1 -1
- package/lib/commonjs/mol-repr/volume/registry.js.map +1 -1
- package/lib/commonjs/mol-repr/volume/slice.d.ts +6 -6
- package/lib/commonjs/mol-script/language/builder.d.ts +0 -1
- package/lib/commonjs/mol-script/language/expression-formatter.js +6 -6
- package/lib/commonjs/mol-script/language/expression-formatter.js.map +1 -1
- package/lib/commonjs/mol-script/language/helpers.js +4 -4
- package/lib/commonjs/mol-script/language/helpers.js.map +1 -1
- package/lib/commonjs/mol-script/language/parser.js +1 -1
- package/lib/commonjs/mol-script/language/parser.js.map +1 -1
- package/lib/commonjs/mol-script/language/symbol-table/structure-query.js +3 -3
- package/lib/commonjs/mol-script/language/symbol-table/structure-query.js.map +1 -1
- package/lib/commonjs/mol-script/language/symbol.js +1 -1
- package/lib/commonjs/mol-script/language/symbol.js.map +1 -1
- package/lib/commonjs/mol-script/runtime/query/base.js +2 -2
- package/lib/commonjs/mol-script/runtime/query/base.js.map +1 -1
- package/lib/commonjs/mol-script/script/mol-script/symbols.js +3 -3
- package/lib/commonjs/mol-script/script/mol-script/symbols.js.map +1 -1
- package/lib/commonjs/mol-state/state/builder.js +1 -1
- package/lib/commonjs/mol-state/state/builder.js.map +1 -1
- package/lib/commonjs/mol-state/state.js +7 -7
- package/lib/commonjs/mol-state/state.js.map +1 -1
- package/lib/commonjs/mol-state/transformer.js +3 -3
- package/lib/commonjs/mol-state/transformer.js.map +1 -1
- package/lib/commonjs/mol-state/tree/transient.js +3 -3
- package/lib/commonjs/mol-state/tree/transient.js.map +1 -1
- package/lib/commonjs/mol-task/execution/progress.js +4 -4
- package/lib/commonjs/mol-task/execution/progress.js.map +1 -1
- package/lib/commonjs/mol-task/task.js +1 -1
- package/lib/commonjs/mol-task/task.js.map +1 -1
- package/lib/commonjs/mol-task/util/multistep.js +1 -1
- package/lib/commonjs/mol-task/util/multistep.js.map +1 -1
- package/lib/commonjs/mol-task/util/user-timing.js +3 -3
- package/lib/commonjs/mol-task/util/user-timing.js.map +1 -1
- package/lib/commonjs/mol-theme/color/atom-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/chain-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/chain-id.js +1 -1
- package/lib/commonjs/mol-theme/color/chain-id.js.map +1 -1
- package/lib/commonjs/mol-theme/color/element-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/element-symbol.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/entity-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/entity-id.js +1 -1
- package/lib/commonjs/mol-theme/color/entity-id.js.map +1 -1
- package/lib/commonjs/mol-theme/color/entity-source.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/entity-source.js +4 -4
- package/lib/commonjs/mol-theme/color/entity-source.js.map +1 -1
- package/lib/commonjs/mol-theme/color/illustrative.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/model-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/operator-hkl.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/operator-hkl.js +2 -2
- package/lib/commonjs/mol-theme/color/operator-hkl.js.map +1 -1
- package/lib/commonjs/mol-theme/color/operator-name.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/polymer-id.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/polymer-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color/unit-index.d.ts +12 -12
- package/lib/commonjs/mol-theme/color.d.ts +78 -78
- package/lib/commonjs/mol-theme/label.d.ts +1 -0
- package/lib/commonjs/mol-theme/label.js +38 -28
- package/lib/commonjs/mol-theme/label.js.map +1 -1
- package/lib/commonjs/mol-theme/theme.js +3 -3
- package/lib/commonjs/mol-theme/theme.js.map +1 -1
- package/lib/commonjs/mol-util/assets.js +3 -3
- package/lib/commonjs/mol-util/assets.js.map +1 -1
- package/lib/commonjs/mol-util/color/color.js +2 -2
- package/lib/commonjs/mol-util/color/color.js.map +1 -1
- package/lib/commonjs/mol-util/color/lists.js +1 -1
- package/lib/commonjs/mol-util/color/lists.js.map +1 -1
- package/lib/commonjs/mol-util/color/palette.d.ts +12 -12
- package/lib/commonjs/mol-util/color/palette.js +2 -2
- package/lib/commonjs/mol-util/color/palette.js.map +1 -1
- package/lib/commonjs/mol-util/console-logger.js +9 -9
- package/lib/commonjs/mol-util/console-logger.js.map +1 -1
- package/lib/commonjs/mol-util/data-source.js +5 -5
- package/lib/commonjs/mol-util/data-source.js.map +1 -1
- package/lib/commonjs/mol-util/download.js +1 -1
- package/lib/commonjs/mol-util/download.js.map +1 -1
- package/lib/commonjs/mol-util/graphql-client.js +2 -2
- package/lib/commonjs/mol-util/graphql-client.js.map +1 -1
- package/lib/commonjs/mol-util/index.js +2 -2
- package/lib/commonjs/mol-util/index.js.map +1 -1
- package/lib/commonjs/mol-util/monadic-parser.js +4 -4
- package/lib/commonjs/mol-util/monadic-parser.js.map +1 -1
- package/lib/commonjs/mol-util/now.js +4 -4
- package/lib/commonjs/mol-util/now.js.map +1 -1
- package/lib/commonjs/mol-util/object.js +1 -1
- package/lib/commonjs/mol-util/object.js.map +1 -1
- package/lib/commonjs/mol-util/performance-monitor.js +4 -4
- package/lib/commonjs/mol-util/performance-monitor.js.map +1 -1
- package/lib/commonjs/mol-util/string.js +3 -3
- package/lib/commonjs/mol-util/string.js.map +1 -1
- package/lib/commonjs/mol-util/url.js +2 -2
- package/lib/commonjs/mol-util/url.js.map +1 -1
- package/lib/commonjs/mol-util/zip/deflate.js +1 -1
- package/lib/commonjs/mol-util/zip/deflate.js.map +1 -1
- package/lib/commonjs/mol-util/zip/inflate.js +1 -1
- package/lib/commonjs/mol-util/zip/inflate.js.map +1 -1
- package/lib/commonjs/mol-util/zip/zip.js +1 -1
- package/lib/commonjs/mol-util/zip/zip.js.map +1 -1
- package/lib/commonjs/perf-tests/mol-script.js +1 -1
- package/lib/commonjs/perf-tests/mol-script.js.map +1 -1
- package/lib/commonjs/perf-tests/sets.js +1 -1
- package/lib/commonjs/perf-tests/sets.js.map +1 -1
- package/lib/commonjs/perf-tests/sort.js +1 -1
- package/lib/commonjs/perf-tests/sort.js.map +1 -1
- package/lib/commonjs/perf-tests/string-builder.js +2 -2
- package/lib/commonjs/perf-tests/string-builder.js.map +1 -1
- package/lib/commonjs/perf-tests/structure.js +7 -7
- package/lib/commonjs/perf-tests/structure.js.map +1 -1
- package/lib/commonjs/perf-tests/test-xtc.js +1 -1
- package/lib/commonjs/perf-tests/test-xtc.js.map +1 -1
- package/lib/commonjs/servers/common/file-handle.js +1 -1
- package/lib/commonjs/servers/common/file-handle.js.map +1 -1
- package/lib/commonjs/servers/common/util.js +1 -1
- package/lib/commonjs/servers/common/util.js.map +1 -1
- package/lib/commonjs/servers/model/config.js +4 -4
- package/lib/commonjs/servers/model/config.js.map +1 -1
- package/lib/commonjs/servers/model/preprocess/master.js +1 -1
- package/lib/commonjs/servers/model/preprocess/master.js.map +1 -1
- package/lib/commonjs/servers/model/preprocess/parallel.js +2 -2
- package/lib/commonjs/servers/model/preprocess/parallel.js.map +1 -1
- package/lib/commonjs/servers/model/preprocess/util.js +3 -3
- package/lib/commonjs/servers/model/preprocess/util.js.map +1 -1
- package/lib/commonjs/servers/model/preprocess.js +0 -0
- package/lib/commonjs/servers/model/properties/providers/pdbe.js +5 -5
- package/lib/commonjs/servers/model/properties/providers/pdbe.js.map +1 -1
- package/lib/commonjs/servers/model/property-provider.js +2 -2
- package/lib/commonjs/servers/model/property-provider.js.map +1 -1
- package/lib/commonjs/servers/model/query.js +1 -1
- package/lib/commonjs/servers/model/query.js.map +1 -1
- package/lib/commonjs/servers/model/server/api-local.js +2 -2
- package/lib/commonjs/servers/model/server/api-local.js.map +1 -1
- package/lib/commonjs/servers/model/server/api-schema.js +2 -2
- package/lib/commonjs/servers/model/server/api-schema.js.map +1 -1
- package/lib/commonjs/servers/model/server/api-web-multiple.js +1 -1
- package/lib/commonjs/servers/model/server/api-web-multiple.js.map +1 -1
- package/lib/commonjs/servers/model/server/api-web.js +4 -4
- package/lib/commonjs/servers/model/server/api-web.js.map +1 -1
- package/lib/commonjs/servers/model/server/api.js +1 -1
- package/lib/commonjs/servers/model/server/api.js.map +1 -1
- package/lib/commonjs/servers/model/server/cache.js +3 -3
- package/lib/commonjs/servers/model/server/cache.js.map +1 -1
- package/lib/commonjs/servers/model/server/jobs.js +3 -3
- package/lib/commonjs/servers/model/server/jobs.js.map +1 -1
- package/lib/commonjs/servers/model/server/query.js +10 -10
- package/lib/commonjs/servers/model/server/query.js.map +1 -1
- package/lib/commonjs/servers/model/server/structure-wrapper.js +6 -6
- package/lib/commonjs/servers/model/server/structure-wrapper.js.map +1 -1
- package/lib/commonjs/servers/model/server.js +3 -3
- package/lib/commonjs/servers/model/server.js.map +1 -1
- package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js +4 -4
- package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js.map +1 -1
- package/lib/commonjs/servers/model/utils/writer.js +2 -2
- package/lib/commonjs/servers/model/utils/writer.js.map +1 -1
- package/lib/commonjs/servers/plugin-state/api-schema.js +2 -2
- package/lib/commonjs/servers/plugin-state/api-schema.js.map +1 -1
- package/lib/commonjs/servers/plugin-state/index.js +1 -1
- package/lib/commonjs/servers/plugin-state/index.js.map +1 -1
- package/lib/commonjs/servers/volume/pack/format/dsn6.js +1 -1
- package/lib/commonjs/servers/volume/pack/format/dsn6.js.map +1 -1
- package/lib/commonjs/servers/volume/pack/main.js +4 -4
- package/lib/commonjs/servers/volume/pack/main.js.map +1 -1
- package/lib/commonjs/servers/volume/pack/writer.js +1 -1
- package/lib/commonjs/servers/volume/pack/writer.js.map +1 -1
- package/lib/commonjs/servers/volume/pack.js +1 -1
- package/lib/commonjs/servers/volume/pack.js.map +1 -1
- package/lib/commonjs/servers/volume/query.js +0 -0
- package/lib/commonjs/servers/volume/server/api.js +7 -7
- package/lib/commonjs/servers/volume/server/api.js.map +1 -1
- package/lib/commonjs/servers/volume/server/local-api.js +1 -1
- package/lib/commonjs/servers/volume/server/local-api.js.map +1 -1
- package/lib/commonjs/servers/volume/server/query/encode.js +3 -3
- package/lib/commonjs/servers/volume/server/query/encode.js.map +1 -1
- package/lib/commonjs/servers/volume/server/query/execute.js +5 -5
- package/lib/commonjs/servers/volume/server/query/execute.js.map +1 -1
- package/lib/commonjs/servers/volume/server/version.js +1 -1
- package/lib/commonjs/servers/volume/server/version.js.map +1 -1
- package/lib/commonjs/servers/volume/server/web-api.js +7 -7
- package/lib/commonjs/servers/volume/server/web-api.js.map +1 -1
- package/lib/commonjs/servers/volume/server/web-schema.js +6 -6
- package/lib/commonjs/servers/volume/server/web-schema.js.map +1 -1
- package/lib/commonjs/servers/volume/server.js +2 -2
- package/lib/commonjs/servers/volume/server.js.map +1 -1
- package/lib/commonjs/tests/browser/font-atlas.js +1 -1
- package/lib/commonjs/tests/browser/font-atlas.js.map +1 -1
- package/lib/commonjs/tests/browser/render-shape.js +1 -1
- package/lib/commonjs/tests/browser/render-shape.js.map +1 -1
- package/lib/commonjs/tests/browser/render-structure.js +1 -1
- package/lib/commonjs/tests/browser/render-structure.js.map +1 -1
- package/lib/examples/alpha-orbitals/index.html +60 -60
- package/lib/examples/basic-wrapper/index.html +136 -136
- package/lib/examples/basic-wrapper/superposition.js +3 -3
- package/lib/examples/basic-wrapper/superposition.js.map +1 -1
- package/lib/examples/domain-annotation-server/mapping.js +2 -2
- package/lib/examples/domain-annotation-server/mapping.js.map +1 -1
- package/lib/examples/domain-annotation-server/server.js +3 -3
- package/lib/examples/domain-annotation-server/server.js.map +1 -1
- package/lib/examples/lighting/index.html +86 -86
- package/lib/examples/proteopedia-wrapper/annotation.js +3 -3
- package/lib/examples/proteopedia-wrapper/annotation.js.map +1 -1
- package/lib/examples/proteopedia-wrapper/helpers.js +1 -1
- package/lib/examples/proteopedia-wrapper/helpers.js.map +1 -1
- package/lib/examples/proteopedia-wrapper/index.html +235 -235
- package/lib/examples/proteopedia-wrapper/index.js +2 -2
- package/lib/examples/proteopedia-wrapper/index.js.map +1 -1
- package/lib/examples/task.js +6 -6
- package/lib/examples/task.js.map +1 -1
- package/lib/extensions/alpha-orbitals/transforms.js +2 -2
- package/lib/extensions/alpha-orbitals/transforms.js.map +1 -1
- package/lib/extensions/anvil/representation.js +1 -1
- package/lib/extensions/anvil/representation.js.map +1 -1
- package/lib/extensions/cellpack/color/generate.d.ts +1 -1
- package/lib/extensions/cellpack/color/generate.js +1 -1
- package/lib/extensions/cellpack/color/provided.d.ts +1 -1
- package/lib/extensions/cellpack/color/provided.js +1 -1
- package/lib/extensions/cellpack/curve.d.ts +2 -2
- package/lib/extensions/cellpack/curve.js +2 -2
- package/lib/extensions/cellpack/data.d.ts +32 -0
- package/lib/extensions/cellpack/index.d.ts +1 -1
- package/lib/extensions/cellpack/index.js +1 -1
- package/lib/extensions/cellpack/model.d.ts +5 -3
- package/lib/extensions/cellpack/model.js +204 -66
- package/lib/extensions/cellpack/model.js.map +1 -1
- package/lib/extensions/cellpack/preset.d.ts +2 -1
- package/lib/extensions/cellpack/preset.js +12 -15
- package/lib/extensions/cellpack/preset.js.map +1 -1
- package/lib/extensions/cellpack/property.d.ts +1 -1
- package/lib/extensions/cellpack/property.js +1 -1
- package/lib/extensions/cellpack/representation.d.ts +53 -0
- package/lib/extensions/cellpack/representation.js +43 -0
- package/lib/extensions/cellpack/representation.js.map +1 -0
- package/lib/extensions/cellpack/state.d.ts +16 -5
- package/lib/extensions/cellpack/state.js +232 -25
- package/lib/extensions/cellpack/state.js.map +1 -1
- package/lib/extensions/cellpack/util.d.ts +3 -1
- package/lib/extensions/cellpack/util.js +32 -5
- package/lib/extensions/cellpack/util.js.map +1 -1
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
- package/lib/extensions/dnatco/confal-pyramids/util.js +7 -7
- package/lib/extensions/dnatco/confal-pyramids/util.js.map +1 -1
- package/lib/extensions/g3d/data.js +2 -2
- package/lib/extensions/g3d/data.js.map +1 -1
- package/lib/extensions/g3d/model.js +2 -2
- package/lib/extensions/g3d/model.js.map +1 -1
- package/lib/extensions/geo-export/controls.js +2 -2
- package/lib/extensions/geo-export/controls.js.map +1 -1
- package/lib/extensions/geo-export/glb-exporter.js +1 -1
- package/lib/extensions/geo-export/glb-exporter.js.map +1 -1
- package/lib/extensions/geo-export/obj-exporter.js +3 -3
- package/lib/extensions/geo-export/obj-exporter.js.map +1 -1
- package/lib/extensions/geo-export/stl-exporter.js +1 -1
- package/lib/extensions/geo-export/stl-exporter.js.map +1 -1
- package/lib/extensions/geo-export/usdz-exporter.js +5 -5
- package/lib/extensions/geo-export/usdz-exporter.js.map +1 -1
- package/lib/extensions/mp4-export/controls.js +1 -1
- package/lib/extensions/mp4-export/controls.js.map +1 -1
- package/lib/extensions/pdbe/structure-quality-report/behavior.js +1 -1
- package/lib/extensions/pdbe/structure-quality-report/behavior.js.map +1 -1
- package/lib/extensions/pdbe/structure-quality-report/prop.js +1 -1
- package/lib/extensions/pdbe/structure-quality-report/prop.js.map +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +5 -5
- package/lib/extensions/rcsb/assembly-symmetry/behavior.js +3 -3
- package/lib/extensions/rcsb/assembly-symmetry/behavior.js.map +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/color.js +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/color.js.map +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/prop.js +2 -2
- package/lib/extensions/rcsb/assembly-symmetry/prop.js.map +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +2 -2
- package/lib/extensions/rcsb/assembly-symmetry/representation.js +7 -7
- package/lib/extensions/rcsb/assembly-symmetry/representation.js.map +1 -1
- package/lib/extensions/rcsb/validation-report/behavior.js +11 -11
- package/lib/extensions/rcsb/validation-report/behavior.js.map +1 -1
- package/lib/extensions/rcsb/validation-report/prop.js +2 -2
- package/lib/extensions/rcsb/validation-report/prop.js.map +1 -1
- package/lib/extensions/rcsb/validation-report/representation.d.ts +20 -5
- package/lib/extensions/rcsb/validation-report/representation.js +2 -2
- package/lib/extensions/rcsb/validation-report/representation.js.map +1 -1
- package/lib/mol-canvas3d/canvas3d.d.ts +4 -4
- package/lib/mol-canvas3d/canvas3d.js +3 -3
- package/lib/mol-canvas3d/canvas3d.js.map +1 -1
- package/lib/mol-canvas3d/helper/camera-helper.d.ts +2 -2
- package/lib/mol-canvas3d/helper/handle-helper.js +1 -1
- package/lib/mol-canvas3d/helper/handle-helper.js.map +1 -1
- package/lib/mol-canvas3d/passes/image.d.ts +2 -2
- package/lib/mol-canvas3d/passes/wboit.js +1 -1
- package/lib/mol-canvas3d/passes/wboit.js.map +1 -1
- package/lib/mol-canvas3d/util.js +1 -1
- package/lib/mol-canvas3d/util.js.map +1 -1
- package/lib/mol-data/db/table.js +1 -1
- package/lib/mol-data/db/table.js.map +1 -1
- package/lib/mol-data/int/_spec/sorted-ranges.spec.js +1 -1
- package/lib/mol-data/int/_spec/sorted-ranges.spec.js.map +1 -1
- package/lib/mol-data/int/impl/ordered-set.d.ts +3 -3
- package/lib/mol-data/int/impl/sorted-array.js +2 -2
- package/lib/mol-data/int/impl/sorted-array.js.map +1 -1
- package/lib/mol-data/int/tuple.js +1 -1
- package/lib/mol-data/int/tuple.js.map +1 -1
- package/lib/mol-data/util/_spec/interval-iterator.spec.js +1 -1
- package/lib/mol-data/util/_spec/interval-iterator.spec.js.map +1 -1
- package/lib/mol-geo/geometry/image/image.d.ts +2 -2
- package/lib/mol-geo/geometry/mesh/builder/sheet.d.ts +1 -1
- package/lib/mol-geo/geometry/mesh/builder/sheet.js +19 -11
- package/lib/mol-geo/geometry/mesh/builder/sheet.js.map +1 -1
- package/lib/mol-geo/geometry/mesh/builder/tube.d.ts +2 -2
- package/lib/mol-geo/geometry/mesh/builder/tube.js +57 -15
- package/lib/mol-geo/geometry/mesh/builder/tube.js.map +1 -1
- package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
- package/lib/mol-geo/geometry/mesh/mesh.js +1 -1
- package/lib/mol-geo/geometry/mesh/mesh.js.map +1 -1
- package/lib/mol-geo/geometry/points/points.d.ts +2 -2
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -0
- package/lib/mol-geo/geometry/text/font-atlas.js +1 -1
- package/lib/mol-geo/geometry/text/font-atlas.js.map +1 -1
- package/lib/mol-geo/geometry/text/text.js +1 -1
- package/lib/mol-geo/geometry/text/text.js.map +1 -1
- package/lib/mol-geo/primitive/polyhedron.js +1 -1
- package/lib/mol-geo/primitive/polyhedron.js.map +1 -1
- package/lib/mol-gl/_spec/cylinders.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/cylinders.spec.js +38 -0
- package/lib/mol-gl/_spec/cylinders.spec.js.map +1 -0
- package/lib/mol-gl/_spec/direct-volume.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/direct-volume.spec.js +38 -0
- package/lib/mol-gl/_spec/direct-volume.spec.js.map +1 -0
- package/lib/mol-gl/_spec/gl.d.ts +9 -0
- package/lib/mol-gl/_spec/gl.js +28 -0
- package/lib/mol-gl/_spec/gl.js.map +1 -0
- package/lib/mol-gl/_spec/gl.shim.js +5 -5
- package/lib/mol-gl/_spec/gl.shim.js.map +1 -1
- package/lib/mol-gl/_spec/image.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/image.spec.js +38 -0
- package/lib/mol-gl/_spec/image.spec.js.map +1 -0
- package/lib/mol-gl/_spec/lines.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/lines.spec.js +38 -0
- package/lib/mol-gl/_spec/lines.spec.js.map +1 -0
- package/lib/mol-gl/_spec/mesh.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/mesh.spec.js +38 -0
- package/lib/mol-gl/_spec/mesh.spec.js.map +1 -0
- package/lib/mol-gl/_spec/points.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/points.spec.js +38 -0
- package/lib/mol-gl/_spec/points.spec.js.map +1 -0
- package/lib/mol-gl/_spec/renderer.spec.d.ts +7 -1
- package/lib/mol-gl/_spec/renderer.spec.js +7 -47
- package/lib/mol-gl/_spec/renderer.spec.js.map +1 -1
- package/lib/{commonjs/mol-repr/structure/visual/aromatic-ring-mesh.d.ts → mol-gl/_spec/shader.spec.d.ts} +0 -0
- package/lib/mol-gl/_spec/shader.spec.js +2 -0
- package/lib/mol-gl/_spec/shader.spec.js.map +1 -0
- package/lib/mol-gl/_spec/spheres.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/spheres.spec.js +38 -0
- package/lib/mol-gl/_spec/spheres.spec.js.map +1 -0
- package/lib/mol-gl/_spec/text.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/text.spec.js +38 -0
- package/lib/mol-gl/_spec/text.spec.js.map +1 -0
- package/lib/mol-gl/_spec/texture-mesh.spec.d.ts +6 -0
- package/lib/mol-gl/_spec/texture-mesh.spec.js +38 -0
- package/lib/mol-gl/_spec/texture-mesh.spec.js.map +1 -0
- package/lib/mol-gl/compute/grid3d.js +3 -3
- package/lib/mol-gl/compute/grid3d.js.map +1 -1
- package/lib/mol-gl/compute/histogram-pyramid/reduction.js +4 -4
- package/lib/mol-gl/compute/histogram-pyramid/reduction.js.map +1 -1
- package/lib/mol-gl/renderable/util.js +1 -1
- package/lib/mol-gl/renderable/util.js.map +1 -1
- package/lib/mol-gl/renderer.d.ts +2 -2
- package/lib/mol-gl/scene.js +1 -1
- package/lib/mol-gl/scene.js.map +1 -1
- package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js.map +1 -1
- package/lib/mol-gl/shader-code.js +8 -8
- package/lib/mol-gl/shader-code.js.map +1 -1
- package/lib/mol-gl/webgl/buffer.d.ts +3 -2
- package/lib/mol-gl/webgl/buffer.js +5 -5
- package/lib/mol-gl/webgl/buffer.js.map +1 -1
- package/lib/mol-gl/webgl/compat.js +3 -3
- package/lib/mol-gl/webgl/compat.js.map +1 -1
- package/lib/mol-gl/webgl/context.d.ts +1 -1
- package/lib/mol-gl/webgl/context.js +6 -4
- package/lib/mol-gl/webgl/context.js.map +1 -1
- package/lib/mol-gl/webgl/extensions.js +6 -2
- package/lib/mol-gl/webgl/extensions.js.map +1 -1
- package/lib/mol-gl/webgl/framebuffer.js +1 -1
- package/lib/mol-gl/webgl/framebuffer.js.map +1 -1
- package/lib/mol-gl/webgl/program.d.ts +1 -1
- package/lib/mol-gl/webgl/program.js +14 -12
- package/lib/mol-gl/webgl/program.js.map +1 -1
- package/lib/mol-gl/webgl/render-item.d.ts +4 -3
- package/lib/mol-gl/webgl/render-item.js +2 -2
- package/lib/mol-gl/webgl/render-item.js.map +1 -1
- package/lib/mol-gl/webgl/resources.js +1 -1
- package/lib/mol-gl/webgl/resources.js.map +1 -1
- package/lib/mol-gl/webgl/shader.js +3 -3
- package/lib/mol-gl/webgl/shader.js.map +1 -1
- package/lib/mol-gl/webgl/state.d.ts +4 -1
- package/lib/mol-gl/webgl/state.js +25 -1
- package/lib/mol-gl/webgl/state.js.map +1 -1
- package/lib/mol-gl/webgl/texture.js +2 -2
- package/lib/mol-gl/webgl/texture.js.map +1 -1
- package/lib/mol-gl/webgl/uniform.js +2 -2
- package/lib/mol-gl/webgl/uniform.js.map +1 -1
- package/lib/mol-io/common/file-handle.js +1 -1
- package/lib/mol-io/common/file-handle.js.map +1 -1
- package/lib/mol-io/common/typed-array.js +1 -1
- package/lib/mol-io/common/typed-array.js.map +1 -1
- package/lib/mol-io/reader/ccp4/parser.js +1 -1
- package/lib/mol-io/reader/ccp4/parser.js.map +1 -1
- package/lib/mol-io/reader/cif/binary/parser.js +1 -1
- package/lib/mol-io/reader/cif/binary/parser.js.map +1 -1
- package/lib/mol-io/reader/cif/data-model.js +7 -7
- package/lib/mol-io/reader/cif/data-model.js.map +1 -1
- package/lib/mol-io/reader/cif/schema/density-server.d.ts +4 -4
- package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +10 -10
- package/lib/mol-io/reader/cif/schema.js +7 -7
- package/lib/mol-io/reader/cif/schema.js.map +1 -1
- package/lib/mol-io/reader/cif/text/parser.js +2 -2
- package/lib/mol-io/reader/cif/text/parser.js.map +1 -1
- package/lib/mol-io/reader/dcd/parser.js +2 -2
- package/lib/mol-io/reader/dcd/parser.js.map +1 -1
- package/lib/mol-io/reader/ply/schema.d.ts +1 -1
- package/lib/mol-io/reader/ply/schema.js +1 -1
- package/lib/mol-io/reader/ply/schema.js.map +1 -1
- package/lib/mol-io/reader/result.js +1 -1
- package/lib/mol-io/reader/result.js.map +1 -1
- package/lib/mol-io/writer/cif/encoder/text.js +3 -3
- package/lib/mol-io/writer/cif/encoder/text.js.map +1 -1
- package/lib/mol-io/writer/cif/encoder.js +5 -5
- package/lib/mol-io/writer/cif/encoder.js.map +1 -1
- package/lib/mol-io/writer/mol/encoder.js +4 -4
- package/lib/mol-io/writer/mol/encoder.js.map +1 -1
- package/lib/mol-io/writer/mol2/encoder.js +6 -6
- package/lib/mol-io/writer/mol2/encoder.js.map +1 -1
- package/lib/mol-math/geometry/gaussian-density/gpu.js +1 -1
- package/lib/mol-math/geometry/gaussian-density/gpu.js.map +1 -1
- package/lib/mol-math/geometry/primitives/axes3d.d.ts +2 -1
- package/lib/mol-math/geometry/primitives/axes3d.js +9 -2
- package/lib/mol-math/geometry/primitives/axes3d.js.map +1 -1
- package/lib/mol-math/geometry/spacegroup/construction.js +8 -8
- package/lib/mol-math/geometry/spacegroup/construction.js.map +1 -1
- package/lib/mol-math/geometry/spacegroup/tables.js +1 -1
- package/lib/mol-math/geometry/spacegroup/tables.js.map +1 -1
- package/lib/mol-math/geometry/symmetry-operator.js +4 -4
- package/lib/mol-math/geometry/symmetry-operator.js.map +1 -1
- package/lib/mol-math/graph/inter-unit-graph.js +2 -2
- package/lib/mol-math/graph/inter-unit-graph.js.map +1 -1
- package/lib/mol-math/linear-algebra/3d/quat.js +1 -1
- package/lib/mol-math/linear-algebra/3d/quat.js.map +1 -1
- package/lib/mol-math/linear-algebra/3d/vec2.js +1 -1
- package/lib/mol-math/linear-algebra/3d/vec2.js.map +1 -1
- package/lib/mol-math/linear-algebra/3d/vec3.js +1 -1
- package/lib/mol-math/linear-algebra/3d/vec3.js.map +1 -1
- package/lib/mol-math/linear-algebra/3d/vec4.js +1 -1
- package/lib/mol-math/linear-algebra/3d/vec4.js.map +1 -1
- package/lib/mol-model/loci.d.ts +20 -20
- package/lib/mol-model/sequence/sequence.js +2 -2
- package/lib/mol-model/sequence/sequence.js.map +1 -1
- package/lib/mol-model/shape/shape.d.ts +1 -1
- package/lib/mol-model/structure/export/categories/atom_site.js +2 -2
- package/lib/mol-model/structure/export/categories/atom_site.js.map +1 -1
- package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js +1 -1
- package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +1 -1
- package/lib/mol-model/structure/export/categories/secondary-structure.js +1 -1
- package/lib/mol-model/structure/export/categories/secondary-structure.js.map +1 -1
- package/lib/mol-model/structure/export/mmcif.js +1 -1
- package/lib/mol-model/structure/export/mmcif.js.map +1 -1
- package/lib/mol-model/structure/model/properties/atomic/bonds.js +2 -2
- package/lib/mol-model/structure/model/properties/atomic/bonds.js.map +1 -1
- package/lib/mol-model/structure/model/properties/symmetry.js +3 -3
- package/lib/mol-model/structure/model/properties/symmetry.js.map +1 -1
- package/lib/mol-model/structure/model/properties/utils/atomic-index.js +2 -2
- package/lib/mol-model/structure/model/properties/utils/atomic-index.js.map +1 -1
- package/lib/mol-model/structure/model/properties/utils/coarse-keys.js +1 -1
- package/lib/mol-model/structure/model/properties/utils/coarse-keys.js.map +1 -1
- package/lib/mol-model/structure/model/properties/utils/residue-set.js +1 -1
- package/lib/mol-model/structure/model/properties/utils/residue-set.js.map +1 -1
- package/lib/mol-model/structure/query/context.js +1 -1
- package/lib/mol-model/structure/query/context.js.map +1 -1
- package/lib/mol-model/structure/query/utils/structure-distance.d.ts +54 -5
- package/lib/mol-model/structure/structure/carbohydrates/compute.js +1 -1
- package/lib/mol-model/structure/structure/carbohydrates/compute.js.map +1 -1
- package/lib/mol-model/structure/structure/element/loci.d.ts +1 -0
- package/lib/mol-model/structure/structure/element/loci.js +16 -2
- package/lib/mol-model/structure/structure/element/loci.js.map +1 -1
- package/lib/mol-model/structure/structure/element/util.js +1 -1
- package/lib/mol-model/structure/structure/element/util.js.map +1 -1
- package/lib/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/mol-model/structure/structure/properties.js +1 -1
- package/lib/mol-model/structure/structure/properties.js.map +1 -1
- package/lib/mol-model/structure/structure/structure.js +3 -2
- package/lib/mol-model/structure/structure/structure.js.map +1 -1
- package/lib/mol-model/structure/structure/symmetry.js +3 -3
- package/lib/mol-model/structure/structure/symmetry.js.map +1 -1
- package/lib/mol-model/structure/structure/unit.d.ts +2 -2
- package/lib/mol-model/structure/structure/util/superposition-db-mapping.js +1 -1
- package/lib/mol-model/structure/structure/util/superposition-db-mapping.js.map +1 -1
- package/lib/mol-model/volume/volume.js +2 -2
- package/lib/mol-model/volume/volume.js.map +1 -1
- package/lib/mol-model-formats/shape/ply.d.ts +8 -8
- package/lib/mol-model-formats/shape/ply.js +1 -1
- package/lib/mol-model-formats/shape/ply.js.map +1 -1
- package/lib/mol-model-formats/structure/basic/atomic.js +2 -2
- package/lib/mol-model-formats/structure/basic/atomic.js.map +1 -1
- package/lib/mol-model-formats/structure/basic/properties.js +2 -2
- package/lib/mol-model-formats/structure/basic/properties.js.map +1 -1
- package/lib/mol-model-formats/structure/basic/schema.d.ts +4 -4
- package/lib/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/mol-model-formats/structure/common/entity.js +6 -6
- package/lib/mol-model-formats/structure/common/entity.js.map +1 -1
- package/lib/mol-model-formats/structure/pdb/assembly.js +10 -10
- package/lib/mol-model-formats/structure/pdb/assembly.js.map +1 -1
- package/lib/mol-model-formats/structure/pdb/conect.js +1 -1
- package/lib/mol-model-formats/structure/pdb/conect.js.map +1 -1
- package/lib/mol-model-formats/structure/pdb/entity.js +1 -1
- package/lib/mol-model-formats/structure/pdb/entity.js.map +1 -1
- package/lib/mol-model-formats/structure/property/assembly.js +1 -1
- package/lib/mol-model-formats/structure/property/assembly.js.map +1 -1
- package/lib/mol-model-formats/structure/property/symmetry.js +1 -1
- package/lib/mol-model-formats/structure/property/symmetry.js.map +1 -1
- package/lib/mol-model-formats/volume/ccp4.js +1 -1
- package/lib/mol-model-formats/volume/ccp4.js.map +1 -1
- package/lib/mol-model-props/common/custom-element-property.js +1 -1
- package/lib/mol-model-props/common/custom-element-property.js.map +1 -1
- package/lib/mol-model-props/common/custom-property.js +1 -1
- package/lib/mol-model-props/common/custom-property.js.map +1 -1
- package/lib/mol-model-props/computed/interactions/common.js +1 -1
- package/lib/mol-model-props/computed/interactions/common.js.map +1 -1
- package/lib/mol-model-props/computed/interactions/refine.js +2 -2
- package/lib/mol-model-props/computed/interactions/refine.js.map +1 -1
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +4 -1
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +4 -1
- package/lib/mol-model-props/computed/representations/interactions.d.ts +12 -3
- package/lib/mol-model-props/integrative/cross-link-restraint/property.js +1 -1
- package/lib/mol-model-props/integrative/cross-link-restraint/property.js.map +1 -1
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +16 -4
- package/lib/mol-model-props/integrative/pair-restraints.js +1 -1
- package/lib/mol-model-props/integrative/pair-restraints.js.map +1 -1
- package/lib/mol-model-props/sequence/best-database-mapping.js +1 -1
- package/lib/mol-model-props/sequence/best-database-mapping.js.map +1 -1
- package/lib/mol-model-props/sequence/themes/best-database-mapping.js +1 -1
- package/lib/mol-model-props/sequence/themes/best-database-mapping.js.map +1 -1
- package/lib/mol-plugin/behavior/behavior.d.ts +1 -1
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js +3 -3
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js +3 -3
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js +1 -1
- package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -1
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -2
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +10 -10
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js +6 -6
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +3 -2
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +5 -5
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js +5 -5
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +6 -6
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +1 -1
- package/lib/mol-plugin/behavior/static/state.js +4 -4
- package/lib/mol-plugin/behavior/static/state.js.map +1 -1
- package/lib/mol-plugin/commands.d.ts +2 -2
- package/lib/mol-plugin/config.js +10 -3
- package/lib/mol-plugin/config.js.map +1 -1
- package/lib/mol-plugin/context.js +2 -3
- package/lib/mol-plugin/context.js.map +1 -1
- package/lib/mol-plugin/layout.d.ts +4 -4
- package/lib/mol-plugin/util/viewport-screenshot.d.ts +6 -6
- package/lib/mol-plugin/util/viewport-screenshot.js +1 -1
- package/lib/mol-plugin/util/viewport-screenshot.js.map +1 -1
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/actions/file.js +3 -3
- package/lib/mol-plugin-state/actions/file.js.map +1 -1
- package/lib/mol-plugin-state/actions/structure.d.ts +2 -2
- package/lib/mol-plugin-state/actions/structure.js +12 -12
- package/lib/mol-plugin-state/actions/structure.js.map +1 -1
- package/lib/mol-plugin-state/actions/volume.js +16 -16
- package/lib/mol-plugin-state/actions/volume.js.map +1 -1
- package/lib/mol-plugin-state/animation/built-in/model-index.d.ts +4 -4
- package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +4 -4
- package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +4 -4
- package/lib/mol-plugin-state/builder/structure/hierarchy.js +2 -2
- package/lib/mol-plugin-state/builder/structure/hierarchy.js.map +1 -1
- package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +7 -7
- package/lib/mol-plugin-state/builder/structure/representation-preset.js +21 -17
- package/lib/mol-plugin-state/builder/structure/representation-preset.js.map +1 -1
- package/lib/mol-plugin-state/builder/structure/representation.js +2 -2
- package/lib/mol-plugin-state/builder/structure/representation.js.map +1 -1
- package/lib/mol-plugin-state/builder/structure.js +3 -3
- package/lib/mol-plugin-state/builder/structure.js.map +1 -1
- package/lib/mol-plugin-state/formats/registry.js +1 -1
- package/lib/mol-plugin-state/formats/registry.js.map +1 -1
- package/lib/mol-plugin-state/formats/volume.d.ts +8 -8
- package/lib/mol-plugin-state/helpers/root-structure.d.ts +4 -4
- package/lib/mol-plugin-state/helpers/root-structure.js +10 -10
- package/lib/mol-plugin-state/helpers/root-structure.js.map +1 -1
- package/lib/mol-plugin-state/helpers/structure-component.d.ts +2 -2
- package/lib/mol-plugin-state/helpers/structure-component.js +3 -3
- package/lib/mol-plugin-state/helpers/structure-component.js.map +1 -1
- package/lib/mol-plugin-state/helpers/structure-query.js +1 -1
- package/lib/mol-plugin-state/helpers/structure-query.js.map +1 -1
- package/lib/mol-plugin-state/helpers/structure-selection-query.js +5 -5
- package/lib/mol-plugin-state/helpers/structure-selection-query.js.map +1 -1
- package/lib/mol-plugin-state/manager/animation.js +1 -1
- package/lib/mol-plugin-state/manager/animation.js.map +1 -1
- package/lib/mol-plugin-state/manager/interactivity.d.ts +1 -1
- package/lib/mol-plugin-state/manager/loci-label.js +1 -1
- package/lib/mol-plugin-state/manager/loci-label.js.map +1 -1
- package/lib/mol-plugin-state/manager/snapshots.js +2 -2
- package/lib/mol-plugin-state/manager/snapshots.js.map +1 -1
- package/lib/mol-plugin-state/manager/structure/component.d.ts +2 -2
- package/lib/mol-plugin-state/manager/structure/hierarchy.js +2 -2
- package/lib/mol-plugin-state/manager/structure/hierarchy.js.map +1 -1
- package/lib/mol-plugin-state/manager/structure/measurement.d.ts +7 -2
- package/lib/mol-plugin-state/manager/structure/measurement.js +110 -12
- package/lib/mol-plugin-state/manager/structure/measurement.js.map +1 -1
- package/lib/mol-plugin-state/manager/structure/selection.d.ts +1 -1
- package/lib/mol-plugin-state/manager/structure/selection.js +4 -10
- package/lib/mol-plugin-state/manager/structure/selection.js.map +1 -1
- package/lib/mol-plugin-state/transforms/data.d.ts +1 -1
- package/lib/mol-plugin-state/transforms/data.js +8 -8
- package/lib/mol-plugin-state/transforms/data.js.map +1 -1
- package/lib/mol-plugin-state/transforms/helpers.d.ts +3 -1
- package/lib/mol-plugin-state/transforms/helpers.js +5 -3
- package/lib/mol-plugin-state/transforms/helpers.js.map +1 -1
- package/lib/mol-plugin-state/transforms/model.d.ts +6 -6
- package/lib/mol-plugin-state/transforms/model.js +18 -18
- package/lib/mol-plugin-state/transforms/model.js.map +1 -1
- package/lib/mol-plugin-state/transforms/representation.d.ts +20 -5
- package/lib/mol-plugin-state/transforms/representation.js +78 -26
- package/lib/mol-plugin-state/transforms/representation.js.map +1 -1
- package/lib/mol-plugin-state/transforms/volume.js +7 -7
- package/lib/mol-plugin-state/transforms/volume.js.map +1 -1
- package/lib/mol-plugin-ui/base.js +1 -1
- package/lib/mol-plugin-ui/base.js.map +1 -1
- package/lib/mol-plugin-ui/controls/action-menu.js +3 -3
- package/lib/mol-plugin-ui/controls/action-menu.js.map +1 -1
- package/lib/mol-plugin-ui/controls/color.js +2 -2
- package/lib/mol-plugin-ui/controls/color.js.map +1 -1
- package/lib/mol-plugin-ui/controls/common.js +9 -9
- package/lib/mol-plugin-ui/controls/common.js.map +1 -1
- package/lib/mol-plugin-ui/controls/icons.js +1 -1
- package/lib/mol-plugin-ui/controls/icons.js.map +1 -1
- package/lib/mol-plugin-ui/controls/legend.js +3 -3
- package/lib/mol-plugin-ui/controls/legend.js.map +1 -1
- package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js +6 -6
- package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +1 -1
- package/lib/mol-plugin-ui/controls/line-graph/point-component.js +1 -1
- package/lib/mol-plugin-ui/controls/line-graph/point-component.js.map +1 -1
- package/lib/mol-plugin-ui/controls/parameters.d.ts +2 -2
- package/lib/mol-plugin-ui/controls/parameters.js +29 -29
- package/lib/mol-plugin-ui/controls/parameters.js.map +1 -1
- package/lib/mol-plugin-ui/controls/screenshot.js +1 -1
- package/lib/mol-plugin-ui/controls/screenshot.js.map +1 -1
- package/lib/mol-plugin-ui/controls/slider.js +9 -9
- package/lib/mol-plugin-ui/controls/slider.js.map +1 -1
- package/lib/mol-plugin-ui/controls.js +2 -2
- package/lib/mol-plugin-ui/controls.js.map +1 -1
- package/lib/mol-plugin-ui/plugin.js +3 -3
- package/lib/mol-plugin-ui/plugin.js.map +1 -1
- package/lib/mol-plugin-ui/sequence/chain.js +3 -3
- package/lib/mol-plugin-ui/sequence/chain.js.map +1 -1
- package/lib/mol-plugin-ui/sequence/sequence.js +4 -4
- package/lib/mol-plugin-ui/sequence/sequence.js.map +1 -1
- package/lib/mol-plugin-ui/sequence.d.ts +1 -1
- package/lib/mol-plugin-ui/sequence.js +24 -10
- package/lib/mol-plugin-ui/sequence.js.map +1 -1
- 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 -420
- 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 +616 -616
- 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 -81
- package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
- package/lib/mol-plugin-ui/skin/base/components/viewport.scss +127 -127
- 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/actions.js +1 -1
- package/lib/mol-plugin-ui/state/actions.js.map +1 -1
- package/lib/mol-plugin-ui/state/common.js +2 -2
- package/lib/mol-plugin-ui/state/common.js.map +1 -1
- package/lib/mol-plugin-ui/state/snapshots.js +4 -4
- package/lib/mol-plugin-ui/state/snapshots.js.map +1 -1
- package/lib/mol-plugin-ui/state/tree.js +8 -8
- package/lib/mol-plugin-ui/state/tree.js.map +1 -1
- package/lib/mol-plugin-ui/structure/components.js +4 -4
- package/lib/mol-plugin-ui/structure/components.js.map +1 -1
- package/lib/mol-plugin-ui/structure/focus.js +4 -4
- package/lib/mol-plugin-ui/structure/focus.js.map +1 -1
- package/lib/mol-plugin-ui/structure/generic.js +2 -2
- package/lib/mol-plugin-ui/structure/generic.js.map +1 -1
- package/lib/mol-plugin-ui/structure/measurements.d.ts +10 -1
- package/lib/mol-plugin-ui/structure/measurements.js +50 -7
- package/lib/mol-plugin-ui/structure/measurements.js.map +1 -1
- package/lib/mol-plugin-ui/structure/selection.js +4 -4
- package/lib/mol-plugin-ui/structure/selection.js.map +1 -1
- package/lib/mol-plugin-ui/structure/source.js +12 -12
- package/lib/mol-plugin-ui/structure/source.js.map +1 -1
- package/lib/mol-plugin-ui/structure/superposition.js +4 -4
- package/lib/mol-plugin-ui/structure/superposition.js.map +1 -1
- package/lib/mol-plugin-ui/structure/volume.js +2 -2
- package/lib/mol-plugin-ui/structure/volume.js.map +1 -1
- package/lib/mol-repr/representation.d.ts +1 -0
- package/lib/mol-repr/representation.js +12 -6
- package/lib/mol-repr/representation.js.map +1 -1
- package/lib/mol-repr/shape/loci/angle.js +2 -2
- package/lib/mol-repr/shape/loci/angle.js.map +1 -1
- package/lib/mol-repr/shape/loci/dihedral.js +2 -2
- package/lib/mol-repr/shape/loci/dihedral.js.map +1 -1
- package/lib/mol-repr/shape/loci/distance.d.ts +1 -1
- package/lib/mol-repr/shape/loci/distance.js +2 -2
- package/lib/mol-repr/shape/loci/distance.js.map +1 -1
- package/lib/mol-repr/shape/loci/label.js +1 -1
- package/lib/mol-repr/shape/loci/label.js.map +1 -1
- package/lib/mol-repr/shape/loci/orientation.d.ts +6 -5
- package/lib/mol-repr/shape/loci/orientation.js +39 -53
- package/lib/mol-repr/shape/loci/orientation.js.map +1 -1
- package/lib/mol-repr/shape/loci/plane.d.ts +27 -0
- package/lib/mol-repr/shape/loci/plane.js +57 -0
- package/lib/mol-repr/shape/loci/plane.js.map +1 -0
- package/lib/mol-repr/shape/model/unitcell.d.ts +1 -1
- package/lib/mol-repr/structure/complex-visual.d.ts +6 -6
- package/lib/mol-repr/structure/params.d.ts +3 -3
- package/lib/mol-repr/structure/registry.d.ts +41 -30
- package/lib/mol-repr/structure/registry.js +1 -1
- package/lib/mol-repr/structure/registry.js.map +1 -1
- package/lib/mol-repr/structure/representation/backbone.d.ts +3 -3
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +21 -12
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +12 -3
- package/lib/mol-repr/structure/representation/cartoon.d.ts +6 -3
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +21 -12
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +9 -9
- package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -3
- package/lib/mol-repr/structure/representation/label.d.ts +6 -6
- package/lib/mol-repr/structure/representation/line.d.ts +18 -15
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +9 -9
- package/lib/mol-repr/structure/representation/orientation.d.ts +3 -3
- package/lib/mol-repr/structure/representation/point.d.ts +6 -6
- package/lib/mol-repr/structure/representation/putty.d.ts +3 -3
- package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -3
- package/lib/mol-repr/structure/units-representation.js +1 -1
- package/lib/mol-repr/structure/units-representation.js.map +1 -1
- package/lib/mol-repr/structure/units-visual.d.ts +9 -9
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +14 -8
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +6 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +1 -1
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +5 -4
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +1 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.js.map +1 -1
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +14 -8
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +6 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +1 -1
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +5 -4
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +1 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js.map +1 -1
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +4 -1
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +4 -1
- package/lib/mol-repr/structure/visual/element-cross.d.ts +1 -1
- package/lib/mol-repr/structure/visual/element-point.d.ts +2 -2
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -2
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -2
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -12
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/label-text.d.ts +2 -2
- package/lib/mol-repr/structure/visual/label-text.js +3 -3
- package/lib/mol-repr/structure/visual/label-text.js.map +1 -1
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -3
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.d.ts +35 -0
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.js +43 -0
- package/lib/mol-repr/structure/visual/orientation-axes-mesh.js.map +1 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.d.ts +31 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js +48 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js.map +1 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -2
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +4 -1
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.js +22 -15
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.js.map +1 -1
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.js +1 -1
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.js.map +1 -1
- package/lib/mol-repr/structure/visual/util/bond.d.ts +26 -18
- package/lib/mol-repr/structure/visual/util/bond.js +1 -1
- package/lib/mol-repr/structure/visual/util/bond.js.map +1 -1
- package/lib/mol-repr/structure/visual/util/color.d.ts +2 -2
- package/lib/mol-repr/structure/visual/util/common.d.ts +2 -2
- package/lib/mol-repr/structure/visual/util/link.d.ts +8 -0
- package/lib/mol-repr/structure/visual/util/link.js +37 -27
- package/lib/mol-repr/structure/visual/util/link.js.map +1 -1
- package/lib/mol-repr/structure/visual/util/orientation.d.ts +17 -0
- package/lib/mol-repr/structure/visual/util/orientation.js +71 -0
- package/lib/mol-repr/structure/visual/util/orientation.js.map +1 -0
- package/lib/mol-repr/volume/direct-volume.d.ts +2 -2
- package/lib/mol-repr/volume/isosurface.d.ts +3 -3
- package/lib/mol-repr/volume/registry.d.ts +3 -3
- package/lib/mol-repr/volume/registry.js +1 -1
- package/lib/mol-repr/volume/registry.js.map +1 -1
- package/lib/mol-repr/volume/slice.d.ts +6 -6
- package/lib/mol-script/language/builder.d.ts +0 -1
- package/lib/mol-script/language/expression-formatter.js +6 -6
- package/lib/mol-script/language/expression-formatter.js.map +1 -1
- package/lib/mol-script/language/helpers.js +4 -4
- package/lib/mol-script/language/helpers.js.map +1 -1
- package/lib/mol-script/language/parser.js +1 -1
- package/lib/mol-script/language/parser.js.map +1 -1
- package/lib/mol-script/language/symbol-table/structure-query.js +3 -3
- package/lib/mol-script/language/symbol-table/structure-query.js.map +1 -1
- package/lib/mol-script/language/symbol.js +1 -1
- package/lib/mol-script/language/symbol.js.map +1 -1
- package/lib/mol-script/runtime/query/base.js +2 -2
- package/lib/mol-script/runtime/query/base.js.map +1 -1
- package/lib/mol-script/script/mol-script/symbols.js +3 -3
- package/lib/mol-script/script/mol-script/symbols.js.map +1 -1
- package/lib/mol-state/state/builder.js +1 -1
- package/lib/mol-state/state/builder.js.map +1 -1
- package/lib/mol-state/state.js +7 -7
- package/lib/mol-state/state.js.map +1 -1
- package/lib/mol-state/transformer.js +3 -3
- package/lib/mol-state/transformer.js.map +1 -1
- package/lib/mol-state/tree/transient.js +3 -3
- package/lib/mol-state/tree/transient.js.map +1 -1
- package/lib/mol-task/execution/progress.js +4 -4
- package/lib/mol-task/execution/progress.js.map +1 -1
- package/lib/mol-task/task.js +1 -1
- package/lib/mol-task/task.js.map +1 -1
- package/lib/mol-task/util/multistep.js +1 -1
- package/lib/mol-task/util/multistep.js.map +1 -1
- package/lib/mol-task/util/user-timing.js +3 -3
- package/lib/mol-task/util/user-timing.js.map +1 -1
- package/lib/mol-theme/color/chain-id.js +1 -1
- package/lib/mol-theme/color/chain-id.js.map +1 -1
- package/lib/mol-theme/color/element-symbol.d.ts +4 -4
- package/lib/mol-theme/color/entity-id.js +1 -1
- package/lib/mol-theme/color/entity-id.js.map +1 -1
- package/lib/mol-theme/color/entity-source.js +4 -4
- package/lib/mol-theme/color/entity-source.js.map +1 -1
- package/lib/mol-theme/color/operator-hkl.js +2 -2
- package/lib/mol-theme/color/operator-hkl.js.map +1 -1
- package/lib/mol-theme/color.d.ts +2 -2
- package/lib/mol-theme/label.d.ts +1 -0
- package/lib/mol-theme/label.js +36 -27
- package/lib/mol-theme/label.js.map +1 -1
- package/lib/mol-theme/theme.js +3 -3
- package/lib/mol-theme/theme.js.map +1 -1
- package/lib/mol-util/assets.js +3 -3
- package/lib/mol-util/assets.js.map +1 -1
- package/lib/mol-util/color/color.js +2 -2
- package/lib/mol-util/color/color.js.map +1 -1
- package/lib/mol-util/color/lists.js +1 -1
- package/lib/mol-util/color/lists.js.map +1 -1
- package/lib/mol-util/color/palette.js +2 -2
- package/lib/mol-util/color/palette.js.map +1 -1
- package/lib/mol-util/color/scale.d.ts +1 -1
- package/lib/mol-util/console-logger.js +9 -9
- package/lib/mol-util/console-logger.js.map +1 -1
- package/lib/mol-util/data-source.js +5 -5
- package/lib/mol-util/data-source.js.map +1 -1
- package/lib/mol-util/download.js +1 -1
- package/lib/mol-util/download.js.map +1 -1
- package/lib/mol-util/graphql-client.js +2 -2
- package/lib/mol-util/graphql-client.js.map +1 -1
- package/lib/mol-util/index.js +2 -2
- package/lib/mol-util/index.js.map +1 -1
- package/lib/mol-util/monadic-parser.js +4 -4
- package/lib/mol-util/monadic-parser.js.map +1 -1
- package/lib/mol-util/now.js +4 -4
- package/lib/mol-util/now.js.map +1 -1
- package/lib/mol-util/object.js +1 -1
- package/lib/mol-util/object.js.map +1 -1
- package/lib/mol-util/performance-monitor.js +4 -4
- package/lib/mol-util/performance-monitor.js.map +1 -1
- package/lib/mol-util/string.js +3 -3
- package/lib/mol-util/string.js.map +1 -1
- package/lib/mol-util/url.js +2 -2
- package/lib/mol-util/url.js.map +1 -1
- package/lib/mol-util/zip/deflate.js +1 -1
- package/lib/mol-util/zip/deflate.js.map +1 -1
- package/lib/mol-util/zip/inflate.js +1 -1
- package/lib/mol-util/zip/inflate.js.map +1 -1
- package/lib/mol-util/zip/zip.js +1 -1
- package/lib/mol-util/zip/zip.js.map +1 -1
- package/lib/perf-tests/mol-script.js +1 -1
- package/lib/perf-tests/mol-script.js.map +1 -1
- package/lib/perf-tests/sets.js +1 -1
- package/lib/perf-tests/sets.js.map +1 -1
- package/lib/perf-tests/sort.js +1 -1
- package/lib/perf-tests/sort.js.map +1 -1
- package/lib/perf-tests/string-builder.js +2 -2
- package/lib/perf-tests/string-builder.js.map +1 -1
- package/lib/perf-tests/structure.js +7 -7
- package/lib/perf-tests/structure.js.map +1 -1
- package/lib/perf-tests/test-xtc.js +1 -1
- package/lib/perf-tests/test-xtc.js.map +1 -1
- package/lib/servers/common/file-handle.js +1 -1
- package/lib/servers/common/file-handle.js.map +1 -1
- package/lib/servers/common/util.js +1 -1
- package/lib/servers/common/util.js.map +1 -1
- package/lib/servers/model/config.d.ts +2 -2
- package/lib/servers/model/config.js +4 -4
- package/lib/servers/model/config.js.map +1 -1
- package/lib/servers/model/preprocess/master.js +1 -1
- package/lib/servers/model/preprocess/master.js.map +1 -1
- package/lib/servers/model/preprocess/parallel.js +2 -2
- package/lib/servers/model/preprocess/parallel.js.map +1 -1
- package/lib/servers/model/preprocess/util.js +3 -3
- package/lib/servers/model/preprocess/util.js.map +1 -1
- package/lib/servers/model/properties/providers/pdbe.js +5 -5
- package/lib/servers/model/properties/providers/pdbe.js.map +1 -1
- package/lib/servers/model/property-provider.js +2 -2
- package/lib/servers/model/property-provider.js.map +1 -1
- package/lib/servers/model/query.js +1 -1
- package/lib/servers/model/query.js.map +1 -1
- package/lib/servers/model/server/api-local.js +2 -2
- package/lib/servers/model/server/api-local.js.map +1 -1
- package/lib/servers/model/server/api-schema.js +2 -2
- package/lib/servers/model/server/api-schema.js.map +1 -1
- package/lib/servers/model/server/api-web-multiple.js +1 -1
- package/lib/servers/model/server/api-web-multiple.js.map +1 -1
- package/lib/servers/model/server/api-web.js +4 -4
- package/lib/servers/model/server/api-web.js.map +1 -1
- package/lib/servers/model/server/api.js +1 -1
- package/lib/servers/model/server/api.js.map +1 -1
- package/lib/servers/model/server/cache.js +3 -3
- package/lib/servers/model/server/cache.js.map +1 -1
- package/lib/servers/model/server/jobs.js +3 -3
- package/lib/servers/model/server/jobs.js.map +1 -1
- package/lib/servers/model/server/query.js +10 -10
- package/lib/servers/model/server/query.js.map +1 -1
- package/lib/servers/model/server/structure-wrapper.js +6 -6
- package/lib/servers/model/server/structure-wrapper.js.map +1 -1
- package/lib/servers/model/server.js +3 -3
- package/lib/servers/model/server.js.map +1 -1
- package/lib/servers/model/utils/fetch-props-pdbe.js +4 -4
- package/lib/servers/model/utils/fetch-props-pdbe.js.map +1 -1
- package/lib/servers/model/utils/writer.js +2 -2
- package/lib/servers/model/utils/writer.js.map +1 -1
- package/lib/servers/plugin-state/api-schema.js +2 -2
- package/lib/servers/plugin-state/api-schema.js.map +1 -1
- package/lib/servers/plugin-state/index.js +1 -1
- package/lib/servers/plugin-state/index.js.map +1 -1
- package/lib/servers/volume/pack/format/dsn6.js +1 -1
- package/lib/servers/volume/pack/format/dsn6.js.map +1 -1
- package/lib/servers/volume/pack/main.js +4 -4
- package/lib/servers/volume/pack/main.js.map +1 -1
- package/lib/servers/volume/pack/writer.js +1 -1
- package/lib/servers/volume/pack/writer.js.map +1 -1
- package/lib/servers/volume/pack.js +1 -1
- package/lib/servers/volume/pack.js.map +1 -1
- package/lib/servers/volume/server/api.js +7 -7
- package/lib/servers/volume/server/api.js.map +1 -1
- package/lib/servers/volume/server/local-api.js +1 -1
- package/lib/servers/volume/server/local-api.js.map +1 -1
- package/lib/servers/volume/server/query/encode.js +3 -3
- package/lib/servers/volume/server/query/encode.js.map +1 -1
- package/lib/servers/volume/server/query/execute.js +5 -5
- package/lib/servers/volume/server/query/execute.js.map +1 -1
- package/lib/servers/volume/server/version.js +1 -1
- package/lib/servers/volume/server/version.js.map +1 -1
- package/lib/servers/volume/server/web-api.js +7 -7
- package/lib/servers/volume/server/web-api.js.map +1 -1
- package/lib/servers/volume/server/web-schema.js +6 -6
- package/lib/servers/volume/server/web-schema.js.map +1 -1
- package/lib/servers/volume/server.js +2 -2
- package/lib/servers/volume/server.js.map +1 -1
- package/lib/tests/browser/font-atlas.js +1 -1
- package/lib/tests/browser/font-atlas.js.map +1 -1
- package/lib/tests/browser/index.html +36 -36
- package/lib/tests/browser/render-shape.js +1 -1
- package/lib/tests/browser/render-shape.js.map +1 -1
- package/lib/tests/browser/render-structure.js +1 -1
- package/lib/tests/browser/render-structure.js.map +1 -1
- package/lib/tsconfig.commonjs.tsbuildinfo +1 -1
- package/package.json +158 -155
- package/CHANGELOG.md +0 -181
- package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.d.ts +0 -1
- package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.js +0 -5
- package/lib/commonjs/mol-gl/shader/chunks/wboit-params.glsl.js.map +0 -1
- package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.d.ts +0 -6
- package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.js +0 -40
- package/lib/commonjs/mol-model/structure/model/properties/utils/guess-element.js.map +0 -1
- package/lib/commonjs/mol-repr/structure/visual/aromatic-ring-mesh.js +0 -3
- package/lib/commonjs/mol-repr/structure/visual/aromatic-ring-mesh.js.map +0 -1
- package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.d.ts +0 -37
- package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.js +0 -116
- package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone-iterator.js.map +0 -1
- package/lib/commonjs/mol-script/util/residue-list.d.ts +0 -7
- package/lib/commonjs/mol-script/util/residue-list.js +0 -63
- package/lib/commonjs/mol-script/util/residue-list.js.map +0 -1
- package/lib/mol-gl/shader/chunks/wboit-params.glsl.d.ts +0 -1
- package/lib/mol-gl/shader/chunks/wboit-params.glsl.js +0 -2
- package/lib/mol-gl/shader/chunks/wboit-params.glsl.js.map +0 -1
- package/lib/mol-model/structure/model/properties/utils/guess-element.d.ts +0 -6
- package/lib/mol-model/structure/model/properties/utils/guess-element.js +0 -36
- package/lib/mol-model/structure/model/properties/utils/guess-element.js.map +0 -1
- package/lib/mol-model-formats/structure/mol copy.d.ts +0 -17
- package/lib/mol-model-formats/structure/mol copy.js +0 -86
- package/lib/mol-model-formats/structure/mol copy.js.map +0 -1
- package/lib/mol-repr/structure/visual/aromatic-ring-mesh.d.ts +0 -0
- package/lib/mol-repr/structure/visual/aromatic-ring-mesh.js +0 -3
- package/lib/mol-repr/structure/visual/aromatic-ring-mesh.js.map +0 -1
- package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.d.ts +0 -37
- package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.js +0 -112
- package/lib/mol-repr/structure/visual/util/polymer/backbone-iterator.js.map +0 -1
- package/lib/mol-script/util/residue-list.d.ts +0 -7
- package/lib/mol-script/util/residue-list.js +0 -59
- package/lib/mol-script/util/residue-list.js.map +0 -1
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
|
-
*
|
|
5
|
-
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.CoarsePolymerBackboneIterator = exports.AtomicPolymerBackboneIterator = exports.PolymerBackboneIterator = void 0;
|
|
9
|
-
var structure_1 = require("../../../../../mol-model/structure");
|
|
10
|
-
var int_1 = require("../../../../../mol-data/int");
|
|
11
|
-
var sorted_ranges_1 = require("../../../../../mol-data/int/sorted-ranges");
|
|
12
|
-
var polymer_1 = require("../polymer");
|
|
13
|
-
/** Iterates over consecutive pairs of residues/coarse elements in polymers */
|
|
14
|
-
function PolymerBackboneIterator(structure, unit) {
|
|
15
|
-
switch (unit.kind) {
|
|
16
|
-
case 0 /* Atomic */: return new AtomicPolymerBackboneIterator(structure, unit);
|
|
17
|
-
case 1 /* Spheres */:
|
|
18
|
-
case 2 /* Gaussians */:
|
|
19
|
-
return new CoarsePolymerBackboneIterator(structure, unit);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.PolymerBackboneIterator = PolymerBackboneIterator;
|
|
23
|
-
function createPolymerBackbonePair(structure, unit) {
|
|
24
|
-
return {
|
|
25
|
-
centerA: structure_1.StructureElement.Location.create(structure, unit),
|
|
26
|
-
centerB: structure_1.StructureElement.Location.create(structure, unit),
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
var AtomicPolymerBackboneIterator = /** @class */ (function () {
|
|
30
|
-
function AtomicPolymerBackboneIterator(structure, unit) {
|
|
31
|
-
this.unit = unit;
|
|
32
|
-
this.state = 0 /* nextPolymer */;
|
|
33
|
-
this.hasNext = false;
|
|
34
|
-
this.traceElementIndex = unit.model.atomicHierarchy.derived.residue.traceElementIndex; // can assume it won't be -1 for polymer residues
|
|
35
|
-
this.polymerIt = sorted_ranges_1.SortedRanges.transientSegments(polymer_1.getPolymerRanges(unit), unit.elements);
|
|
36
|
-
this.residueIt = int_1.Segmentation.transientSegments(unit.model.atomicHierarchy.residueAtomSegments, unit.elements);
|
|
37
|
-
this.value = createPolymerBackbonePair(structure, unit);
|
|
38
|
-
this.hasNext = this.residueIt.hasNext && this.polymerIt.hasNext;
|
|
39
|
-
}
|
|
40
|
-
AtomicPolymerBackboneIterator.prototype.move = function () {
|
|
41
|
-
if (this.state === 0 /* nextPolymer */) {
|
|
42
|
-
while (this.polymerIt.hasNext) {
|
|
43
|
-
this.residueIt.setSegment(this.polymerIt.move());
|
|
44
|
-
if (this.residueIt.hasNext) {
|
|
45
|
-
this.residueSegment = this.residueIt.move();
|
|
46
|
-
this.value.centerB.element = this.traceElementIndex[this.residueSegment.index];
|
|
47
|
-
this.state = 2 /* nextResidue */;
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
if (this.state === 2 /* nextResidue */) {
|
|
53
|
-
this.residueSegment = this.residueIt.move();
|
|
54
|
-
this.value.centerA.element = this.value.centerB.element;
|
|
55
|
-
this.value.centerB.element = this.traceElementIndex[this.residueSegment.index];
|
|
56
|
-
if (!this.residueIt.hasNext) {
|
|
57
|
-
if (this.unit.model.atomicRanges.cyclicPolymerMap.has(this.residueSegment.index)) {
|
|
58
|
-
this.state = 3 /* cycle */;
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
// TODO need to advance to a polymer that has two or more residues (can't assume it has)
|
|
62
|
-
this.state = 0 /* nextPolymer */;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
else if (this.state === 3 /* cycle */) {
|
|
67
|
-
var cyclicPolymerMap = this.unit.model.atomicRanges.cyclicPolymerMap;
|
|
68
|
-
this.value.centerA.element = this.value.centerB.element;
|
|
69
|
-
this.value.centerB.element = this.traceElementIndex[cyclicPolymerMap.get(this.residueSegment.index)];
|
|
70
|
-
// TODO need to advance to a polymer that has two or more residues (can't assume it has)
|
|
71
|
-
this.state = 0 /* nextPolymer */;
|
|
72
|
-
}
|
|
73
|
-
this.hasNext = this.residueIt.hasNext || this.polymerIt.hasNext || this.state === 3 /* cycle */;
|
|
74
|
-
return this.value;
|
|
75
|
-
};
|
|
76
|
-
return AtomicPolymerBackboneIterator;
|
|
77
|
-
}());
|
|
78
|
-
exports.AtomicPolymerBackboneIterator = AtomicPolymerBackboneIterator;
|
|
79
|
-
var CoarsePolymerBackboneIterator = /** @class */ (function () {
|
|
80
|
-
function CoarsePolymerBackboneIterator(structure, unit) {
|
|
81
|
-
this.unit = unit;
|
|
82
|
-
this.state = 0 /* nextPolymer */;
|
|
83
|
-
this.hasNext = false;
|
|
84
|
-
this.polymerIt = sorted_ranges_1.SortedRanges.transientSegments(polymer_1.getPolymerRanges(unit), unit.elements);
|
|
85
|
-
this.value = createPolymerBackbonePair(structure, unit);
|
|
86
|
-
this.hasNext = this.polymerIt.hasNext;
|
|
87
|
-
}
|
|
88
|
-
CoarsePolymerBackboneIterator.prototype.move = function () {
|
|
89
|
-
if (this.state === 0 /* nextPolymer */) {
|
|
90
|
-
if (this.polymerIt.hasNext) {
|
|
91
|
-
this.polymerSegment = this.polymerIt.move();
|
|
92
|
-
this.elementIndex = this.polymerSegment.start;
|
|
93
|
-
if (this.elementIndex + 1 < this.polymerSegment.end) {
|
|
94
|
-
this.value.centerB.element = this.unit.elements[this.elementIndex];
|
|
95
|
-
this.state = 1 /* nextElement */;
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
this.state = 0 /* nextPolymer */;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
if (this.state === 1 /* nextElement */) {
|
|
103
|
-
this.elementIndex += 1;
|
|
104
|
-
this.value.centerA.element = this.value.centerB.element;
|
|
105
|
-
this.value.centerB.element = this.unit.elements[this.elementIndex];
|
|
106
|
-
if (this.elementIndex + 1 >= this.polymerSegment.end) {
|
|
107
|
-
this.state = 0 /* nextPolymer */;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
this.hasNext = this.elementIndex + 1 < this.polymerSegment.end || this.polymerIt.hasNext;
|
|
111
|
-
return this.value;
|
|
112
|
-
};
|
|
113
|
-
return CoarsePolymerBackboneIterator;
|
|
114
|
-
}());
|
|
115
|
-
exports.CoarsePolymerBackboneIterator = CoarsePolymerBackboneIterator;
|
|
116
|
-
//# sourceMappingURL=backbone-iterator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backbone-iterator.js","sourceRoot":"","sources":["../../../../../../../src/mol-repr/structure/visual/util/polymer/backbone-iterator.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,gEAAmH;AACnH,mDAA2D;AAE3D,2EAAyE;AACzE,sCAA8C;AAE9C,8EAA8E;AAC9E,SAAgB,uBAAuB,CAAC,SAAoB,EAAE,IAAU;IACpE,QAAQ,IAAI,CAAC,IAAI,EAAE;QACf,mBAAqB,CAAC,CAAC,OAAO,IAAI,6BAA6B,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QACjF,qBAAuB;QACvB;YACI,OAAO,IAAI,6BAA6B,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;KACjE;AACL,CAAC;AAPD,0DAOC;AAOD,SAAS,yBAAyB,CAAE,SAAoB,EAAE,IAAU;IAChE,OAAO;QACH,OAAO,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K,sBAAiD,CAAC;iBAC/D;aACJ;SACJ;QAED,IAAI,IAAI,CAAC,KAAK,wBAAmD,EAAE;YAC/D,IAAI,CAAC,YAAY,IAAI,CAAC,CAAC;YACvB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;YACxD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACnE,IAAI,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,GAAG,EAAE;gBAClD,IAAI,CAAC,KAAK,sBAAiD,CAAC;aAC/D;SACJ;QAED,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;QACzF,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAOL,oCAAC;AAAD,CAAC,AAxCD,IAwCC;AAxCY,sEAA6B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
-
*
|
|
4
|
-
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
import { StructureQuery } from '../../mol-model/structure/query';
|
|
7
|
-
export declare function compileResidueListSelection(input: string, idType: 'auth' | 'label'): StructureQuery;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
|
-
*
|
|
5
|
-
* @author David Sehnal <david.sehnal@gmail.com>
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.compileResidueListSelection = void 0;
|
|
9
|
-
var builder_1 = require("../language/builder");
|
|
10
|
-
var base_1 = require("../runtime/query/base");
|
|
11
|
-
function entriesToQuery(xs, kind) {
|
|
12
|
-
var _a;
|
|
13
|
-
var groups = [];
|
|
14
|
-
var asym_id_key = kind === 'auth' ? 'auth_asym_id' : 'label_asym_id';
|
|
15
|
-
var seq_id_key = kind === 'auth' ? 'auth_seq_id' : 'label_seq_id';
|
|
16
|
-
for (var _i = 0, xs_1 = xs; _i < xs_1.length; _i++) {
|
|
17
|
-
var x = xs_1[_i];
|
|
18
|
-
if (x.kind === 'range') {
|
|
19
|
-
groups.push(builder_1.MolScriptBuilder.struct.generator.atomGroups({
|
|
20
|
-
'chain-test': builder_1.MolScriptBuilder.core.rel.eq([builder_1.MolScriptBuilder.ammp(asym_id_key), x.asym_id]),
|
|
21
|
-
'residue-test': builder_1.MolScriptBuilder.core.rel.inRange([builder_1.MolScriptBuilder.ammp(seq_id_key), x.seq_id_beg, x.seq_id_end])
|
|
22
|
-
}));
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
var ins_code = ((_a = x.ins_code) !== null && _a !== void 0 ? _a : '').trim();
|
|
26
|
-
groups.push(builder_1.MolScriptBuilder.struct.generator.atomGroups({
|
|
27
|
-
'chain-test': builder_1.MolScriptBuilder.core.rel.eq([builder_1.MolScriptBuilder.ammp(asym_id_key), x.asym_id]),
|
|
28
|
-
'residue-test': builder_1.MolScriptBuilder.core.logic.and([
|
|
29
|
-
builder_1.MolScriptBuilder.core.rel.eq([builder_1.MolScriptBuilder.ammp(seq_id_key), x.seq_id]),
|
|
30
|
-
builder_1.MolScriptBuilder.core.rel.eq([builder_1.MolScriptBuilder.ammp('pdbx_PDB_ins_code'), ins_code])
|
|
31
|
-
])
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
var query = builder_1.MolScriptBuilder.struct.combinator.merge(groups);
|
|
36
|
-
return base_1.compile(query);
|
|
37
|
-
}
|
|
38
|
-
function parseRange(c, s, e) {
|
|
39
|
-
if (!c || s.length === 0 || Number.isNaN(+s[0]))
|
|
40
|
-
return;
|
|
41
|
-
if (Number.isNaN(e)) {
|
|
42
|
-
return { kind: 'single', asym_id: c, seq_id: +s[0], ins_code: s[1] };
|
|
43
|
-
}
|
|
44
|
-
return { kind: 'range', asym_id: c, seq_id_beg: +s[0], seq_id_end: e };
|
|
45
|
-
}
|
|
46
|
-
function parseInsCode(e) {
|
|
47
|
-
if (!e)
|
|
48
|
-
return [];
|
|
49
|
-
return e.split(':');
|
|
50
|
-
}
|
|
51
|
-
function parseResidueListSelection(input) {
|
|
52
|
-
return input.split(',') // A 1-3, B 3 => [A 1-3, B 3]
|
|
53
|
-
.map(function (e) { return e.trim().split(/\s+|[-]/g).filter(function (e) { return !!e; }); }) // [A 1-3, B 3] => [[A, 1, 3], [B, 3]]
|
|
54
|
-
.map(function (e) { return parseRange(e[0], parseInsCode(e[1]), +e[2]); })
|
|
55
|
-
.filter(function (e) { return !!e; });
|
|
56
|
-
}
|
|
57
|
-
// parses a list of residue ranges, e.g. A 10-100, B 30, C 12:i
|
|
58
|
-
function compileResidueListSelection(input, idType) {
|
|
59
|
-
var entries = parseResidueListSelection(input);
|
|
60
|
-
return entriesToQuery(entries, idType);
|
|
61
|
-
}
|
|
62
|
-
exports.compileResidueListSelection = compileResidueListSelection;
|
|
63
|
-
//# sourceMappingURL=residue-list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"residue-list.js","sourceRoot":"","sources":["../../../../src/mol-script/util/residue-list.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH,+CAA6D;AAC7D,8CAAgD;AAQhD,SAAS,cAAc,CAAC,EAA+B,EAAE,IAAsB;;IAC3E,IAAM,MAAM,GAAiB,EAAE,CAAC;IAEhC,IAAM,WAAW,GAAG,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,cAAuB,CAAC,CA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,MAAM,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,CAAC,EAAH,CAAG,CAAC,EAA3C,CAA2C,CAAC,CAAC,sCAAsC;SAC5F,GAAG,CAAC,UAAA,CAAC,IAAI,OAAA,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAA3C,CAA2C,CAAC;SACrD,MAAM,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,CAAC,EAAH,CAAG,CAAgC,CAAC;AACzD,CAAC;AAED,+DAA+D;AAC/D,SAAgB,2BAA2B,CAAC,KAAa,EAAE,MAAwB;IAC/E,IAAM,OAAO,GAAG,yBAAyB,CAAC,KAAK,CAAC,CAAC;IACjD,OAAO,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAC3C,CAAC;AAHD,kEAGC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const wboit_params = "\n#if defined(dRenderVariant_colorWboit)\n #if !defined(dRenderMode_volume) && !defined(dRenderMode_isosurface)\n uniform sampler2D tDepth;\n uniform vec2 uDrawingBufferSize;\n\n float getDepth(const in vec2 coords) {\n // always packed due to merged depth from primitives and volumes\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n }\n #endif\n#endif\n\nuniform bool uRenderWboit;\n\nfloat calcDepth(const in vec3 pos) {\n vec2 clipZW = pos.z * uProjection[2].zw + uProjection[3].zw;\n return 0.5 + 0.5 * clipZW.x / clipZW.y;\n}\n";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export var wboit_params = "\n#if defined(dRenderVariant_colorWboit)\n #if !defined(dRenderMode_volume) && !defined(dRenderMode_isosurface)\n uniform sampler2D tDepth;\n uniform vec2 uDrawingBufferSize;\n\n float getDepth(const in vec2 coords) {\n // always packed due to merged depth from primitives and volumes\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n }\n #endif\n#endif\n\nuniform bool uRenderWboit;\n\nfloat calcDepth(const in vec3 pos) {\n vec2 clipZW = pos.z * uProjection[2].zw + uProjection[3].zw;\n return 0.5 + 0.5 * clipZW.x / clipZW.y;\n}\n";
|
|
2
|
-
//# sourceMappingURL=wboit-params.glsl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wboit-params.glsl.js","sourceRoot":"","sources":["../../../../src/mol-gl/shader/chunks/wboit-params.glsl.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,YAAY,GAAG,4lBAmB3B,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
-
*
|
|
4
|
-
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
|
-
*/
|
|
6
|
-
var elm1 = ['H', 'C', 'O', 'N', 'S', 'P'];
|
|
7
|
-
var elm2 = ['NA', 'CL', 'FE'];
|
|
8
|
-
function charAtIsNumber(str, index) {
|
|
9
|
-
var code = str.charCodeAt(index);
|
|
10
|
-
return code >= 48 && code <= 57;
|
|
11
|
-
}
|
|
12
|
-
export function guessElement(str) {
|
|
13
|
-
var at = str.trim().toUpperCase();
|
|
14
|
-
if (charAtIsNumber(at, 0))
|
|
15
|
-
at = at.substr(1);
|
|
16
|
-
// parse again to check for a second integer
|
|
17
|
-
if (charAtIsNumber(at, 0))
|
|
18
|
-
at = at.substr(1);
|
|
19
|
-
var n = at.length;
|
|
20
|
-
if (n === 0)
|
|
21
|
-
return '';
|
|
22
|
-
if (n === 1)
|
|
23
|
-
return at;
|
|
24
|
-
if (n === 2) {
|
|
25
|
-
if (elm2.indexOf(at) !== -1)
|
|
26
|
-
return at;
|
|
27
|
-
if (elm1.indexOf(at[0]) !== -1)
|
|
28
|
-
return at[0];
|
|
29
|
-
}
|
|
30
|
-
if (n >= 3) {
|
|
31
|
-
if (elm1.indexOf(at[0]) !== -1)
|
|
32
|
-
return at[0];
|
|
33
|
-
}
|
|
34
|
-
return '';
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=guess-element.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"guess-element.js","sourceRoot":"","sources":["../../../../../../src/mol-model/structure/model/properties/utils/guess-element.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,IAAM,IAAI,GAAG,CAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAE,CAAC;AAC9C,IAAM,IAAI,GAAG,CAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAE,CAAC;AAElC,SAAS,cAAc,CAAC,GAAW,EAAE,KAAa;IAC9C,IAAM,IAAI,GAAG,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACnC,OAAO,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,GAAW;IACpC,IAAI,EAAE,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAElC,IAAI,cAAc,CAAC,EAAE,EAAE,CAAC,CAAC;QAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7C,4CAA4C;IAC5C,IAAI,cAAc,CAAC,EAAE,EAAE,CAAC,CAAC;QAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7C,IAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAEpB,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACvB,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACvB,IAAI,CAAC,KAAK,CAAC,EAAE;QACT,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QACvC,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;KAChD;IACD,IAAI,CAAC,IAAI,CAAC,EAAE;QACR,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;KAChD;IACD,OAAO,EAAE,CAAC;AACd,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
-
*
|
|
4
|
-
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
|
-
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
|
-
*/
|
|
7
|
-
import { MolFile } from '../../mol-io/reader/mol/parser';
|
|
8
|
-
import { Task } from '../../mol-task';
|
|
9
|
-
import { ModelFormat } from '../format';
|
|
10
|
-
import { Trajectory } from '../../mol-model/structure';
|
|
11
|
-
export { MolFormat };
|
|
12
|
-
declare type MolFormat = ModelFormat<MolFile>;
|
|
13
|
-
declare namespace MolFormat {
|
|
14
|
-
function is(x?: ModelFormat): x is MolFormat;
|
|
15
|
-
function create(mol: MolFile): MolFormat;
|
|
16
|
-
}
|
|
17
|
-
export declare function trajectoryFromMol(mol: MolFile): Task<Trajectory>;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
-
*
|
|
4
|
-
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
|
-
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
|
-
*/
|
|
7
|
-
import { __awaiter, __generator } from "tslib";
|
|
8
|
-
import { Column, Table } from '../../mol-data/db';
|
|
9
|
-
import { Task } from '../../mol-task';
|
|
10
|
-
import { createModels } from './basic/parser';
|
|
11
|
-
import { BasicSchema, createBasic } from './basic/schema';
|
|
12
|
-
import { ComponentBuilder } from './common/component';
|
|
13
|
-
import { EntityBuilder } from './common/entity';
|
|
14
|
-
import { IndexPairBonds } from './property/bonds/index-pair';
|
|
15
|
-
function getModels(mol, ctx) {
|
|
16
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
17
|
-
var atoms, bonds, MOL, A, type_symbol, seq_id, atom_site, entityBuilder, componentBuilder, basics, models, indexA, indexB, order, pairBonds;
|
|
18
|
-
return __generator(this, function (_a) {
|
|
19
|
-
switch (_a.label) {
|
|
20
|
-
case 0:
|
|
21
|
-
atoms = mol.atoms, bonds = mol.bonds;
|
|
22
|
-
MOL = Column.ofConst('MOL', mol.atoms.count, Column.Schema.str);
|
|
23
|
-
A = Column.ofConst('A', mol.atoms.count, Column.Schema.str);
|
|
24
|
-
type_symbol = Column.asArrayColumn(atoms.type_symbol);
|
|
25
|
-
seq_id = Column.ofConst(1, atoms.count, Column.Schema.int);
|
|
26
|
-
atom_site = Table.ofPartialColumns(BasicSchema.atom_site, {
|
|
27
|
-
auth_asym_id: A,
|
|
28
|
-
auth_atom_id: type_symbol,
|
|
29
|
-
auth_comp_id: MOL,
|
|
30
|
-
auth_seq_id: seq_id,
|
|
31
|
-
Cartn_x: Column.asArrayColumn(atoms.x, Float32Array),
|
|
32
|
-
Cartn_y: Column.asArrayColumn(atoms.y, Float32Array),
|
|
33
|
-
Cartn_z: Column.asArrayColumn(atoms.z, Float32Array),
|
|
34
|
-
id: Column.range(0, atoms.count - 1),
|
|
35
|
-
label_asym_id: A,
|
|
36
|
-
label_atom_id: type_symbol,
|
|
37
|
-
label_comp_id: MOL,
|
|
38
|
-
label_seq_id: seq_id,
|
|
39
|
-
label_entity_id: Column.ofConst('1', atoms.count, Column.Schema.str),
|
|
40
|
-
occupancy: Column.ofConst(1, atoms.count, Column.Schema.float),
|
|
41
|
-
type_symbol: type_symbol,
|
|
42
|
-
pdbx_PDB_model_num: Column.ofConst(1, atoms.count, Column.Schema.int),
|
|
43
|
-
}, atoms.count);
|
|
44
|
-
entityBuilder = new EntityBuilder();
|
|
45
|
-
entityBuilder.setNames([['MOL', 'Unknown Entity']]);
|
|
46
|
-
entityBuilder.getEntityId('MOL', 0 /* Unknown */, 'A');
|
|
47
|
-
componentBuilder = new ComponentBuilder(seq_id, type_symbol);
|
|
48
|
-
componentBuilder.setNames([['MOL', 'Unknown Molecule']]);
|
|
49
|
-
componentBuilder.add('MOL', 0);
|
|
50
|
-
basics = createBasic({
|
|
51
|
-
entity: entityBuilder.getEntityTable(),
|
|
52
|
-
chem_comp: componentBuilder.getChemCompTable(),
|
|
53
|
-
atom_site: atom_site
|
|
54
|
-
});
|
|
55
|
-
return [4 /*yield*/, createModels(basics, MolFormat.create(mol), ctx)];
|
|
56
|
-
case 1:
|
|
57
|
-
models = _a.sent();
|
|
58
|
-
if (models.frameCount > 0) {
|
|
59
|
-
indexA = Column.ofIntArray(Column.mapToArray(bonds.atomIdxA, function (x) { return x - 1; }, Int32Array));
|
|
60
|
-
indexB = Column.ofIntArray(Column.mapToArray(bonds.atomIdxB, function (x) { return x - 1; }, Int32Array));
|
|
61
|
-
order = Column.asArrayColumn(bonds.order, Int32Array);
|
|
62
|
-
pairBonds = IndexPairBonds.fromData({ pairs: { indexA: indexA, indexB: indexB, order: order }, count: atoms.count });
|
|
63
|
-
IndexPairBonds.Provider.set(models.representative, pairBonds);
|
|
64
|
-
}
|
|
65
|
-
return [2 /*return*/, models];
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
//
|
|
71
|
-
export { MolFormat };
|
|
72
|
-
var MolFormat;
|
|
73
|
-
(function (MolFormat) {
|
|
74
|
-
function is(x) {
|
|
75
|
-
return (x === null || x === void 0 ? void 0 : x.kind) === 'mol';
|
|
76
|
-
}
|
|
77
|
-
MolFormat.is = is;
|
|
78
|
-
function create(mol) {
|
|
79
|
-
return { kind: 'mol', name: mol.title, data: mol };
|
|
80
|
-
}
|
|
81
|
-
MolFormat.create = create;
|
|
82
|
-
})(MolFormat || (MolFormat = {}));
|
|
83
|
-
export function trajectoryFromMol(mol) {
|
|
84
|
-
return Task.create('Parse MOL', function (ctx) { return getModels(mol, ctx); });
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=mol%20copy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mol copy.js","sourceRoot":"","sources":["../../../src/mol-model-formats/structure/mol copy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAGlD,OAAO,EAAkB,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,SAAe,SAAS,CAAC,GAAY,EAAE,GAAmB;;;;;;oBAC9C,KAAK,GAAY,GAAG,MAAf,EAAE,KAAK,GAAK,GAAG,MAAR,CAAS;oBAEvB,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;oBAChE,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;oBAC5D,WAAW,GAAG,MAAM,CAAC,aAAa,C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AE,MAAM,QAAA,EAAE,KAAK,OAAA,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;wBACpG,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;qBACjE;oBAED,sBAAO,MAAM,EAAC;;;;CACjB;AAED,EAAE;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC;AAIrB,IAAU,SAAS,CAQlB;AARD,WAAU,SAAS;IACf,SAAgB,EAAE,CAAC,CAAe;QAC9B,OAAO,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,IAAI,MAAK,KAAK,CAAC;IAC7B,CAAC;IAFe,YAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,GAAY;QAC/B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC;IACvD,CAAC;IAFe,gBAAM,SAErB,CAAA;AACL,CAAC,EARS,SAAS,KAAT,SAAS,QAQlB;AAED,MAAM,UAAU,iBAAiB,CAAC,GAAY;IAC1C,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,UAAA,GAAG,IAAI,OAAA,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,EAAnB,CAAmB,CAAC,CAAC;AAChE,CAAC"}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aromatic-ring-mesh.js","sourceRoot":"","sources":["../../../../src/mol-repr/structure/visual/aromatic-ring-mesh.ts"],"names":[],"mappings":";AAAA,OAAO"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
-
*
|
|
4
|
-
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
|
-
*/
|
|
6
|
-
import { Unit, Structure, StructureElement } from '../../../../../mol-model/structure';
|
|
7
|
-
import { Iterator } from '../../../../../mol-data/iterator';
|
|
8
|
-
/** Iterates over consecutive pairs of residues/coarse elements in polymers */
|
|
9
|
-
export declare function PolymerBackboneIterator(structure: Structure, unit: Unit): Iterator<PolymerBackbonePair>;
|
|
10
|
-
interface PolymerBackbonePair {
|
|
11
|
-
centerA: StructureElement.Location;
|
|
12
|
-
centerB: StructureElement.Location;
|
|
13
|
-
}
|
|
14
|
-
export declare class AtomicPolymerBackboneIterator implements Iterator<PolymerBackbonePair> {
|
|
15
|
-
private unit;
|
|
16
|
-
private traceElementIndex;
|
|
17
|
-
private value;
|
|
18
|
-
private polymerIt;
|
|
19
|
-
private residueIt;
|
|
20
|
-
private state;
|
|
21
|
-
private residueSegment;
|
|
22
|
-
hasNext: boolean;
|
|
23
|
-
move(): PolymerBackbonePair;
|
|
24
|
-
constructor(structure: Structure, unit: Unit.Atomic);
|
|
25
|
-
}
|
|
26
|
-
export declare class CoarsePolymerBackboneIterator implements Iterator<PolymerBackbonePair> {
|
|
27
|
-
private unit;
|
|
28
|
-
private value;
|
|
29
|
-
private polymerIt;
|
|
30
|
-
private polymerSegment;
|
|
31
|
-
private state;
|
|
32
|
-
private elementIndex;
|
|
33
|
-
hasNext: boolean;
|
|
34
|
-
move(): PolymerBackbonePair;
|
|
35
|
-
constructor(structure: Structure, unit: Unit.Spheres | Unit.Gaussians);
|
|
36
|
-
}
|
|
37
|
-
export {};
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
-
*
|
|
4
|
-
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
|
-
*/
|
|
6
|
-
import { StructureElement } from '../../../../../mol-model/structure';
|
|
7
|
-
import { Segmentation } from '../../../../../mol-data/int';
|
|
8
|
-
import { SortedRanges } from '../../../../../mol-data/int/sorted-ranges';
|
|
9
|
-
import { getPolymerRanges } from '../polymer';
|
|
10
|
-
/** Iterates over consecutive pairs of residues/coarse elements in polymers */
|
|
11
|
-
export function PolymerBackboneIterator(structure, unit) {
|
|
12
|
-
switch (unit.kind) {
|
|
13
|
-
case 0 /* Atomic */: return new AtomicPolymerBackboneIterator(structure, unit);
|
|
14
|
-
case 1 /* Spheres */:
|
|
15
|
-
case 2 /* Gaussians */:
|
|
16
|
-
return new CoarsePolymerBackboneIterator(structure, unit);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function createPolymerBackbonePair(structure, unit) {
|
|
20
|
-
return {
|
|
21
|
-
centerA: StructureElement.Location.create(structure, unit),
|
|
22
|
-
centerB: StructureElement.Location.create(structure, unit),
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
var AtomicPolymerBackboneIterator = /** @class */ (function () {
|
|
26
|
-
function AtomicPolymerBackboneIterator(structure, unit) {
|
|
27
|
-
this.unit = unit;
|
|
28
|
-
this.state = 0 /* nextPolymer */;
|
|
29
|
-
this.hasNext = false;
|
|
30
|
-
this.traceElementIndex = unit.model.atomicHierarchy.derived.residue.traceElementIndex; // can assume it won't be -1 for polymer residues
|
|
31
|
-
this.polymerIt = SortedRanges.transientSegments(getPolymerRanges(unit), unit.elements);
|
|
32
|
-
this.residueIt = Segmentation.transientSegments(unit.model.atomicHierarchy.residueAtomSegments, unit.elements);
|
|
33
|
-
this.value = createPolymerBackbonePair(structure, unit);
|
|
34
|
-
this.hasNext = this.residueIt.hasNext && this.polymerIt.hasNext;
|
|
35
|
-
}
|
|
36
|
-
AtomicPolymerBackboneIterator.prototype.move = function () {
|
|
37
|
-
if (this.state === 0 /* nextPolymer */) {
|
|
38
|
-
while (this.polymerIt.hasNext) {
|
|
39
|
-
this.residueIt.setSegment(this.polymerIt.move());
|
|
40
|
-
if (this.residueIt.hasNext) {
|
|
41
|
-
this.residueSegment = this.residueIt.move();
|
|
42
|
-
this.value.centerB.element = this.traceElementIndex[this.residueSegment.index];
|
|
43
|
-
this.state = 2 /* nextResidue */;
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
if (this.state === 2 /* nextResidue */) {
|
|
49
|
-
this.residueSegment = this.residueIt.move();
|
|
50
|
-
this.value.centerA.element = this.value.centerB.element;
|
|
51
|
-
this.value.centerB.element = this.traceElementIndex[this.residueSegment.index];
|
|
52
|
-
if (!this.residueIt.hasNext) {
|
|
53
|
-
if (this.unit.model.atomicRanges.cyclicPolymerMap.has(this.residueSegment.index)) {
|
|
54
|
-
this.state = 3 /* cycle */;
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
// TODO need to advance to a polymer that has two or more residues (can't assume it has)
|
|
58
|
-
this.state = 0 /* nextPolymer */;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
else if (this.state === 3 /* cycle */) {
|
|
63
|
-
var cyclicPolymerMap = this.unit.model.atomicRanges.cyclicPolymerMap;
|
|
64
|
-
this.value.centerA.element = this.value.centerB.element;
|
|
65
|
-
this.value.centerB.element = this.traceElementIndex[cyclicPolymerMap.get(this.residueSegment.index)];
|
|
66
|
-
// TODO need to advance to a polymer that has two or more residues (can't assume it has)
|
|
67
|
-
this.state = 0 /* nextPolymer */;
|
|
68
|
-
}
|
|
69
|
-
this.hasNext = this.residueIt.hasNext || this.polymerIt.hasNext || this.state === 3 /* cycle */;
|
|
70
|
-
return this.value;
|
|
71
|
-
};
|
|
72
|
-
return AtomicPolymerBackboneIterator;
|
|
73
|
-
}());
|
|
74
|
-
export { AtomicPolymerBackboneIterator };
|
|
75
|
-
var CoarsePolymerBackboneIterator = /** @class */ (function () {
|
|
76
|
-
function CoarsePolymerBackboneIterator(structure, unit) {
|
|
77
|
-
this.unit = unit;
|
|
78
|
-
this.state = 0 /* nextPolymer */;
|
|
79
|
-
this.hasNext = false;
|
|
80
|
-
this.polymerIt = SortedRanges.transientSegments(getPolymerRanges(unit), unit.elements);
|
|
81
|
-
this.value = createPolymerBackbonePair(structure, unit);
|
|
82
|
-
this.hasNext = this.polymerIt.hasNext;
|
|
83
|
-
}
|
|
84
|
-
CoarsePolymerBackboneIterator.prototype.move = function () {
|
|
85
|
-
if (this.state === 0 /* nextPolymer */) {
|
|
86
|
-
if (this.polymerIt.hasNext) {
|
|
87
|
-
this.polymerSegment = this.polymerIt.move();
|
|
88
|
-
this.elementIndex = this.polymerSegment.start;
|
|
89
|
-
if (this.elementIndex + 1 < this.polymerSegment.end) {
|
|
90
|
-
this.value.centerB.element = this.unit.elements[this.elementIndex];
|
|
91
|
-
this.state = 1 /* nextElement */;
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
this.state = 0 /* nextPolymer */;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
if (this.state === 1 /* nextElement */) {
|
|
99
|
-
this.elementIndex += 1;
|
|
100
|
-
this.value.centerA.element = this.value.centerB.element;
|
|
101
|
-
this.value.centerB.element = this.unit.elements[this.elementIndex];
|
|
102
|
-
if (this.elementIndex + 1 >= this.polymerSegment.end) {
|
|
103
|
-
this.state = 0 /* nextPolymer */;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
this.hasNext = this.elementIndex + 1 < this.polymerSegment.end || this.polymerIt.hasNext;
|
|
107
|
-
return this.value;
|
|
108
|
-
};
|
|
109
|
-
return CoarsePolymerBackboneIterator;
|
|
110
|
-
}());
|
|
111
|
-
export { CoarsePolymerBackboneIterator };
|
|
112
|
-
//# sourceMappingURL=backbone-iterator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backbone-iterator.js","sourceRoot":"","sources":["../../../../../../src/mol-repr/structure/visual/util/polymer/backbone-iterator.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAmB,gBAAgB,EAA8B,MAAM,oCAAoC,CAAC;AACnH,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,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ENSE file for more info.
|
|
3
|
-
*
|
|
4
|
-
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
import { StructureQuery } from '../../mol-model/structure/query';
|
|
7
|
-
export declare function compileResidueListSelection(input: string, idType: 'auth' | 'label'): StructureQuery;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
-
*
|
|
4
|
-
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
|
-
*/
|
|
6
|
-
import { MolScriptBuilder as MS } from '../language/builder';
|
|
7
|
-
import { compile } from '../runtime/query/base';
|
|
8
|
-
function entriesToQuery(xs, kind) {
|
|
9
|
-
var _a;
|
|
10
|
-
var groups = [];
|
|
11
|
-
var asym_id_key = kind === 'auth' ? 'auth_asym_id' : 'label_asym_id';
|
|
12
|
-
var seq_id_key = kind === 'auth' ? 'auth_seq_id' : 'label_seq_id';
|
|
13
|
-
for (var _i = 0, xs_1 = xs; _i < xs_1.length; _i++) {
|
|
14
|
-
var x = xs_1[_i];
|
|
15
|
-
if (x.kind === 'range') {
|
|
16
|
-
groups.push(MS.struct.generator.atomGroups({
|
|
17
|
-
'chain-test': MS.core.rel.eq([MS.ammp(asym_id_key), x.asym_id]),
|
|
18
|
-
'residue-test': MS.core.rel.inRange([MS.ammp(seq_id_key), x.seq_id_beg, x.seq_id_end])
|
|
19
|
-
}));
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
var ins_code = ((_a = x.ins_code) !== null && _a !== void 0 ? _a : '').trim();
|
|
23
|
-
groups.push(MS.struct.generator.atomGroups({
|
|
24
|
-
'chain-test': MS.core.rel.eq([MS.ammp(asym_id_key), x.asym_id]),
|
|
25
|
-
'residue-test': MS.core.logic.and([
|
|
26
|
-
MS.core.rel.eq([MS.ammp(seq_id_key), x.seq_id]),
|
|
27
|
-
MS.core.rel.eq([MS.ammp('pdbx_PDB_ins_code'), ins_code])
|
|
28
|
-
])
|
|
29
|
-
}));
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
var query = MS.struct.combinator.merge(groups);
|
|
33
|
-
return compile(query);
|
|
34
|
-
}
|
|
35
|
-
function parseRange(c, s, e) {
|
|
36
|
-
if (!c || s.length === 0 || Number.isNaN(+s[0]))
|
|
37
|
-
return;
|
|
38
|
-
if (Number.isNaN(e)) {
|
|
39
|
-
return { kind: 'single', asym_id: c, seq_id: +s[0], ins_code: s[1] };
|
|
40
|
-
}
|
|
41
|
-
return { kind: 'range', asym_id: c, seq_id_beg: +s[0], seq_id_end: e };
|
|
42
|
-
}
|
|
43
|
-
function parseInsCode(e) {
|
|
44
|
-
if (!e)
|
|
45
|
-
return [];
|
|
46
|
-
return e.split(':');
|
|
47
|
-
}
|
|
48
|
-
function parseResidueListSelection(input) {
|
|
49
|
-
return input.split(',') // A 1-3, B 3 => [A 1-3, B 3]
|
|
50
|
-
.map(function (e) { return e.trim().split(/\s+|[-]/g).filter(function (e) { return !!e; }); }) // [A 1-3, B 3] => [[A, 1, 3], [B, 3]]
|
|
51
|
-
.map(function (e) { return parseRange(e[0], parseInsCode(e[1]), +e[2]); })
|
|
52
|
-
.filter(function (e) { return !!e; });
|
|
53
|
-
}
|
|
54
|
-
// parses a list of residue ranges, e.g. A 10-100, B 30, C 12:i
|
|
55
|
-
export function compileResidueListSelection(input, idType) {
|
|
56
|
-
var entries = parseResidueListSelection(input);
|
|
57
|
-
return entriesToQuery(entries, idType);
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=residue-list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"residue-list.js","sourceRoot":"","sources":["../../../src/mol-script/util/residue-list.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,gBAAgB,IAAI,EAAE,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAA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