Separation of two trajectory files.

Dear MS Community,

  1. I performed a 500 ps NPT run in Materials Studio to equilibrate the system, followed by a 5000 ps NVT production run. For the production run, I used the .xtd file generated from the 500 ps equilibration and appended the two trajectories using the Restart option. As a result, both trajectories are now combined into a single .xtd file. Is there a way to separate them back into individual trajectories?
  2. Additionally, suppose I have a trajectory file of 100 ns, but I want to analyze the RDFs only for the last 20 ns. Could you please suggest how to extract just the final 20 ns (and make it a new trajectory file) from the 100 ns trajectory file?

Thanks in advance.