Chimera Commands Index

mcopy  source  target  [ settings [c][s][v][l][x][y][p] | a ] [ matchResidues true | false ]

The mcopy command copies display styles and other attributes from a source molecule model to one or more target molecule models. It does not create new models. To copy an existing molecule model and its settings to create a new model, use the command combine.

The source atom specification may include part or all of a single molecule model, and the target atom specification may include part or all of one or more molecule models other than the source. Model attributes, the attributes of any paired residues, and the attributes of any paired atoms (and the bonds between them) will be copied from the source to each target.

Residue pairing with matchResidues true (default) requires identical residue numbers, residue names, and chain identifiers. With matchResidues false, residues are simply paired in the order they are given in the source and target specifications. Either way, pairing atoms within the residues requires identical atom names and alternate location identifiers. Any unmatched atoms and residues (those in target but not in source) will be ignored, but their existence noted in the status line.

Characters after the settings keyword (default csv) control which attributes are copied:

The settings keyword can be truncated.


mcopy #0 #1 settings a
mcopy #0 #1-10 set csvl
See also: combine, preset, msc