# How to use topology from CHARMM - GUI versus topology generated by pdb2gmx

**URL:** <https://gromacs.bioexcel.eu/t/how-to-use-topology-from-charmm-gui-versus-topology-generated-by-pdb2gmx/3065>\
**Category:** User discussions\
**Created:** [November 1, 2021, 8:18pm UTC](https://gromacs.bioexcel.eu/t/how-to-use-topology-from-charmm-gui-versus-topology-generated-by-pdb2gmx/3065 "2021-11-01T20:18:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lazaro](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/lazaro/32/93_2.png) [@Lazaro](https://gromacs.bioexcel.eu/u/Lazaro)\
**Post date:** [November 1, 2021, 8:18pm UTC](https://gromacs.bioexcel.eu/t/how-to-use-topology-from-charmm-gui-versus-topology-generated-by-pdb2gmx/3065/1 "2021-11-01T20:18:20Z")

</div>

GROMACS version: 2020.01  
GROMACS modification: Yes/No  
Dear Gromacs users,  
I am using the inflategro.pl to insert an ubiquinone molecule inside a popc lipid bilayer with 100 lipids generated using CHARMM-GUI. When I run the program initially:

perl inflategro.pl system.gro 4 POPC 14 system\_inflated.gro 5 area.dat and then minimize the energy:

gmx grompp -f minim\_inflategro.mdp -c system\_inflated.gro -p topol.top -r system\_inflated.gro -o system\_inflated\_em.tpr  
gmx mdrun -deffnm system\_inflated\_em

I visualized the system and the ubiquinone have been centered in the bilayer but the lipids are inverted: the polar head is pointing inside in the z direction instead pointing outside as it should be.

How could I fix this?

Kind regards,  
Lazaro

---

<div class="post-metadata">

**Author:** ![Bratin](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@Bratin](https://gromacs.bioexcel.eu/u/Bratin)\
**Post date:** [November 8, 2021, 3:31am UTC](https://gromacs.bioexcel.eu/t/how-to-use-topology-from-charmm-gui-versus-topology-generated-by-pdb2gmx/3065/2 "2021-11-08T03:31:04Z")

</div>

Dear Lazaro,  
This should not happen while using inflategro.pl code. You must see the starting coordinate you are using for inserting the molecule. The problem should be from there. You must take care of the box lengths. Maybe due to the PBC effect, you are getting such visualization.
