Non-standard residues are transformed to their standard versions