I will start writing that now. Um, the input is like this:
ATOM 16 NZ LYS A 7 -19.664 15.558 -9.499 1.00 18.80 N
ATOM 17 H LYS A 7 -19.967 21.014 -14.224 1.00 0.00 H
-The 18.80 and N parts are supposed to follow 1.00 directly, not from a space below but the comment spaces, doh.- And I'm supposed to print out ATOM lines that don't have "H" near the 17 part. It keeps printing out all lines despite the syntax.
HETATM is working properly and a sample of it -from another input pdb file since this 1GRL.pdb doesn't have HETATM's in it, this is from the input file 1FFL.pdb-
HETATM 1 N CXM A 1 -12.588 -1.070 15.591 1.00 25.28 N
HETATM 2 CA CXM A 1 -11.877 -0.094 16.395 1.00 25.28 C
and I'm supposed to print HETATMS that don't have HOH on the part where CXM stands.
HETATM 2153 O HOH A 300 -38.403 0.000 33.125 0.50 13.41 O
HETATM 2154 O HOH A 301 -29.459 12.090 33.186 1.00 31.37 O
these ones are successfully ignored by the program.