plumed2 icon indicating copy to clipboard operation
plumed2 copied to clipboard

Hydrogen bonds including angles

Open GiovanniBussi opened this issue 10 years ago • 11 comments

We should add the possibility to include a switching function on the angle to define a hydrogen bond. I do not know if there is a conventional way to do it.

GiovanniBussi avatar Feb 26 '14 12:02 GiovanniBussi

We might also use the approach discussed here: http://arxiv.org/abs/1410.5447

GiovanniBussi avatar Jan 28 '15 08:01 GiovanniBussi

Hey, is the HBOND_MATRIX the best way to set number of Hbonds as colvar in plumed? Do you know where I can find an example of input using this functions?

eprates avatar Mar 02 '16 19:03 eprates

Maybe a continuous version of this criterion? http://mdtraj.org/1.6.2/api/generated/mdtraj.wernet_nilsson.html

This has the advantage of requiring only one threshold with respect to other angle/distance combinations.

tonigi avatar Jun 19 '17 12:06 tonigi

but actually isn't HBOND_MATRIX doing what we want here @gtribello ? I think we can close this issue and maybe document this better and point to it from COORDINATION

carlocamilloni avatar Jun 19 '17 12:06 carlocamilloni

Wow, I've never seen HBOND_MATRIX... That's great @gtribello !

Is it efficient? I would say it required three loops. Another perhaps missing feature it computing HB between A and B (as in COORDINATION with two groups).

Also: is it possible to hardcode sensible defaults for the switching functions?

GiovanniBussi avatar Jun 19 '17 12:06 GiovanniBussi

Hello @GiovanniBussi . I don't know how efficient it is. The link cells are used at least. I did it as an experiment to see if I could get it to work. In general, I think the better thing to do for this sort of thing is to use the Michelino PAM thing. I also coded this but it is not in the master yet.

gtribello avatar Jun 19 '17 13:06 gtribello

On Jun 19, 2017, at 15:30, Gareth Tribello [email protected] wrote:

Hello @GiovanniBussi . I don't know how efficient it is. The link cells are used at least. I did it as an experiment to see if I could get it to work. In general, I think the better thing to do for this sort of thing is to use the Michelino PAM thing.

Is this a criterion to define h-bonds? I wouldn’t mind having (also ? ) a more standard definition as the one Toni suggested.

Max

I also coded this but it is not in the master yet.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

maxbonomi avatar Jun 19 '17 13:06 maxbonomi

Here is the paper: https://infoscience.epfl.ch/record/202770/files/text.pdf?version=1

This is nice as you use data learn what a hydrogen bond looks like in your system and then you use the criterion the machine learning algorithm comes up with. I hesitate to put in some defaults as I don't know enough about typical hydrogen bond geometries to be able to say what they should be.

gtribello avatar Jun 19 '17 13:06 gtribello

Thanks! I will give it a look, but I will include also a more standard definition as Toni suggested

Max

On Jun 19, 2017, at 15:41, Gareth Tribello [email protected] wrote:

Here is the paper: https://infoscience.epfl.ch/record/202770/files/text.pdf?version=1

This is nice as you use data learn what a hydrogen bond looks like in your system and then you use the criterion the machine learning algorithm comes up with. I hesitate to put in some defaults as I don't know enough about typical hydrogen bond geometries to be able to say what they should be.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

maxbonomi avatar Jun 19 '17 13:06 maxbonomi

Where or what was Toni's suggestion though?

gtribello avatar Jun 19 '17 13:06 gtribello

Maybe a continuous version of this criterion? http://mdtraj.org/1.6.2/api/generated/mdtraj.wernet_nilsson.html

This has the advantage of requiring only one threshold with respect to other angle/distance combinations.

based on

(1, 2) Wernet, Ph., L.G.M. Pettersson, and A. Nilsson, et al. “The Structure of the First Coordination Shell in Liquid Water.” (2004) Science 304, 995-999.

On Jun 19, 2017, at 15:43, Gareth Tribello [email protected] wrote:

Where or what was Toni's suggestion though?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

maxbonomi avatar Jun 19 '17 13:06 maxbonomi