stjames 0.0.71__tar.gz → 0.0.73__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.
Potentially problematic release.
This version of stjames might be problematic. Click here for more details.
- {stjames-0.0.71/stjames.egg-info → stjames-0.0.73}/PKG-INFO +1 -1
- {stjames-0.0.71 → stjames-0.0.73}/pyproject.toml +1 -1
- {stjames-0.0.71 → stjames-0.0.73}/stjames/method.py +19 -3
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/macropka.py +2 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/protein_cofolding.py +13 -3
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/workflow.py +6 -4
- {stjames-0.0.71 → stjames-0.0.73/stjames.egg-info}/PKG-INFO +1 -1
- {stjames-0.0.71 → stjames-0.0.73}/LICENSE +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/README.md +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/setup.cfg +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/__init__.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/_deprecated_solvent_settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/atom.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/atomium_stjames/__init__.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/atomium_stjames/data.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/atomium_stjames/mmcif.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/atomium_stjames/pdb.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/atomium_stjames/utilities.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/base.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/basis_set.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/calculation.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/compute_settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/constraint.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/correction.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/data/__init__.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/data/bragg_radii.json +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/data/elements.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/data/isotopes.json +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/data/nist_isotopes.json +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/data/read_nist_isotopes.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/data/symbol_element.json +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/diis_settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/grid_settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/int_settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/message.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/mode.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/molecule.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/opt_settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/pdb.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/periodic_cell.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/py.typed +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/scf_settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/solvent.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/status.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/task.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/thermochem_settings.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/types.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/__init__.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/admet.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/basic_calculation.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/bde.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/conformer.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/conformer_search.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/descriptors.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/docking.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/electronic_properties.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/fukui.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/hydrogen_bond_basicity.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/ion_mobility.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/irc.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/molecular_dynamics.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/multistage_opt.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/pka.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/redox_potential.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/scan.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/solubility.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/spin_states.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames/workflows/tautomer.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames.egg-info/SOURCES.txt +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames.egg-info/dependency_links.txt +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames.egg-info/requires.txt +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/stjames.egg-info/top_level.txt +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/tests/test_constraints.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/tests/test_from_extxyz.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/tests/test_molecule.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/tests/test_pdb.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/tests/test_rounding.py +0 -0
- {stjames-0.0.71 → stjames-0.0.73}/tests/test_settings.py +0 -0
|
@@ -50,9 +50,25 @@ class Method(LowercaseStrEnum):
|
|
|
50
50
|
|
|
51
51
|
RM1 = "rm1"
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
EGRET_1 = "egret_1"
|
|
54
|
+
EGRET_1E = "egret_1e"
|
|
55
|
+
EGRET_1H = "egret_1h"
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
PrepackagedNNPMethod = Literal[
|
|
59
|
+
Method.AIMNET2_WB97MD3, Method.OCP24_S, Method.OCP24_L, Method.RM1, Method.ORB_V3_CONSERVATIVE_INF_OMAT, Method.EGRET_1, Method.EGRET_1E, Method.EGRET_1H
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
PREPACKAGED_NNP_METHODS = [
|
|
63
|
+
Method.AIMNET2_WB97MD3,
|
|
64
|
+
Method.OCP24_S,
|
|
65
|
+
Method.OCP24_L,
|
|
66
|
+
Method.RM1,
|
|
67
|
+
Method.ORB_V3_CONSERVATIVE_INF_OMAT,
|
|
68
|
+
Method.EGRET_1,
|
|
69
|
+
Method.EGRET_1E,
|
|
70
|
+
Method.EGRET_1H,
|
|
71
|
+
]
|
|
56
72
|
|
|
57
73
|
CorrectableNNPMethod = Literal[Method.MACE_MP_0B2_L, Method.ORB_V2]
|
|
58
74
|
CORRECTABLE_NNP_METHODS = [Method.MACE_MP_0B2_L, Method.ORB_V2]
|
|
@@ -60,6 +60,7 @@ class MacropKaWorkflow(SMILESWorkflow):
|
|
|
60
60
|
:param microstate_weights_by_pH: the % of different microstates by pH
|
|
61
61
|
:param logD_by_pH: the distribution constant (water/octanol) by pH
|
|
62
62
|
:param aqueous_solubility_by_pH: the log(S)/L of the compound in water, by pH
|
|
63
|
+
:param kpuu_probability: the probability that Kpuu >= 0.3, the Schrodinger-determined threshold
|
|
63
64
|
"""
|
|
64
65
|
|
|
65
66
|
min_pH: Annotated[float, AfterValidator(round_float(3))] = 0.0
|
|
@@ -73,6 +74,7 @@ class MacropKaWorkflow(SMILESWorkflow):
|
|
|
73
74
|
pKa_values: list[MacropKaValue] = []
|
|
74
75
|
isoelectric_point: Annotated[Optional[float], AfterValidator(round_float(3))] = None
|
|
75
76
|
solvation_energy: Annotated[Optional[float], AfterValidator(round_float(3))] = None
|
|
77
|
+
kpuu_probability: Annotated[Optional[float], AfterValidator(round_float(3))] = None
|
|
76
78
|
|
|
77
79
|
microstate_weights_by_pH: list[
|
|
78
80
|
tuple[
|
|
@@ -2,14 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
from pydantic import BaseModel
|
|
4
4
|
|
|
5
|
+
from ..base import LowercaseStrEnum
|
|
5
6
|
from ..types import UUID
|
|
6
7
|
from .workflow import FASTAWorkflow
|
|
7
8
|
|
|
8
9
|
|
|
10
|
+
class CofoldingModel(LowercaseStrEnum):
|
|
11
|
+
"""Cofolding model to be used for prediction."""
|
|
12
|
+
|
|
13
|
+
CHAI_1R = "chai_1r"
|
|
14
|
+
BOLTZ = "boltz"
|
|
15
|
+
|
|
16
|
+
|
|
9
17
|
class CofoldingScores(BaseModel):
|
|
10
18
|
confidence_score: float
|
|
11
|
-
ptm: float # predicted template
|
|
12
|
-
iptm: float # interface predicted template
|
|
19
|
+
ptm: float # predicted template modeling score
|
|
20
|
+
iptm: float # interface predicted template modeling score
|
|
13
21
|
|
|
14
22
|
|
|
15
23
|
class ProteinCofoldingWorkflow(FASTAWorkflow):
|
|
@@ -17,7 +25,8 @@ class ProteinCofoldingWorkflow(FASTAWorkflow):
|
|
|
17
25
|
A workflow for predicting structures. Especially protein structures.
|
|
18
26
|
|
|
19
27
|
Inherited:
|
|
20
|
-
:param
|
|
28
|
+
:param initial_protein_sequences: protein sequences of interest
|
|
29
|
+
:param initial_smiles_list: SMILES strings of interest
|
|
21
30
|
|
|
22
31
|
New:
|
|
23
32
|
:param use_msa_server: whether to use the MSA server
|
|
@@ -29,3 +38,4 @@ class ProteinCofoldingWorkflow(FASTAWorkflow):
|
|
|
29
38
|
use_templates_server: bool = False
|
|
30
39
|
predicted_structure_uuid: UUID | None = None
|
|
31
40
|
scores: CofoldingScores | None = None
|
|
41
|
+
model: CofoldingModel = CofoldingModel.CHAI_1R
|
|
@@ -24,15 +24,17 @@ class Workflow(Base):
|
|
|
24
24
|
|
|
25
25
|
class FASTAWorkflow(Workflow):
|
|
26
26
|
"""
|
|
27
|
-
Base class for Workflows that operate on
|
|
27
|
+
Base class for Workflows that operate on protein sequences and SMILES.
|
|
28
28
|
|
|
29
|
-
:param
|
|
29
|
+
:param initial_protein_sequences: protein sequences of interest
|
|
30
|
+
:param initial_smiles_list: SMILES strings of interest
|
|
30
31
|
"""
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
initial_protein_sequences: list[str]
|
|
34
|
+
initial_smiles_list: list[str] | None = None
|
|
33
35
|
|
|
34
36
|
def __repr__(self) -> str:
|
|
35
|
-
return f"<{type(self).__name__} {self.
|
|
37
|
+
return f"<{type(self).__name__} {self.initial_protein_sequences} {self.initial_smiles_list}>"
|
|
36
38
|
|
|
37
39
|
|
|
38
40
|
class SMILESWorkflow(Workflow):
|
|
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
|