-
Notifications
You must be signed in to change notification settings - Fork 65
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
Shift in grid-based calculations #1127
Comments
In addition to imaging, the |
Sorry, I think I didn't understand what your issue was initially. Try adding the
If that works, you can do the same for the other files you want shifted. If this is indeed the issue, I can work on implementing a simpler solution. |
Hi all,
I am running GIST on some small molecules and the resulting maps for all the calculated quantities are shifted in space relative to the solute. I am getting this issue with both
gist
andgrid
commands. The amount of shift depends on grid spacing (voxel size). Withgridspacn 0.1
the shift is almost not noticeable, but the higher gridspacn the more the maps deviate from the solute. Even with defaultgridspacn 0.5
the maps are quite notably off. See the attached picture for examples of O density around benzene and acetonitrile with different gridspacn values.The trajectories were generated in OpenMM. I am getting this issue both when I wrap the trajectory in OpenMM (
enforcePeriodicBox=True
) or keep in unwrapped and then wrap (autoimage
) in CPPTRAJ. I am even getting this issue when I rungist
from the beginning of an unwrapped trajectory (before the waters float away). So I don’t think it's caused by wrapping. I have tried different sizes of the simulation box and different sizes and centers of GIST boxes, but the issue is still the same.CPPTRAJ input looks like this with wrapping and
rms
to the original solute position:and like this with no wrapping:
I don’t think my problem is related to #198 as I have identical grids in both
gist
andgrid
, that doesn’t seem to be the problem either. I am using CPPTRAJ V6.18.1 (AmberTools) and OpenMM 8.2.0, both installed via micromamba.Any ideas where the problem might be?
Many thanks,
Jan
The text was updated successfully, but these errors were encountered: