If you only want to remove the hydrogens from a PDB file, you can use program reduce (a pre-built executable is included within Amber) and the -Trim flag to do that conveniently.
From: 百毒不侵√ via AMBER <amber.ambermd.org>
Date: Tuesday, July 23, 2024 at 9:27 PM
To: amber <amber.ambermd.org>
Subject: [AMBER] output partial residues
Hi:
I have top and crd files. Now I want to export partial residues with amber. The following are my scripts. What should I do ?