Tom,
Hi Xiangan,
I've added a new Chimera command "mcopy" to copy colors, display styles, coordinates and other settings from one molecule to another.
mcopy #0 #1
will copy the colors, display styles (ribbon, stick, sphere, ...), and visibility (which atoms/residues shown) from molecule #0 to molecule #1. To copy other attributes such as atom coordinates, molecule placement (transform), or labels use the "settings" option:
mcopy #0 #1 settings lxp
copies just atom/residue labels, atomic coordinates and placement. The recognized settings are: c = color, s = style, v = visibilty, l = labels, x = coords, p = placement, a = all. The default is "csv".
This command will be in tonight's Chimera builds.
http://www.cgl.ucsf.edu/chimera/alpha-downloads.html
Tom
Xiangan Liu wrote:
Tom,
I asked you a question in BPS meeting regarding the implementation of copying a display configuration of a pdb file to anoth pdb with the same sequences. Did you get chance to implement it into chimera daily release? If yes, what is the command. If not, can you send me the corresponding python codes to me?
Thanks,
Xiangan