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,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 Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
5
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
@@ -62,32 +62,33 @@ export declare const PolymerTypeAtomRoleId: {
|
|
|
62
62
|
};
|
|
63
63
|
export declare const ProteinBackboneAtoms: Set<string>;
|
|
64
64
|
export declare const NucleicBackboneAtoms: Set<string>;
|
|
65
|
+
declare type ChemCompType = mmCIF_chemComp_schema['type']['T'];
|
|
65
66
|
/** Chemical component type names for D-linked protein */
|
|
66
|
-
export declare const DProteinComponentTypeNames: Set<
|
|
67
|
+
export declare const DProteinComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
67
68
|
/** Chemical component type names for L-linked protein */
|
|
68
|
-
export declare const LProteinComponentTypeNames: Set<
|
|
69
|
+
export declare const LProteinComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
69
70
|
/** Chemical component type names for gamma protein, overlaps with D/L-linked */
|
|
70
|
-
export declare const GammaProteinComponentTypeNames: Set<
|
|
71
|
+
export declare const GammaProteinComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
71
72
|
/** Chemical component type names for beta protein, overlaps with D/L-linked */
|
|
72
|
-
export declare const BetaProteinComponentTypeNames: Set<
|
|
73
|
+
export declare const BetaProteinComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
73
74
|
/** Chemical component type names for protein termini, overlaps with D/L-linked */
|
|
74
|
-
export declare const ProteinTerminusComponentTypeNames: Set<
|
|
75
|
+
export declare const ProteinTerminusComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
75
76
|
/** Chemical component type names for peptide-like protein */
|
|
76
|
-
export declare const OtherProteinComponentTypeNames: Set<
|
|
77
|
+
export declare const OtherProteinComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
77
78
|
/** Chemical component type names for protein */
|
|
78
|
-
export declare const ProteinComponentTypeNames: Set<
|
|
79
|
+
export declare const ProteinComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
79
80
|
/** Chemical component type names for DNA */
|
|
80
|
-
export declare const DNAComponentTypeNames: Set<
|
|
81
|
+
export declare const DNAComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
81
82
|
/** Chemical component type names for RNA */
|
|
82
|
-
export declare const RNAComponentTypeNames: Set<
|
|
83
|
+
export declare const RNAComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
83
84
|
/** Chemical component type names for saccharide */
|
|
84
85
|
export declare const SaccharideComponentTypeNames: Set<string>;
|
|
85
86
|
/** Chemical component type names for other */
|
|
86
|
-
export declare const OtherComponentTypeNames: Set<
|
|
87
|
+
export declare const OtherComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
87
88
|
/** Chemical component type names for ion (extension to mmcif) */
|
|
88
|
-
export declare const IonComponentTypeNames: Set<
|
|
89
|
+
export declare const IonComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
89
90
|
/** Chemical component type names for lipid (extension to mmcif) */
|
|
90
|
-
export declare const LipidComponentTypeNames: Set<
|
|
91
|
+
export declare const LipidComponentTypeNames: Set<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
91
92
|
/** Common names for water molecules */
|
|
92
93
|
export declare const WaterNames: Set<string>;
|
|
93
94
|
export declare const AminoAcidNamesL: Set<string>;
|
|
@@ -103,12 +104,12 @@ export declare const isPurineBase: (compId: string) => boolean;
|
|
|
103
104
|
export declare const isPyrimidineBase: (compId: string) => boolean;
|
|
104
105
|
export declare const PolymerNames: Set<string>;
|
|
105
106
|
/** get the molecule type from component type and id */
|
|
106
|
-
export declare function getMoleculeType(compType:
|
|
107
|
-
export declare function getPolymerType(compType:
|
|
108
|
-
export declare function getComponentType(compId: string):
|
|
107
|
+
export declare function getMoleculeType(compType: ChemCompType, compId: string): MoleculeType;
|
|
108
|
+
export declare function getPolymerType(compType: ChemCompType, molType: MoleculeType): PolymerType;
|
|
109
|
+
export declare function getComponentType(compId: string): ChemCompType;
|
|
109
110
|
export declare function getDefaultChemicalComponent(compId: string): ChemicalComponent;
|
|
110
111
|
export declare function getEntityType(compId: string): mmCIF_Schema['entity']['type']['T'];
|
|
111
|
-
export declare function getEntitySubtype(compId: string, compType:
|
|
112
|
+
export declare function getEntitySubtype(compId: string, compType: ChemCompType): EntitySubtype;
|
|
112
113
|
export declare function isPolymer(moleculeType: MoleculeType): boolean;
|
|
113
114
|
export declare function isNucleic(moleculeType: MoleculeType): boolean;
|
|
114
115
|
export declare function isProtein(moleculeType: MoleculeType): boolean;
|
|
@@ -259,3 +260,4 @@ export declare const ResidueHydrophobicity: {
|
|
|
259
260
|
HIP: number[];
|
|
260
261
|
};
|
|
261
262
|
export declare const DefaultResidueHydrophobicity: number[];
|
|
263
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright (c) 2017-
|
|
3
|
+
* Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
4
|
*
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
6
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
@@ -122,63 +122,65 @@ exports.NucleicBackboneAtoms = new Set([
|
|
|
122
122
|
]);
|
|
123
123
|
/** Chemical component type names for D-linked protein */
|
|
124
124
|
exports.DProteinComponentTypeNames = new Set([
|
|
125
|
-
'
|
|
126
|
-
'
|
|
127
|
-
'
|
|
125
|
+
'd-peptide linking', 'd-peptide nh3 amino terminus',
|
|
126
|
+
'd-peptide cooh carboxy terminus', 'd-gamma-peptide, c-delta linking',
|
|
127
|
+
'd-beta-peptide, c-gamma linking'
|
|
128
128
|
]);
|
|
129
129
|
/** Chemical component type names for L-linked protein */
|
|
130
130
|
exports.LProteinComponentTypeNames = new Set([
|
|
131
|
-
'
|
|
132
|
-
'
|
|
133
|
-
'
|
|
131
|
+
'l-peptide linking', 'l-peptide nh3 amino terminus',
|
|
132
|
+
'l-peptide cooh carboxy terminus', 'l-gamma-peptide, c-delta linking',
|
|
133
|
+
'l-beta-peptide, c-gamma linking'
|
|
134
134
|
]);
|
|
135
135
|
/** Chemical component type names for gamma protein, overlaps with D/L-linked */
|
|
136
136
|
exports.GammaProteinComponentTypeNames = new Set([
|
|
137
|
-
'
|
|
137
|
+
'd-gamma-peptide, c-delta linking', 'l-gamma-peptide, c-delta linking'
|
|
138
138
|
]);
|
|
139
139
|
/** Chemical component type names for beta protein, overlaps with D/L-linked */
|
|
140
140
|
exports.BetaProteinComponentTypeNames = new Set([
|
|
141
|
-
'
|
|
141
|
+
'd-beta-peptide, c-gamma linking', 'l-beta-peptide, c-gamma linking'
|
|
142
142
|
]);
|
|
143
143
|
/** Chemical component type names for protein termini, overlaps with D/L-linked */
|
|
144
144
|
exports.ProteinTerminusComponentTypeNames = new Set([
|
|
145
|
-
'
|
|
146
|
-
'
|
|
145
|
+
'd-peptide nh3 amino terminus', 'd-peptide cooh carboxy terminus',
|
|
146
|
+
'l-peptide nh3 amino terminus', 'l-peptide cooh carboxy terminus'
|
|
147
147
|
]);
|
|
148
148
|
/** Chemical component type names for peptide-like protein */
|
|
149
149
|
exports.OtherProteinComponentTypeNames = new Set([
|
|
150
|
-
'
|
|
150
|
+
'peptide linking', 'peptide-like',
|
|
151
151
|
]);
|
|
152
152
|
/** Chemical component type names for protein */
|
|
153
153
|
exports.ProteinComponentTypeNames = set_1.SetUtils.unionMany(exports.DProteinComponentTypeNames, exports.LProteinComponentTypeNames, exports.OtherProteinComponentTypeNames);
|
|
154
154
|
/** Chemical component type names for DNA */
|
|
155
155
|
exports.DNAComponentTypeNames = new Set([
|
|
156
|
-
'
|
|
156
|
+
'dna linking', 'l-dna linking', 'dna oh 5 prime terminus', 'dna oh 3 prime terminus',
|
|
157
157
|
]);
|
|
158
158
|
/** Chemical component type names for RNA */
|
|
159
159
|
exports.RNAComponentTypeNames = new Set([
|
|
160
|
-
'
|
|
160
|
+
'rna linking', 'l-rna linking', 'rna oh 5 prime terminus', 'rna oh 3 prime terminus',
|
|
161
161
|
]);
|
|
162
162
|
/** Chemical component type names for saccharide */
|
|
163
|
-
exports.SaccharideComponentTypeNames = new Set([
|
|
164
|
-
'
|
|
165
|
-
'
|
|
166
|
-
'
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
163
|
+
exports.SaccharideComponentTypeNames = set_1.SetUtils.unionMany(new Set([
|
|
164
|
+
'd-saccharide, beta linking', 'l-saccharide, beta linking',
|
|
165
|
+
'd-saccharide, alpha linking', 'l-saccharide, alpha linking',
|
|
166
|
+
'l-saccharide', 'd-saccharide', 'saccharide',
|
|
167
|
+
]),
|
|
168
|
+
// deprecated in the mmCIF dictionary, kept for backward compatibility
|
|
169
|
+
new Set([
|
|
170
|
+
'd-saccharide 1,4 and 1,4 linking', 'l-saccharide 1,4 and 1,4 linking',
|
|
171
|
+
'd-saccharide 1,4 and 1,6 linking', 'l-saccharide 1,4 and 1,6 linking'
|
|
172
|
+
]));
|
|
171
173
|
/** Chemical component type names for other */
|
|
172
174
|
exports.OtherComponentTypeNames = new Set([
|
|
173
|
-
'
|
|
175
|
+
'non-polymer', 'other'
|
|
174
176
|
]);
|
|
175
177
|
/** Chemical component type names for ion (extension to mmcif) */
|
|
176
178
|
exports.IonComponentTypeNames = new Set([
|
|
177
|
-
'
|
|
179
|
+
'ion'
|
|
178
180
|
]);
|
|
179
181
|
/** Chemical component type names for lipid (extension to mmcif) */
|
|
180
182
|
exports.LipidComponentTypeNames = new Set([
|
|
181
|
-
'
|
|
183
|
+
'lipid'
|
|
182
184
|
]);
|
|
183
185
|
/** Common names for water molecules */
|
|
184
186
|
exports.WaterNames = new Set([
|
|
@@ -237,7 +239,6 @@ exports.isPyrimidineBase = isPyrimidineBase;
|
|
|
237
239
|
exports.PolymerNames = set_1.SetUtils.unionMany(exports.AminoAcidNames, exports.BaseNames);
|
|
238
240
|
/** get the molecule type from component type and id */
|
|
239
241
|
function getMoleculeType(compType, compId) {
|
|
240
|
-
compType = compType.toUpperCase();
|
|
241
242
|
compId = compId.toUpperCase();
|
|
242
243
|
if (exports.PeptideBaseNames.has(compId)) {
|
|
243
244
|
return 8 /* PNA */;
|
|
@@ -265,7 +266,7 @@ function getMoleculeType(compType, compId) {
|
|
|
265
266
|
}
|
|
266
267
|
else if (exports.OtherComponentTypeNames.has(compType)) {
|
|
267
268
|
if (constants_1.SaccharideCompIdMap.has(compId)) {
|
|
268
|
-
// trust our saccharide table more than given '
|
|
269
|
+
// trust our saccharide table more than given 'NON-POLYMER' or 'OTHER' component type
|
|
269
270
|
return 9 /* Saccharide */;
|
|
270
271
|
}
|
|
271
272
|
else if (exports.AminoAcidNames.has(compId)) {
|
|
@@ -287,7 +288,6 @@ function getMoleculeType(compType, compId) {
|
|
|
287
288
|
}
|
|
288
289
|
exports.getMoleculeType = getMoleculeType;
|
|
289
290
|
function getPolymerType(compType, molType) {
|
|
290
|
-
compType = compType.toUpperCase();
|
|
291
291
|
if (molType === 5 /* Protein */) {
|
|
292
292
|
if (exports.GammaProteinComponentTypeNames.has(compType)) {
|
|
293
293
|
return 2 /* GammaProtein */;
|
|
@@ -322,10 +322,10 @@ function getComponentType(compId) {
|
|
|
322
322
|
return 'peptide linking';
|
|
323
323
|
}
|
|
324
324
|
else if (exports.RnaBaseNames.has(compId)) {
|
|
325
|
-
return '
|
|
325
|
+
return 'rna linking';
|
|
326
326
|
}
|
|
327
327
|
else if (exports.DnaBaseNames.has(compId)) {
|
|
328
|
-
return '
|
|
328
|
+
return 'dna linking';
|
|
329
329
|
}
|
|
330
330
|
else if (constants_1.SaccharideCompIdMap.has(compId)) {
|
|
331
331
|
return 'saccharide';
|
|
@@ -367,7 +367,6 @@ function getEntityType(compId) {
|
|
|
367
367
|
exports.getEntityType = getEntityType;
|
|
368
368
|
function getEntitySubtype(compId, compType) {
|
|
369
369
|
compId = compId.toUpperCase();
|
|
370
|
-
compType = compType.toUpperCase();
|
|
371
370
|
if (exports.LProteinComponentTypeNames.has(compType)) {
|
|
372
371
|
return 'polypeptide(L)';
|
|
373
372
|
}
|
|
@@ -330,7 +330,7 @@ function bondedAtomicPairs(bondTest) {
|
|
|
330
330
|
atomicBond.a.unit = structure.unitMap.get(bond.unitA);
|
|
331
331
|
atomicBond.a.element = atomicBond.a.unit.elements[bond.indexA];
|
|
332
332
|
atomicBond.aIndex = bond.indexA;
|
|
333
|
-
atomicBond.b.unit = structure.unitMap.get(bond.
|
|
333
|
+
atomicBond.b.unit = structure.unitMap.get(bond.unitB);
|
|
334
334
|
atomicBond.b.element = atomicBond.b.unit.elements[bond.indexB];
|
|
335
335
|
atomicBond.bIndex = bond.indexB;
|
|
336
336
|
atomicBond.order = bond.props.order;
|
|
@@ -41,7 +41,7 @@ declare const StructureProperties: {
|
|
|
41
41
|
microheterogeneityCompIds: StructureElement.Property<string[]>;
|
|
42
42
|
secondary_structure_type: StructureElement.Property<SecondaryStructureType>;
|
|
43
43
|
secondary_structure_key: StructureElement.Property<number>;
|
|
44
|
-
chem_comp_type: StructureElement.Property<"other" | "
|
|
44
|
+
chem_comp_type: StructureElement.Property<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
45
45
|
};
|
|
46
46
|
chain: {
|
|
47
47
|
key: StructureElement.Property<import("../model").ChainIndex>;
|
|
@@ -170,10 +170,8 @@ var DefaultInterBondComputationProps = tslib_1.__assign(tslib_1.__assign({}, com
|
|
|
170
170
|
function findBonds(structure, props) {
|
|
171
171
|
var builder = new inter_unit_graph_1.InterUnitGraph.Builder();
|
|
172
172
|
var hasIndexPairBonds = structure.models.some(function (m) { return index_pair_1.IndexPairBonds.Provider.get(m); });
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
// structure.lookup and unit.lookup (expensive for large structure and not
|
|
176
|
-
// needed for archival files or files with an MD topology)
|
|
173
|
+
var hasExhaustiveStructConn = structure.models.some(function (m) { return struct_conn_1.StructConn.isExhaustive(m); });
|
|
174
|
+
if (props.noCompute || (structure.isCoarseGrained && !hasIndexPairBonds && !hasExhaustiveStructConn)) {
|
|
177
175
|
return new data_1.InterUnitBonds(builder.getMap());
|
|
178
176
|
}
|
|
179
177
|
structure_1.Structure.eachUnitPair(structure, function (unitA, unitB) {
|
|
@@ -224,9 +224,7 @@ function findBonds(unit, props) {
|
|
|
224
224
|
}
|
|
225
225
|
function computeIntraUnitBonds(unit, props) {
|
|
226
226
|
var p = tslib_1.__assign(tslib_1.__assign({}, common_1.DefaultBondComputationProps), props);
|
|
227
|
-
if (p.noCompute || model_1.Model.isCoarseGrained(unit.model)) {
|
|
228
|
-
// TODO add function that only adds bonds defined in structConn of chemCompBond
|
|
229
|
-
// and avoid using unit.lookup
|
|
227
|
+
if (p.noCompute || (model_1.Model.isCoarseGrained(unit.model) && !index_pair_1.IndexPairBonds.Provider.get(unit.model) && !struct_conn_1.StructConn.isExhaustive(unit.model))) {
|
|
230
228
|
return data_1.IntraUnitBonds.Empty;
|
|
231
229
|
}
|
|
232
230
|
if (!p.forceCompute && index_pair_1.IndexPairBonds.Provider.get(unit.model)) {
|
|
@@ -131,6 +131,9 @@ var UnitRing;
|
|
|
131
131
|
return false;
|
|
132
132
|
if (ring.length < 5)
|
|
133
133
|
return false;
|
|
134
|
+
// no planarity-based aromaticity if any aromatic flags are present
|
|
135
|
+
if (aromaticBondCount > 0)
|
|
136
|
+
return false;
|
|
134
137
|
var ma = principal_axes_1.PrincipalAxes.calculateMomentsAxes((0, util_1.getPositions)(unit, ring));
|
|
135
138
|
return linear_algebra_1.Vec3.magnitude(ma.dirC) < AromaticRingPlanarityThreshold;
|
|
136
139
|
}
|
|
@@ -30,6 +30,7 @@ export declare const PlyShapeParams: {
|
|
|
30
30
|
flatShaded: PD.BooleanParam;
|
|
31
31
|
ignoreLight: PD.BooleanParam;
|
|
32
32
|
xrayShaded: PD.BooleanParam;
|
|
33
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
33
34
|
bumpFrequency: PD.Numeric;
|
|
34
35
|
bumpAmplitude: PD.Numeric;
|
|
35
36
|
alpha: PD.Numeric;
|
|
@@ -71,6 +72,7 @@ export declare function shapeFromPly(source: PlyFile, params?: {}): Task<ShapePr
|
|
|
71
72
|
flatShaded: PD.BooleanParam;
|
|
72
73
|
ignoreLight: PD.BooleanParam;
|
|
73
74
|
xrayShaded: PD.BooleanParam;
|
|
75
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
74
76
|
bumpFrequency: PD.Numeric;
|
|
75
77
|
bumpAmplitude: PD.Numeric;
|
|
76
78
|
alpha: PD.Numeric;
|
|
@@ -99,7 +99,7 @@ function getEntityData(data) {
|
|
|
99
99
|
var entityId = label_entity_id.value(i);
|
|
100
100
|
if (!entityIds.has(entityId)) {
|
|
101
101
|
var compId = label_comp_id.value(i);
|
|
102
|
-
var compType = chemCompType.get(compId) || '';
|
|
102
|
+
var compType = chemCompType.get(compId) || 'other';
|
|
103
103
|
subtypes[getEntityIndex(entityId)] = (0, types_1.getEntitySubtype)(compId, compType);
|
|
104
104
|
entityIds.add(entityId);
|
|
105
105
|
}
|
|
@@ -88,7 +88,7 @@ export declare const BasicSchema: {
|
|
|
88
88
|
type: import("../../../mol-data/db/column").Column.Schema.Aliased<"oligosaccharide">;
|
|
89
89
|
};
|
|
90
90
|
chem_comp: {
|
|
91
|
-
type: import("../../../mol-data/db/column").Column.Schema.Aliased<"other" | "
|
|
91
|
+
type: import("../../../mol-data/db/column").Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
92
92
|
formula: import("../../../mol-data/db/column").Column.Schema.Str;
|
|
93
93
|
formula_weight: import("../../../mol-data/db/column").Column.Schema.Float;
|
|
94
94
|
id: import("../../../mol-data/db/column").Column.Schema.Str;
|
|
@@ -160,7 +160,7 @@ export declare const BasicSchema: {
|
|
|
160
160
|
};
|
|
161
161
|
pdbx_unobs_or_zero_occ_residues: {
|
|
162
162
|
id: import("../../../mol-data/db/column").Column.Schema.Int;
|
|
163
|
-
polymer_flag: import("../../../mol-data/db/column").Column.Schema.Aliased<"
|
|
163
|
+
polymer_flag: import("../../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
|
|
164
164
|
occupancy_flag: import("../../../mol-data/db/column").Column.Schema.Aliased<"1" | "0">;
|
|
165
165
|
PDB_model_num: import("../../../mol-data/db/column").Column.Schema.Int;
|
|
166
166
|
auth_asym_id: import("../../../mol-data/db/column").Column.Schema.Str;
|
|
@@ -19,7 +19,7 @@ export declare class ComponentBuilder {
|
|
|
19
19
|
private getType;
|
|
20
20
|
has(compId: string): boolean;
|
|
21
21
|
get(compId: string): Table.Row<Pick<{
|
|
22
|
-
type: Column.Schema.Aliased<"other" | "
|
|
22
|
+
type: Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
23
23
|
formula: Column.Schema.Str;
|
|
24
24
|
formula_weight: Column.Schema.Float;
|
|
25
25
|
id: Column.Schema.Str;
|
|
@@ -28,7 +28,7 @@ export declare class ComponentBuilder {
|
|
|
28
28
|
pdbx_synonyms: Column.Schema.List<string>;
|
|
29
29
|
}, "name" | "id" | "type">> | undefined;
|
|
30
30
|
add(compId: string, index: number): Table.Row<Pick<{
|
|
31
|
-
type: Column.Schema.Aliased<"other" | "
|
|
31
|
+
type: Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
32
32
|
formula: Column.Schema.Str;
|
|
33
33
|
formula_weight: Column.Schema.Float;
|
|
34
34
|
id: Column.Schema.Str;
|
|
@@ -37,7 +37,7 @@ export declare class ComponentBuilder {
|
|
|
37
37
|
pdbx_synonyms: Column.Schema.List<string>;
|
|
38
38
|
}, "name" | "id" | "type">>;
|
|
39
39
|
getChemCompTable(): Table<{
|
|
40
|
-
type: Column.Schema.Aliased<"other" | "
|
|
40
|
+
type: Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking" | "ion" | "lipid">;
|
|
41
41
|
formula: Column.Schema.Str;
|
|
42
42
|
formula_weight: Column.Schema.Float;
|
|
43
43
|
id: Column.Schema.Str;
|
|
@@ -33,45 +33,45 @@ var NonPolymerNames = new Set([
|
|
|
33
33
|
var StandardComponents = (function () {
|
|
34
34
|
var map = new Map();
|
|
35
35
|
var components = [
|
|
36
|
-
{ id: 'HIS', name: 'HISTIDINE', type: '
|
|
37
|
-
{ id: 'ARG', name: 'ARGININE', type: '
|
|
38
|
-
{ id: 'LYS', name: 'LYSINE', type: '
|
|
39
|
-
{ id: 'ILE', name: 'ISOLEUCINE', type: '
|
|
40
|
-
{ id: 'PHE', name: 'PHENYLALANINE', type: '
|
|
41
|
-
{ id: 'LEU', name: 'LEUCINE', type: '
|
|
42
|
-
{ id: 'TRP', name: 'TRYPTOPHAN', type: '
|
|
43
|
-
{ id: 'ALA', name: 'ALANINE', type: '
|
|
44
|
-
{ id: 'MET', name: 'METHIONINE', type: '
|
|
45
|
-
{ id: 'CYS', name: 'CYSTEINE', type: '
|
|
46
|
-
{ id: 'ASN', name: 'ASPARAGINE', type: '
|
|
47
|
-
{ id: 'VAL', name: 'VALINE', type: '
|
|
36
|
+
{ id: 'HIS', name: 'HISTIDINE', type: 'l-peptide linking' },
|
|
37
|
+
{ id: 'ARG', name: 'ARGININE', type: 'l-peptide linking' },
|
|
38
|
+
{ id: 'LYS', name: 'LYSINE', type: 'l-peptide linking' },
|
|
39
|
+
{ id: 'ILE', name: 'ISOLEUCINE', type: 'l-peptide linking' },
|
|
40
|
+
{ id: 'PHE', name: 'PHENYLALANINE', type: 'l-peptide linking' },
|
|
41
|
+
{ id: 'LEU', name: 'LEUCINE', type: 'l-peptide linking' },
|
|
42
|
+
{ id: 'TRP', name: 'TRYPTOPHAN', type: 'l-peptide linking' },
|
|
43
|
+
{ id: 'ALA', name: 'ALANINE', type: 'l-peptide linking' },
|
|
44
|
+
{ id: 'MET', name: 'METHIONINE', type: 'l-peptide linking' },
|
|
45
|
+
{ id: 'CYS', name: 'CYSTEINE', type: 'l-peptide linking' },
|
|
46
|
+
{ id: 'ASN', name: 'ASPARAGINE', type: 'l-peptide linking' },
|
|
47
|
+
{ id: 'VAL', name: 'VALINE', type: 'l-peptide linking' },
|
|
48
48
|
{ id: 'GLY', name: 'GLYCINE', type: 'peptide linking' },
|
|
49
|
-
{ id: 'SER', name: 'SERINE', type: '
|
|
50
|
-
{ id: 'GLN', name: 'GLUTAMINE', type: '
|
|
51
|
-
{ id: 'TYR', name: 'TYROSINE', type: '
|
|
52
|
-
{ id: 'ASP', name: 'ASPARTIC ACID', type: '
|
|
53
|
-
{ id: 'GLU', name: 'GLUTAMIC ACID', type: '
|
|
54
|
-
{ id: 'THR', name: 'THREONINE', type: '
|
|
55
|
-
{ id: 'PRO', name: 'PROLINE', type: '
|
|
56
|
-
{ id: 'SEC', name: 'SELENOCYSTEINE', type: '
|
|
57
|
-
{ id: 'PYL', name: 'PYRROLYSINE', type: '
|
|
58
|
-
{ id: 'MSE', name: 'SELENOMETHIONINE', type: '
|
|
59
|
-
{ id: 'SEP', name: 'PHOSPHOSERINE', type: '
|
|
60
|
-
{ id: 'TPO', name: 'PHOSPHOTHREONINE', type: '
|
|
61
|
-
{ id: 'PTR', name: 'O-PHOSPHOTYROSINE', type: '
|
|
62
|
-
{ id: 'PCA', name: 'PYROGLUTAMIC ACID', type: '
|
|
63
|
-
{ id: 'A', name: 'ADENOSINE-5\'-MONOPHOSPHATE', type: '
|
|
64
|
-
{ id: 'C', name: 'CYTIDINE-5\'-MONOPHOSPHATE', type: '
|
|
65
|
-
{ id: 'T', name: 'THYMIDINE-5\'-MONOPHOSPHATE', type: '
|
|
66
|
-
{ id: 'G', name: 'GUANOSINE-5\'-MONOPHOSPHATE', type: '
|
|
67
|
-
{ id: 'I', name: 'INOSINIC ACID', type: '
|
|
68
|
-
{ id: 'U', name: 'URIDINE-5\'-MONOPHOSPHATE', type: '
|
|
69
|
-
{ id: 'DA', name: '2\'-DEOXYADENOSINE-5\'-MONOPHOSPHATE', type: '
|
|
70
|
-
{ id: 'DC', name: '2\'-DEOXYCYTIDINE-5\'-MONOPHOSPHATE', type: '
|
|
71
|
-
{ id: 'DT', name: 'THYMIDINE-5\'-MONOPHOSPHATE', type: '
|
|
72
|
-
{ id: 'DG', name: '2\'-DEOXYGUANOSINE-5\'-MONOPHOSPHATE', type: '
|
|
73
|
-
{ id: 'DI', name: '2\'-DEOXYINOSINE-5\'-MONOPHOSPHATE', type: '
|
|
74
|
-
{ id: 'DU', name: '2\'-DEOXYURIDINE-5\'-MONOPHOSPHATE', type: '
|
|
49
|
+
{ id: 'SER', name: 'SERINE', type: 'l-peptide linking' },
|
|
50
|
+
{ id: 'GLN', name: 'GLUTAMINE', type: 'l-peptide linking' },
|
|
51
|
+
{ id: 'TYR', name: 'TYROSINE', type: 'l-peptide linking' },
|
|
52
|
+
{ id: 'ASP', name: 'ASPARTIC ACID', type: 'l-peptide linking' },
|
|
53
|
+
{ id: 'GLU', name: 'GLUTAMIC ACID', type: 'l-peptide linking' },
|
|
54
|
+
{ id: 'THR', name: 'THREONINE', type: 'l-peptide linking' },
|
|
55
|
+
{ id: 'PRO', name: 'PROLINE', type: 'l-peptide linking' },
|
|
56
|
+
{ id: 'SEC', name: 'SELENOCYSTEINE', type: 'l-peptide linking' },
|
|
57
|
+
{ id: 'PYL', name: 'PYRROLYSINE', type: 'l-peptide linking' },
|
|
58
|
+
{ id: 'MSE', name: 'SELENOMETHIONINE', type: 'l-peptide linking' },
|
|
59
|
+
{ id: 'SEP', name: 'PHOSPHOSERINE', type: 'l-peptide linking' },
|
|
60
|
+
{ id: 'TPO', name: 'PHOSPHOTHREONINE', type: 'l-peptide linking' },
|
|
61
|
+
{ id: 'PTR', name: 'O-PHOSPHOTYROSINE', type: 'l-peptide linking' },
|
|
62
|
+
{ id: 'PCA', name: 'PYROGLUTAMIC ACID', type: 'l-peptide linking' },
|
|
63
|
+
{ id: 'A', name: 'ADENOSINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
64
|
+
{ id: 'C', name: 'CYTIDINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
65
|
+
{ id: 'T', name: 'THYMIDINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
66
|
+
{ id: 'G', name: 'GUANOSINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
67
|
+
{ id: 'I', name: 'INOSINIC ACID', type: 'rna linking' },
|
|
68
|
+
{ id: 'U', name: 'URIDINE-5\'-MONOPHOSPHATE', type: 'rna linking' },
|
|
69
|
+
{ id: 'DA', name: '2\'-DEOXYADENOSINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
70
|
+
{ id: 'DC', name: '2\'-DEOXYCYTIDINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
71
|
+
{ id: 'DT', name: 'THYMIDINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
72
|
+
{ id: 'DG', name: '2\'-DEOXYGUANOSINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
73
|
+
{ id: 'DI', name: '2\'-DEOXYINOSINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
74
|
+
{ id: 'DU', name: '2\'-DEOXYURIDINE-5\'-MONOPHOSPHATE', type: 'dna linking' },
|
|
75
75
|
];
|
|
76
76
|
components.forEach(function (c) { return map.set(c.id, c); });
|
|
77
77
|
return map;
|
|
@@ -79,12 +79,12 @@ var StandardComponents = (function () {
|
|
|
79
79
|
var CharmmIonComponents = (function () {
|
|
80
80
|
var map = new Map();
|
|
81
81
|
var components = [
|
|
82
|
-
{ id: 'ZN2', name: 'ZINC ION', type: '
|
|
83
|
-
{ id: 'SOD', name: 'SODIUM ION', type: '
|
|
84
|
-
{ id: 'CES', name: 'CESIUM ION', type: '
|
|
85
|
-
{ id: 'CLA', name: 'CHLORIDE ION', type: '
|
|
86
|
-
{ id: 'CAL', name: 'CALCIUM ION', type: '
|
|
87
|
-
{ id: 'POT', name: 'POTASSIUM ION', type: '
|
|
82
|
+
{ id: 'ZN2', name: 'ZINC ION', type: 'ion' },
|
|
83
|
+
{ id: 'SOD', name: 'SODIUM ION', type: 'ion' },
|
|
84
|
+
{ id: 'CES', name: 'CESIUM ION', type: 'ion' },
|
|
85
|
+
{ id: 'CLA', name: 'CHLORIDE ION', type: 'ion' },
|
|
86
|
+
{ id: 'CAL', name: 'CALCIUM ION', type: 'ion' },
|
|
87
|
+
{ id: 'POT', name: 'POTASSIUM ION', type: 'ion' },
|
|
88
88
|
];
|
|
89
89
|
components.forEach(function (c) { return map.set(c.id, c); });
|
|
90
90
|
return map;
|
|
@@ -133,10 +133,10 @@ var ComponentBuilder = /** @class */ (function () {
|
|
|
133
133
|
return 'peptide linking';
|
|
134
134
|
}
|
|
135
135
|
else if (this.hasAtomIds(atomIds, RnaAtomIdsList)) {
|
|
136
|
-
return '
|
|
136
|
+
return 'rna linking';
|
|
137
137
|
}
|
|
138
138
|
else if (this.hasAtomIds(atomIds, DnaAtomIdsList)) {
|
|
139
|
-
return '
|
|
139
|
+
return 'dna linking';
|
|
140
140
|
}
|
|
141
141
|
else {
|
|
142
142
|
return 'other';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -28,7 +28,7 @@ export declare function getAtomSiteTemplate(data: string, count: number): {
|
|
|
28
28
|
label_entity_id: string[];
|
|
29
29
|
partial_charge: import("../../../mol-io/reader/common/text/tokenizer").Tokens;
|
|
30
30
|
};
|
|
31
|
-
export declare function getAtomSite(sites: AtomSiteTemplate): {
|
|
31
|
+
export declare function getAtomSite(sites: AtomSiteTemplate, hasTer: boolean): {
|
|
32
32
|
[K in keyof mmCIF_Schema['atom_site'] | 'partial_charge']?: CifField;
|
|
33
33
|
};
|
|
34
34
|
export declare function addAtom(sites: AtomSiteTemplate, model: string, data: Tokenizer, s: number, e: number, isPdbqt: boolean): void;
|