Chain identifier should be blank not A: ATOM 2499 MG MG A 316 -6.600 252.663 0.254 0.17 1.00 A MG 1