hgana.affinity.
time
(data_link, T, V, dt, len_frame=1, is_std=False)¶This function calculates the binding affinity \(\Delta G_T\). This is done by determining the association rate constant \(k_\text{On}\) and dissociation rate constant \(k_\text{Off}\)
with solute concentration \(C_g\) of the free state in the complex
number of solute molecules \(N\), box volume \(V\), average bound time \(\langle t_b\rangle\) and average unbound time \(\langle t_u\rangle\). The two averages are calculated by determining the time of the host molecule being in a bound state before changing to an unbound one and vice versa. The resulting bound \(t_b\) and unbound \(t_u\) time instances, with instance quantities \(M_b\) and \(M_u\), are then filtered by a minimal dwelling time \(c_{min}\) resulting in the time average by normalizing the sum of all instances by their count
Finally the binding affinity results from
with standard gas constant \(R\), temperature \(T\), standard state concentration \(C_0=1\frac{\text{mol}}{\text{l}}=V_0^{-1}\) and standard state volume \(V_0=1.661nm\).
The standard deviation can be determined by creating permutations containing a percentage of elements from the time arrays \(t_{b,i}\) and \(t_{u,j}\)
with permutation matrix \(\boldsymbol{P}\), permutation \(p\), number of permutations \(N_p\) and element percentage \(1-x\). This permutation matrix is then used to calculate multiple association and dissociation rates creating a pool of values, of which the standard deviation can be determined using
with mean value \(\bar k_\text{On}\) of the association rates calculated from the permutation matrix. Similarly, the standard deviation of the binding affinity can be determined by
with mean value \(\Delta\bar G_T\).
Parameters: |
|
---|---|
Returns: |
|