Change
protonate_site(mols, site, ph_min, ph_max, precision)
¶
Protonate a specific site in a list of molecules.
PARAMETER | DESCRIPTION |
---|---|
mols
|
List of molecule objects.
TYPE:
|
site
|
ProtonationSite object with protonation information.
TYPE:
|
ph_min
|
Minimum pH to expose the site to.
TYPE:
|
ph_max
|
Maximum pH to expose the site to.
TYPE:
|
precision
|
pKa standard deviation prefactor to consider.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
list[Mol]
|
List of appropriately protonated molecule objects. If there is any issue, this will return an empty list. |
set_protonation_charge(mols, idx, charges, prot_site_name)
¶
Set atomic charge on a specific site for a set of molecules.
PARAMETER | DESCRIPTION |
---|---|
mols
|
List of input molecule objects.
TYPE:
|
idx
|
Index of the atom to modify.
TYPE:
|
charges
|
List of charges to assign at this site. |
prot_site_name
|
Name of the protonation site.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
list[Mol]
|
List of processed molecule objects. If anything goes wrong, then we return an empty list. |