Re: [AMBER] How to extract restart file with velocity from a trajectory file?

From: Carlos Simmerling <carlos.simmerling.gmail.com>
Date: Fri, 22 Jan 2021 12:32:11 -0500

as you said, if the trajectory file doesn't have velocities, you can't
extract them.
having said that, it is indeed possible for (netcdf) trajectories to
include velocities if you set the ntwv flag appropriately.
so the bottom line is that if you did not save velocities, you can't
extract them. in that case, the message you linked is a good option.


On Fri, Jan 22, 2021 at 9:19 AM 辛志宏 <xzhfood.njau.edu.cn> wrote:

>
>
> Dear Amber,
> I want to extract several frames from a trajectory file use as restart
> file (.rst ) for QM/MM umbrella sample refer to the following message,
> http://archive.ambermd.org/201711/0236.html
>
>
> parm EstYZ5-DMP-complex-wat.top
> trajin EstYZ5-DMP_equil-1.nc
> trajout EstYZ5-DMP-wat_equil-480.rst restart onlyframes 480 480 1
> trajout EstYZ5-DMP-wat_equil-480.rst restart onlyframes 481 481 1
> trajout EstYZ5-DMP-wat_equil-480.rst restart onlyframes 482 482 1
> ..........
>
>
> However, the result .rst file have no velocity, how to extract .rst
> restart file with a velocity from a trajectory file?
>
>
> Thank you in advance,
>
>
> Zhihong Xin,
>
>
> College of Food Science and Technology
>
>
> Nanjing Agricultural University
>
>
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Jan 22 2021 - 10:00:02 PST
Custom Search