molstar 3.4.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +202 -197
- package/build/viewer/embedded.html +43 -43
- package/build/viewer/index.html +106 -106
- package/build/viewer/molstar.js +1 -1
- package/build/viewer/molstar.js.LICENSE.txt +12 -14
- package/lib/apps/docking-viewer/index.html +36 -36
- package/lib/apps/docking-viewer/index.js +1 -1
- package/lib/apps/viewer/app.js +1 -1
- package/lib/apps/viewer/embedded.html +43 -43
- package/lib/apps/viewer/index.html +106 -106
- package/lib/cli/chem-comp-dict/util.d.ts +20 -20
- package/lib/cli/cif2bcif/converter.js +1 -1
- package/lib/cli/cif2bcif/index.js +4 -4
- package/lib/cli/cifschema/util/cif-dic.d.ts +1 -1
- package/lib/cli/cifschema/util/cif-dic.js +7 -5
- package/lib/cli/cifschema/util/generate.d.ts +1 -1
- package/lib/cli/cifschema/util/generate.js +12 -3
- package/lib/cli/cifschema/util/schema.d.ts +3 -3
- package/lib/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/apps/docking-viewer/index.js +2 -2
- package/lib/commonjs/apps/viewer/app.js +2 -2
- package/lib/commonjs/cli/chem-comp-dict/util.d.ts +20 -20
- package/lib/commonjs/cli/cif2bcif/converter.js +1 -1
- package/lib/commonjs/cli/cif2bcif/index.js +4 -4
- package/lib/commonjs/cli/cifschema/util/cif-dic.d.ts +1 -1
- package/lib/commonjs/cli/cifschema/util/cif-dic.js +7 -5
- package/lib/commonjs/cli/cifschema/util/generate.d.ts +1 -1
- package/lib/commonjs/cli/cifschema/util/generate.js +12 -3
- package/lib/commonjs/cli/cifschema/util/schema.d.ts +3 -3
- package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/examples/alpha-orbitals/index.js +2 -2
- package/lib/commonjs/examples/basic-wrapper/index.js +2 -2
- package/lib/commonjs/examples/lighting/index.js +2 -2
- package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
- package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/anvil/representation.d.ts +4 -0
- package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -0
- package/lib/commonjs/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
- package/lib/commonjs/extensions/dnatco/confal-pyramids/color.js +223 -131
- package/lib/commonjs/extensions/dnatco/confal-pyramids/property.js +1 -3
- package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
- package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js +18 -19
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -0
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/commonjs/mol-data/db/column.d.ts +10 -3
- package/lib/commonjs/mol-data/db/column.js +39 -17
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +5 -3
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/image.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/image.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/lines.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/lines.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/points.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/points.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/text.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/text.frag.js +2 -2
- package/lib/commonjs/mol-gl/webgl/buffer.d.ts +2 -2
- package/lib/commonjs/mol-gl/webgl/buffer.js +12 -12
- package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/context.js +2 -2
- package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/program.js +10 -4
- package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +8 -8
- package/lib/commonjs/mol-io/reader/cif/schema/bird.js +12 -11
- package/lib/commonjs/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +12 -12
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +13 -12
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +44 -39
- package/lib/commonjs/mol-io/reader/cif/schema.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema.js +22 -2
- package/lib/commonjs/mol-io/writer/mol/encoder.js +1 -1
- package/lib/commonjs/mol-math/geometry/common.d.ts +2 -1
- package/lib/commonjs/mol-math/geometry/common.js +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.js +2 -2
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
- package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +7 -7
- package/lib/commonjs/mol-math/geometry/gaussian-density.d.ts +2 -2
- package/lib/commonjs/mol-math/geometry/gaussian-density.js +1 -1
- package/lib/commonjs/mol-math/geometry/molecular-surface.d.ts +2 -1
- package/lib/commonjs/mol-math/geometry/molecular-surface.js +2 -2
- package/lib/commonjs/mol-math/geometry/primitives/box3d.js +2 -1
- package/lib/commonjs/mol-math/geometry/primitives/sphere3d.js +12 -6
- package/lib/commonjs/mol-model/structure/model/model.js +14 -6
- package/lib/commonjs/mol-model/structure/model/properties/common.js +1 -1
- package/lib/commonjs/mol-model/structure/model/types.d.ts +19 -17
- package/lib/commonjs/mol-model/structure/model/types.js +30 -31
- package/lib/commonjs/mol-model/structure/query/queries/generators.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
- package/lib/commonjs/mol-model/structure/structure/unit/rings.js +3 -0
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -0
- package/lib/commonjs/mol-model-formats/structure/basic/entities.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/commonjs/mol-model-formats/structure/common/component.js +46 -46
- package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js +72 -7
- package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
- package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js +7 -2
- package/lib/commonjs/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -0
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
- package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -0
- package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +6 -6
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -0
- package/lib/commonjs/mol-plugin-ui/react18.d.ts +11 -0
- package/lib/commonjs/mol-plugin-ui/react18.js +38 -0
- package/lib/commonjs/mol-plugin-ui/state/common.js +6 -7
- package/lib/commonjs/mol-plugin-ui/structure/focus.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/focus.js +2 -2
- package/lib/commonjs/mol-plugin-ui/task.d.ts +2 -21
- package/lib/commonjs/mol-plugin-ui/task.js +39 -43
- package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/params.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/registry.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -9
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +3 -3
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +4 -4
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +1 -3
- package/lib/commonjs/mol-repr/structure/visual/util/common.js +2 -27
- package/lib/commonjs/mol-repr/util.d.ts +2 -1
- package/lib/commonjs/mol-repr/util.js +2 -2
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -0
- package/lib/commonjs/mol-repr/volume/registry.d.ts +1 -0
- package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
- package/lib/examples/alpha-orbitals/index.html +61 -61
- package/lib/examples/alpha-orbitals/index.js +1 -1
- package/lib/examples/basic-wrapper/index.html +137 -137
- package/lib/examples/basic-wrapper/index.js +1 -1
- package/lib/examples/lighting/index.html +88 -88
- package/lib/examples/lighting/index.js +1 -1
- package/lib/examples/proteopedia-wrapper/index.html +236 -236
- package/lib/examples/proteopedia-wrapper/index.js +1 -1
- package/lib/extensions/anvil/behavior.d.ts +1 -0
- package/lib/extensions/anvil/representation.d.ts +4 -0
- package/lib/extensions/cellpack/representation.d.ts +1 -0
- package/lib/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
- package/lib/extensions/dnatco/confal-pyramids/color.js +224 -132
- package/lib/extensions/dnatco/confal-pyramids/property.js +1 -3
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
- package/lib/extensions/dnatco/confal-pyramids/util.js +19 -20
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
- package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -0
- package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -0
- package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -0
- package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/mol-data/db/column.d.ts +10 -3
- package/lib/mol-data/db/column.js +39 -18
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
- package/lib/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
- package/lib/mol-geo/geometry/mesh/color-smoothing.js +5 -3
- package/lib/mol-geo/geometry/mesh/mesh.d.ts +2 -1
- package/lib/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +2 -1
- package/lib/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
- package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
- package/lib/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
- package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/mol-gl/shader/image.frag.d.ts +2 -2
- package/lib/mol-gl/shader/image.frag.js +2 -2
- package/lib/mol-gl/shader/lines.frag.d.ts +2 -2
- package/lib/mol-gl/shader/lines.frag.js +2 -2
- package/lib/mol-gl/shader/points.frag.d.ts +2 -2
- package/lib/mol-gl/shader/points.frag.js +2 -2
- package/lib/mol-gl/shader/text.frag.d.ts +2 -2
- package/lib/mol-gl/shader/text.frag.js +2 -2
- package/lib/mol-gl/webgl/buffer.d.ts +2 -2
- package/lib/mol-gl/webgl/buffer.js +12 -12
- package/lib/mol-gl/webgl/context.d.ts +1 -1
- package/lib/mol-gl/webgl/context.js +2 -2
- package/lib/mol-gl/webgl/program.d.ts +1 -1
- package/lib/mol-gl/webgl/program.js +10 -4
- package/lib/mol-io/reader/cif/schema/bird.d.ts +8 -8
- package/lib/mol-io/reader/cif/schema/bird.js +12 -11
- package/lib/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/ccd.d.ts +12 -12
- package/lib/mol-io/reader/cif/schema/ccd.js +13 -12
- package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
- package/lib/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
- package/lib/mol-io/reader/cif/schema/mmcif.js +44 -39
- package/lib/mol-io/reader/cif/schema.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema.js +22 -2
- package/lib/mol-io/writer/mol/encoder.js +1 -1
- package/lib/mol-math/geometry/common.d.ts +2 -1
- package/lib/mol-math/geometry/common.js +1 -1
- package/lib/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
- package/lib/mol-math/geometry/gaussian-density/cpu.js +2 -2
- package/lib/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
- package/lib/mol-math/geometry/gaussian-density/gpu.js +7 -7
- package/lib/mol-math/geometry/gaussian-density.d.ts +2 -2
- package/lib/mol-math/geometry/gaussian-density.js +1 -1
- package/lib/mol-math/geometry/molecular-surface.d.ts +2 -1
- package/lib/mol-math/geometry/molecular-surface.js +2 -2
- package/lib/mol-math/geometry/primitives/box3d.js +2 -1
- package/lib/mol-math/geometry/primitives/sphere3d.js +12 -6
- package/lib/mol-model/structure/model/model.js +14 -6
- package/lib/mol-model/structure/model/properties/common.js +1 -1
- package/lib/mol-model/structure/model/types.d.ts +19 -17
- package/lib/mol-model/structure/model/types.js +30 -31
- package/lib/mol-model/structure/query/queries/generators.js +1 -1
- package/lib/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
- package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
- package/lib/mol-model/structure/structure/unit/rings.js +3 -0
- package/lib/mol-model-formats/shape/ply.d.ts +2 -0
- package/lib/mol-model-formats/structure/basic/entities.js +1 -1
- package/lib/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/mol-model-formats/structure/common/component.js +46 -46
- package/lib/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
- package/lib/mol-model-formats/structure/pdb/atom-site.js +72 -7
- package/lib/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
- package/lib/mol-model-formats/structure/pdb/to-cif.js +7 -2
- package/lib/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
- package/lib/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
- package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -0
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
- package/lib/mol-plugin/commands.d.ts +1 -0
- package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -0
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/actions/structure.d.ts +6 -6
- package/lib/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
- package/lib/mol-plugin-state/helpers/structure-selection-query.js +1 -1
- package/lib/mol-plugin-state/transforms/representation.d.ts +6 -0
- package/lib/mol-plugin-ui/react18.d.ts +11 -0
- package/lib/mol-plugin-ui/react18.js +34 -0
- package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
- package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
- package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
- package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
- package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
- package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
- package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -643
- package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
- package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
- package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
- package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
- package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
- package/lib/mol-plugin-ui/skin/base/components/viewport.scss +128 -128
- package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
- package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
- package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
- package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
- package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
- package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
- package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
- package/lib/mol-plugin-ui/skin/blue.scss +1 -1
- package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
- package/lib/mol-plugin-ui/skin/dark.scss +1 -1
- package/lib/mol-plugin-ui/skin/light.scss +1 -1
- package/lib/mol-plugin-ui/state/common.js +7 -8
- package/lib/mol-plugin-ui/structure/focus.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/focus.js +2 -2
- package/lib/mol-plugin-ui/task.d.ts +2 -21
- package/lib/mol-plugin-ui/task.js +40 -46
- package/lib/mol-repr/shape/loci/angle.d.ts +1 -0
- package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -0
- package/lib/mol-repr/shape/loci/orientation.d.ts +1 -0
- package/lib/mol-repr/shape/loci/plane.d.ts +1 -0
- package/lib/mol-repr/shape/model/unitcell.d.ts +1 -0
- package/lib/mol-repr/structure/complex-visual.d.ts +3 -0
- package/lib/mol-repr/structure/params.d.ts +4 -0
- package/lib/mol-repr/structure/registry.d.ts +10 -0
- package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
- package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/orientation.d.ts +3 -0
- package/lib/mol-repr/structure/representation/putty.d.ts +3 -0
- package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -0
- package/lib/mol-repr/structure/units-visual.d.ts +4 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +10 -10
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -4
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +5 -5
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/util/common.d.ts +1 -3
- package/lib/mol-repr/structure/visual/util/common.js +1 -24
- package/lib/mol-repr/util.d.ts +2 -1
- package/lib/mol-repr/util.js +2 -2
- package/lib/mol-repr/volume/isosurface.d.ts +5 -0
- package/lib/mol-repr/volume/registry.d.ts +1 -0
- package/lib/mol-script/language/builder.d.ts +1 -0
- package/package.json +162 -160
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2017-
|
|
2
|
+
* Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
|
-
* Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.
|
|
4
|
+
* Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.357, IHM 1.17, MA 1.3.6.
|
|
5
5
|
*
|
|
6
6
|
* @author molstar/ciftools package
|
|
7
7
|
*/
|
|
@@ -511,7 +511,7 @@ export declare const mmCIF_Schema: {
|
|
|
511
511
|
* linking monomers, monomers with some type of N-terminal (or 5')
|
|
512
512
|
* cap and monomers with some type of C-terminal (or 3') cap.
|
|
513
513
|
*/
|
|
514
|
-
type: Schema.Aliased<"other" | "
|
|
514
|
+
type: Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking">;
|
|
515
515
|
/**
|
|
516
516
|
* Synonym list for the component.
|
|
517
517
|
*/
|
|
@@ -556,11 +556,11 @@ export declare const mmCIF_Schema: {
|
|
|
556
556
|
/**
|
|
557
557
|
* Stereochemical configuration across a double bond.
|
|
558
558
|
*/
|
|
559
|
-
pdbx_stereo_config: Schema.Aliased<"
|
|
559
|
+
pdbx_stereo_config: Schema.Aliased<"z" | "n" | "e">;
|
|
560
560
|
/**
|
|
561
561
|
* A flag indicating an aromatic bond.
|
|
562
562
|
*/
|
|
563
|
-
pdbx_aromatic_flag: Schema.Aliased<"
|
|
563
|
+
pdbx_aromatic_flag: Schema.Aliased<"y" | "n">;
|
|
564
564
|
};
|
|
565
565
|
/**
|
|
566
566
|
* Data items in the CITATION category record details about the
|
|
@@ -692,7 +692,7 @@ export declare const mmCIF_Schema: {
|
|
|
692
692
|
/**
|
|
693
693
|
* An abbreviation that identifies the database.
|
|
694
694
|
*/
|
|
695
|
-
database_id: Schema.Aliased<"
|
|
695
|
+
database_id: Schema.Aliased<"alphafolddb" | "cas" | "csd" | "emdb" | "icsd" | "modelarchive" | "mdf" | "modbase" | "ndb" | "nbs" | "pdb" | "pdf" | "rcsb" | "swiss-model_repository" | "ebi" | "pdbe" | "bmrb" | "wwpdb" | "pdb_acc">;
|
|
696
696
|
/**
|
|
697
697
|
* The code assigned by the database identified in
|
|
698
698
|
* _database_2.database_id.
|
|
@@ -882,6 +882,10 @@ export declare const mmCIF_Schema: {
|
|
|
882
882
|
* parent is not specified. Deoxynucleotides are
|
|
883
883
|
* represented by their canonical one-letter codes of A,
|
|
884
884
|
* C, G, or T.
|
|
885
|
+
*
|
|
886
|
+
* For modifications with several parent amino acids,
|
|
887
|
+
* all corresponding parent amino acid codes will be listed
|
|
888
|
+
* (ex. chromophores).
|
|
885
889
|
*/
|
|
886
890
|
pdbx_seq_one_letter_code_can: Schema.Str;
|
|
887
891
|
/**
|
|
@@ -1107,7 +1111,7 @@ export declare const mmCIF_Schema: {
|
|
|
1107
1111
|
* This data item is a pointer to _struct_conf_type.id in the
|
|
1108
1112
|
* STRUCT_CONF_TYPE category.
|
|
1109
1113
|
*/
|
|
1110
|
-
conf_type_id: Schema.Aliased<"
|
|
1114
|
+
conf_type_id: Schema.Aliased<"other" | "bend" | "helx_p" | "helx_ot_p" | "helx_rh_p" | "helx_rh_ot_p" | "helx_rh_al_p" | "helx_rh_ga_p" | "helx_rh_om_p" | "helx_rh_pi_p" | "helx_rh_27_p" | "helx_rh_3t_p" | "helx_rh_pp_p" | "helx_lh_p" | "helx_lh_ot_p" | "helx_lh_al_p" | "helx_lh_ga_p" | "helx_lh_om_p" | "helx_lh_pi_p" | "helx_lh_27_p" | "helx_lh_3t_p" | "helx_lh_pp_p" | "helx_n" | "helx_ot_n" | "helx_rh_n" | "helx_rh_ot_n" | "helx_rh_a_n" | "helx_rh_b_n" | "helx_rh_z_n" | "helx_lh_n" | "helx_lh_ot_n" | "helx_lh_a_n" | "helx_lh_b_n" | "helx_lh_z_n" | "turn_p" | "turn_ot_p" | "turn_ty1_p" | "turn_ty1p_p" | "turn_ty2_p" | "turn_ty2p_p" | "turn_ty3_p" | "turn_ty3p_p" | "strn">;
|
|
1111
1115
|
/**
|
|
1112
1116
|
* A description of special aspects of the conformation assignment.
|
|
1113
1117
|
*/
|
|
@@ -1856,11 +1860,11 @@ export declare const mmCIF_Schema: {
|
|
|
1856
1860
|
* This code indicates whether the entry belongs to
|
|
1857
1861
|
* Structural Genomics Project.
|
|
1858
1862
|
*/
|
|
1859
|
-
SG_entry: Schema.Aliased<"
|
|
1863
|
+
SG_entry: Schema.Aliased<"y" | "n">;
|
|
1860
1864
|
/**
|
|
1861
1865
|
* The site where the file was deposited.
|
|
1862
1866
|
*/
|
|
1863
|
-
deposit_site: Schema.Aliased<"NDB" | "RCSB" | "PDBE" | "
|
|
1867
|
+
deposit_site: Schema.Aliased<"NDB" | "RCSB" | "PDBE" | "PDBJ" | "BMRB" | "BNL" | "PDBC">;
|
|
1864
1868
|
/**
|
|
1865
1869
|
* The site where the file was deposited.
|
|
1866
1870
|
*/
|
|
@@ -1880,7 +1884,7 @@ export declare const mmCIF_Schema: {
|
|
|
1880
1884
|
* A value of 'N' indicates that the no PDB format data file is
|
|
1881
1885
|
* corresponding to this entry is available in the PDB archive.
|
|
1882
1886
|
*/
|
|
1883
|
-
pdb_format_compatible: Schema.Aliased<"
|
|
1887
|
+
pdb_format_compatible: Schema.Aliased<"y" | "n">;
|
|
1884
1888
|
};
|
|
1885
1889
|
/**
|
|
1886
1890
|
* The PDBX_NONPOLY_SCHEME category provides residue level nomenclature
|
|
@@ -1985,7 +1989,7 @@ export declare const mmCIF_Schema: {
|
|
|
1985
1989
|
/**
|
|
1986
1990
|
* The provenance of this synonym.
|
|
1987
1991
|
*/
|
|
1988
|
-
provenance: Schema.Aliased<"
|
|
1992
|
+
provenance: Schema.Aliased<"AUTHOR" | "DRUGBANK" | "CHEBI" | "CHEMBL" | "PDB" | "PUBCHEM">;
|
|
1989
1993
|
};
|
|
1990
1994
|
/**
|
|
1991
1995
|
* Data items in the CHEM_COMP_IDENTIFIER category provide
|
|
@@ -2033,7 +2037,7 @@ export declare const mmCIF_Schema: {
|
|
|
2033
2037
|
* The value of polymer flag indicates whether the unobserved or
|
|
2034
2038
|
* zero occupancy residue is part of a polymer chain or not
|
|
2035
2039
|
*/
|
|
2036
|
-
polymer_flag: Schema.Aliased<"
|
|
2040
|
+
polymer_flag: Schema.Aliased<"y" | "n">;
|
|
2037
2041
|
/**
|
|
2038
2042
|
* The value of occupancy flag indicates whether the residue
|
|
2039
2043
|
* is unobserved (= 1) or the coordinates have an occupancy of zero (=0)
|
|
@@ -2502,11 +2506,11 @@ export declare const mmCIF_Schema: {
|
|
|
2502
2506
|
/**
|
|
2503
2507
|
* Broadly defines the function of the molecule.
|
|
2504
2508
|
*/
|
|
2505
|
-
class: Schema.Aliased<"
|
|
2509
|
+
class: Schema.Aliased<"unknown" | "antagonist" | "antibiotic" | "anticancer" | "anticoagulant" | "antifungal" | "antigen" | "antiinflammatory" | "antimicrobial" | "antineoplastic" | "antiparasitic" | "antiretroviral" | "anthelmintic" | "antithrombotic" | "antitumor" | "antiviral" | "caspase inhibitor" | "chaperone binding" | "enzyme inhibitor" | "drug delivery" | "glycan component" | "growth factor" | "immunosuppressant" | "inducer" | "inhibitor" | "lantibiotic" | "metabolism" | "metal transport" | "nutrient" | "oxidation-reduction" | "protein binding" | "receptor" | "substrate analog" | "synthetic opioid" | "thrombin inhibitor" | "transition state mimetic" | "transport activator" | "trypsin inhibitor" | "toxin" | "water retention" | "anticoagulant, antithrombotic" | "antibiotic, antimicrobial" | "antibiotic, anthelmintic" | "antibiotic, antineoplastic" | "antimicrobial, antiretroviral" | "antimicrobial, antitumor" | "antimicrobial, antiparasitic, antibiotic" | "thrombin inhibitor, trypsin inhibitor">;
|
|
2506
2510
|
/**
|
|
2507
2511
|
* Defines the structural classification of the molecule.
|
|
2508
2512
|
*/
|
|
2509
|
-
type: Schema.Aliased<"
|
|
2513
|
+
type: Schema.Aliased<"unknown" | "non-polymer" | "peptide-like" | "macrolide" | "amino acid" | "aminoglycoside" | "anthracycline" | "anthraquinone" | "ansamycin" | "chalkophore" | "chromophore" | "glycopeptide" | "cyclic depsipeptide" | "cyclic lipopeptide" | "cyclic peptide" | "heterocyclic" | "imino sugar" | "keto acid" | "lipoglycopeptide" | "lipopeptide" | "nucleoside" | "oligopeptide" | "oligosaccharide" | "peptaibol" | "polycyclic" | "polypeptide" | "polysaccharide" | "quinolone" | "thiolactone" | "thiopeptide" | "siderophore" | "chalkophore, polypeptide">;
|
|
2510
2514
|
/**
|
|
2511
2515
|
* A name of the molecule.
|
|
2512
2516
|
*/
|
|
@@ -2653,7 +2657,7 @@ export declare const mmCIF_Schema: {
|
|
|
2653
2657
|
/**
|
|
2654
2658
|
* This data item contains the descriptor type.
|
|
2655
2659
|
*/
|
|
2656
|
-
type: Schema.Aliased<"
|
|
2660
|
+
type: Schema.Aliased<"linucs" | "glycam condensed sequence" | "glycam condensed core sequence" | "wurcs">;
|
|
2657
2661
|
/**
|
|
2658
2662
|
* This data item contains the name of the program
|
|
2659
2663
|
* or library used to compute the descriptor.
|
|
@@ -2681,7 +2685,7 @@ export declare const mmCIF_Schema: {
|
|
|
2681
2685
|
/**
|
|
2682
2686
|
* A feature type associated with entity instance.
|
|
2683
2687
|
*/
|
|
2684
|
-
feature_type: Schema.Aliased<"
|
|
2688
|
+
feature_type: Schema.Aliased<"SUBJECT OF INVESTIGATION" | "NO FUNCTIONAL ROLE" | "OTHER">;
|
|
2685
2689
|
/**
|
|
2686
2690
|
* Author instance identifier (formerly PDB Chain ID)
|
|
2687
2691
|
*/
|
|
@@ -2800,7 +2804,7 @@ export declare const mmCIF_Schema: {
|
|
|
2800
2804
|
/**
|
|
2801
2805
|
* The chiral configuration of the first atom making the linkage.
|
|
2802
2806
|
*/
|
|
2803
|
-
atom_stereo_config_1: Schema.Aliased<"
|
|
2807
|
+
atom_stereo_config_1: Schema.Aliased<"s" | "r" | "n">;
|
|
2804
2808
|
/**
|
|
2805
2809
|
* The atom identifier/name for the second atom making the linkage.
|
|
2806
2810
|
*/
|
|
@@ -2812,7 +2816,7 @@ export declare const mmCIF_Schema: {
|
|
|
2812
2816
|
/**
|
|
2813
2817
|
* The chiral configuration of the second atom making the linkage.
|
|
2814
2818
|
*/
|
|
2815
|
-
atom_stereo_config_2: Schema.Aliased<"
|
|
2819
|
+
atom_stereo_config_2: Schema.Aliased<"s" | "r" | "n">;
|
|
2816
2820
|
/**
|
|
2817
2821
|
* The bond order target for the chemical linkage.
|
|
2818
2822
|
*/
|
|
@@ -3320,15 +3324,15 @@ export declare const mmCIF_Schema: {
|
|
|
3320
3324
|
/**
|
|
3321
3325
|
* A flag to indicate if the modeling is multi scale.
|
|
3322
3326
|
*/
|
|
3323
|
-
multi_scale_flag: Schema.Aliased<"
|
|
3327
|
+
multi_scale_flag: Schema.Aliased<"yes" | "no">;
|
|
3324
3328
|
/**
|
|
3325
3329
|
* A flag to indicate if the modeling is multi state.
|
|
3326
3330
|
*/
|
|
3327
|
-
multi_state_flag: Schema.Aliased<"
|
|
3331
|
+
multi_state_flag: Schema.Aliased<"yes" | "no">;
|
|
3328
3332
|
/**
|
|
3329
3333
|
* A flag to indicate if the modeling involves an ensemble ordered by time or other order.
|
|
3330
3334
|
*/
|
|
3331
|
-
ordered_flag: Schema.Aliased<"
|
|
3335
|
+
ordered_flag: Schema.Aliased<"yes" | "no">;
|
|
3332
3336
|
/**
|
|
3333
3337
|
* The file id corresponding to the script used in the modeling protocol step.
|
|
3334
3338
|
* This data item is a pointer to _ihm_external_files.id in the IHM_EXTERNAL_FILES category.
|
|
@@ -3617,7 +3621,7 @@ export declare const mmCIF_Schema: {
|
|
|
3617
3621
|
* A flag that indicates whether the dataset is archived in
|
|
3618
3622
|
* an IHM related database or elsewhere.
|
|
3619
3623
|
*/
|
|
3620
|
-
database_hosted: Schema.Aliased<"
|
|
3624
|
+
database_hosted: Schema.Aliased<"yes" | "no">;
|
|
3621
3625
|
};
|
|
3622
3626
|
/**
|
|
3623
3627
|
* Category to define groups or collections of input datasets.
|
|
@@ -3694,7 +3698,7 @@ export declare const mmCIF_Schema: {
|
|
|
3694
3698
|
/**
|
|
3695
3699
|
* The name of the database containing the dataset entry.
|
|
3696
3700
|
*/
|
|
3697
|
-
db_name: Schema.Aliased<"
|
|
3701
|
+
db_name: Schema.Aliased<"BMRB" | "PDB" | "Other" | "PDB-Dev" | "EMDB" | "EMPIAR" | "SASBDB" | "PRIDE" | "MODEL ARCHIVE" | "MASSIVE" | "BioGRID" | "ProXL">;
|
|
3698
3702
|
/**
|
|
3699
3703
|
* The accession code for the database entry.
|
|
3700
3704
|
*/
|
|
@@ -4224,7 +4228,7 @@ export declare const mmCIF_Schema: {
|
|
|
4224
4228
|
* whether the whole image is used or only a portion of it is used (by masking
|
|
4225
4229
|
* or by other means) as restraint in the modeling.
|
|
4226
4230
|
*/
|
|
4227
|
-
image_segment_flag: Schema.Aliased<"
|
|
4231
|
+
image_segment_flag: Schema.Aliased<"yes" | "no">;
|
|
4228
4232
|
/**
|
|
4229
4233
|
* Number of 2D projections of the model used in the fitting.
|
|
4230
4234
|
*/
|
|
@@ -4377,7 +4381,7 @@ export declare const mmCIF_Schema: {
|
|
|
4377
4381
|
* whether the whole SAS profile is used or only a portion of it is used
|
|
4378
4382
|
* (by masking or by other means) as restraint in the modeling.
|
|
4379
4383
|
*/
|
|
4380
|
-
profile_segment_flag: Schema.Aliased<"
|
|
4384
|
+
profile_segment_flag: Schema.Aliased<"yes" | "no">;
|
|
4381
4385
|
/**
|
|
4382
4386
|
* The type of atoms in the model fit to the SAS data.
|
|
4383
4387
|
*/
|
|
@@ -4971,7 +4975,7 @@ export declare const mmCIF_Schema: {
|
|
|
4971
4975
|
/**
|
|
4972
4976
|
* The type of QA metric.
|
|
4973
4977
|
*/
|
|
4974
|
-
type: Schema.Aliased<"other" | "zscore" | "energy" | "distance" | "normalized score" | "pLDDT" | "PAE" | "contact probability">;
|
|
4978
|
+
type: Schema.Aliased<"other" | "zscore" | "energy" | "distance" | "normalized score" | "pLDDT" | "pLDDT in [0,1]" | "pLDDT all-atom" | "pLDDT all-atom in [0,1]" | "PAE" | "pTM" | "ipTM" | "contact probability">;
|
|
4975
4979
|
/**
|
|
4976
4980
|
* The mode of calculation of the QA metric.
|
|
4977
4981
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2017-
|
|
2
|
+
* Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
|
-
* Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.
|
|
4
|
+
* Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.357, IHM 1.17, MA 1.3.6.
|
|
5
5
|
*
|
|
6
6
|
* @author molstar/ciftools package
|
|
7
7
|
*/
|
|
@@ -14,6 +14,7 @@ var coord = Schema.coord;
|
|
|
14
14
|
var Aliased = Schema.Aliased;
|
|
15
15
|
var Matrix = Schema.Matrix;
|
|
16
16
|
var Vector = Schema.Vector;
|
|
17
|
+
var lstr = Schema.lstr;
|
|
17
18
|
var List = Schema.List;
|
|
18
19
|
export var mmCIF_Schema = {
|
|
19
20
|
/**
|
|
@@ -508,7 +509,7 @@ export var mmCIF_Schema = {
|
|
|
508
509
|
* _chem_comp.mon_nstd_parent, _chem_comp.mon_nstd_class and
|
|
509
510
|
* _chem_comp.mon_nstd_details data items.
|
|
510
511
|
*/
|
|
511
|
-
mon_nstd_flag: Aliased(
|
|
512
|
+
mon_nstd_flag: Aliased(lstr),
|
|
512
513
|
/**
|
|
513
514
|
* The full name of the component.
|
|
514
515
|
*/
|
|
@@ -519,7 +520,7 @@ export var mmCIF_Schema = {
|
|
|
519
520
|
* linking monomers, monomers with some type of N-terminal (or 5')
|
|
520
521
|
* cap and monomers with some type of C-terminal (or 3') cap.
|
|
521
522
|
*/
|
|
522
|
-
type: Aliased(
|
|
523
|
+
type: Aliased(lstr),
|
|
523
524
|
/**
|
|
524
525
|
* Synonym list for the component.
|
|
525
526
|
*/
|
|
@@ -556,7 +557,7 @@ export var mmCIF_Schema = {
|
|
|
556
557
|
* bond associated with the specified atoms, expressed as a bond
|
|
557
558
|
* order.
|
|
558
559
|
*/
|
|
559
|
-
value_order: Aliased(
|
|
560
|
+
value_order: Aliased(lstr),
|
|
560
561
|
/**
|
|
561
562
|
* Ordinal index for the component bond list.
|
|
562
563
|
*/
|
|
@@ -564,11 +565,11 @@ export var mmCIF_Schema = {
|
|
|
564
565
|
/**
|
|
565
566
|
* Stereochemical configuration across a double bond.
|
|
566
567
|
*/
|
|
567
|
-
pdbx_stereo_config: Aliased(
|
|
568
|
+
pdbx_stereo_config: Aliased(lstr),
|
|
568
569
|
/**
|
|
569
570
|
* A flag indicating an aromatic bond.
|
|
570
571
|
*/
|
|
571
|
-
pdbx_aromatic_flag: Aliased(
|
|
572
|
+
pdbx_aromatic_flag: Aliased(lstr),
|
|
572
573
|
},
|
|
573
574
|
/**
|
|
574
575
|
* Data items in the CITATION category record details about the
|
|
@@ -700,7 +701,7 @@ export var mmCIF_Schema = {
|
|
|
700
701
|
/**
|
|
701
702
|
* An abbreviation that identifies the database.
|
|
702
703
|
*/
|
|
703
|
-
database_id: Aliased(
|
|
704
|
+
database_id: Aliased(lstr),
|
|
704
705
|
/**
|
|
705
706
|
* The code assigned by the database identified in
|
|
706
707
|
* _database_2.database_id.
|
|
@@ -763,7 +764,7 @@ export var mmCIF_Schema = {
|
|
|
763
764
|
* manipulated sources are expected to have further information in
|
|
764
765
|
* the ENTITY_SRC_GEN category.
|
|
765
766
|
*/
|
|
766
|
-
src_method: Aliased(
|
|
767
|
+
src_method: Aliased(lstr),
|
|
767
768
|
/**
|
|
768
769
|
* Defines the type of the entity.
|
|
769
770
|
*
|
|
@@ -776,7 +777,7 @@ export var mmCIF_Schema = {
|
|
|
776
777
|
* Water entities are not expected to have corresponding
|
|
777
778
|
* entries in the ENTITY category.
|
|
778
779
|
*/
|
|
779
|
-
type: Aliased(
|
|
780
|
+
type: Aliased(lstr),
|
|
780
781
|
/**
|
|
781
782
|
* A description of the entity.
|
|
782
783
|
*
|
|
@@ -816,12 +817,12 @@ export var mmCIF_Schema = {
|
|
|
816
817
|
* one monomer-to-monomer link different from that implied by
|
|
817
818
|
* _entity_poly.type.
|
|
818
819
|
*/
|
|
819
|
-
nstd_linkage: Aliased(
|
|
820
|
+
nstd_linkage: Aliased(lstr),
|
|
820
821
|
/**
|
|
821
822
|
* A flag to indicate whether the polymer contains at least
|
|
822
823
|
* one monomer that is not considered standard.
|
|
823
824
|
*/
|
|
824
|
-
nstd_monomer: Aliased(
|
|
825
|
+
nstd_monomer: Aliased(lstr),
|
|
825
826
|
/**
|
|
826
827
|
* The type of the polymer.
|
|
827
828
|
*/
|
|
@@ -890,6 +891,10 @@ export var mmCIF_Schema = {
|
|
|
890
891
|
* parent is not specified. Deoxynucleotides are
|
|
891
892
|
* represented by their canonical one-letter codes of A,
|
|
892
893
|
* C, G, or T.
|
|
894
|
+
*
|
|
895
|
+
* For modifications with several parent amino acids,
|
|
896
|
+
* all corresponding parent amino acid codes will be listed
|
|
897
|
+
* (ex. chromophores).
|
|
893
898
|
*/
|
|
894
899
|
pdbx_seq_one_letter_code_can: str,
|
|
895
900
|
/**
|
|
@@ -915,7 +920,7 @@ export var mmCIF_Schema = {
|
|
|
915
920
|
* A flag to indicate whether this monomer in the polymer is
|
|
916
921
|
* heterogeneous in sequence.
|
|
917
922
|
*/
|
|
918
|
-
hetero: Aliased(
|
|
923
|
+
hetero: Aliased(lstr),
|
|
919
924
|
/**
|
|
920
925
|
* This data item is a pointer to _chem_comp.id in the CHEM_COMP
|
|
921
926
|
* category.
|
|
@@ -992,7 +997,7 @@ export var mmCIF_Schema = {
|
|
|
992
997
|
* The classification of the software according to the most
|
|
993
998
|
* common types.
|
|
994
999
|
*/
|
|
995
|
-
type: Aliased(
|
|
1000
|
+
type: Aliased(lstr),
|
|
996
1001
|
/**
|
|
997
1002
|
* The version of the software.
|
|
998
1003
|
*/
|
|
@@ -1115,7 +1120,7 @@ export var mmCIF_Schema = {
|
|
|
1115
1120
|
* This data item is a pointer to _struct_conf_type.id in the
|
|
1116
1121
|
* STRUCT_CONF_TYPE category.
|
|
1117
1122
|
*/
|
|
1118
|
-
conf_type_id: Aliased(
|
|
1123
|
+
conf_type_id: Aliased(lstr),
|
|
1119
1124
|
/**
|
|
1120
1125
|
* A description of special aspects of the conformation assignment.
|
|
1121
1126
|
*/
|
|
@@ -1215,7 +1220,7 @@ export var mmCIF_Schema = {
|
|
|
1215
1220
|
* This data item is a pointer to _struct_conn_type.id in the
|
|
1216
1221
|
* STRUCT_CONN_TYPE category.
|
|
1217
1222
|
*/
|
|
1218
|
-
conn_type_id: Aliased(
|
|
1223
|
+
conn_type_id: Aliased(lstr),
|
|
1219
1224
|
/**
|
|
1220
1225
|
* A description of special aspects of the connection.
|
|
1221
1226
|
*/
|
|
@@ -1435,7 +1440,7 @@ export var mmCIF_Schema = {
|
|
|
1435
1440
|
* The chemical bond order associated with the specified atoms in
|
|
1436
1441
|
* this contact.
|
|
1437
1442
|
*/
|
|
1438
|
-
pdbx_value_order: Aliased(
|
|
1443
|
+
pdbx_value_order: Aliased(lstr),
|
|
1439
1444
|
},
|
|
1440
1445
|
/**
|
|
1441
1446
|
* Data items in the STRUCT_CONN_TYPE category record details
|
|
@@ -1450,7 +1455,7 @@ export var mmCIF_Schema = {
|
|
|
1450
1455
|
/**
|
|
1451
1456
|
* The chemical or structural type of the interaction.
|
|
1452
1457
|
*/
|
|
1453
|
-
id: Aliased(
|
|
1458
|
+
id: Aliased(lstr),
|
|
1454
1459
|
/**
|
|
1455
1460
|
* A reference that specifies the criteria used to define the
|
|
1456
1461
|
* interaction.
|
|
@@ -1804,7 +1809,7 @@ export var mmCIF_Schema = {
|
|
|
1804
1809
|
/**
|
|
1805
1810
|
* The cell settings for this space-group symmetry.
|
|
1806
1811
|
*/
|
|
1807
|
-
cell_setting: Aliased(
|
|
1812
|
+
cell_setting: Aliased(lstr),
|
|
1808
1813
|
/**
|
|
1809
1814
|
* Space-group number from International Tables for Crystallography
|
|
1810
1815
|
* Vol. A (2002).
|
|
@@ -1864,7 +1869,7 @@ export var mmCIF_Schema = {
|
|
|
1864
1869
|
* This code indicates whether the entry belongs to
|
|
1865
1870
|
* Structural Genomics Project.
|
|
1866
1871
|
*/
|
|
1867
|
-
SG_entry: Aliased(
|
|
1872
|
+
SG_entry: Aliased(lstr),
|
|
1868
1873
|
/**
|
|
1869
1874
|
* The site where the file was deposited.
|
|
1870
1875
|
*/
|
|
@@ -1888,7 +1893,7 @@ export var mmCIF_Schema = {
|
|
|
1888
1893
|
* A value of 'N' indicates that the no PDB format data file is
|
|
1889
1894
|
* corresponding to this entry is available in the PDB archive.
|
|
1890
1895
|
*/
|
|
1891
|
-
pdb_format_compatible: Aliased(
|
|
1896
|
+
pdb_format_compatible: Aliased(lstr),
|
|
1892
1897
|
},
|
|
1893
1898
|
/**
|
|
1894
1899
|
* The PDBX_NONPOLY_SCHEME category provides residue level nomenclature
|
|
@@ -2041,7 +2046,7 @@ export var mmCIF_Schema = {
|
|
|
2041
2046
|
* The value of polymer flag indicates whether the unobserved or
|
|
2042
2047
|
* zero occupancy residue is part of a polymer chain or not
|
|
2043
2048
|
*/
|
|
2044
|
-
polymer_flag: Aliased(
|
|
2049
|
+
polymer_flag: Aliased(lstr),
|
|
2045
2050
|
/**
|
|
2046
2051
|
* The value of occupancy flag indicates whether the residue
|
|
2047
2052
|
* is unobserved (= 1) or the coordinates have an occupancy of zero (=0)
|
|
@@ -2294,7 +2299,7 @@ export var mmCIF_Schema = {
|
|
|
2294
2299
|
/**
|
|
2295
2300
|
* Defines the polymer characteristic of the entity.
|
|
2296
2301
|
*/
|
|
2297
|
-
type: Aliased(
|
|
2302
|
+
type: Aliased(lstr),
|
|
2298
2303
|
/**
|
|
2299
2304
|
* Additional details about this entity.
|
|
2300
2305
|
*/
|
|
@@ -2389,7 +2394,7 @@ export var mmCIF_Schema = {
|
|
|
2389
2394
|
/**
|
|
2390
2395
|
* The bond order target for the chemical linkage.
|
|
2391
2396
|
*/
|
|
2392
|
-
value_order: Aliased(
|
|
2397
|
+
value_order: Aliased(lstr),
|
|
2393
2398
|
/**
|
|
2394
2399
|
* The entity component identifier for the first of two entities containing the linkage.
|
|
2395
2400
|
*/
|
|
@@ -2475,7 +2480,7 @@ export var mmCIF_Schema = {
|
|
|
2475
2480
|
/**
|
|
2476
2481
|
* The bond order target for the non-standard linkage.
|
|
2477
2482
|
*/
|
|
2478
|
-
value_order: Aliased(
|
|
2483
|
+
value_order: Aliased(lstr),
|
|
2479
2484
|
},
|
|
2480
2485
|
/**
|
|
2481
2486
|
* Data items in the PDBX_MOLECULE category identify reference molecules
|
|
@@ -2510,11 +2515,11 @@ export var mmCIF_Schema = {
|
|
|
2510
2515
|
/**
|
|
2511
2516
|
* Broadly defines the function of the molecule.
|
|
2512
2517
|
*/
|
|
2513
|
-
class: Aliased(
|
|
2518
|
+
class: Aliased(lstr),
|
|
2514
2519
|
/**
|
|
2515
2520
|
* Defines the structural classification of the molecule.
|
|
2516
2521
|
*/
|
|
2517
|
-
type: Aliased(
|
|
2522
|
+
type: Aliased(lstr),
|
|
2518
2523
|
/**
|
|
2519
2524
|
* A name of the molecule.
|
|
2520
2525
|
*/
|
|
@@ -2661,7 +2666,7 @@ export var mmCIF_Schema = {
|
|
|
2661
2666
|
/**
|
|
2662
2667
|
* This data item contains the descriptor type.
|
|
2663
2668
|
*/
|
|
2664
|
-
type: Aliased(
|
|
2669
|
+
type: Aliased(lstr),
|
|
2665
2670
|
/**
|
|
2666
2671
|
* This data item contains the name of the program
|
|
2667
2672
|
* or library used to compute the descriptor.
|
|
@@ -2736,7 +2741,7 @@ export var mmCIF_Schema = {
|
|
|
2736
2741
|
* A flag to indicate whether this monomer in the entity is
|
|
2737
2742
|
* heterogeneous in sequence.
|
|
2738
2743
|
*/
|
|
2739
|
-
hetero: Aliased(
|
|
2744
|
+
hetero: Aliased(lstr),
|
|
2740
2745
|
/**
|
|
2741
2746
|
* This data item is a pointer to _chem_comp.id in the CHEM_COMP
|
|
2742
2747
|
* category.
|
|
@@ -2808,7 +2813,7 @@ export var mmCIF_Schema = {
|
|
|
2808
2813
|
/**
|
|
2809
2814
|
* The chiral configuration of the first atom making the linkage.
|
|
2810
2815
|
*/
|
|
2811
|
-
atom_stereo_config_1: Aliased(
|
|
2816
|
+
atom_stereo_config_1: Aliased(lstr),
|
|
2812
2817
|
/**
|
|
2813
2818
|
* The atom identifier/name for the second atom making the linkage.
|
|
2814
2819
|
*/
|
|
@@ -2820,11 +2825,11 @@ export var mmCIF_Schema = {
|
|
|
2820
2825
|
/**
|
|
2821
2826
|
* The chiral configuration of the second atom making the linkage.
|
|
2822
2827
|
*/
|
|
2823
|
-
atom_stereo_config_2: Aliased(
|
|
2828
|
+
atom_stereo_config_2: Aliased(lstr),
|
|
2824
2829
|
/**
|
|
2825
2830
|
* The bond order target for the chemical linkage.
|
|
2826
2831
|
*/
|
|
2827
|
-
value_order: Aliased(
|
|
2832
|
+
value_order: Aliased(lstr),
|
|
2828
2833
|
},
|
|
2829
2834
|
/**
|
|
2830
2835
|
* Data items in the PDBX_ENTITY_BRANCH category specify the list
|
|
@@ -2855,7 +2860,7 @@ export var mmCIF_Schema = {
|
|
|
2855
2860
|
* A flag to indicate whether this monomer in the entity is
|
|
2856
2861
|
* heterogeneous in sequence.
|
|
2857
2862
|
*/
|
|
2858
|
-
hetero: Aliased(
|
|
2863
|
+
hetero: Aliased(lstr),
|
|
2859
2864
|
/**
|
|
2860
2865
|
* Pointer to _atom_site.label_asym_id.
|
|
2861
2866
|
*/
|
|
@@ -3328,15 +3333,15 @@ export var mmCIF_Schema = {
|
|
|
3328
3333
|
/**
|
|
3329
3334
|
* A flag to indicate if the modeling is multi scale.
|
|
3330
3335
|
*/
|
|
3331
|
-
multi_scale_flag: Aliased(
|
|
3336
|
+
multi_scale_flag: Aliased(lstr),
|
|
3332
3337
|
/**
|
|
3333
3338
|
* A flag to indicate if the modeling is multi state.
|
|
3334
3339
|
*/
|
|
3335
|
-
multi_state_flag: Aliased(
|
|
3340
|
+
multi_state_flag: Aliased(lstr),
|
|
3336
3341
|
/**
|
|
3337
3342
|
* A flag to indicate if the modeling involves an ensemble ordered by time or other order.
|
|
3338
3343
|
*/
|
|
3339
|
-
ordered_flag: Aliased(
|
|
3344
|
+
ordered_flag: Aliased(lstr),
|
|
3340
3345
|
/**
|
|
3341
3346
|
* The file id corresponding to the script used in the modeling protocol step.
|
|
3342
3347
|
* This data item is a pointer to _ihm_external_files.id in the IHM_EXTERNAL_FILES category.
|
|
@@ -3625,7 +3630,7 @@ export var mmCIF_Schema = {
|
|
|
3625
3630
|
* A flag that indicates whether the dataset is archived in
|
|
3626
3631
|
* an IHM related database or elsewhere.
|
|
3627
3632
|
*/
|
|
3628
|
-
database_hosted: Aliased(
|
|
3633
|
+
database_hosted: Aliased(lstr),
|
|
3629
3634
|
},
|
|
3630
3635
|
/**
|
|
3631
3636
|
* Category to define groups or collections of input datasets.
|
|
@@ -4232,7 +4237,7 @@ export var mmCIF_Schema = {
|
|
|
4232
4237
|
* whether the whole image is used or only a portion of it is used (by masking
|
|
4233
4238
|
* or by other means) as restraint in the modeling.
|
|
4234
4239
|
*/
|
|
4235
|
-
image_segment_flag: Aliased(
|
|
4240
|
+
image_segment_flag: Aliased(lstr),
|
|
4236
4241
|
/**
|
|
4237
4242
|
* Number of 2D projections of the model used in the fitting.
|
|
4238
4243
|
*/
|
|
@@ -4385,7 +4390,7 @@ export var mmCIF_Schema = {
|
|
|
4385
4390
|
* whether the whole SAS profile is used or only a portion of it is used
|
|
4386
4391
|
* (by masking or by other means) as restraint in the modeling.
|
|
4387
4392
|
*/
|
|
4388
|
-
profile_segment_flag: Aliased(
|
|
4393
|
+
profile_segment_flag: Aliased(lstr),
|
|
4389
4394
|
/**
|
|
4390
4395
|
* The type of atoms in the model fit to the SAS data.
|
|
4391
4396
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2017-
|
|
2
|
+
* Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2017-
|
|
2
|
+
* Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -42,13 +42,33 @@ export function toTable(schema, category) {
|
|
|
42
42
|
}
|
|
43
43
|
function getColumnCtor(t) {
|
|
44
44
|
switch (t.valueType) {
|
|
45
|
-
case 'str': return function (f, c, k) { return
|
|
45
|
+
case 'str': return function (f, c, k) { return createStringColumn(t, f, f.str, f.toStringArray); };
|
|
46
46
|
case 'int': return function (f, c, k) { return createColumn(t, f, f.int, f.toIntArray); };
|
|
47
47
|
case 'float': return function (f, c, k) { return createColumn(t, f, f.float, f.toFloatArray); };
|
|
48
48
|
case 'list': throw new Error('Use createListColumn instead.');
|
|
49
49
|
case 'tensor': throw new Error('Use createTensorColumn instead.');
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
function createStringColumn(schema, field, value, toArray) {
|
|
53
|
+
return {
|
|
54
|
+
schema: schema,
|
|
55
|
+
__array: field.__array,
|
|
56
|
+
isDefined: field.isDefined,
|
|
57
|
+
rowCount: field.rowCount,
|
|
58
|
+
value: schema.transform === 'lowercase'
|
|
59
|
+
? function (row) { return value(row).toLowerCase(); }
|
|
60
|
+
: schema.transform === 'uppercase'
|
|
61
|
+
? function (row) { return value(row).toUpperCase(); }
|
|
62
|
+
: value,
|
|
63
|
+
valueKind: field.valueKind,
|
|
64
|
+
areValuesEqual: field.areValuesEqual,
|
|
65
|
+
toArray: schema.transform === 'lowercase'
|
|
66
|
+
? function (p) { return Array.from(toArray(p)).map(function (x) { return x.toLowerCase(); }); }
|
|
67
|
+
: schema.transform === 'uppercase'
|
|
68
|
+
? function (p) { return Array.from(toArray(p)).map(function (x) { return x.toUpperCase(); }); }
|
|
69
|
+
: toArray,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
52
72
|
function createColumn(schema, field, value, toArray) {
|
|
53
73
|
return {
|
|
54
74
|
schema: schema,
|
|
@@ -48,7 +48,7 @@ var MolEncoder = /** @class */ (function (_super) {
|
|
|
48
48
|
StringBuilder.writeSafe(ctab, ' 0');
|
|
49
49
|
StringBuilder.writeIntegerPadLeft(ctab, _this.mapCharge(charge), 3);
|
|
50
50
|
StringBuilder.writeSafe(ctab, ' 0 0 0 0 0 0 0 0 0 0\n');
|
|
51
|
-
if (stereo_config !== '
|
|
51
|
+
if (stereo_config !== 'n')
|
|
52
52
|
chiral = true;
|
|
53
53
|
// no data for metal ions
|
|
54
54
|
if (!(bondMap === null || bondMap === void 0 ? void 0 : bondMap.map))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2018-
|
|
2
|
+
* Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -24,6 +24,7 @@ export declare type DensityData = {
|
|
|
24
24
|
field: Tensor;
|
|
25
25
|
idField: Tensor;
|
|
26
26
|
resolution: number;
|
|
27
|
+
maxRadius: number;
|
|
27
28
|
};
|
|
28
29
|
export declare type DensityTextureData = {
|
|
29
30
|
transform: Mat4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2018-
|
|
2
|
+
* Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|