Yes this is done using "trajin first last stride".
Then you can do trajout for just the frames read.
On Fri, Aug 23, 2024, 11:15 AM Maciej Spiegel via AMBER <amber.ambermd.org>
wrote:
> Hello,
> I have *slightly* overcharged and my *.nc trajectory file weights 8.1GB.
> Is it possible, using cpptraj or other code, to extract every 10th frame
> starting from the first one, to the new file? There’s an option
> [onlyframes] but it doesn’t let specify stepsize.
> Thanks.
> –
> Maciej Spiegel, MPharm PhD
> assistant professor
>
> Department of Organic Chemistry and Pharmaceutical Technology,
> Faculty of Pharmacy, Wroclaw Medical University
> Borowska 211A, 50-556 Wroclaw, Poland
> <https://www.google.com/maps/search/Borowska+211A,+50-556+Wroclaw,+Poland?entry=gmail&source=g>
>
> _______________________________________________
> 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 Aug 23 2024 - 09:00:02 PDT