GROMACS version:2018.1
GROMACS modification: No
Hello
I have a homogenous lipid bilayer containing 128 lipid molecules.
I need to create index files for all of the 128 lipid molecules individually.
For the 1st lipid molecule index file the 1st and the 5th carbon need to be selected to describe a vector. Similarly for 128 such lipid molecules 128 index file needs to be created.
See here for some good examples.
Using a .gro file, you can make selections based on atom numbers, e.g. in gmx make_ndx, you might select the first and second 100 atoms by:
> a 1-100
> a 101-200
> q
selections from each group then is easy. Let’s say you need to select C1 and C5 from the first 100 atoms (called group number e.g. 15)