Re: [AMBER] Issue about atomic forces acting on each atom

From: Daniel Roe via AMBER <amber.ambermd.org>
Date: Mon, 26 Jun 2023 08:49:07 -0400

Hi,

On Fri, Jun 23, 2023 at 6:36 AM 簡羲煥 via AMBER <amber.ambermd.org> wrote:
> However, when I would like to convert the mdcrd file to the .pdb format using cpptraj with the .in file (as shown below), it is not possible to obtain the forces acting on each atom.

The PDB format by convention only contains coordinates. To force
cpptraj to write forces from a netcdf input trajectory to a PDB file,
use the 'usefrcascoords' (use forces as coordinates) keyword, e.g.

parm myparm.parm7
trajin mytraj.nc usefrcascoords
trajout forces.pdb pdb

Hope this helps,

-Dan

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jun 26 2023 - 06:00:02 PDT
Custom Search