hbat 2.2.13__tar.gz → 2.2.13.dev31__tar.gz
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.
- {hbat-2.2.13 → hbat-2.2.13.dev31}/PKG-INFO +2 -13
- {hbat-2.2.13 → hbat-2.2.13.dev31}/README.md +0 -12
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/cli.rst +67 -5
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/index.rst +4 -16
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/installation.rst +0 -10
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/high_resolution.hbat +1 -1
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/standard_resolution.hbat +1 -1
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/strong_interactions_only.hbat +1 -1
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/weak_interactions_permissive.hbat +1 -1
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/_version.py +2 -2
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/parameters.py +1 -1
- {hbat-2.2.13 → hbat-2.2.13.dev31}/pyproject.toml +1 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/requirements.txt +1 -1
- {hbat-2.2.13 → hbat-2.2.13.dev31}/.github/workflows/cleanup-prereleases.yml +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/.github/workflows/joss-paper.yml +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/.github/workflows/release.yml +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/.github/workflows/test.yml +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/CITATION.cff +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/CODE_OF_CONDUCT.md +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/CONTRIBUTING.md +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/LICENSE +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/MANIFEST.in +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/Makefile +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/build_standalone.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/build_standalone_linux.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/build_standalone_windows.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/conda/meta.yaml +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/Makefile +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/requirements.txt +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/_static/custom.css +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/_static/light-theme.css +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/ccd/ccd_analyzer.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/ccd/constants_generator.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/ccd/generate_ccd_constants.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/ccd/index.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/cli/index.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/app.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/atomic_data.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/index.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/misc.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/parameters.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/pdb_constants.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/index.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/interactions.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/np_analyzer.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/np_vector.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/pdb_fixer.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/pdb_parser.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/structure.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/examples/index.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/gui/index.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/index.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/utilities/atom_utils.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/utilities/graphviz_utils.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/utilities/index.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/conf.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/development.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/license.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/logic.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/parameters.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/pdbfixing.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/quickstart.rst +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/1bhl.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/1gai.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/1ubi.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/2izf.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/4jsv.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/4laz.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/4ub7.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/4x21.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/6rsa.pdb +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/drug_design_strict.hbat +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/low_resolution.hbat +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/membrane_proteins.hbat +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/nmr_structures.hbat +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/ccd/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/ccd/ccd_analyzer.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/ccd/constants_generator.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/ccd/generate_ccd_constants.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/cli/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/cli/main.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/app.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/atomic_data.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/misc.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/pdb_constants.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/residue_bonds.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/analysis.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/analyzer.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/app_config.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/atom_classifier.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/interactions.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/np_analyzer.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/np_vector.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/pdb_fixer.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/pdb_parser.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/structure.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/chain_visualization.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/export_manager.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/graphviz_preferences_dialog.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/graphviz_renderer.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/main_window.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/matplotlib_renderer.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/parameter_panel.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/results_panel.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/visualization_renderer.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/utilities/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/utilities/atom_utils.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/utilities/graphviz_utils.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.egg-info/SOURCES.txt +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.icns +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.ico +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.png +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.svg +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat_cli.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat_gui.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/paper/paper.bib +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/paper/paper.md +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/pytest.ini +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/requirements-dev.txt +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/setup.cfg +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/README.md +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/cli/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/cli/test_cli_main.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/cli/test_cli_output_formats.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/conftest.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/test_cli_workflows.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/test_complete_workflows.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/test_graphviz_workflows.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/test_gui_workflows.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/gui/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/gui/test_gui_components.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_analyzer_components.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_cli_integration.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_graphviz_renderer.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_molecular_validation.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_pdb_parsing.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/performance/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/performance/test_ccd_performance.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/performance/test_performance_workflows.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/run_tests.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/__init__.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_cli_parsing.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_graphviz_utils.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_gui_components.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_interactions.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_parameters.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_scrollable_canvas.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_structures.py +0 -0
- {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_vector_math.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hbat
|
|
3
|
-
Version: 2.2.13
|
|
3
|
+
Version: 2.2.13.dev31
|
|
4
4
|
Summary: Hydrogen Bond Analysis Tool for PDB structures
|
|
5
5
|
Author-email: Abhishek Tiwari <hbat@abhishek-tiwari.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -29,6 +29,7 @@ Requires-Dist: networkx>=2.5.0
|
|
|
29
29
|
Requires-Dist: graphviz>=0.20.0
|
|
30
30
|
Requires-Dist: Pillow>=8.0.0
|
|
31
31
|
Requires-Dist: matplotlib>=3.3.0
|
|
32
|
+
Requires-Dist: pdbfixer-wheel>=1.11.0
|
|
32
33
|
Requires-Dist: openbabel-wheel>=3.1.1.22
|
|
33
34
|
Requires-Dist: pybel>=0.15.5
|
|
34
35
|
Requires-Dist: mmcif-pdbx>=2.0.1
|
|
@@ -130,18 +131,6 @@ pip install hbat
|
|
|
130
131
|
|
|
131
132
|
Run HBAT Command-Line Interface (CLI) using `hbat` or launch HBAT GUI using `hbat-gui`.
|
|
132
133
|
|
|
133
|
-
**Recommended:** For [fixing missing Hydrogen Atoms](https://hbat.abhishek-tiwari.com/pdbfixing), using PDBFixer (preferred over OpenBabel).
|
|
134
|
-
|
|
135
|
-
```bash
|
|
136
|
-
pip install git+https://github.com/abhishektiwari/hbat.git
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
If you installed HBAT from PyPI, you can also install PDBFixer using,
|
|
140
|
-
|
|
141
|
-
```bash
|
|
142
|
-
pip install git+https://github.com/openmm/pdbfixer.git
|
|
143
|
-
```
|
|
144
|
-
|
|
145
134
|
### Option 2: Install from Source
|
|
146
135
|
|
|
147
136
|
```bash
|
|
@@ -62,18 +62,6 @@ pip install hbat
|
|
|
62
62
|
|
|
63
63
|
Run HBAT Command-Line Interface (CLI) using `hbat` or launch HBAT GUI using `hbat-gui`.
|
|
64
64
|
|
|
65
|
-
**Recommended:** For [fixing missing Hydrogen Atoms](https://hbat.abhishek-tiwari.com/pdbfixing), using PDBFixer (preferred over OpenBabel).
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
pip install git+https://github.com/abhishektiwari/hbat.git
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
If you installed HBAT from PyPI, you can also install PDBFixer using,
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
pip install git+https://github.com/openmm/pdbfixer.git
|
|
75
|
-
```
|
|
76
|
-
|
|
77
65
|
### Option 2: Install from Source
|
|
78
66
|
|
|
79
67
|
```bash
|
|
@@ -110,6 +110,35 @@ These options allow fine-tuning of the interaction detection criteria:
|
|
|
110
110
|
- ``complete``: Analyze all interactions (default)
|
|
111
111
|
- ``local``: Analyze only intra-residue interactions
|
|
112
112
|
|
|
113
|
+
PDB Fixing Options
|
|
114
|
+
~~~~~~~~~~~~~~~~~~~
|
|
115
|
+
|
|
116
|
+
HBAT can automatically fix common PDB file issues before analysis:
|
|
117
|
+
|
|
118
|
+
.. option:: --fix-pdb
|
|
119
|
+
|
|
120
|
+
Enable automatic PDB fixing to resolve common structural issues like:
|
|
121
|
+
|
|
122
|
+
- Missing hydrogen atoms
|
|
123
|
+
- Incomplete residues
|
|
124
|
+
- Chain breaks
|
|
125
|
+
- Non-standard residues
|
|
126
|
+
|
|
127
|
+
.. option:: --fix-method {pdbfixer,openbabel}
|
|
128
|
+
|
|
129
|
+
Choose the method for PDB fixing (default: pdbfixer):
|
|
130
|
+
|
|
131
|
+
- ``pdbfixer``: Use PDBFixer (default method, recommended for protein structures)
|
|
132
|
+
- ``openbabel``: Use OpenBabel (alternative method)
|
|
133
|
+
|
|
134
|
+
.. option:: --save-fixed PATH
|
|
135
|
+
|
|
136
|
+
Save the fixed PDB structure to the specified file path. Useful for:
|
|
137
|
+
|
|
138
|
+
- Inspecting the fixed structure
|
|
139
|
+
- Reusing the fixed structure in other analyses
|
|
140
|
+
- Quality control of the fixing process
|
|
141
|
+
|
|
113
142
|
Preset Management
|
|
114
143
|
~~~~~~~~~~~~~~~~~
|
|
115
144
|
|
|
@@ -187,9 +216,9 @@ Save results to different formats (auto-detected from extension):
|
|
|
187
216
|
|
|
188
217
|
.. code-block:: bash
|
|
189
218
|
|
|
190
|
-
hbat
|
|
191
|
-
hbat
|
|
192
|
-
hbat
|
|
219
|
+
hbat input.pdb # Show results in terminal
|
|
220
|
+
hbat input.pdb -o results.csv # Save results to CSV file
|
|
221
|
+
hbat input.pdb -o results.json # Save results to JSON file
|
|
193
222
|
|
|
194
223
|
Multiple File Outputs
|
|
195
224
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
@@ -207,6 +236,31 @@ This creates files like:
|
|
|
207
236
|
- ``results_pi_interactions.csv``
|
|
208
237
|
- ``results_cooperativity_chains.csv``
|
|
209
238
|
|
|
239
|
+
PDB Fixing Examples
|
|
240
|
+
~~~~~~~~~~~~~~~~~~~~
|
|
241
|
+
|
|
242
|
+
Fix PDB structure automatically before analysis:
|
|
243
|
+
|
|
244
|
+
.. code-block:: bash
|
|
245
|
+
|
|
246
|
+
hbat input.pdb --fix-pdb # Auto-fix using PDBFixer (default)
|
|
247
|
+
hbat input.pdb --fix-pdb --fix-method=pdbfixer # Explicitly use PDBFixer
|
|
248
|
+
hbat input.pdb --fix-pdb --fix-method=openbabel # Use OpenBabel for fixing
|
|
249
|
+
|
|
250
|
+
Save the fixed structure for inspection:
|
|
251
|
+
|
|
252
|
+
.. code-block:: bash
|
|
253
|
+
|
|
254
|
+
hbat input.pdb --fix-pdb --save-fixed input_fixed.pdb # Save fixed structure
|
|
255
|
+
hbat input.pdb --fix-pdb --save-fixed input_fixed.pdb -o results.json # Fix, save, and analyze
|
|
256
|
+
|
|
257
|
+
For structures missing hydrogen atoms:
|
|
258
|
+
|
|
259
|
+
.. code-block:: bash
|
|
260
|
+
|
|
261
|
+
hbat no_hydrogens.pdb --fix-pdb -o results.csv # Fix and analyze
|
|
262
|
+
hbat crystal.pdb --fix-pdb --fix-method=pdbfixer --verbose # Detailed fixing process
|
|
263
|
+
|
|
210
264
|
Custom Analysis Parameters
|
|
211
265
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
212
266
|
|
|
@@ -337,10 +391,18 @@ The CLI is designed for easy integration with shell scripts and workflow systems
|
|
|
337
391
|
.. code-block:: bash
|
|
338
392
|
|
|
339
393
|
#!/bin/bash
|
|
340
|
-
# Process multiple PDB files
|
|
394
|
+
# Process multiple PDB files with automatic fixing
|
|
341
395
|
for pdb in *.pdb; do
|
|
342
396
|
echo "Processing $pdb..."
|
|
343
|
-
hbat "$pdb" --json "${pdb%.pdb}_results.json" --quiet
|
|
397
|
+
hbat "$pdb" --fix-pdb --json "${pdb%.pdb}_results.json" --quiet
|
|
398
|
+
done
|
|
399
|
+
|
|
400
|
+
# Process crystallographic structures (likely missing hydrogens)
|
|
401
|
+
for pdb in crystal_*.pdb; do
|
|
402
|
+
echo "Processing crystal structure $pdb..."
|
|
403
|
+
hbat "$pdb" --fix-pdb --fix-method=pdbfixer \
|
|
404
|
+
--save-fixed "${pdb%.pdb}_fixed.pdb" \
|
|
405
|
+
--csv "${pdb%.pdb}_analysis" --verbose
|
|
344
406
|
done
|
|
345
407
|
|
|
346
408
|
.. code-block:: python
|
|
@@ -108,20 +108,6 @@ Install HBAT
|
|
|
108
108
|
|
|
109
109
|
Run HBAT Command-Line Interface (CLI) using :code:`hbat` or launch HBAT GUI using :code:`hbat-gui`.
|
|
110
110
|
|
|
111
|
-
**Recommended:** For fixing missing Hydrogen Atoms, using PDBFixer (preferred over OpenBabel). See :doc:`pdbfixing` for details.
|
|
112
|
-
|
|
113
|
-
.. code-block:: bash
|
|
114
|
-
|
|
115
|
-
pip install git+https://github.com/abhishektiwari/hbat.git
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
If you installed HBAT from PyPI, you can also install PDBFixer using,
|
|
119
|
-
|
|
120
|
-
.. code-block:: bash
|
|
121
|
-
|
|
122
|
-
pip install git+https://github.com/openmm/pdbfixer.git
|
|
123
|
-
|
|
124
|
-
|
|
125
111
|
See complete installation instructions in :doc:`installation`.
|
|
126
112
|
|
|
127
113
|
Basic usage
|
|
@@ -129,8 +115,10 @@ Basic usage
|
|
|
129
115
|
|
|
130
116
|
.. code-block:: bash
|
|
131
117
|
|
|
132
|
-
hbat input.pdb
|
|
133
|
-
hbat input.pdb -o results.csv
|
|
118
|
+
hbat input.pdb # Show results in terminal
|
|
119
|
+
hbat input.pdb -o results.csv # Save results to CSV file (default)
|
|
120
|
+
hbat input.pdb -o results.json --fix-pdb # Apply PDB fixing and Save results to JSON file
|
|
121
|
+
hbat input.pdb -o results.json --fix-pdb --fix-method=pdbfixer # Apply PDB fixing using PdbFixer and Save results to JSON file
|
|
134
122
|
|
|
135
123
|
See full CLI options :doc:`cli`.
|
|
136
124
|
|
|
@@ -56,21 +56,11 @@ Run HBAT Command-Line Interface (CLI) using :code:`hbat` or launch HBAT GUI usin
|
|
|
56
56
|
From Github
|
|
57
57
|
~~~~~~~~~~~
|
|
58
58
|
|
|
59
|
-
**Recommended:** For fixing missing Hydrogen Atoms, using PDBFixer (preferred over OpenBabel). See :doc:`pdbfixing` for details.
|
|
60
|
-
|
|
61
|
-
|
|
62
59
|
.. code-block:: bash
|
|
63
60
|
|
|
64
61
|
pip install git+https://github.com/abhishektiwari/hbat.git
|
|
65
62
|
|
|
66
63
|
|
|
67
|
-
If you installed HBAT from PyPI, you can also install PDBFixer using,
|
|
68
|
-
|
|
69
|
-
.. code-block:: bash
|
|
70
|
-
|
|
71
|
-
pip install git+https://github.com/openmm/pdbfixer.git
|
|
72
|
-
|
|
73
|
-
|
|
74
64
|
From Source
|
|
75
65
|
~~~~~~~~~~~
|
|
76
66
|
|
|
@@ -17,5 +17,5 @@ __version__: str
|
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
|
18
18
|
version_tuple: VERSION_TUPLE
|
|
19
19
|
|
|
20
|
-
__version__ = version = '2.2.13'
|
|
21
|
-
__version_tuple__ = version_tuple = (2, 2, 13)
|
|
20
|
+
__version__ = version = '2.2.13.dev31'
|
|
21
|
+
__version_tuple__ = version_tuple = (2, 2, 13, 'dev31')
|
|
@@ -35,7 +35,7 @@ class ParametersDefault:
|
|
|
35
35
|
|
|
36
36
|
# PDB structure fixing parameters
|
|
37
37
|
FIX_PDB_ENABLED = True # Enable PDB structure fixing
|
|
38
|
-
FIX_PDB_METHOD = "
|
|
38
|
+
FIX_PDB_METHOD = "pdbfixer" # Method: "openbabel" or "pdbfixer"
|
|
39
39
|
|
|
40
40
|
# Fixing operations (explicit control)
|
|
41
41
|
FIX_PDB_ADD_HYDROGENS = (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|