I have completed the production run and need to extract the trajectory excluding water and ions. Could you please assist by providing the script for this task?
from moleculekit.molecule import Molecule
mol = Molecule("./structure.prmtop")
mol.read("./output.xtc")
mol.filter("not water and not ion")
mol.write("./output_filtered.xtc")
Hi,
I have completed the production run and need to extract the trajectory excluding water and ions. Could you please assist by providing the script for this task?
Thank you for your help.
Best regards, Vas