# Gmx hbond to calculate number of hbonds per residue in a single peptide

**URL:** <https://gromacs.bioexcel.eu/t/gmx-hbond-to-calculate-number-of-hbonds-per-residue-in-a-single-peptide/5724>\
**Category:** User discussions\
**Created:** [February 4, 2023, 4:25pm UTC](https://gromacs.bioexcel.eu/t/gmx-hbond-to-calculate-number-of-hbonds-per-residue-in-a-single-peptide/5724 "2023-02-04T16:25:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alicepettitt](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@alicepettitt](https://gromacs.bioexcel.eu/u/alicepettitt)\
**Post date:** [February 4, 2023, 4:25pm UTC](https://gromacs.bioexcel.eu/t/gmx-hbond-to-calculate-number-of-hbonds-per-residue-in-a-single-peptide/5724/1 "2023-02-04T16:25:31Z")

</div>

GROMACS version: 2021.2  
GROMACS modification: No

Hi GROMACS community forum,  
Is there a way to use gmx hbond where it gives an output file to calculate the number of h bonds per residue? I want to do this for a peptide to assess if a residue in my peptide is forming a h-bond with another residue in the same peptide
