unstrip
Undo all previous strip Action commands.
Requests that the original topology and frame be used for all following actions. This has the effect of undoing any command that modifies the state (such as strip). For example, the following code takes a solvated complex and uses a combination of strip, unstrip, and outtraj commands to write out separate dry complex, receptor, and ligand files:
parm Complex.WAT.pdb trajin Complex.WAT.pdb # Remove water, write complex strip :WAT outtraj Complex.pdb pdb # Reset to solvated Complex unstrip # Remove water and ligand, write receptor strip :WAT,LIG outtraj Receptor.pdb pdb # Reset to solvated Complex unstrip # Remove water and receptor, write ligand strip :WAT strip !(:LIG) outtraj Ligand.pdb pdb