Package schrodinger :: Package ui :: Module rama :: Class Rama
[hide private]
[frames] | no frames]

Class Rama

Nested Classes [hide private]
  backbone_dihedral
Instance Methods [hide private]
 
__init__(self, parent, size=500, ticks=30, show_status=True, show_counters=False, zoom_on_pick=True)
 
draw_regions(self)
 
find_connected_atom(self, ct, iatom, atname)
Return the atom index with PDB atom type atname attached to iatom in ct, or -1 if no connection is found.
 
get_connected_pair(self, ct, iatom, at1name, at2name)
Return a pair of atom indexes, where at1name is attached to iatom and at2name is attached to at1name.
 
get_weight_symbol(self, weight)
 
update_display(self)
 
display_structure(self, ct, CA_list=[])
 
save(self)
 
revert_to_original(self)
 
revert_to_saved(self)
 
display_residue(self, index)
 
adjust_phi(self)
 
adjust_psi(self)
 
apply_dihedral(self, idihedral)
 
minus(self, event)
 
plus(self, event)
 
clear_selection(self, event)
 
drag(self, event)
 
change_current_pick(self, new_pick)
 
find_closest_point(self, x, y)
 
pick_by_point(self, event)
 
pick_by_atom(self, iatom)
 
get_picked(self)
 
set_viewport(self, min_x=-180.0, max_x=180.0, min_y=-180.0, max_y=180.0)
 
write_file(self, filename)
 
set_symbol_size(self, value)
 
adjust_symbol_size(self, value)
 
options_quit(self)
 
clearGraph(self)
Gets called when project is closed
Class Variables [hide private]
  DEFAULT_CURSOR = "crosshair"
  DEFAULT_SYMBOL_SIZE = 1
  DEF_COLOR = "black"
  GLY_COLOR = "black"
  PRO_COLOR = "black"
  FAVORABLE_COLOR = "#f20000"
  ALLOWED_COLOR = "#ffff00"
  ZOOMSTEP = 10.0
  SYMBOL_SCALING_FACTOR = 2
  ESC_KEY = 27