config
#
Common configuration models.
Modules:
-
femto
–A comprehensive toolkit for predicting free energies
Classes:
-
FEP
–Configure modifying a system to be scalable by FEP lambdas.
-
Edge
–Defines a basic edge in a free energy network.
-
Network
–Defines a basic free energy network.
Attributes:
-
DEFAULT_INITIAL_TEMPERATURE
–The default temperature to begin annealing from during equilibration
-
LigandReferenceMethod
–The method to use when automatically selecting ligand atoms to use in alignment
DEFAULT_INITIAL_TEMPERATURE
module-attribute
#
The default temperature to begin annealing from during equilibration
LigandReferenceMethod
module-attribute
#
The method to use when automatically selecting ligand atoms to use in alignment restraints.
FEP
pydantic-model
#
Bases: BaseModel
Configure modifying a system to be scalable by FEP lambdas.
Fields:
-
scale_vdw
(bool
) -
scale_charges
(bool
) -
ligands_can_interact
(bool
)
scale_charges
pydantic-field
#
Whether to scale the electrostatic non-bonded interactions.
ligands_can_interact
pydantic-field
#
Whether ligands are allowed to interact with each other.
model_dump_yaml
#
Dump the model to a YAML representation.
Parameters:
-
output_path
(Path | None
, default:None
) –The (optional) path to save the YAML representation to.
Returns:
-
str
–The YAML representation.
Source code in femto/md/utils/models.py
Edge
pydantic-model
#
Bases: BaseModel
Defines a basic edge in a free energy network.
Fields:
-
ligand_1
(str
) -
ligand_2
(str | None
) -
ligand_1_metadata
(dict[str, Any]
) -
ligand_2_metadata
(dict[str, Any]
)
ligand_2
pydantic-field
#
The name of the second ligand. This should be None
if running an ABFE calculation.
ligand_1_metadata
pydantic-field
#
Any additional metadata about ligand 1.
ligand_2_metadata
pydantic-field
#
Any additional metadata about ligand 2.
model_dump_yaml
#
Dump the model to a YAML representation.
Parameters:
-
output_path
(Path | None
, default:None
) –The (optional) path to save the YAML representation to.
Returns:
-
str
–The YAML representation.
Source code in femto/md/utils/models.py
Network
pydantic-model
#
Bases: BaseModel
Defines a basic free energy network.
Fields:
-
receptor
(str | None
) -
edges
(list[Edge]
) -
receptor_metadata
(dict[str, Any]
)
receptor
pydantic-field
#
The name of the receptor. If None
, the receptor will be identified from the input directory structure
receptor_metadata
pydantic-field
#
Any additional metadata about the receptor.
model_dump_yaml
#
Dump the model to a YAML representation.
Parameters:
-
output_path
(Path | None
, default:None
) –The (optional) path to save the YAML representation to.
Returns:
-
str
–The YAML representation.