On Tue, Feb 21, 2012, Atila Petrosian wrote:
>
> Is there any command in amber to delete all hydrogen atoms of pdb file?
Try this:
awk '$1=="ATOM" && substr($3,1,1)!="H"' input.pdb > output.pdb
(Assumes all hydrogen atom names begin with "H".) Modify as needed.
...good luck...dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Feb 21 2012 - 05:30:04 PST