rmsx 0.1.0__py3-none-any.whl
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.
- rmsx/__init__.py +46 -0
- rmsx/__main__.py +5 -0
- rmsx/addons/__init__.py +0 -0
- rmsx/addons/lddt.py +862 -0
- rmsx/cli.py +95 -0
- rmsx/commands.cxc +9 -0
- rmsx/core.py +2882 -0
- rmsx/flipbook.py +667 -0
- rmsx/molstar_static/script.js +2678 -0
- rmsx/molstar_static/vendor/molstar/5.4.2/NOTICE.txt +16 -0
- rmsx/molstar_static/vendor/molstar/5.4.2/molstar.css +3 -0
- rmsx/molstar_static/vendor/molstar/5.4.2/molstar.js +7536 -0
- rmsx/molstar_viewer.py +847 -0
- rmsx/output_safety.py +187 -0
- rmsx/r_scripts/install_deps.R +5 -0
- rmsx/r_scripts/plot_rmsx.R +708 -0
- rmsx/test_files/1UBQ.pdb +1233 -0
- rmsx/test_files/mon_sys.dcd +0 -0
- rmsx/test_files/protease_backbone.pdb +793 -0
- rmsx/test_files/short_protease_backbone.dcd +0 -0
- rmsx/vmd_scripts/__init__.py +12 -0
- rmsx/vmd_scripts/grid_color_scale_centered_xaxis_hotkeys.tcl +460 -0
- rmsx/vmd_scripts/render_flipbook_4k.tcl +60 -0
- rmsx/vmd_scripts/render_flipbook_8k.tcl +53 -0
- rmsx/vmd_scripts/vmd_finder.py +150 -0
- rmsx/vmd_scripts/wait_to_load.tcl +96 -0
- rmsx-0.1.0.dist-info/METADATA +273 -0
- rmsx-0.1.0.dist-info/RECORD +32 -0
- rmsx-0.1.0.dist-info/WHEEL +5 -0
- rmsx-0.1.0.dist-info/entry_points.txt +2 -0
- rmsx-0.1.0.dist-info/licenses/LICENSE +21 -0
- rmsx-0.1.0.dist-info/top_level.txt +1 -0
rmsx/__init__.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from importlib import import_module
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
__all__ = [
|
|
7
|
+
"run_rmsx",
|
|
8
|
+
"combine_pdb_files",
|
|
9
|
+
"all_chain_rmsx",
|
|
10
|
+
"run_rmsx_flipbook",
|
|
11
|
+
"run_flipbook",
|
|
12
|
+
"run_shift_map",
|
|
13
|
+
"all_chain_shift_map",
|
|
14
|
+
"run_shift_flipbook",
|
|
15
|
+
"MolstarFlipbookResult",
|
|
16
|
+
"build_molstar_manifest",
|
|
17
|
+
"write_molstar_flipbook",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
_CORE_EXPORTS = {
|
|
21
|
+
"run_rmsx",
|
|
22
|
+
"combine_pdb_files",
|
|
23
|
+
"all_chain_rmsx",
|
|
24
|
+
"run_rmsx_flipbook",
|
|
25
|
+
"run_shift_map",
|
|
26
|
+
"all_chain_shift_map",
|
|
27
|
+
"run_shift_flipbook",
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def __getattr__(name: str) -> Any:
|
|
32
|
+
if name in _CORE_EXPORTS:
|
|
33
|
+
core = import_module(".core", __name__)
|
|
34
|
+
return getattr(core, name)
|
|
35
|
+
if name == "run_flipbook":
|
|
36
|
+
flipbook = import_module(".flipbook", __name__)
|
|
37
|
+
return getattr(flipbook, name)
|
|
38
|
+
if name in {"MolstarFlipbookResult", "build_molstar_manifest", "write_molstar_flipbook"}:
|
|
39
|
+
molstar_viewer = import_module(".molstar_viewer", __name__)
|
|
40
|
+
return getattr(molstar_viewer, name)
|
|
41
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def __dir__() -> list[str]:
|
|
45
|
+
# Avoid importing heavy dependencies during introspection/test discovery.
|
|
46
|
+
return sorted(set(globals().keys()))
|
rmsx/__main__.py
ADDED
rmsx/addons/__init__.py
ADDED
|
File without changes
|