Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is reference to bulk water energetics done automatically in CPPTRAJ GIST? #998

Open
noahharrison64 opened this issue Nov 16, 2022 · 3 comments

Comments

@noahharrison64
Copy link

noahharrison64 commented Nov 16, 2022

Hi,
I'm using GIST to measure energetics of water displacement upon ligand binding to a protein cavity. I've been following this tutorial from ambermd.org. It is my understanding that to calculate the free energy difference of water transfer, I need to subtract the energy of water in bulk from the energy on the surface of the protein. This can be achieved by referencing the water-water term to bulk. I.e., for every voxel you can use Table 28.3 in the GIST manual to obtain water mean energies and densities for the water model you use. For my system, the energy is -9.533 and the density is 0.0329.

Eww (referenced enthalpy) = Eww + ((-9.533 (mean energy) * 0.0329 (number density)). * gO(Gist density)

Eww(referenced enthalpy) can then be used to calculate total enthalpy:

Etotal(referenced) = Esw + Eww(referenced enthalpy).

Am I correct in thinking that the tutorial does not include the reference to bulk water steps, and that this isn't automatically applied when running CPPTRAJ GIST?

Thanks,
Noah

@drroe
Copy link
Contributor

drroe commented Nov 18, 2022

Hi,

If I understand the questions correctly, the answer is yes, the bulk density is taken into account, but specifically for the data labeled 'norm' in the output (e.g. Esw-norm). Bulk density is specified by the refdens keyword and defaults to 0.0334 mols/Ang^3.

@fwaibl, @tkurtzman, and/or @EricChen521 may want to comment further.

@fwaibl
Copy link
Contributor

fwaibl commented Nov 18, 2022

Hi,

the bulk density is used to scale the oxygen and hydrogen densities, and also in the entropy calculation, basically to define the entropy of bulk water. But AFAIK it does not affect any of the energy columns, since Eww_dens is just the energy of all water molecules in that voxel and divided by the voxel volume, and Eww-norm is scaled by the average number of waters in that voxel.

It is correct that the bulk energy isn't automatically subtracted in cpptraj, and this must be done manually in post-processing. To reference Eww, you would compute
Eww_ref_norm = Eww_norm - (-9.533)
Eww_ref_dens = Eww_dens - (-9.533 * population / n_frames / voxel_volume)

If that is of any help, I have a small python package on https://github.com/liedllab/gisttools which automates those conversions.

Best regards,
Franz

@tkurtzman
Copy link

tkurtzman commented Nov 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants