Table of Contents

Module: markerset VolumePath/markerset.py

Imported modules   
import chimera
from chimera import selection
Functions   
add_model_closed_callback
atom_chains
atom_position
attribute_strings
chimera_color
create_marker_sets
distance
leftover_keys
load_marker_set_xml
pick_marker
pick_marker_3d
save_marker_sets
trace_chain
transfer_markers
transform_coordinates
xml_escape
  add_model_closed_callback 
add_model_closed_callback ( model,  callback )

Invoke a callback when a specified model is closed.

  atom_chains 
atom_chains ( molecule )

Return a list of atom chains for a molecule. An atom chain is a sequence of atoms connected by bonds where all non-end-point atoms have exactly 2 bonds. A chain is represented by a 2-tuple, the first element being the ordered list of atoms, and the second being the ordered list of bonds. In a chain which is a cycle all atoms have 2 bonds and the first and last atom in the chain are the same. Non-cycles have end point atoms with more or less than 2 bonds.

  atom_position 
atom_position ( atom )

  attribute_strings 
attribute_strings ( dict )

Make string name1="value1" name2="value2" ... string for XML output.

  chimera_color 
chimera_color ( rgba )

  create_marker_sets 
create_marker_sets ( marker_set_tuples )

  distance 
distance ( xyz_1,  xyz_2 )

  leftover_keys 
leftover_keys ( dict,  keys )

  load_marker_set_xml 
load_marker_set_xml ( input )

  pick_marker 
pick_marker (
        pointer_x,
        pointer_y,
        marker_sets,
        )

  pick_marker_3d 
pick_marker_3d ( xyz,  marker_sets )

  save_marker_sets 
save_marker_sets ( mslist,  out )

  trace_chain 
trace_chain ( atom,  bond )

  transfer_markers 
transfer_markers ( mlist,  marker_set )

Does not transfer markers to new marker set if different marker sets would be linked. Returns None in that case. Otherwise returns the number of markers transfered.

  transform_coordinates 
transform_coordinates (
        xyz,
        from_xform,
        to_xform,
        )

  xml_escape 
xml_escape ( s )

Replace & by &amp; " by &quot; and < by &lt; and > by &gt; in a string.

Classes   

Link

Link is implemented as a Chimera Bond.

Marker

Marker is implemented as a Chimera Atom.

Marker_Set

Set of Markers and Links between them.


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:39 2003 by HappyDoc version 2.1