Something like this input should work.
parm myparm.parm7
trajin mytraj.nc
# Strip all but CA atoms, write CA-only topology
strip !.CA parmout CA.parm7
# Write CA-only trajectory
trajout CA.nc
Hope this helps,
-Dan
On Tue, Nov 9, 2021 at 11:10 AM Carlos Simmerling
<carlos.simmerling.gmail.com> wrote:
>
> yes, use the "strip" command. check the manual for detailed syntax.
>
> On Tue, Nov 9, 2021 at 11:05 AM Md Fulbabu Sk <phd1701171005.iiti.ac.in>
> wrote:
>
> > Dear AMBER community,
> > I want to generate a new trajectory of only CA atoms from the amber
> > protein-protein solvated trajectory. Is there any such kind of command of
> > flag available in cpptraj?
> > _______________________________________________
> > 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
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Nov 09 2021 - 08:30:03 PST