[gmx-users] Delete Groups from gro file

John Whittaker johnwhittake at zedat.fu-berlin.de
Wed Sep 11 13:00:58 CEST 2019


Hi,

You could use gmx trjconv:
http://manual.gromacs.org/documentation/2018/onlinehelp/gmx-trjconv.html

You can use the index file to select only that subset of atoms from a
single frame of your trajectory and output it as a new .gro file.

Cheers,

John

> Hallo All,
>
> I have a big gro file with 10 different groups. For my simulation, I only
> need one (Group 6) of them in a new gro file.
>
> So, how can I make this new gro file?
>
> I made an index file with this command:
>
> gmx_mpi make_ndx -f membrane.gro -o membrane.ndx
>
> and selected my group with „keep 6“
>
> Is there a command to create a new gro file only containing this group 6?
>
> Thank you very much for your help!
>
> Kind Regards,
> Larissa
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send
> a mail to gmx-users-request at gromacs.org.




More information about the gromacs.org_gmx-users mailing list