[gmx-users] Help with make_ndx and
Anton Feenstra
feenstra at chem.vu.nl
Mon Feb 25 12:16:12 CET 2002
David van der Spoel wrote:
>
> On Thu, 21 Feb 2002, Giorgos Karvounis wrote:
>
> >My name is Giorgos and i am a new Gromacs user. My problem is that i
> >need to extract and follow the coordinates of a specific aton in a
> >protein (e.g C1) or a group (e.g. carbonyl) but i'm not comfortable with
> >the index.ndx or make_ndx command... Any help will highly appreciated!
> Say you want the carbonyl carbon in residue 34 in your protein:
>
> make_ndx -f conf.gro
> >r 34 & a C
> >q
>
> there is also some online help in make_ndx
Additionally, the .ndx file format is terribly easy. It is simply
a line with the name of a group of atoms and then a (number of) line(s)
with the numbers of these atoms. For example, David's example input to
make_ndx could produce an index.ndx file like this:
[ 34-CA ]
152
Which simply says that the group named '34-CA' consisists of atom
number 152 in your conf.gro file... If you can read the conf.gro file,
you can find the atom numbers yourself, sometimes that is easier
than using make_ndx...
Anyway, good luck!
--
Groetjes,
Anton
________ ___________________________________________________________
| | Anton Feenstra |
| . | Dept. of Pharmacochemistry - Free University Amsterdam |
| |---- | De Boelelaan 1083 - 1081 HV Amsterdam - The Netherlands |
| |---- | Tel: +31 20 44 47608 - Fax: +31 20 44 47610 |
| ' __ | Feenstra at chem.vu.nl - http://www.chem.vu.nl/afdelingen/FAR|
| / \ |-----------------------------------------------------------|
| ( ) | Dept. of Biophysical Chemistry - University of Groningen |
| \__/ | Nijenborgh 4 - 9747 AG Groningen - The Netherlands |
| __ | Tel +31 50 363 4327 - Fax +31 50 363 4800 |
| / \ | K.A.Feenstra at chem.rug.nl - http://md.chem.rug.nl/~anton |
| ( ) |-----------------------------------------------------------|
| \__/ | "What If None Of Your Dreams Come True ?" (E. Costello) |
|________|___________________________________________________________|
More information about the gromacs.org_gmx-users
mailing list