molstar 3.0.0-dev.2 → 3.0.0-dev.6

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.
Files changed (493) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +187 -187
  3. package/build/viewer/embedded.html +43 -43
  4. package/build/viewer/index.html +102 -94
  5. package/build/viewer/molstar.css +1 -1
  6. package/build/viewer/molstar.js +1 -1
  7. package/lib/apps/docking-viewer/index.d.ts +2 -1
  8. package/lib/apps/docking-viewer/index.html +36 -36
  9. package/lib/apps/docking-viewer/index.js +87 -74
  10. package/lib/apps/docking-viewer/viewport.js +2 -1
  11. package/lib/apps/viewer/embedded.html +43 -43
  12. package/lib/apps/viewer/index.d.ts +36 -215
  13. package/lib/apps/viewer/index.html +102 -94
  14. package/lib/apps/viewer/index.js +139 -52
  15. package/lib/cli/cifschema/index.d.ts +1 -1
  16. package/lib/cli/cifschema/index.js +15 -35
  17. package/lib/commonjs/apps/docking-viewer/index.d.ts +2 -1
  18. package/lib/commonjs/apps/docking-viewer/index.js +86 -73
  19. package/lib/commonjs/apps/docking-viewer/viewport.js +2 -1
  20. package/lib/commonjs/apps/viewer/index.d.ts +36 -215
  21. package/lib/commonjs/apps/viewer/index.js +139 -52
  22. package/lib/commonjs/cli/cifschema/index.d.ts +1 -1
  23. package/lib/commonjs/cli/cifschema/index.js +15 -35
  24. package/lib/commonjs/examples/alpha-orbitals/index.js +2 -3
  25. package/lib/commonjs/examples/basic-wrapper/index.js +23 -11
  26. package/lib/commonjs/examples/lighting/index.d.ts +1 -1
  27. package/lib/commonjs/examples/lighting/index.js +58 -41
  28. package/lib/commonjs/examples/proteopedia-wrapper/index.js +26 -14
  29. package/lib/commonjs/extensions/alpha-orbitals/transforms.d.ts +0 -1
  30. package/lib/commonjs/extensions/alpha-orbitals/transforms.js +1 -14
  31. package/lib/commonjs/extensions/anvil/behavior.d.ts +3 -0
  32. package/lib/commonjs/extensions/anvil/representation.d.ts +13 -0
  33. package/lib/commonjs/extensions/cellpack/representation.d.ts +3 -0
  34. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +9 -0
  35. package/lib/commonjs/extensions/geo-export/obj-exporter.js +1 -1
  36. package/lib/commonjs/extensions/geo-export/usdz-exporter.js +1 -1
  37. package/lib/commonjs/extensions/model-archive/quality-assessment/behavior.d.ts +68 -0
  38. package/lib/commonjs/extensions/model-archive/quality-assessment/behavior.js +236 -0
  39. package/lib/commonjs/extensions/model-archive/quality-assessment/color/plddt.d.ts +14 -0
  40. package/lib/commonjs/extensions/model-archive/quality-assessment/color/plddt.js +125 -0
  41. package/lib/commonjs/extensions/model-archive/quality-assessment/color/qmean.d.ts +12 -0
  42. package/lib/commonjs/extensions/model-archive/quality-assessment/color/qmean.js +111 -0
  43. package/lib/commonjs/extensions/model-archive/quality-assessment/prop.d.ts +28 -0
  44. package/lib/commonjs/extensions/model-archive/quality-assessment/prop.js +130 -0
  45. package/lib/commonjs/extensions/mp4-export/controls.d.ts +1 -0
  46. package/lib/commonjs/extensions/mp4-export/controls.js +9 -7
  47. package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js +1 -1
  48. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +3 -0
  49. package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js +1 -1
  50. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +3 -0
  51. package/lib/commonjs/extensions/rcsb/validation-report/prop.js +1 -1
  52. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +15 -0
  53. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +6 -0
  54. package/lib/commonjs/mol-canvas3d/canvas3d.js +10 -3
  55. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +3 -0
  56. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +3 -0
  57. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +4 -0
  58. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +3 -0
  59. package/lib/commonjs/mol-canvas3d/passes/multi-sample.d.ts +2 -1
  60. package/lib/commonjs/mol-canvas3d/passes/multi-sample.js +4 -2
  61. package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  62. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +4 -2
  63. package/lib/commonjs/mol-geo/geometry/base.d.ts +2 -0
  64. package/lib/commonjs/mol-geo/geometry/base.js +2 -0
  65. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -1
  66. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +4 -2
  67. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -0
  68. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +1 -0
  69. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +2 -0
  70. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +1 -1
  71. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +3 -0
  72. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +4 -2
  73. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -0
  74. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +3 -0
  75. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +4 -2
  76. package/lib/commonjs/mol-geo/geometry/substance-data.js +3 -3
  77. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +1 -0
  78. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +3 -3
  79. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +3 -0
  80. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +4 -2
  81. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +31 -28
  82. package/lib/commonjs/mol-gl/renderable/cylinders.js +2 -2
  83. package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +1 -0
  84. package/lib/commonjs/mol-gl/renderable/image.d.ts +1 -0
  85. package/lib/commonjs/mol-gl/renderable/lines.d.ts +1 -0
  86. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +28 -25
  87. package/lib/commonjs/mol-gl/renderable/mesh.js +2 -2
  88. package/lib/commonjs/mol-gl/renderable/points.d.ts +1 -0
  89. package/lib/commonjs/mol-gl/renderable/schema.d.ts +1 -0
  90. package/lib/commonjs/mol-gl/renderable/schema.js +3 -3
  91. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +31 -28
  92. package/lib/commonjs/mol-gl/renderable/spheres.js +2 -2
  93. package/lib/commonjs/mol-gl/renderable/text.d.ts +1 -0
  94. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +3 -0
  95. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +1 -1
  96. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  97. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  98. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  99. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  100. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  101. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  102. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  103. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  104. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  105. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  106. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  107. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  108. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  109. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js +1 -1
  110. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +1 -1
  111. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.js +1 -1
  112. package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
  113. package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
  114. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  115. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
  116. package/lib/commonjs/mol-gl/shader/mesh.frag.d.ts +1 -1
  117. package/lib/commonjs/mol-gl/shader/mesh.frag.js +1 -1
  118. package/lib/commonjs/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  119. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +1 -1
  120. package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
  121. package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
  122. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +326 -1
  123. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +326 -1
  124. package/lib/commonjs/mol-math/geometry/symmetry-operator.js +3 -2
  125. package/lib/commonjs/mol-model/structure/model/model.d.ts +1 -0
  126. package/lib/commonjs/mol-model/structure/model/model.js +15 -5
  127. package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -1
  128. package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.js +1 -1
  129. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-derived.d.ts +1 -1
  130. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-derived.js +4 -1
  131. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.d.ts +1 -1
  132. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +12 -1
  133. package/lib/commonjs/mol-model/structure/model/types.js +9 -0
  134. package/lib/commonjs/mol-model/structure/structure/unit/rings.js +2 -0
  135. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +6 -0
  136. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +3 -0
  137. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +3 -0
  138. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +9 -0
  139. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +12 -0
  140. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
  141. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +3 -2
  142. package/lib/commonjs/mol-plugin/commands.d.ts +3 -0
  143. package/lib/commonjs/mol-plugin/config.d.ts +2 -0
  144. package/lib/commonjs/mol-plugin/config.js +10 -3
  145. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +9 -0
  146. package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +7 -1
  147. package/lib/commonjs/mol-plugin-state/actions/structure.js +150 -72
  148. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +5 -355
  149. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.js +13 -8
  150. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +1 -71
  151. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +33 -19
  152. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +2 -0
  153. package/lib/commonjs/mol-plugin-state/manager/structure/component.js +1 -1
  154. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +22 -0
  155. package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +3 -2
  156. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +11 -6
  157. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  158. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js +8 -17
  159. package/lib/commonjs/mol-plugin-ui/index.d.ts +4 -4
  160. package/lib/commonjs/mol-plugin-ui/index.js +13 -16
  161. package/lib/commonjs/mol-plugin-ui/plugin.d.ts +1 -1
  162. package/lib/commonjs/mol-plugin-ui/plugin.js +76 -10
  163. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +3 -0
  164. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +1 -0
  165. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +3 -0
  166. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +1 -0
  167. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +1 -0
  168. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +3 -0
  169. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +3 -0
  170. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +3 -0
  171. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +12 -0
  172. package/lib/commonjs/mol-repr/structure/params.d.ts +16 -0
  173. package/lib/commonjs/mol-repr/structure/registry.d.ts +35 -1
  174. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +9 -0
  175. package/lib/commonjs/mol-repr/structure/representation/backbone.js +2 -1
  176. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +9 -0
  177. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js +2 -1
  178. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +9 -0
  179. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.js +2 -1
  180. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +9 -0
  181. package/lib/commonjs/mol-repr/structure/representation/cartoon.js +2 -1
  182. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +9 -0
  183. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js +2 -1
  184. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +9 -0
  185. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.js +2 -1
  186. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  187. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +6 -3
  188. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +3 -0
  189. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +9 -0
  190. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.js +2 -1
  191. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +9 -0
  192. package/lib/commonjs/mol-repr/structure/representation/orientation.js +2 -1
  193. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +3 -0
  194. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +9 -0
  195. package/lib/commonjs/mol-repr/structure/representation/putty.js +2 -1
  196. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +9 -0
  197. package/lib/commonjs/mol-repr/structure/representation/spacefill.js +2 -1
  198. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +16 -0
  199. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -0
  200. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  201. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -0
  202. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -2
  203. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  204. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +2 -2
  205. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +3 -0
  206. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +3 -0
  207. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +3 -0
  208. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +1 -0
  209. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +1 -0
  210. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +6 -0
  211. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +3 -0
  212. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  213. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -0
  214. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
  215. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +3 -2
  216. package/lib/commonjs/mol-repr/structure/visual/label-text.js +2 -2
  217. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -0
  218. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
  219. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +3 -0
  220. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +3 -0
  221. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +3 -0
  222. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +6 -0
  223. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +6 -0
  224. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +3 -0
  225. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +3 -0
  226. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +3 -0
  227. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js +1 -1
  228. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +3 -0
  229. package/lib/commonjs/mol-repr/structure/visual/util/bond.js +1 -1
  230. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +3 -0
  231. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +16 -0
  232. package/lib/commonjs/mol-repr/volume/isosurface.js +2 -1
  233. package/lib/commonjs/mol-repr/volume/registry.d.ts +5 -0
  234. package/lib/commonjs/mol-repr/volume/representation.d.ts +1 -0
  235. package/lib/commonjs/mol-repr/volume/slice.d.ts +3 -0
  236. package/lib/commonjs/mol-script/language/builder.d.ts +0 -1
  237. package/lib/commonjs/mol-theme/color/illustrative.d.ts +2 -0
  238. package/lib/commonjs/mol-theme/color/illustrative.js +2 -2
  239. package/lib/commonjs/mol-theme/color.d.ts +1 -0
  240. package/lib/commonjs/mol-util/material.d.ts +5 -1
  241. package/lib/commonjs/mol-util/material.js +9 -7
  242. package/lib/examples/alpha-orbitals/index.html +61 -60
  243. package/lib/examples/alpha-orbitals/index.js +3 -4
  244. package/lib/examples/basic-wrapper/index.html +137 -136
  245. package/lib/examples/basic-wrapper/index.js +24 -12
  246. package/lib/examples/lighting/index.d.ts +1 -1
  247. package/lib/examples/lighting/index.html +88 -86
  248. package/lib/examples/lighting/index.js +59 -42
  249. package/lib/examples/proteopedia-wrapper/index.html +236 -235
  250. package/lib/examples/proteopedia-wrapper/index.js +27 -15
  251. package/lib/extensions/alpha-orbitals/transforms.d.ts +0 -1
  252. package/lib/extensions/alpha-orbitals/transforms.js +1 -14
  253. package/lib/extensions/anvil/behavior.d.ts +3 -0
  254. package/lib/extensions/anvil/representation.d.ts +13 -0
  255. package/lib/extensions/cellpack/representation.d.ts +3 -0
  256. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +9 -0
  257. package/lib/extensions/geo-export/obj-exporter.js +1 -1
  258. package/lib/extensions/geo-export/usdz-exporter.js +1 -1
  259. package/lib/extensions/model-archive/quality-assessment/behavior.d.ts +68 -0
  260. package/lib/extensions/model-archive/quality-assessment/behavior.js +233 -0
  261. package/lib/extensions/model-archive/quality-assessment/color/plddt.d.ts +14 -0
  262. package/lib/extensions/model-archive/quality-assessment/color/plddt.js +120 -0
  263. package/lib/extensions/model-archive/quality-assessment/color/qmean.d.ts +12 -0
  264. package/lib/extensions/model-archive/quality-assessment/color/qmean.js +106 -0
  265. package/lib/extensions/model-archive/quality-assessment/prop.d.ts +28 -0
  266. package/lib/extensions/model-archive/quality-assessment/prop.js +127 -0
  267. package/lib/extensions/mp4-export/controls.d.ts +1 -0
  268. package/lib/extensions/mp4-export/controls.js +9 -7
  269. package/lib/extensions/pdbe/structure-quality-report/prop.js +1 -1
  270. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +3 -0
  271. package/lib/extensions/rcsb/assembly-symmetry/prop.js +1 -1
  272. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +3 -0
  273. package/lib/extensions/rcsb/validation-report/prop.js +1 -1
  274. package/lib/extensions/rcsb/validation-report/representation.d.ts +15 -0
  275. package/lib/mol-canvas3d/canvas3d.d.ts +6 -0
  276. package/lib/mol-canvas3d/canvas3d.js +10 -3
  277. package/lib/mol-canvas3d/helper/camera-helper.d.ts +3 -0
  278. package/lib/mol-canvas3d/helper/handle-helper.d.ts +3 -0
  279. package/lib/mol-canvas3d/helper/helper.d.ts +4 -0
  280. package/lib/mol-canvas3d/passes/image.d.ts +3 -0
  281. package/lib/mol-canvas3d/passes/multi-sample.d.ts +2 -1
  282. package/lib/mol-canvas3d/passes/multi-sample.js +4 -2
  283. package/lib/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  284. package/lib/mol-canvas3d/passes/postprocessing.js +4 -2
  285. package/lib/mol-geo/geometry/base.d.ts +2 -0
  286. package/lib/mol-geo/geometry/base.js +2 -0
  287. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -1
  288. package/lib/mol-geo/geometry/cylinders/cylinders.js +4 -2
  289. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -0
  290. package/lib/mol-geo/geometry/image/image.d.ts +1 -0
  291. package/lib/mol-geo/geometry/lines/lines.d.ts +2 -0
  292. package/lib/mol-geo/geometry/mesh/color-smoothing.js +1 -1
  293. package/lib/mol-geo/geometry/mesh/mesh.d.ts +3 -0
  294. package/lib/mol-geo/geometry/mesh/mesh.js +4 -2
  295. package/lib/mol-geo/geometry/points/points.d.ts +1 -0
  296. package/lib/mol-geo/geometry/spheres/spheres.d.ts +3 -0
  297. package/lib/mol-geo/geometry/spheres/spheres.js +4 -2
  298. package/lib/mol-geo/geometry/substance-data.js +3 -3
  299. package/lib/mol-geo/geometry/text/text.d.ts +1 -0
  300. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +3 -3
  301. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +3 -0
  302. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +4 -2
  303. package/lib/mol-gl/renderable/cylinders.d.ts +31 -28
  304. package/lib/mol-gl/renderable/cylinders.js +3 -3
  305. package/lib/mol-gl/renderable/direct-volume.d.ts +1 -0
  306. package/lib/mol-gl/renderable/image.d.ts +1 -0
  307. package/lib/mol-gl/renderable/lines.d.ts +1 -0
  308. package/lib/mol-gl/renderable/mesh.d.ts +28 -25
  309. package/lib/mol-gl/renderable/mesh.js +3 -3
  310. package/lib/mol-gl/renderable/points.d.ts +1 -0
  311. package/lib/mol-gl/renderable/schema.d.ts +1 -0
  312. package/lib/mol-gl/renderable/schema.js +3 -3
  313. package/lib/mol-gl/renderable/spheres.d.ts +31 -28
  314. package/lib/mol-gl/renderable/spheres.js +3 -3
  315. package/lib/mol-gl/renderable/text.d.ts +1 -0
  316. package/lib/mol-gl/renderable/texture-mesh.d.ts +3 -0
  317. package/lib/mol-gl/renderable/texture-mesh.js +1 -1
  318. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  319. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  320. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  321. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  322. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  323. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  324. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  325. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  326. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  327. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  328. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  329. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  330. package/lib/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  331. package/lib/mol-gl/shader/chunks/common.glsl.js +1 -1
  332. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +1 -1
  333. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.js +1 -1
  334. package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
  335. package/lib/mol-gl/shader/cylinders.frag.js +1 -1
  336. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  337. package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
  338. package/lib/mol-gl/shader/mesh.frag.d.ts +1 -1
  339. package/lib/mol-gl/shader/mesh.frag.js +1 -1
  340. package/lib/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  341. package/lib/mol-gl/shader/postprocessing.frag.js +1 -1
  342. package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
  343. package/lib/mol-gl/shader/spheres.frag.js +1 -1
  344. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +326 -1
  345. package/lib/mol-io/reader/cif/schema/mmcif.js +326 -1
  346. package/lib/mol-math/geometry/symmetry-operator.js +3 -2
  347. package/lib/mol-model/structure/model/model.d.ts +1 -0
  348. package/lib/mol-model/structure/model/model.js +15 -5
  349. package/lib/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -1
  350. package/lib/mol-model/structure/model/properties/atomic/hierarchy.js +1 -1
  351. package/lib/mol-model/structure/model/properties/utils/atomic-derived.d.ts +1 -1
  352. package/lib/mol-model/structure/model/properties/utils/atomic-derived.js +5 -2
  353. package/lib/mol-model/structure/model/properties/utils/atomic-index.d.ts +1 -1
  354. package/lib/mol-model/structure/model/properties/utils/atomic-index.js +12 -1
  355. package/lib/mol-model/structure/model/types.js +9 -0
  356. package/lib/mol-model/structure/structure/unit/rings.js +2 -0
  357. package/lib/mol-model-formats/shape/ply.d.ts +6 -0
  358. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +3 -0
  359. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +3 -0
  360. package/lib/mol-model-props/computed/representations/interactions.d.ts +9 -0
  361. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +12 -0
  362. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
  363. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +3 -2
  364. package/lib/mol-plugin/commands.d.ts +3 -0
  365. package/lib/mol-plugin/config.d.ts +2 -0
  366. package/lib/mol-plugin/config.js +9 -3
  367. package/lib/mol-plugin/util/viewport-screenshot.d.ts +9 -0
  368. package/lib/mol-plugin/version.js +2 -2
  369. package/lib/mol-plugin-state/actions/structure.d.ts +7 -1
  370. package/lib/mol-plugin-state/actions/structure.js +150 -72
  371. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +5 -355
  372. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.js +14 -9
  373. package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +1 -71
  374. package/lib/mol-plugin-state/helpers/structure-selection-query.js +34 -20
  375. package/lib/mol-plugin-state/manager/structure/component.d.ts +2 -0
  376. package/lib/mol-plugin-state/manager/structure/component.js +2 -2
  377. package/lib/mol-plugin-state/transforms/representation.d.ts +22 -0
  378. package/lib/mol-plugin-ui/controls/parameters.d.ts +3 -2
  379. package/lib/mol-plugin-ui/controls/parameters.js +12 -7
  380. package/lib/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  381. package/lib/mol-plugin-ui/hooks/use-behavior.js +9 -18
  382. package/lib/mol-plugin-ui/index.d.ts +4 -4
  383. package/lib/mol-plugin-ui/index.js +11 -13
  384. package/lib/mol-plugin-ui/plugin.d.ts +1 -1
  385. package/lib/mol-plugin-ui/plugin.js +76 -10
  386. package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
  387. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  388. package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
  389. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  390. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  391. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  392. package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -616
  393. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  394. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  395. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  396. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
  397. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  398. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +127 -127
  399. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  400. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  401. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  402. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  403. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  404. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  405. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  406. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  407. package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
  408. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  409. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  410. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  411. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  412. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  413. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  414. package/lib/mol-repr/shape/loci/angle.d.ts +3 -0
  415. package/lib/mol-repr/shape/loci/common.d.ts +1 -0
  416. package/lib/mol-repr/shape/loci/dihedral.d.ts +3 -0
  417. package/lib/mol-repr/shape/loci/distance.d.ts +1 -0
  418. package/lib/mol-repr/shape/loci/label.d.ts +1 -0
  419. package/lib/mol-repr/shape/loci/orientation.d.ts +3 -0
  420. package/lib/mol-repr/shape/loci/plane.d.ts +3 -0
  421. package/lib/mol-repr/shape/model/unitcell.d.ts +3 -0
  422. package/lib/mol-repr/structure/complex-visual.d.ts +12 -0
  423. package/lib/mol-repr/structure/params.d.ts +16 -0
  424. package/lib/mol-repr/structure/registry.d.ts +35 -1
  425. package/lib/mol-repr/structure/representation/backbone.d.ts +9 -0
  426. package/lib/mol-repr/structure/representation/backbone.js +2 -1
  427. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +9 -0
  428. package/lib/mol-repr/structure/representation/ball-and-stick.js +2 -1
  429. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +9 -0
  430. package/lib/mol-repr/structure/representation/carbohydrate.js +2 -1
  431. package/lib/mol-repr/structure/representation/cartoon.d.ts +9 -0
  432. package/lib/mol-repr/structure/representation/cartoon.js +2 -1
  433. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +9 -0
  434. package/lib/mol-repr/structure/representation/ellipsoid.js +2 -1
  435. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +9 -0
  436. package/lib/mol-repr/structure/representation/gaussian-surface.js +2 -1
  437. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  438. package/lib/mol-repr/structure/representation/label.d.ts +6 -3
  439. package/lib/mol-repr/structure/representation/line.d.ts +3 -0
  440. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +9 -0
  441. package/lib/mol-repr/structure/representation/molecular-surface.js +2 -1
  442. package/lib/mol-repr/structure/representation/orientation.d.ts +9 -0
  443. package/lib/mol-repr/structure/representation/orientation.js +2 -1
  444. package/lib/mol-repr/structure/representation/point.d.ts +3 -0
  445. package/lib/mol-repr/structure/representation/putty.d.ts +9 -0
  446. package/lib/mol-repr/structure/representation/putty.js +2 -1
  447. package/lib/mol-repr/structure/representation/spacefill.d.ts +9 -0
  448. package/lib/mol-repr/structure/representation/spacefill.js +2 -1
  449. package/lib/mol-repr/structure/units-visual.d.ts +16 -0
  450. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -0
  451. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  452. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -0
  453. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -2
  454. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  455. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +2 -2
  456. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +3 -0
  457. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +3 -0
  458. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +3 -0
  459. package/lib/mol-repr/structure/visual/element-cross.d.ts +1 -0
  460. package/lib/mol-repr/structure/visual/element-point.d.ts +1 -0
  461. package/lib/mol-repr/structure/visual/element-sphere.d.ts +6 -0
  462. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +3 -0
  463. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  464. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -0
  465. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
  466. package/lib/mol-repr/structure/visual/label-text.d.ts +3 -2
  467. package/lib/mol-repr/structure/visual/label-text.js +2 -2
  468. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -0
  469. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
  470. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +3 -0
  471. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +3 -0
  472. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +3 -0
  473. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +6 -0
  474. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +6 -0
  475. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +3 -0
  476. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +3 -0
  477. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +3 -0
  478. package/lib/mol-repr/structure/visual/polymer-trace-mesh.js +1 -1
  479. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +3 -0
  480. package/lib/mol-repr/structure/visual/util/bond.js +1 -1
  481. package/lib/mol-repr/volume/direct-volume.d.ts +3 -0
  482. package/lib/mol-repr/volume/isosurface.d.ts +16 -0
  483. package/lib/mol-repr/volume/isosurface.js +2 -1
  484. package/lib/mol-repr/volume/registry.d.ts +5 -0
  485. package/lib/mol-repr/volume/representation.d.ts +1 -0
  486. package/lib/mol-repr/volume/slice.d.ts +3 -0
  487. package/lib/mol-script/language/builder.d.ts +0 -1
  488. package/lib/mol-theme/color/illustrative.d.ts +2 -0
  489. package/lib/mol-theme/color/illustrative.js +2 -2
  490. package/lib/mol-theme/color.d.ts +1 -0
  491. package/lib/mol-util/material.d.ts +5 -1
  492. package/lib/mol-util/material.js +9 -7
  493. package/package.json +162 -160
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2017-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
- * Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.352, IHM 1.17, CARB draft.
4
+ * Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.353, IHM 1.17, MA 1.3.3.
5
5
  *
6
6
  * @author molstar/ciftools package
7
7
  */
@@ -930,6 +930,48 @@ export declare const mmCIF_Schema: {
930
930
  */
931
931
  method: Schema.Aliased<"X-RAY DIFFRACTION" | "NEUTRON DIFFRACTION" | "FIBER DIFFRACTION" | "ELECTRON CRYSTALLOGRAPHY" | "ELECTRON MICROSCOPY" | "SOLUTION NMR" | "SOLID-STATE NMR" | "SOLUTION SCATTERING" | "POWDER DIFFRACTION" | "INFRARED SPECTROSCOPY" | "EPR" | "FLUORESCENCE TRANSFER" | "THEORETICAL MODEL">;
932
932
  };
933
+ /**
934
+ * Data items in the SOFTWARE category record details about
935
+ * the software used in the structure analysis, which implies
936
+ * any software used in the generation of any data items
937
+ * associated with the structure determination and
938
+ * structure representation.
939
+ *
940
+ * These data items allow computer programs to be referenced
941
+ * in more detail than data items in the COMPUTING category do.
942
+ */
943
+ software: {
944
+ /**
945
+ * The classification of the program according to its
946
+ * major function.
947
+ */
948
+ classification: Schema.Str;
949
+ /**
950
+ * The date the software was released.
951
+ */
952
+ date: Schema.Str;
953
+ /**
954
+ * Description of the software.
955
+ */
956
+ description: Schema.Str;
957
+ /**
958
+ * The name of the software.
959
+ */
960
+ name: Schema.Str;
961
+ /**
962
+ * The classification of the software according to the most
963
+ * common types.
964
+ */
965
+ type: Schema.Aliased<"filter" | "other" | "program" | "library" | "package" | "jiffy">;
966
+ /**
967
+ * The version of the software.
968
+ */
969
+ version: Schema.Str;
970
+ /**
971
+ * An ordinal index for this category
972
+ */
973
+ pdbx_ordinal: Schema.Int;
974
+ };
933
975
  /**
934
976
  * Data items in the STRUCT category record details about the
935
977
  * description of the crystallographic structure.
@@ -4705,6 +4747,289 @@ export declare const mmCIF_Schema: {
4705
4747
  */
4706
4748
  dataset_list_id: Schema.Int;
4707
4749
  };
4750
+ /**
4751
+ * Data items in the MA_MODEL_LIST category record the
4752
+ * details of the models being deposited.
4753
+ */
4754
+ ma_model_list: {
4755
+ /**
4756
+ * A unique identifier for the model / model group combination.
4757
+ */
4758
+ ordinal_id: Schema.Int;
4759
+ /**
4760
+ * A unique identifier for the structural model being deposited.
4761
+ */
4762
+ model_id: Schema.Int;
4763
+ /**
4764
+ * An identifier to group structural models into collections or sets.
4765
+ * A cluster of models and its representative can either be grouped together
4766
+ * or can be separate groups in the ma_model_list table. The choice between
4767
+ * the two options should be decided based on how the modeling was carried out
4768
+ * and how the representative was chosen. If the representative is a member of
4769
+ * the ensemble (i.e., best scoring model), then it is recommended that the
4770
+ * representative and the ensemble belong to the same model group. If the
4771
+ * representative is calculated from the ensemble (i.e., centroid), then it is
4772
+ * recommended that the representative be separated into a different group.
4773
+ * If the models do not need to be grouped into collections, then the
4774
+ * _ma_model_list.model_group_id is the same as _ma_model_list.model_id.
4775
+ */
4776
+ model_group_id: Schema.Int;
4777
+ /**
4778
+ * A decsriptive name for the model.
4779
+ */
4780
+ model_name: Schema.Str;
4781
+ /**
4782
+ * A decsriptive name for the model group.
4783
+ */
4784
+ model_group_name: Schema.Str;
4785
+ /**
4786
+ * The type of model.
4787
+ */
4788
+ model_type: Schema.Aliased<"Other" | "Homology model" | "Ab initio model">;
4789
+ /**
4790
+ * The data_id identifier. This data item is a pointer to
4791
+ * _ma_data.id in the MA_DATA category.
4792
+ */
4793
+ data_id: Schema.Int;
4794
+ };
4795
+ /**
4796
+ * Data items in the MA_TARGET_ENTITY category record details about
4797
+ * the target entities. The details are provided for each entity
4798
+ * being modeled.
4799
+ */
4800
+ ma_target_entity: {
4801
+ /**
4802
+ * A unique identifier for the distinct molecular entity of the target.
4803
+ * This data item is a pointer to _entity.id in the ENTITY category.
4804
+ */
4805
+ entity_id: Schema.Str;
4806
+ /**
4807
+ * The data_id identifier. This data item is a pointer to
4808
+ * _ma_data.id in the MA_DATA category.
4809
+ */
4810
+ data_id: Schema.Int;
4811
+ /**
4812
+ * The origin of the target entity.
4813
+ */
4814
+ origin: Schema.Aliased<"reference database" | "designed">;
4815
+ };
4816
+ /**
4817
+ * Data items in the MA_TARGET_ENTITY_INSTANCE category record details about
4818
+ * the instances of target entities modeled.
4819
+ */
4820
+ ma_target_entity_instance: {
4821
+ /**
4822
+ * A unique identifier for the instance of the entity.
4823
+ */
4824
+ asym_id: Schema.Str;
4825
+ /**
4826
+ * A unique identifier for the distinct molecular entity of the target.
4827
+ * This data item is a pointer to _ma_target_entity.entity_id in the
4828
+ * MA_TARGET_ENTITY category.
4829
+ */
4830
+ entity_id: Schema.Str;
4831
+ /**
4832
+ * Additional details about the entity instance.
4833
+ */
4834
+ details: Schema.Str;
4835
+ };
4836
+ /**
4837
+ * Data items in the MA_TARGET_REF_DB_DETAILS category record details about
4838
+ * the reference databases for the target sequences.
4839
+ */
4840
+ ma_target_ref_db_details: {
4841
+ /**
4842
+ * An identifier for the target entity.
4843
+ */
4844
+ target_entity_id: Schema.Str;
4845
+ /**
4846
+ * The name of the database containing reference information about
4847
+ * this entity or biological unit.
4848
+ */
4849
+ db_name: Schema.Aliased<"Other" | "UNP" | "GB" | "OrthoDB" | "NCBI" | "JGI">;
4850
+ /**
4851
+ * The code for this entity or biological unit or for a closely
4852
+ * related entity or biological unit in the named database.
4853
+ * This can include the version number.
4854
+ */
4855
+ db_code: Schema.Str;
4856
+ /**
4857
+ * Accession code assigned by the reference database.
4858
+ */
4859
+ db_accession: Schema.Str;
4860
+ /**
4861
+ * Database code assigned by the reference database for a sequence isoform. An isoform sequence is an
4862
+ * alternative protein sequence that can be generated from the same gene by a single or by a combination of
4863
+ * biological events such as: alternative promoter usage, alternative splicing, alternative initiation
4864
+ * and ribosomal frameshifting.
4865
+ */
4866
+ seq_db_isoform: Schema.Str;
4867
+ /**
4868
+ * Beginning index in the chemical sequence from the
4869
+ * reference database.
4870
+ */
4871
+ seq_db_align_begin: Schema.Str;
4872
+ /**
4873
+ * Ending index in the chemical sequence from the
4874
+ * reference database.
4875
+ */
4876
+ seq_db_align_end: Schema.Str;
4877
+ /**
4878
+ * Taxonomy identifier provided by NCBI.
4879
+ */
4880
+ ncbi_taxonomy_id: Schema.Str;
4881
+ /**
4882
+ * Scientific name of the organism.
4883
+ */
4884
+ organism_scientific: Schema.Str;
4885
+ };
4886
+ /**
4887
+ * Data items in the MA_DATA category capture the different kinds of
4888
+ * data used in the modeling. These can be multiple sequence
4889
+ * alignments, spatial restraints, template structures etc.
4890
+ */
4891
+ ma_data: {
4892
+ /**
4893
+ * A unique identifier for the data.
4894
+ */
4895
+ id: Schema.Int;
4896
+ /**
4897
+ * The type of data held in the dataset.
4898
+ */
4899
+ content_type: Schema.Aliased<"target" | "other" | "template structure" | "polymeric template library" | "spatial restraints" | "target-template alignment" | "coevolution MSA" | "model coordinates">;
4900
+ /**
4901
+ * Details for other content types.
4902
+ */
4903
+ content_type_other_details: Schema.Str;
4904
+ /**
4905
+ * An author-given name for the content held in the dataset.
4906
+ */
4907
+ name: Schema.Str;
4908
+ };
4909
+ /**
4910
+ * Data items in the MA_SOFTWARE_GROUP category describes the
4911
+ * collection of software into groups so that they can be used
4912
+ * efficiently in the MA_PROTOCOL_STEP category.
4913
+ */
4914
+ ma_software_group: {
4915
+ /**
4916
+ * A unique identifier for the category.
4917
+ */
4918
+ ordinal_id: Schema.Int;
4919
+ /**
4920
+ * An identifier for the group entry.
4921
+ * If data does not need to be grouped, then _ma_software_group.group_id
4922
+ * is the same as _ma_software_group.software_id.
4923
+ */
4924
+ group_id: Schema.Int;
4925
+ /**
4926
+ * The identifier for the software.
4927
+ * This data item is a pointer to _software.pdbx_ordinal
4928
+ * in the SOFTWARE category.
4929
+ */
4930
+ software_id: Schema.Int;
4931
+ };
4932
+ /**
4933
+ * Data items in the MA_QA_METRIC category record the
4934
+ * details of the metrics use to assess model quality.
4935
+ */
4936
+ ma_qa_metric: {
4937
+ /**
4938
+ * An identifier for the QA metric.
4939
+ */
4940
+ id: Schema.Int;
4941
+ /**
4942
+ * Name of the QA metric.
4943
+ */
4944
+ name: Schema.Str;
4945
+ /**
4946
+ * The type of QA metric.
4947
+ */
4948
+ type: Schema.Aliased<"other" | "zscore" | "energy" | "distance" | "normalized score" | "pLDDT" | "PAE" | "contact probability">;
4949
+ /**
4950
+ * The mode of calculation of the QA metric.
4951
+ */
4952
+ mode: Schema.Aliased<"local" | "global" | "local-pairwise">;
4953
+ /**
4954
+ * Identifier to the set of software used to calculate the QA metric.
4955
+ * This data item is a pointer to the _ma_software_group.group_id in the
4956
+ * MA_SOFTWARE_GROUP category.
4957
+ */
4958
+ software_group_id: Schema.Int;
4959
+ };
4960
+ /**
4961
+ * Data items in the MA_QA_METRIC_GLOBAL category captures the
4962
+ * details of the global QA metrics, calculated at the model-level.
4963
+ */
4964
+ ma_qa_metric_global: {
4965
+ /**
4966
+ * A unique identifier for the category.
4967
+ */
4968
+ ordinal_id: Schema.Int;
4969
+ /**
4970
+ * The identifier for the structural model, for which global QA metric is provided.
4971
+ * This data item is a pointer to _ma_model_list.model_id
4972
+ * in the MA_MODEL_LIST category.
4973
+ */
4974
+ model_id: Schema.Int;
4975
+ /**
4976
+ * The identifier for the QA metric.
4977
+ * This data item is a pointer to _ma_qa_metric.id in the
4978
+ * MA_QA_METRIC category.
4979
+ */
4980
+ metric_id: Schema.Int;
4981
+ /**
4982
+ * The value of the global QA metric.
4983
+ */
4984
+ metric_value: Schema.Float;
4985
+ };
4986
+ /**
4987
+ * Data items in the MA_QA_METRIC_LOCAL category captures the
4988
+ * details of the local QA metrics, calculated at the residue-level.
4989
+ */
4990
+ ma_qa_metric_local: {
4991
+ /**
4992
+ * A unique identifier for the category.
4993
+ */
4994
+ ordinal_id: Schema.Int;
4995
+ /**
4996
+ * The identifier for the structural model, for which local QA metric is provided.
4997
+ * This data item is a pointer to _ma_model_list.model_id
4998
+ * in the MA_MODEL_LIST category.
4999
+ */
5000
+ model_id: Schema.Int;
5001
+ /**
5002
+ * The identifier for the asym id of the residue in the
5003
+ * structural model, for which local QA metric is provided.
5004
+ * This data item is a pointer to _atom_site.label_asym_id
5005
+ * in the ATOM_SITE category.
5006
+ */
5007
+ label_asym_id: Schema.Str;
5008
+ /**
5009
+ * The identifier for the sequence index of the residue
5010
+ * in the structural model, for which local QA metric is provided.
5011
+ * This data item is a pointer to _atom_site.label_seq_id
5012
+ * in the ATOM_SITE category.
5013
+ */
5014
+ label_seq_id: Schema.Int;
5015
+ /**
5016
+ * The component identifier for the residue in the
5017
+ * structural model, for which local QA metric is provided.
5018
+ * This data item is a pointer to _atom_site.label_comp_id
5019
+ * in the ATOM_SITE category.
5020
+ */
5021
+ label_comp_id: Schema.Str;
5022
+ /**
5023
+ * The identifier for the QA metric.
5024
+ * This data item is a pointer to _ma_qa_metric.id in the
5025
+ * MA_QA_METRIC category.
5026
+ */
5027
+ metric_id: Schema.Int;
5028
+ /**
5029
+ * The value of the local QA metric.
5030
+ */
5031
+ metric_value: Schema.Float;
5032
+ };
4708
5033
  };
4709
5034
  export declare type mmCIF_Schema = typeof mmCIF_Schema;
4710
5035
  export interface mmCIF_Database extends Database<mmCIF_Schema> {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2017-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
- * Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.352, IHM 1.17, CARB draft.
4
+ * Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.353, IHM 1.17, MA 1.3.3.
5
5
  *
6
6
  * @author molstar/ciftools package
7
7
  */
@@ -938,6 +938,48 @@ export var mmCIF_Schema = {
938
938
  */
939
939
  method: Aliased(str),
940
940
  },
941
+ /**
942
+ * Data items in the SOFTWARE category record details about
943
+ * the software used in the structure analysis, which implies
944
+ * any software used in the generation of any data items
945
+ * associated with the structure determination and
946
+ * structure representation.
947
+ *
948
+ * These data items allow computer programs to be referenced
949
+ * in more detail than data items in the COMPUTING category do.
950
+ */
951
+ software: {
952
+ /**
953
+ * The classification of the program according to its
954
+ * major function.
955
+ */
956
+ classification: str,
957
+ /**
958
+ * The date the software was released.
959
+ */
960
+ date: str,
961
+ /**
962
+ * Description of the software.
963
+ */
964
+ description: str,
965
+ /**
966
+ * The name of the software.
967
+ */
968
+ name: str,
969
+ /**
970
+ * The classification of the software according to the most
971
+ * common types.
972
+ */
973
+ type: Aliased(str),
974
+ /**
975
+ * The version of the software.
976
+ */
977
+ version: str,
978
+ /**
979
+ * An ordinal index for this category
980
+ */
981
+ pdbx_ordinal: int,
982
+ },
941
983
  /**
942
984
  * Data items in the STRUCT category record details about the
943
985
  * description of the crystallographic structure.
@@ -4713,6 +4755,289 @@ export var mmCIF_Schema = {
4713
4755
  */
4714
4756
  dataset_list_id: int,
4715
4757
  },
4758
+ /**
4759
+ * Data items in the MA_MODEL_LIST category record the
4760
+ * details of the models being deposited.
4761
+ */
4762
+ ma_model_list: {
4763
+ /**
4764
+ * A unique identifier for the model / model group combination.
4765
+ */
4766
+ ordinal_id: int,
4767
+ /**
4768
+ * A unique identifier for the structural model being deposited.
4769
+ */
4770
+ model_id: int,
4771
+ /**
4772
+ * An identifier to group structural models into collections or sets.
4773
+ * A cluster of models and its representative can either be grouped together
4774
+ * or can be separate groups in the ma_model_list table. The choice between
4775
+ * the two options should be decided based on how the modeling was carried out
4776
+ * and how the representative was chosen. If the representative is a member of
4777
+ * the ensemble (i.e., best scoring model), then it is recommended that the
4778
+ * representative and the ensemble belong to the same model group. If the
4779
+ * representative is calculated from the ensemble (i.e., centroid), then it is
4780
+ * recommended that the representative be separated into a different group.
4781
+ * If the models do not need to be grouped into collections, then the
4782
+ * _ma_model_list.model_group_id is the same as _ma_model_list.model_id.
4783
+ */
4784
+ model_group_id: int,
4785
+ /**
4786
+ * A decsriptive name for the model.
4787
+ */
4788
+ model_name: str,
4789
+ /**
4790
+ * A decsriptive name for the model group.
4791
+ */
4792
+ model_group_name: str,
4793
+ /**
4794
+ * The type of model.
4795
+ */
4796
+ model_type: Aliased(str),
4797
+ /**
4798
+ * The data_id identifier. This data item is a pointer to
4799
+ * _ma_data.id in the MA_DATA category.
4800
+ */
4801
+ data_id: int,
4802
+ },
4803
+ /**
4804
+ * Data items in the MA_TARGET_ENTITY category record details about
4805
+ * the target entities. The details are provided for each entity
4806
+ * being modeled.
4807
+ */
4808
+ ma_target_entity: {
4809
+ /**
4810
+ * A unique identifier for the distinct molecular entity of the target.
4811
+ * This data item is a pointer to _entity.id in the ENTITY category.
4812
+ */
4813
+ entity_id: str,
4814
+ /**
4815
+ * The data_id identifier. This data item is a pointer to
4816
+ * _ma_data.id in the MA_DATA category.
4817
+ */
4818
+ data_id: int,
4819
+ /**
4820
+ * The origin of the target entity.
4821
+ */
4822
+ origin: Aliased(str),
4823
+ },
4824
+ /**
4825
+ * Data items in the MA_TARGET_ENTITY_INSTANCE category record details about
4826
+ * the instances of target entities modeled.
4827
+ */
4828
+ ma_target_entity_instance: {
4829
+ /**
4830
+ * A unique identifier for the instance of the entity.
4831
+ */
4832
+ asym_id: str,
4833
+ /**
4834
+ * A unique identifier for the distinct molecular entity of the target.
4835
+ * This data item is a pointer to _ma_target_entity.entity_id in the
4836
+ * MA_TARGET_ENTITY category.
4837
+ */
4838
+ entity_id: str,
4839
+ /**
4840
+ * Additional details about the entity instance.
4841
+ */
4842
+ details: str,
4843
+ },
4844
+ /**
4845
+ * Data items in the MA_TARGET_REF_DB_DETAILS category record details about
4846
+ * the reference databases for the target sequences.
4847
+ */
4848
+ ma_target_ref_db_details: {
4849
+ /**
4850
+ * An identifier for the target entity.
4851
+ */
4852
+ target_entity_id: str,
4853
+ /**
4854
+ * The name of the database containing reference information about
4855
+ * this entity or biological unit.
4856
+ */
4857
+ db_name: Aliased(str),
4858
+ /**
4859
+ * The code for this entity or biological unit or for a closely
4860
+ * related entity or biological unit in the named database.
4861
+ * This can include the version number.
4862
+ */
4863
+ db_code: str,
4864
+ /**
4865
+ * Accession code assigned by the reference database.
4866
+ */
4867
+ db_accession: str,
4868
+ /**
4869
+ * Database code assigned by the reference database for a sequence isoform. An isoform sequence is an
4870
+ * alternative protein sequence that can be generated from the same gene by a single or by a combination of
4871
+ * biological events such as: alternative promoter usage, alternative splicing, alternative initiation
4872
+ * and ribosomal frameshifting.
4873
+ */
4874
+ seq_db_isoform: str,
4875
+ /**
4876
+ * Beginning index in the chemical sequence from the
4877
+ * reference database.
4878
+ */
4879
+ seq_db_align_begin: str,
4880
+ /**
4881
+ * Ending index in the chemical sequence from the
4882
+ * reference database.
4883
+ */
4884
+ seq_db_align_end: str,
4885
+ /**
4886
+ * Taxonomy identifier provided by NCBI.
4887
+ */
4888
+ ncbi_taxonomy_id: str,
4889
+ /**
4890
+ * Scientific name of the organism.
4891
+ */
4892
+ organism_scientific: str,
4893
+ },
4894
+ /**
4895
+ * Data items in the MA_DATA category capture the different kinds of
4896
+ * data used in the modeling. These can be multiple sequence
4897
+ * alignments, spatial restraints, template structures etc.
4898
+ */
4899
+ ma_data: {
4900
+ /**
4901
+ * A unique identifier for the data.
4902
+ */
4903
+ id: int,
4904
+ /**
4905
+ * The type of data held in the dataset.
4906
+ */
4907
+ content_type: Aliased(str),
4908
+ /**
4909
+ * Details for other content types.
4910
+ */
4911
+ content_type_other_details: str,
4912
+ /**
4913
+ * An author-given name for the content held in the dataset.
4914
+ */
4915
+ name: str,
4916
+ },
4917
+ /**
4918
+ * Data items in the MA_SOFTWARE_GROUP category describes the
4919
+ * collection of software into groups so that they can be used
4920
+ * efficiently in the MA_PROTOCOL_STEP category.
4921
+ */
4922
+ ma_software_group: {
4923
+ /**
4924
+ * A unique identifier for the category.
4925
+ */
4926
+ ordinal_id: int,
4927
+ /**
4928
+ * An identifier for the group entry.
4929
+ * If data does not need to be grouped, then _ma_software_group.group_id
4930
+ * is the same as _ma_software_group.software_id.
4931
+ */
4932
+ group_id: int,
4933
+ /**
4934
+ * The identifier for the software.
4935
+ * This data item is a pointer to _software.pdbx_ordinal
4936
+ * in the SOFTWARE category.
4937
+ */
4938
+ software_id: int,
4939
+ },
4940
+ /**
4941
+ * Data items in the MA_QA_METRIC category record the
4942
+ * details of the metrics use to assess model quality.
4943
+ */
4944
+ ma_qa_metric: {
4945
+ /**
4946
+ * An identifier for the QA metric.
4947
+ */
4948
+ id: int,
4949
+ /**
4950
+ * Name of the QA metric.
4951
+ */
4952
+ name: str,
4953
+ /**
4954
+ * The type of QA metric.
4955
+ */
4956
+ type: Aliased(str),
4957
+ /**
4958
+ * The mode of calculation of the QA metric.
4959
+ */
4960
+ mode: Aliased(str),
4961
+ /**
4962
+ * Identifier to the set of software used to calculate the QA metric.
4963
+ * This data item is a pointer to the _ma_software_group.group_id in the
4964
+ * MA_SOFTWARE_GROUP category.
4965
+ */
4966
+ software_group_id: int,
4967
+ },
4968
+ /**
4969
+ * Data items in the MA_QA_METRIC_GLOBAL category captures the
4970
+ * details of the global QA metrics, calculated at the model-level.
4971
+ */
4972
+ ma_qa_metric_global: {
4973
+ /**
4974
+ * A unique identifier for the category.
4975
+ */
4976
+ ordinal_id: int,
4977
+ /**
4978
+ * The identifier for the structural model, for which global QA metric is provided.
4979
+ * This data item is a pointer to _ma_model_list.model_id
4980
+ * in the MA_MODEL_LIST category.
4981
+ */
4982
+ model_id: int,
4983
+ /**
4984
+ * The identifier for the QA metric.
4985
+ * This data item is a pointer to _ma_qa_metric.id in the
4986
+ * MA_QA_METRIC category.
4987
+ */
4988
+ metric_id: int,
4989
+ /**
4990
+ * The value of the global QA metric.
4991
+ */
4992
+ metric_value: float,
4993
+ },
4994
+ /**
4995
+ * Data items in the MA_QA_METRIC_LOCAL category captures the
4996
+ * details of the local QA metrics, calculated at the residue-level.
4997
+ */
4998
+ ma_qa_metric_local: {
4999
+ /**
5000
+ * A unique identifier for the category.
5001
+ */
5002
+ ordinal_id: int,
5003
+ /**
5004
+ * The identifier for the structural model, for which local QA metric is provided.
5005
+ * This data item is a pointer to _ma_model_list.model_id
5006
+ * in the MA_MODEL_LIST category.
5007
+ */
5008
+ model_id: int,
5009
+ /**
5010
+ * The identifier for the asym id of the residue in the
5011
+ * structural model, for which local QA metric is provided.
5012
+ * This data item is a pointer to _atom_site.label_asym_id
5013
+ * in the ATOM_SITE category.
5014
+ */
5015
+ label_asym_id: str,
5016
+ /**
5017
+ * The identifier for the sequence index of the residue
5018
+ * in the structural model, for which local QA metric is provided.
5019
+ * This data item is a pointer to _atom_site.label_seq_id
5020
+ * in the ATOM_SITE category.
5021
+ */
5022
+ label_seq_id: int,
5023
+ /**
5024
+ * The component identifier for the residue in the
5025
+ * structural model, for which local QA metric is provided.
5026
+ * This data item is a pointer to _atom_site.label_comp_id
5027
+ * in the ATOM_SITE category.
5028
+ */
5029
+ label_comp_id: str,
5030
+ /**
5031
+ * The identifier for the QA metric.
5032
+ * This data item is a pointer to _ma_qa_metric.id in the
5033
+ * MA_QA_METRIC category.
5034
+ */
5035
+ metric_id: int,
5036
+ /**
5037
+ * The value of the local QA metric.
5038
+ */
5039
+ metric_value: float,
5040
+ },
4716
5041
  };
4717
5042
  ;
4718
5043
  //# sourceMappingURL=mmcif.js.map
@@ -22,8 +22,9 @@ var SymmetryOperator;
22
22
  var suffix = getSuffix(info);
23
23
  if (Mat4.isIdentity(matrix))
24
24
  return { name: name, assembly: assembly, matrix: matrix, inverse: Mat4.identity(), isIdentity: true, hkl: _hkl, spgrOp: spgrOp, ncsId: ncsId, suffix: suffix };
25
- if (!Mat4.isRotationAndTranslation(matrix, SymmetryOperator.RotationTranslationEpsilon))
26
- throw new Error("Symmetry operator (".concat(name, ") must be a composition of rotation and translation."));
25
+ if (!Mat4.isRotationAndTranslation(matrix, SymmetryOperator.RotationTranslationEpsilon)) {
26
+ console.warn("Symmetry operator (".concat(name, ") should be a composition of rotation and translation."));
27
+ }
27
28
  return { name: name, assembly: assembly, matrix: matrix, inverse: Mat4.invert(Mat4(), matrix), isIdentity: false, hkl: _hkl, spgrOp: spgrOp, ncsId: ncsId, suffix: suffix };
28
29
  }
29
30
  SymmetryOperator.create = create;