Added dictionary {id : residue}, string with replaced residues.