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

Local structure index of water (LSI) code issue #1043

Open
Saqlain5565 opened this issue Aug 3, 2023 · 3 comments
Open

Local structure index of water (LSI) code issue #1043

Saqlain5565 opened this issue Aug 3, 2023 · 3 comments

Comments

@Saqlain5565
Copy link

Saqlain5565 commented Aug 3, 2023

i have been trying to get Local structure index (LSI) of water TIP4P/EW by running NPT through cpptraj by using following commands.

parm tip4p/ew.parm7
trajin eq_npt.nc
solvent :WAT
hbond watcoord out water_coordination.dat
run

but following warning comes without output file.

Warning: Nothing selected for hydrogen bond analysis.
Warning: Setup incomplete for [hbond]: Skipping

Warning: Set 'WATcoord[UU]' contains no data.
Warning: File 'water_coordination.dat' has no sets containing data.

can anyone tell me where the problem is?

or can provide correct code to get LSI of water .

@drroe
Copy link
Contributor

drroe commented Aug 3, 2023

By default, cpptraj will only look for solute-solute hydrogen bonds. If you want to explicitly look at water-water hydrogen bonds, you need to explicitly specify the water donors and acceptors:

hbond watcoord donormask :WAT@O acceptormask :WAT@O image out nhbvtime.dat avgout hbavg.dat

You probably want the image keyword so you can capture hydrogen bonds that cross unit cell boundaries. Note that this will produce tons of information in the avgout file, since every existing water-water hydrogen bond will be reported. It will also be fairly slow, so you may want to use the OpenMP or MPI/OpenMP hybrid code to speed things up.

Let me know if this helps.

@Saqlain5565
Copy link
Author

Saqlain5565 commented Aug 3, 2023 via email

@Saqlain5565
Copy link
Author

The code provide the out.dat files which contains the avg angle 165 apx. but the Angle Cutoff = 135.000.

so is it acceptable to have angle apx 165?

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

2 participants