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