amber
#
Utilities for manipulating AMBER data and tools
Functions:
-
extract_water_and_ions_mask
–Returns a per atom mask that is true if the atom belongs to a water molecule
-
parameterize_structure
–Parameterizes a given structure using tLeap.
extract_water_and_ions_mask
#
extract_water_and_ions_mask(
structure: Structure,
) -> list[bool]
Returns a per atom mask that is true if the atom belongs to a water molecule or an ion, and false otherwise.
Parameters:
-
structure
(Structure
) –The structure to extract the mask from.
Returns:
-
list[bool]
–The selection mask.
Source code in femto/md/utils/amber.py
parameterize_structure
#
Parameterizes a given structure using tLeap.
Parameters:
-
structure
(Structure
) –The structure to parameterize.
-
tleap_sources
(list[str]
) –The tLeap parameters to source.
Returns:
-
AmberParm
–The parameterized structure