solvate
#
Solvate protein ligand systems
Modules:
-
amber_utils
–Utilities for manipulating AMBER data and tools
-
femto
–A comprehensive toolkit for predicting free energies
Functions:
-
solvate_system
–Solvates a system.
solvate_system
#
solvate_system(
receptor: Structure | None,
ligand_1: Structure,
ligand_2: Structure | None,
solvent: Solvent,
ligand_1_offset: Quantity | None = None,
ligand_2_offset: Quantity | None = None,
cavity_formers: list[Structure] | None = None,
) -> Structure
Solvates a system.
Parameters:
-
receptor
(Structure | None
) –The (optional) receptor.
-
ligand_1
(Structure
) –The first ligand.
-
ligand_2
(Structure | None
) –The (optional) second ligand.
-
solvent
(Solvent
) –The solvent configuration.
-
ligand_1_offset
(Quantity | None
, default:None
) –The amount to offset the first ligand by before computing the box size if using a padded box.
-
ligand_2_offset
(Quantity | None
, default:None
) –The amount to offset the second ligand by before computing the box size if using a padded box.
-
cavity_formers
(list[Structure] | None
, default:None
) –The (optional) list of structures that should be considered 'present' when placing the solvent molecules such that they leave cavities, but are not added to the final topology themselves.
Note that cavity formers will be considered when determining the box size.
Returns:
-
Structure
–The solvated system containing the ligands, the receptor, ions and the solvent.
Source code in femto/md/solvate.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 |
|