[Chimera-users] Changue the identifier model number of a structure or marker set

Elaine Meng meng at cgl.ucsf.edu
Fri Aug 7 09:06:56 PDT 2015

Hi Ana-Lucia,
You can use the command “combine” to make a copy of the marker set as a new model and “mcopy” to transfer all of its settings that weren’t already copied.  For example to copy marker set model 0 to model 8 and remove the original:

combine #0 model 8 name 'marker set 1'
mcopy #0 #8
close 0


You must manually specify the name (in the example above, 'marker set 1') because the other commands won’t transfer it automatically.  You can combine all the commands into one line separated by semicolons if you don’t want to see the intermediate states.  For example (this should all be one line, even if the mail program decides to split it up):

combine #0 model 8 name 'marker set 1'; mcopy #0 #8; close 0

(My first idea was to save the marker set to file, close the marker set model, then open as the new model with something like “open  8 ~/Desktop/test.cmm”  but when I try that the new model number is ignored.  It may be a bug for marker sets, as I know if works correctly for pdb files.  The slightly longer method above worked correctly in my marker set tests, however.)

I hope this helps,
Elaine C. Meng, Ph.D.                       
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Aug 7, 2015, at 2:46 AM, Ana Lucia Alvarez Cabrera <anlualca at yahoo.com> wrote:

> Hi,
> I am writing a (long) command script to make king of fancy (complicated) movie. In order to make the things a little bit less complicated in my script, I need to change the model number of  some marker sets that I have created previously.  How can I change the identifier number of  models/marker sets?.  
> Thanks.
> Ana-Lucia

More information about the Chimera-users mailing list