Chain identifier should be blank not A: ATOM 1631 MG MG A 872 42.580 -1.177 31.312 1.00 41.03 MG 1