User Tools

Site Tools


command:matrix_copy

matrix_copy

“matrix_copy” copies a transformation matrix from one object to another.

Usage

matrix_copy source_name, target_name

Notes

This command is often used after a protein structure alignment to bring other related objects into the same frame of reference.

See Also

Example

# load two related structures

fetch 1ce5 1c5p, async=0
remove hydrogen or solvent
show sticks, organic

# extract inhibitors out into their own objects

extract 1ce5_inh, 1ce5 and organic
extract 1c5p_inh, 1c5p and organic
zoom

# superimpose 1ce5 onto 1c5p (note that the inhibitor is left behind)

align 1ce5////CA, 1c5p////CA

# now transform the 1ce5 inhibitor to match the protein

matrix_copy 1ce5, 1ce5_inh

Advanced Usage

matrix_copy source_name, target_name [, source_mode [, target_mode [, source_state [, target_state [, target_undo [, log [, quiet]]]]]]

command/matrix_copy.txt · Last modified: 2013/08/19 21:00 (external edit)