# Hydrogen bonds by g\_hbond and VMD 

**URL:** <https://gromacs.bioexcel.eu/t/hydrogen-bonds-by-g-hbond-and-vmd/9741>\
**Category:** User discussions\
**Created:** [July 25, 2024, 10:57am UTC](https://gromacs.bioexcel.eu/t/hydrogen-bonds-by-g-hbond-and-vmd/9741 "2024-07-25T10:57:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benaouda](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@Benaouda](https://gromacs.bioexcel.eu/u/Benaouda)\
**Post date:** [July 25, 2024, 10:57am UTC](https://gromacs.bioexcel.eu/t/hydrogen-bonds-by-g-hbond-and-vmd/9741/1 "2024-07-25T10:57:23Z")

</div>

hi gromacs users ,  
I did h-bond analysis between solute and solvent using g\_hbond utility with default settings (3.5A, 30°) and same analysis in VMD (Hydrogen bonds module) with same settings but with angle 150° due to different definition h-bond angle criterion)\*. And I get different numbers.  
Grom (2024.2), 3.5A, 30deg 7  
_VMD, 3.5A, 150 deg_ 2  
_For g\_hbond I used this command:_  
gmx hbond -s step5\_production.tpr -f step5\_production\_center.xtc -num hb.xvg -dist hbdist.xvg -ang hbang.xvg -tu ns  
_Please, do you have any suggestions why I get different numbers from g\_hbond compared to VMD_  
\*Thank you very much
