[Chimera-users] Placing markers in specific points of an EM map using command line

Elaine Meng meng at cgl.ucsf.edu
Wed Aug 5 10:58:44 PDT 2015

Dear Ana-Lucia,
There isn’t a command to do the same thing as manually creating and placing markers.  However, you already have the markers, so the work is done!  Just open the markers in Chimera and undisplay them before starting to record, and then only display them at the time you want them to be shown in your movie.  A marker set is implemented as a molecule model, and the markers as atoms, so you could just use “display” and “~display” commands to show and hide them, just like for atomic structures.

For example, if your marker set is open as model 3, the commands to hide and show the whole set could be: 
 ~disp #3
disp #3
To display them individually instead of a whole set at a time is tricker.  Normally I would use atom name or serial number, but the example marker file I’m using doesn’t have either of these assigned.  Maybe my coworkers can suggest how to specify the individual markers.

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 5, 2015, at 9:04 AM, Ana Lucia Alvarez Cabrera <anlualca at yahoo.com> wrote:

> Dear colleagues,
> I would like to know how can I place markers in  specific points within an EM map, using commands (and not the Volume Tracer option in the graphic interface).
> I am doing a movie and I need to place markers in different regions of a map. By placing the markers first manually with the mouse (using the Volume Tracer option in the graphic interface) into the map and saving the respective marker set I can know the specific coordinates for each marker by reading the output marker file "suffix.cmm" (for example: <marker id="1" x="22.28" y="24.608" z="17.976" r="1" g="0.49804" b="0" radius="2"/> ), but I still don't know how to use this information when writing the command for placing the marker in that position.
> Thanks in advance,
> Ana-Lucia

More information about the Chimera-users mailing list