parm2pq¶
Command Line Tool for Importing AMBER, CHARMM and GROMACS Force Fields¶
This command line tool converts a force field read by ParmEd (AMBER prmtop + inpcrd, GROMACS top + gro, CHARMM psf + parameter files + coordinates) into PQ setup files: moldescriptor.dat, topology.top, parameter.prm, intra_nonbonded.dat, start.rst and the input snippet pq_input.in with the matching keys.
Each connected molecule becomes a molecule of PQ (protein chains are split); identical molecules share one moltype. Bonds and angles get the PQ force constant (2 k), torsion phases the PQ sign convention, and every pair of Lennard-Jones types one NONCOULOMBICS LJ line. Exclusions and scaled 1-4 pairs go into the intra non-bonded file; bonded terms between molecules carry the linker mark.
CMAP, Urey-Bradley terms, harmonic impropers, non-uniform 1-4 scaling, special 1-4 Lennard-Jones parameters and virtual sites are not supported and stop the conversion with an error naming the term.
The tool needs ParmEd: pip install PQAnalysis[ff].
Summary¶
Classes:
Command Line Tool for Importing Force Fields into PQ Setup Files |
Functions:
Main function of the parm2pq command line tool, which is a wrapper for |
Reference¶
- class Parm2PQCLI[source]¶
Bases:
CLIBaseCommand Line Tool for Importing Force Fields into PQ Setup Files
- classmethod add_arguments(
- parser: _ArgumentParser,
Adds the arguments to the parser.
- Parameters:
parser (_ArgumentParser) – The parser to which the arguments should be added.
- main()[source]¶
Main function of the parm2pq command line tool, which is a wrapper for
PQAnalysis.io.force_field.api.parm2pq().