GROMACS version: 2023.3
GROMACS modification: No
Hi GROMACS community,
I would like to use the GROMACS hydrogen-bond analysis tools to calculate the number of hydrogen bonds involving water in my cellulose trajectory. Since my system is a cellulose polymer, I want to distinguish the hydrogen bonds contributed by water to the inner and outer cellulose layers. In the figure below, the red chains represent the inner group, while the black chains represent the outer group.
I have tested two different approaches:
-
Calculate hydrogen bonds for each individual chain and then classify them: In this approach, I create an index group for each cellulose chain separately. I then calculate the hydrogen bonds involving water for each chain and sum the results according to the inner/outer classification shown above.
-
Create inner and outer groups first, then calculate the hydrogen bonds: In this approach, I create two index groups at the beginning: one containing all inner chains and another containing all outer chains. I then use these two groups directly to calculate the hydrogen bonds involving water.
In my understanding, these two approaches should give the same results, because the inner and outer groups contain exactly the same chains in both cases. However, the final results show some differences. For example, for residues 1β41 and 42β81, I obtained the results shown below. The red is Method 1, while the black is Method 2:
I am not sure which method is correct, or what might be causing the difference between the two approaches. I would appreciate any suggestions or explanations from anyone familiar with this type of analysis.
Thank you!

