Site¶
-
class
titsite.
Titsite
(res_number, molecule)[source]¶ Titrable Site with more than one Tautomer
-
addReferenceTautomer
()[source]¶ Gets last tautomer from .sites file adds one and saves it as the reference tautomer
-
calc_interaction_between
(site2)[source]¶ Calculates the pairwise interaction energies related to the two sites
- Args:
site1 (Titsite) site2 (Titsite)
- Ensures:
to_write (str): site interaction energies formatted to be written in .dat file
-
getAverageProt
(pH)[source]¶ Calculates the average protonation of a site at a given pH value
- Args:
site (str): Residue number of the site with the suffix ‘N’ or ‘C’ to indicate a N-ter or C-ter, respectively.
pH (float): pH value
- Returns:
A float of the average protonation of the site at the selected pH value
-
getProtState
(pH)[source]¶ Indicates the most probable protonation state of a site at a given pH value
- Args:
site (str): Residue number of the site with the suffix ‘N’ or ‘C’ to indicate a N-ter or C-ter, respectively.
pH (float): pH value
Returns:
A tuple with two elements. Example: (‘protonated’, 0.9)
The first element is a string indicating the most probable state of the site. It can be either ‘protonated’, ‘deprotonated’ or ‘undefined’. The ‘undefined’ state is prompted if the average protonation state is between 0.1 and 0.9.
The second element is a float of the average protonation of the site
-