rowan-python 3.0.9__py3-none-any.whl → 3.0.11__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.
- rowan/__init__.py +1 -0
- rowan/workflows/batch_docking.py +1 -1
- rowan/workflows/docking.py +1 -1
- rowan/workflows/protein_binder_design.py +2 -1
- rowan/workflows/strain.py +3 -3
- rowan/workflows/tautomer_search.py +4 -6
- {rowan_python-3.0.9.dist-info → rowan_python-3.0.11.dist-info}/METADATA +1 -1
- {rowan_python-3.0.9.dist-info → rowan_python-3.0.11.dist-info}/RECORD +10 -10
- {rowan_python-3.0.9.dist-info → rowan_python-3.0.11.dist-info}/WHEEL +0 -0
- {rowan_python-3.0.9.dist-info → rowan_python-3.0.11.dist-info}/licenses/LICENSE +0 -0
rowan/__init__.py
CHANGED
rowan/workflows/batch_docking.py
CHANGED
|
@@ -52,7 +52,7 @@ def submit_batch_docking_workflow(
|
|
|
52
52
|
|
|
53
53
|
:param smiles_list: SMILES strings to dock.
|
|
54
54
|
:param protein: Protein to dock (UUID or Protein object).
|
|
55
|
-
:param pocket: Binding pocket
|
|
55
|
+
:param pocket: Binding pocket as ``[[cx, cy, cz], [sx, sy, sz]]`` — center (Å) and box size (Å).
|
|
56
56
|
:param executable: Which docking implementation to use.
|
|
57
57
|
:param scoring_function: Which docking scoring function to use.
|
|
58
58
|
:param exhaustiveness: Docking exhaustiveness parameter.
|
rowan/workflows/docking.py
CHANGED
|
@@ -151,7 +151,7 @@ def submit_docking_workflow(
|
|
|
151
151
|
Submits a docking workflow to the API.
|
|
152
152
|
|
|
153
153
|
:param protein: Protein to dock. Can be input as a uuid or a Protein object.
|
|
154
|
-
:param pocket: Binding pocket
|
|
154
|
+
:param pocket: Binding pocket as ``[[cx, cy, cz], [sx, sy, sz]]`` — center (Å) and box size (Å).
|
|
155
155
|
:param initial_molecule: Initial molecule to be docked.
|
|
156
156
|
:param executable: Which docking implementation to use.
|
|
157
157
|
:param scoring_function: Which docking scoring function to use.
|
|
@@ -101,7 +101,8 @@ class ProteinBinderDesignResult(WorkflowResult):
|
|
|
101
101
|
"""Generated protein binder designs, sorted by quality score."""
|
|
102
102
|
binders: list[ProteinBinder] = []
|
|
103
103
|
for b in self._workflow.generated_binders:
|
|
104
|
-
|
|
104
|
+
raw_scores = getattr(b, "scores", None)
|
|
105
|
+
scores_dict = raw_scores.model_dump() if raw_scores is not None else {}
|
|
105
106
|
scores = BinderScores(
|
|
106
107
|
iptm=scores_dict.get("iptm"),
|
|
107
108
|
design_ptm=scores_dict.get("design_ptm"),
|
rowan/workflows/strain.py
CHANGED
|
@@ -129,8 +129,8 @@ def submit_strain_workflow(
|
|
|
129
129
|
:param harmonic_constraint_spring_constant: Spring constant for harmonic
|
|
130
130
|
constraints (kcal/mol/A). Default 5.0.
|
|
131
131
|
:param constrain_hydrogens: Whether to constrain hydrogen positions. Default False.
|
|
132
|
-
:param conf_gen_settings: Conformer generation settings. Defaults to
|
|
133
|
-
|
|
132
|
+
:param conf_gen_settings: Conformer generation settings. Defaults to
|
|
133
|
+
OpenConf with max 200 conformers.
|
|
134
134
|
:param multistage_opt_settings: Optimization settings for conformer ranking.
|
|
135
135
|
Defaults to GFN2-xTB optimization in water (ALPB) with a g-xTB singlepoint
|
|
136
136
|
in water (CPCMx).
|
|
@@ -153,7 +153,7 @@ def submit_strain_workflow(
|
|
|
153
153
|
"initial_molecule": initial_molecule,
|
|
154
154
|
"harmonic_constraint_spring_constant": harmonic_constraint_spring_constant,
|
|
155
155
|
"constrain_hydrogens": constrain_hydrogens,
|
|
156
|
-
"conf_gen_settings": conf_gen_settings or stjames.
|
|
156
|
+
"conf_gen_settings": conf_gen_settings or stjames.OpenConfSettings(max_confs=200),
|
|
157
157
|
}
|
|
158
158
|
if multistage_opt_settings is not None:
|
|
159
159
|
workflow_kwargs["multistage_opt_settings"] = multistage_opt_settings
|
|
@@ -11,7 +11,6 @@ from ..molecule import Molecule
|
|
|
11
11
|
from ..utils import api_client
|
|
12
12
|
from .base import (
|
|
13
13
|
Message,
|
|
14
|
-
Mode,
|
|
15
14
|
MoleculeInput,
|
|
16
15
|
Workflow,
|
|
17
16
|
WorkflowResult,
|
|
@@ -105,7 +104,6 @@ class TautomerResult(WorkflowResult):
|
|
|
105
104
|
|
|
106
105
|
def submit_tautomer_search_workflow(
|
|
107
106
|
initial_molecule: MoleculeInput,
|
|
108
|
-
mode: Mode = Mode.CAREFUL,
|
|
109
107
|
conf_gen_settings: stjames.ConformerGenSettingsUnion | None = None,
|
|
110
108
|
multistage_opt_settings: stjames.MultiStageOptSettings | None = None,
|
|
111
109
|
name: str = "Tautomer Search Workflow",
|
|
@@ -119,11 +117,11 @@ def submit_tautomer_search_workflow(
|
|
|
119
117
|
Submits a tautomer-search workflow to the API.
|
|
120
118
|
|
|
121
119
|
:param initial_molecule: Molecule to find tautomers for.
|
|
122
|
-
:param mode: *Deprecated.*
|
|
123
120
|
:param conf_gen_settings: Conformer generation settings. Defaults to ETKDG with
|
|
124
121
|
250 initial conformers, 20 max conformers, and 15 kcal/mol MMFF energy cutoff.
|
|
125
|
-
:param multistage_opt_settings: Optimization
|
|
126
|
-
Defaults to AIMNet2/wB97M-D3 optimization with
|
|
122
|
+
:param multistage_opt_settings: Optimization stages and singlepoint settings
|
|
123
|
+
describing the method stack. Defaults to AIMNet2/wB97M-D3 optimization with
|
|
124
|
+
CPCMx(water) singlepoint.
|
|
127
125
|
:param name: Name of the workflow.
|
|
128
126
|
:param folder_uuid: UUID of the folder to place the workflow in.
|
|
129
127
|
:param folder: Folder object to store the workflow in.
|
|
@@ -139,7 +137,7 @@ def submit_tautomer_search_workflow(
|
|
|
139
137
|
folder_uuid = folder.uuid
|
|
140
138
|
initial_molecule = molecule_to_dict(initial_molecule)
|
|
141
139
|
|
|
142
|
-
workflow_kwargs: dict[str, Any] = {"initial_molecule": initial_molecule
|
|
140
|
+
workflow_kwargs: dict[str, Any] = {"initial_molecule": initial_molecule}
|
|
143
141
|
if conf_gen_settings is not None:
|
|
144
142
|
workflow_kwargs["conf_gen_settings"] = conf_gen_settings
|
|
145
143
|
if multistage_opt_settings is not None:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
rowan/__init__.py,sha256=
|
|
1
|
+
rowan/__init__.py,sha256=TiZEbNQ3amq8QDhBS6JHsQjb19ueHkpy-AgNETZEQxI,881
|
|
2
2
|
rowan/api_keys.py,sha256=TvG5l5MmQ3Qt8Z3Y7jCA_lcrwEHuI7xHy-KLbIdQ8_A,4793
|
|
3
3
|
rowan/calculation.py,sha256=lZZ52DxPsuJWCTzFZXjhauHK6dV0KCUwzoxtmoxSY48,3442
|
|
4
4
|
rowan/config.py,sha256=3cVKHUNzkIPnN2bvx7l5sia7Zc5poXS8lKOJlowXyLA,21088
|
|
@@ -18,12 +18,12 @@ rowan/workflows/admet.py,sha256=0_wIwXXLfHF-3kgGx_1EM1ljjaYHLeEijJ-GbMYxpL8,2904
|
|
|
18
18
|
rowan/workflows/analogue_docking.py,sha256=LJpbbaug0tZ9Cg-m0b7EgGH5hJ5894fHOC16Wefx7mE,9206
|
|
19
19
|
rowan/workflows/base.py,sha256=AyV4ZBta4vz0eiOCi9mcDPTbh-30x-11lfKKwcRJdQw,30330
|
|
20
20
|
rowan/workflows/basic_calculation.py,sha256=FKYczKpYaGE-koaHKi2VARmV9Nhqr0lTOx0Jv1RzC7k,10835
|
|
21
|
-
rowan/workflows/batch_docking.py,sha256=
|
|
21
|
+
rowan/workflows/batch_docking.py,sha256=IRsqbYzJ_WGET9Vu_U7ffNpMthhi9Z679zkUqMVKCGo,3620
|
|
22
22
|
rowan/workflows/bde.py,sha256=JJUx2wFJ8yZu0sqIn7Jkm6B6O84WrrpAstCck8c7FLI,5621
|
|
23
23
|
rowan/workflows/conformer_search.py,sha256=rzarx3PKRM2rf9x1F17Jg8ZCed7_3-yEBan4g0b2HK4,9868
|
|
24
24
|
rowan/workflows/constants.py,sha256=el8jWE9gnGTLNWn5_n_V0H362vIRneOqgy7BOQ8CScg,575
|
|
25
25
|
rowan/workflows/descriptors.py,sha256=rGrNca6kA4SzX5BAOjP6rE91MOLTvCWSYKF_LW2Z0y4,2963
|
|
26
|
-
rowan/workflows/docking.py,sha256=
|
|
26
|
+
rowan/workflows/docking.py,sha256=T-_wTyuxV0DFHLJn4JDy6zJoQETPqG6lM1A2cI4YXUY,7425
|
|
27
27
|
rowan/workflows/double_ended_ts_search.py,sha256=abBblMkshhbzq5UTwIf-ovNFxY8Ltp2O-bGu_plkI58,7806
|
|
28
28
|
rowan/workflows/electronic_properties.py,sha256=ia4mlmgnioEuLDrcgDuxAyyI6VqRkdxBqshjb9uiEI8,8385
|
|
29
29
|
rowan/workflows/fukui.py,sha256=wLimH3QmorSpvkovRPlI91VuxHG4J91F2EcLYqg3eP0,5112
|
|
@@ -39,7 +39,7 @@ rowan/workflows/nmr.py,sha256=hergJdsiawKj7iV-jHxDOS03n_EnZcaCIt_ZTl34-JY,5183
|
|
|
39
39
|
rowan/workflows/pka.py,sha256=TCFSE5HI5JLPslKdbUvJe4IxrVaLExrI_3PnDfXtxTw,8691
|
|
40
40
|
rowan/workflows/pocket_detection.py,sha256=aGHY0puxekp4c4nsNYHcvKCe1fsetygL04BcSvNFvE8,3864
|
|
41
41
|
rowan/workflows/pose_analysis_md.py,sha256=UvotLhWv0_VAkKteZboOutDry7l-Zt1K6_SBx3EXqgM,9530
|
|
42
|
-
rowan/workflows/protein_binder_design.py,sha256=
|
|
42
|
+
rowan/workflows/protein_binder_design.py,sha256=OW4GG1cBWzPhM-2MomSsV99ZzMiivMGZdxim9SmFPw4,8681
|
|
43
43
|
rowan/workflows/protein_cofolding.py,sha256=D2PVwL51H3traml1JDG-9jU3R0E29AdfR9Bk0tLX1Zw,14093
|
|
44
44
|
rowan/workflows/protein_md.py,sha256=_n0IdmTQsunbP1geF-wUjXNMKNYV-ngmAPEMJlj0dkI,7021
|
|
45
45
|
rowan/workflows/rbfe_graph.py,sha256=PLqzBRkxD7tPdBViYJZjgaCP8aA2UXKc9dD4odx5XUo,5788
|
|
@@ -49,9 +49,9 @@ rowan/workflows/scan.py,sha256=KQm58utOxs6qIpX1Jv3usoUpkVHeLw4mKCs8RTUkRhk,5696
|
|
|
49
49
|
rowan/workflows/solubility.py,sha256=9-zHEHkf4AgGNDCE3x1S-6wTgwxVm4ihRmh0kwLvPFs,8594
|
|
50
50
|
rowan/workflows/solvent_dependent_conformers.py,sha256=ovvnhCE4xlkpdhccLHEq7oBJRI2-rHmZ-7_ewGECerM,7020
|
|
51
51
|
rowan/workflows/spin_states.py,sha256=c0y2cwO9NE8DmxmQ9ZouA5QoBhxgZiTYFIqhC-geVAo,7382
|
|
52
|
-
rowan/workflows/strain.py,sha256=
|
|
53
|
-
rowan/workflows/tautomer_search.py,sha256=
|
|
54
|
-
rowan_python-3.0.
|
|
55
|
-
rowan_python-3.0.
|
|
56
|
-
rowan_python-3.0.
|
|
57
|
-
rowan_python-3.0.
|
|
52
|
+
rowan/workflows/strain.py,sha256=N-CoOT-hjYzjYTMYR9Uzoy4EhnrLQEOeDNSNphsUIXQ,6380
|
|
53
|
+
rowan/workflows/tautomer_search.py,sha256=GB96BjvVsJDgLCTH4S4nkAlBoCvKud_18Y3PTY9Q528,5779
|
|
54
|
+
rowan_python-3.0.11.dist-info/METADATA,sha256=YvbKSL7wGaXuiFFHhnXUEvUvLj0G6Dx-HXOY5kw8X3I,1601
|
|
55
|
+
rowan_python-3.0.11.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
56
|
+
rowan_python-3.0.11.dist-info/licenses/LICENSE,sha256=i05z7xEhyrg6f8j0lR3XYjShnF-MJGFQ-DnpsZ8yiVI,1084
|
|
57
|
+
rowan_python-3.0.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|