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.
Files changed (156) hide show
  1. {hbat-2.2.13 → hbat-2.2.13.dev31}/PKG-INFO +2 -13
  2. {hbat-2.2.13 → hbat-2.2.13.dev31}/README.md +0 -12
  3. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/cli.rst +67 -5
  4. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/index.rst +4 -16
  5. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/installation.rst +0 -10
  6. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/high_resolution.hbat +1 -1
  7. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/standard_resolution.hbat +1 -1
  8. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/strong_interactions_only.hbat +1 -1
  9. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/weak_interactions_permissive.hbat +1 -1
  10. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/_version.py +2 -2
  11. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/parameters.py +1 -1
  12. {hbat-2.2.13 → hbat-2.2.13.dev31}/pyproject.toml +1 -0
  13. {hbat-2.2.13 → hbat-2.2.13.dev31}/requirements.txt +1 -1
  14. {hbat-2.2.13 → hbat-2.2.13.dev31}/.github/workflows/cleanup-prereleases.yml +0 -0
  15. {hbat-2.2.13 → hbat-2.2.13.dev31}/.github/workflows/joss-paper.yml +0 -0
  16. {hbat-2.2.13 → hbat-2.2.13.dev31}/.github/workflows/release.yml +0 -0
  17. {hbat-2.2.13 → hbat-2.2.13.dev31}/.github/workflows/test.yml +0 -0
  18. {hbat-2.2.13 → hbat-2.2.13.dev31}/CITATION.cff +0 -0
  19. {hbat-2.2.13 → hbat-2.2.13.dev31}/CODE_OF_CONDUCT.md +0 -0
  20. {hbat-2.2.13 → hbat-2.2.13.dev31}/CONTRIBUTING.md +0 -0
  21. {hbat-2.2.13 → hbat-2.2.13.dev31}/LICENSE +0 -0
  22. {hbat-2.2.13 → hbat-2.2.13.dev31}/MANIFEST.in +0 -0
  23. {hbat-2.2.13 → hbat-2.2.13.dev31}/Makefile +0 -0
  24. {hbat-2.2.13 → hbat-2.2.13.dev31}/build_standalone.py +0 -0
  25. {hbat-2.2.13 → hbat-2.2.13.dev31}/build_standalone_linux.py +0 -0
  26. {hbat-2.2.13 → hbat-2.2.13.dev31}/build_standalone_windows.py +0 -0
  27. {hbat-2.2.13 → hbat-2.2.13.dev31}/conda/meta.yaml +0 -0
  28. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/Makefile +0 -0
  29. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/requirements.txt +0 -0
  30. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/_static/custom.css +0 -0
  31. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/_static/light-theme.css +0 -0
  32. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/ccd/ccd_analyzer.rst +0 -0
  33. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/ccd/constants_generator.rst +0 -0
  34. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/ccd/generate_ccd_constants.rst +0 -0
  35. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/ccd/index.rst +0 -0
  36. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/cli/index.rst +0 -0
  37. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/app.rst +0 -0
  38. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/atomic_data.rst +0 -0
  39. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/index.rst +0 -0
  40. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/misc.rst +0 -0
  41. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/parameters.rst +0 -0
  42. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/constants/pdb_constants.rst +0 -0
  43. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/index.rst +0 -0
  44. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/interactions.rst +0 -0
  45. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/np_analyzer.rst +0 -0
  46. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/np_vector.rst +0 -0
  47. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/pdb_fixer.rst +0 -0
  48. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/pdb_parser.rst +0 -0
  49. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/core/structure.rst +0 -0
  50. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/examples/index.rst +0 -0
  51. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/gui/index.rst +0 -0
  52. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/index.rst +0 -0
  53. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/utilities/atom_utils.rst +0 -0
  54. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/utilities/graphviz_utils.rst +0 -0
  55. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/api/utilities/index.rst +0 -0
  56. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/conf.py +0 -0
  57. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/development.rst +0 -0
  58. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/license.rst +0 -0
  59. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/logic.rst +0 -0
  60. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/parameters.rst +0 -0
  61. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/pdbfixing.rst +0 -0
  62. {hbat-2.2.13 → hbat-2.2.13.dev31}/docs/source/quickstart.rst +0 -0
  63. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/1bhl.pdb +0 -0
  64. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/1gai.pdb +0 -0
  65. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/1ubi.pdb +0 -0
  66. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/2izf.pdb +0 -0
  67. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/4jsv.pdb +0 -0
  68. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/4laz.pdb +0 -0
  69. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/4ub7.pdb +0 -0
  70. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/4x21.pdb +0 -0
  71. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_pdb_files/6rsa.pdb +0 -0
  72. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/drug_design_strict.hbat +0 -0
  73. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/low_resolution.hbat +0 -0
  74. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/membrane_proteins.hbat +0 -0
  75. {hbat-2.2.13 → hbat-2.2.13.dev31}/example_presets/nmr_structures.hbat +0 -0
  76. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/__init__.py +0 -0
  77. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/ccd/__init__.py +0 -0
  78. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/ccd/ccd_analyzer.py +0 -0
  79. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/ccd/constants_generator.py +0 -0
  80. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/ccd/generate_ccd_constants.py +0 -0
  81. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/cli/__init__.py +0 -0
  82. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/cli/main.py +0 -0
  83. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/__init__.py +0 -0
  84. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/app.py +0 -0
  85. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/atomic_data.py +0 -0
  86. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/misc.py +0 -0
  87. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/pdb_constants.py +0 -0
  88. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/constants/residue_bonds.py +0 -0
  89. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/__init__.py +0 -0
  90. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/analysis.py +0 -0
  91. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/analyzer.py +0 -0
  92. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/app_config.py +0 -0
  93. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/atom_classifier.py +0 -0
  94. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/interactions.py +0 -0
  95. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/np_analyzer.py +0 -0
  96. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/np_vector.py +0 -0
  97. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/pdb_fixer.py +0 -0
  98. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/pdb_parser.py +0 -0
  99. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/core/structure.py +0 -0
  100. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/__init__.py +0 -0
  101. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/chain_visualization.py +0 -0
  102. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/export_manager.py +0 -0
  103. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/graphviz_preferences_dialog.py +0 -0
  104. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/graphviz_renderer.py +0 -0
  105. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/main_window.py +0 -0
  106. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/matplotlib_renderer.py +0 -0
  107. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/parameter_panel.py +0 -0
  108. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/results_panel.py +0 -0
  109. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/gui/visualization_renderer.py +0 -0
  110. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/utilities/__init__.py +0 -0
  111. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/utilities/atom_utils.py +0 -0
  112. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat/utilities/graphviz_utils.py +0 -0
  113. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.egg-info/SOURCES.txt +0 -0
  114. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.icns +0 -0
  115. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.ico +0 -0
  116. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.png +0 -0
  117. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat.svg +0 -0
  118. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat_cli.py +0 -0
  119. {hbat-2.2.13 → hbat-2.2.13.dev31}/hbat_gui.py +0 -0
  120. {hbat-2.2.13 → hbat-2.2.13.dev31}/paper/paper.bib +0 -0
  121. {hbat-2.2.13 → hbat-2.2.13.dev31}/paper/paper.md +0 -0
  122. {hbat-2.2.13 → hbat-2.2.13.dev31}/pytest.ini +0 -0
  123. {hbat-2.2.13 → hbat-2.2.13.dev31}/requirements-dev.txt +0 -0
  124. {hbat-2.2.13 → hbat-2.2.13.dev31}/setup.cfg +0 -0
  125. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/README.md +0 -0
  126. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/__init__.py +0 -0
  127. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/cli/__init__.py +0 -0
  128. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/cli/test_cli_main.py +0 -0
  129. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/cli/test_cli_output_formats.py +0 -0
  130. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/conftest.py +0 -0
  131. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/__init__.py +0 -0
  132. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/test_cli_workflows.py +0 -0
  133. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/test_complete_workflows.py +0 -0
  134. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/test_graphviz_workflows.py +0 -0
  135. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/e2e/test_gui_workflows.py +0 -0
  136. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/gui/__init__.py +0 -0
  137. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/gui/test_gui_components.py +0 -0
  138. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/__init__.py +0 -0
  139. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_analyzer_components.py +0 -0
  140. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_cli_integration.py +0 -0
  141. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_graphviz_renderer.py +0 -0
  142. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_molecular_validation.py +0 -0
  143. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/integration/test_pdb_parsing.py +0 -0
  144. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/performance/__init__.py +0 -0
  145. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/performance/test_ccd_performance.py +0 -0
  146. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/performance/test_performance_workflows.py +0 -0
  147. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/run_tests.py +0 -0
  148. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/__init__.py +0 -0
  149. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_cli_parsing.py +0 -0
  150. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_graphviz_utils.py +0 -0
  151. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_gui_components.py +0 -0
  152. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_interactions.py +0 -0
  153. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_parameters.py +0 -0
  154. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_scrollable_canvas.py +0 -0
  155. {hbat-2.2.13 → hbat-2.2.13.dev31}/tests/unit/test_structures.py +0 -0
  156. {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 protein.pdb -o results.txt # Text format
191
- hbat protein.pdb -o results.csv # CSV format (single file)
192
- hbat protein.pdb -o results.json # JSON format (single file)
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 # Basic analysis
133
- hbat input.pdb -o results.csv # Save results to CSV file (default)
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
 
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "pdb_fixing": {
25
25
  "enabled": false,
26
- "method": "openbabel",
26
+ "method": "pdbfixer",
27
27
  "add_hydrogens": true,
28
28
  "add_heavy_atoms": false,
29
29
  "replace_nonstandard": false,
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "pdb_fixing": {
25
25
  "enabled": false,
26
- "method": "openbabel",
26
+ "method": "pdbfixer",
27
27
  "add_hydrogens": true,
28
28
  "add_heavy_atoms": false,
29
29
  "replace_nonstandard": false,
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "pdb_fixing": {
25
25
  "enabled": false,
26
- "method": "openbabel",
26
+ "method": "pdbfixer",
27
27
  "add_hydrogens": true,
28
28
  "add_heavy_atoms": false,
29
29
  "replace_nonstandard": false,
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "pdb_fixing": {
25
25
  "enabled": true,
26
- "method": "openbabel",
26
+ "method": "pdbfixer",
27
27
  "add_hydrogens": true,
28
28
  "add_heavy_atoms": false,
29
29
  "replace_nonstandard": false,
@@ -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 = "openbabel" # Method: "openbabel" or "pdbfixer"
38
+ FIX_PDB_METHOD = "pdbfixer" # Method: "openbabel" or "pdbfixer"
39
39
 
40
40
  # Fixing operations (explicit control)
41
41
  FIX_PDB_ADD_HYDROGENS = (
@@ -33,6 +33,7 @@ dependencies = [
33
33
  "graphviz>=0.20.0",
34
34
  "Pillow>=8.0.0",
35
35
  "matplotlib>=3.3.0",
36
+ "pdbfixer-wheel>=1.11.0",
36
37
  "openbabel-wheel>=3.1.1.22",
37
38
  "pybel>=0.15.5",
38
39
  "mmcif-pdbx>=2.0.1",
@@ -14,7 +14,7 @@ graphviz>=0.20.0
14
14
  Pillow>=8.0.0
15
15
 
16
16
  # PDB structure fixing and chemical informatics
17
- pdbfixer @ git+https://github.com/openmm/pdbfixer.git
17
+ pdbfixer-wheel>=1.11.0
18
18
  openbabel-wheel>=3.1.1.22
19
19
  pybel>=0.15.5
20
20
 
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