-
Notifications
You must be signed in to change notification settings - Fork 6
psf2top Usage
For a protein+lipid psf
system, the GROMACS topology can be generated by the
follwing command. This assumes that the name of the psf
file is system.psf
and
you have the necessary parameter files in the same directory.
$ psf2top.py -p system.psf -c par_all36_prot.prm par_all36_lipid.prm
You can add -v
for debug information.
-
psf2top.py
converts thepsf
file to GROMACS topology format. It creates onetop.top
plus one or moreitp
files. Each segment in thepsf
file is converted to oneitp
file. -
If you have disulfide bridges in the system:
** After patching the S-S bonds duringpsf
preparation (using psfgen or autopsf), make sure to regenerate angles and dihedrals after patches.
** Also make sure that the residues that share a S-S bond are both in the same segment in thepsf
file. -
Input formats that
psf2top.py
can read (see also here):
** PSF files:
** If generated using VMD/psfgen, are OK and readable.
** If created using X-PLOR or CHARMM, they are not readable. First convert them to the above form using psfgen.
** PAR files:
** CHARMM-format is OK and readable.
** X-PLOR format is not currently supported.
** STR file (CHARMM stream files): readable as parameter files.
-
You should provide all of CHARMM parameter files for the atoms in your
psf
file. These correspond to the parameter files that you use for your system when running the NAMD simulation. -
For the CHARMM parameter files, the
HBOND
sections is ignored. -
If you use CHARMM-GUI to generate inputs, make sure to use the generated
.xplor
format for thepsf
file. -
Remove water molecules from the
psf
file before conversion. Fully converting water molecules to the gromacs format requires adding SETTLE for water which is not implemented yet. -
You can use
editconf
andgenbox
to add water to the system later on in GROMACS:- Make sure to add the appropriate
itp
files for the water and ions to thetop.top
file. - You need to add
#define _FF_CHARMM
to the beginning of the topology file if you're usingcharmm27.ff
water models. - Also add the necessary atom types (for the chosen water model and ions) at the end of
[atomtypes]
in thetop.top
file.
- Make sure to add the appropriate