gatewizard 1.0.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.
- gatewizard/__init__.py +48 -0
- gatewizard/core/__init__.py +29 -0
- gatewizard/core/builder.py +1369 -0
- gatewizard/core/file_manager.py +396 -0
- gatewizard/core/job_monitor.py +546 -0
- gatewizard/core/preparation.py +998 -0
- gatewizard/gui/__init__.py +18 -0
- gatewizard/gui/app.py +2006 -0
- gatewizard/gui/base/__init__.py +5 -0
- gatewizard/gui/base/callback_manager.py +94 -0
- gatewizard/gui/constants.py +285 -0
- gatewizard/gui/frames/__init__.py +19 -0
- gatewizard/gui/frames/analysis.py +7332 -0
- gatewizard/gui/frames/builder_frame.py +1258 -0
- gatewizard/gui/frames/equilibration.py +3636 -0
- gatewizard/gui/frames/preparation_frame.py +2110 -0
- gatewizard/gui/frames/visualize.py +1198 -0
- gatewizard/gui/widgets/__init__.py +17 -0
- gatewizard/gui/widgets/leaflet_frame.py +350 -0
- gatewizard/gui/widgets/progress_tracker.py +1092 -0
- gatewizard/gui/widgets/propka_workflow_helper.py +1129 -0
- gatewizard/gui/widgets/searchable_combobox.py +367 -0
- gatewizard/gui/widgets/stage_tabs.py +352 -0
- gatewizard/main.py +155 -0
- gatewizard/tools/__init__.py +16 -0
- gatewizard/tools/equilibration.py +2515 -0
- gatewizard/tools/force_fields.py +408 -0
- gatewizard/tools/molecular_viewer.py +198 -0
- gatewizard/tools/validators.py +657 -0
- gatewizard/utils/__init__.py +47 -0
- gatewizard/utils/bilayer_utils.py +314 -0
- gatewizard/utils/config.py +407 -0
- gatewizard/utils/helpers.py +483 -0
- gatewizard/utils/logger.py +297 -0
- gatewizard/utils/namd_analysis.py +2463 -0
- gatewizard/utils/optional_deps.py +112 -0
- gatewizard/utils/protein_capping.py +583 -0
- gatewizard-1.0.0.dist-info/METADATA +256 -0
- gatewizard-1.0.0.dist-info/RECORD +106 -0
- gatewizard-1.0.0.dist-info/WHEEL +5 -0
- gatewizard-1.0.0.dist-info/entry_points.txt +2 -0
- gatewizard-1.0.0.dist-info/licenses/LICENSE +21 -0
- gatewizard-1.0.0.dist-info/top_level.txt +2 -0
- tests/__init__.py +10 -0
- tests/analysis_examples/analysis_example_01.py +33 -0
- tests/analysis_examples/analysis_example_02.py +14 -0
- tests/analysis_examples/analysis_example_03.py +45 -0
- tests/analysis_examples/analysis_example_04.py +31 -0
- tests/analysis_examples/analysis_example_05.py +47 -0
- tests/analysis_examples/analysis_example_06.py +33 -0
- tests/analysis_examples/analysis_example_07.py +55 -0
- tests/analysis_examples/analysis_example_08.py +50 -0
- tests/analysis_examples/analysis_example_09.py +45 -0
- tests/analysis_examples/analysis_example_10.py +140 -0
- tests/builder_examples/builder_example_01.py +6 -0
- tests/builder_examples/builder_example_02.py +15 -0
- tests/builder_examples/builder_example_03.py +12 -0
- tests/builder_examples/builder_example_04.py +12 -0
- tests/builder_examples/builder_example_05.py +12 -0
- tests/builder_examples/builder_example_06.py +21 -0
- tests/builder_examples/builder_example_07.py +9 -0
- tests/builder_examples/builder_example_08.py +34 -0
- tests/builder_examples/builder_example_09.py +36 -0
- tests/builder_examples/builder_example_10.py +39 -0
- tests/builder_examples/builder_example_11.py +27 -0
- tests/builder_examples/builder_example_12.py +24 -0
- tests/builder_examples/builder_example_13.py +25 -0
- tests/builder_examples/builder_example_14.py +24 -0
- tests/builder_examples/builder_example_15.py +4 -0
- tests/builder_examples/builder_example_16.py +43 -0
- tests/builder_examples/builder_example_17.py +34 -0
- tests/equilibration_examples/equilibration_example_01.py +40 -0
- tests/equilibration_examples/equilibration_example_02.py +47 -0
- tests/equilibration_examples/equilibration_example_03.py +18 -0
- tests/equilibration_examples/equilibration_example_04.py +75 -0
- tests/equilibration_examples/equilibration_example_05.py +105 -0
- tests/equilibration_examples/equilibration_example_06.py +151 -0
- tests/equilibration_examples/equilibration_example_07.py +86 -0
- tests/equilibration_examples/popc_membrane/status_utils.py +95 -0
- tests/preparation_examples/preparation_example_01.py +4 -0
- tests/preparation_examples/preparation_example_02.py +4 -0
- tests/preparation_examples/preparation_example_03.py +10 -0
- tests/preparation_examples/preparation_example_04.py +34 -0
- tests/preparation_examples/preparation_example_05.py +30 -0
- tests/preparation_examples/preparation_example_06.py +11 -0
- tests/preparation_examples/preparation_example_07.py +5 -0
- tests/preparation_examples/preparation_example_08.py +17 -0
- tests/preparation_examples/preparation_example_09.py +18 -0
- tests/preparation_examples/preparation_example_10.py +19 -0
- tests/preparation_examples/preparation_example_11.py +10 -0
- tests/preparation_examples/preparation_example_12.py +13 -0
- tests/preparation_examples/preparation_example_13.py +51 -0
- tests/preparation_examples/preparation_example_14.py +146 -0
- tests/preparation_examples/preparation_example_15.py +23 -0
- tests/preparation_examples/preparation_example_16.py +6 -0
- tests/preparation_examples/preparation_example_17.py +32 -0
- tests/preparation_examples/preparation_example_18.py +48 -0
- tests/preparation_examples/preparation_example_19.py +30 -0
- tests/preparation_examples/preparation_example_20.py +66 -0
- tests/preparation_examples/preparation_example_21.py +30 -0
- tests/preparation_examples/preparation_example_22.py +54 -0
- tests/test_analysis.py +389 -0
- tests/test_builder.py +570 -0
- tests/test_equilibration.py +721 -0
- tests/test_new_api.py +448 -0
- tests/test_preparation.py +997 -0
gatewizard/__init__.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MIT
|
|
2
|
+
# Copyright (c) 2025 Constanza González and Mauricio Bedoya
|
|
3
|
+
|
|
4
|
+
"""
|
|
5
|
+
Gatewizard - A tool for membrane protein preparation and analysis.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
__version__ = "1.0.0"
|
|
9
|
+
__author__ = "Constanza González, Mauricio Bedoya"
|
|
10
|
+
__email__ = ""
|
|
11
|
+
__license__ = "MIT"
|
|
12
|
+
|
|
13
|
+
# Import main classes for easier access
|
|
14
|
+
from gatewizard.core.preparation import (
|
|
15
|
+
run_propka,
|
|
16
|
+
extract_summary_section,
|
|
17
|
+
parse_summary_section,
|
|
18
|
+
modify_pdb_based_on_summary,
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
from gatewizard.core.builder import Builder
|
|
22
|
+
from gatewizard.core.job_monitor import JobMonitor
|
|
23
|
+
|
|
24
|
+
# GUI imports (optional, only if GUI dependencies are available)
|
|
25
|
+
try:
|
|
26
|
+
from gatewizard.gui.app import ProteinViewerApp
|
|
27
|
+
GUI_AVAILABLE = True
|
|
28
|
+
except ImportError:
|
|
29
|
+
GUI_AVAILABLE = False
|
|
30
|
+
ProteinViewerApp = None
|
|
31
|
+
|
|
32
|
+
__all__ = [
|
|
33
|
+
"__version__",
|
|
34
|
+
"__author__",
|
|
35
|
+
"__email__",
|
|
36
|
+
"__license__",
|
|
37
|
+
"run_propka",
|
|
38
|
+
"extract_summary_section",
|
|
39
|
+
"parse_summary_section",
|
|
40
|
+
"modify_pdb_based_on_summary",
|
|
41
|
+
"Builder",
|
|
42
|
+
"JobMonitor",
|
|
43
|
+
"GUI_AVAILABLE",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
# Add ProteinViewerApp to __all__ if GUI is available
|
|
47
|
+
if GUI_AVAILABLE:
|
|
48
|
+
__all__.append("ProteinViewerApp")
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Core functionality module for Gatewizard.
|
|
3
|
+
|
|
4
|
+
This module contains the core business logic for protein preparation,
|
|
5
|
+
system building, and job monitoring. It is independent of the GUI
|
|
6
|
+
and can be used programmatically.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from gatewizard.core.preparation import (
|
|
10
|
+
run_propka,
|
|
11
|
+
extract_summary_section,
|
|
12
|
+
parse_summary_section,
|
|
13
|
+
modify_pdb_based_on_summary,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
from gatewizard.core.builder import Builder
|
|
17
|
+
from gatewizard.core.job_monitor import JobMonitor, JobStatus
|
|
18
|
+
from gatewizard.core.file_manager import FileManager
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"run_propka",
|
|
22
|
+
"extract_summary_section",
|
|
23
|
+
"parse_summary_section",
|
|
24
|
+
"modify_pdb_based_on_summary",
|
|
25
|
+
"Builder",
|
|
26
|
+
"JobMonitor",
|
|
27
|
+
"JobStatus",
|
|
28
|
+
"FileManager",
|
|
29
|
+
]
|