# Charges of residues

**URL:** https://gromacs.bioexcel.eu/t/charges-of-residues/162
**Category:** User discussions
**Created:** [May 21, 2020, 4:03am UTC](https://gromacs.bioexcel.eu/t/charges-of-residues/162 "2020-05-21T04:03:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://gromacs.bioexcel.eu/u/Jason)
#### Post date: [May 21, 2020, 4:03am UTC](https://gromacs.bioexcel.eu/t/charges-of-residues/162/1 "2020-05-21T04:03:37Z")

</div>

GROMACS version:  
GROMACS modification: No

Dear all,

I wonder whether the charged residues such as Lys, Arg, Asp, Glu and His residues, as well as the N and C termini are automatically set in charged state when using pdb2gmx command to transfer the pdb file to the gro file format. How could we check the charge state of these residues in a simulation system? How could we change the charge state of these residues? And how could I set the charge state of the system if I wish to simulation at specific pH?

Thank you in advance!

---

<div class="post-metadata">

### Author: ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)
#### Post date: [May 21, 2020, 3:12pm UTC](https://gromacs.bioexcel.eu/t/charges-of-residues/162/2 "2020-05-21T15:12:36Z")

</div>

`pdb2gmx` automatically assigns protonation states using canonical pKa values and assuming pH 7. If you want to change protonation states, you can do this with command-line options. See the `pdb2gmx` help information.
