Adding a Residue to a Force Field

    Table of contents
    1. 1. Modifying a force field

    Version as of 11:27, 23 Oct 2020

    to this version.

    Return to Version archive.

    View current version

    If you have the need to introduce a new residue into an existing force field, or modify an existing one, there are several files you will need to modify. You must consult the manual for description of the required format. Follow these steps:

    1. Add the residue to the .rtp file for your chosen force field. You might be able to copy an existing residue, rename it and modify it suitably, or you may need to use an external topology generation tool and adapt the results to the .rtp format.
    2. If you need hydrogens to be able to be added to your residue, create an entry in the relevant .hdb file.
    3. If you are introducing new atom types, add them to the atomtypes.atp and ffnonbonded.itp files.
    4. If you require any new bonded types, add them to ffbonded.itp.
    5. Add your residue to residuetypes.dat with the appropriate specification (Protein, DNA, Ion, etc).
    6. If the residue involves special connectivity to other residues, update specbond.dat.

    Modifying a force field

    In GROMACS 4.5 and later, modifying a force field is best done by making a full copy of the installed forcefield directory and residuetypes.dat into your local working directory (e.g. cp -r $GMXLIB/residuetypes.dat $GMXLIB/amber99sb.ff .). Then, modify those local copies as above. pdb2gmx will then find both the original and modified version and you can choose the modified version interactively from the list, or if you use the pdb2gmx -ff option the local version will override the system version.

    Page last modified 03:55, 17 Aug 2012 by mabraham