I was trying to extract the lines containing the informations about THR, TYR, PHE and TRP using C from a pdb file. It seems there are a lot of invisible ascii characters in the pdb file which botch up the program every time I run. Can anybody help to overcome this?
I am attaching the C file and the pdb file here...