Next: , Previous: rotamer-auto-fit-do-post-refine-state, Up: Mutate Functions


11.71.8 mutate-single-residue-by-serial-number

— function: mutate-single-residue-by-serial-number ires_ser chain_id imol target_res_type

Where:

an alternate interface to mutation of a singe residue.

ires-ser is the serial number of the residue, not the seqnum There 2 functions don't make backups, but

does - CHECKME Hence

is for use as a "one-by-one" type and the following 2 by wrappers that muate either a residue range or a whole chain

Note that the target_res_type is a char, not a string (or a char *). So from the scheme interface you'd use (for example) hash backslash A for ALA.

Returns: 1 on success, 0 on failure