rowan-python 3.0.9__py3-none-any.whl → 3.0.10__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/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.10.dist-info}/METADATA +1 -1
- {rowan_python-3.0.9.dist-info → rowan_python-3.0.10.dist-info}/RECORD +8 -8
- {rowan_python-3.0.9.dist-info → rowan_python-3.0.10.dist-info}/WHEEL +0 -0
- {rowan_python-3.0.9.dist-info → rowan_python-3.0.10.dist-info}/licenses/LICENSE +0 -0
rowan/__init__.py
CHANGED
|
@@ -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
|
|
@@ -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.10.dist-info/METADATA,sha256=YmNtnjgDWfXkYpKxuCNfZLHt6uC_YBQTvq9J7Rubt2A,1601
|
|
55
|
+
rowan_python-3.0.10.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
56
|
+
rowan_python-3.0.10.dist-info/licenses/LICENSE,sha256=i05z7xEhyrg6f8j0lR3XYjShnF-MJGFQ-DnpsZ8yiVI,1084
|
|
57
|
+
rowan_python-3.0.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|