[gmx-users] position restraints

Anton Feenstra feenstra at chem.vu.nl
Mon Jan 13 15:31:54 CET 2003


Outi Maija Salo wrote:
> 
> Hi!
> 
> I was about to do a position restrained mdrun and grompp said:
> 
> Fatal error: [ file "backbone_B_fix.itp", line 3 ]:
>              Atom index (3712) in position_restraints out of bounds (1-1431)
> 
> I have one protein but in three parts (A/B/C) as there are some residues
> missing in between. topol_A/B/C.itp files each have atom numbers starting
> from
> number one even though in gro file the atom numbers are continuous from
> one up to 5000 something. Could this explain the problem? How can I change
> the numbers in itp files to be continuous with regard to each other? Or is
> there another way to solve the problem?

In Gromacs, position restraints are defined as a property of the
molecule. That means, they are part of the molecule type definition.
As your protein is split in three parts, it will be treated as three
separate molecules, each with its own internal atom numbering. You
will need to find the proper atom numbers for your parts B and C and
convert the position restraints file(s) accordingly. Additionally,
the position restraints sections must be included in the proper sequence
with the molecule type definitions of your parts A, B, and C.
If you for example have topol_A/B/C.itp and posre_A/B/C.itp, your .top
file should contain a sequence like:

#include topol_A.itp
#include posre_A.itp
#include topol_B.itp
#include posre_B.itp
#include topol_C.itp
#include posre_C.itp


-- 
Groetjes,

Anton
 ________ ___________________________________________________________
|        | Anton Feenstra                                            |
| .      | Dept. of Pharmacochemistry - Vrije Universiteit 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   |
| (    ) |-----------------------------------------------------------|
|  \__/  | "I Used To Care, But Things Have Changed" (Bob Dylan)     |
|________|___________________________________________________________|



More information about the gromacs.org_gmx-users mailing list