schrodinger.ui.rama module¶
A Ramachandran Plot widget, along with some tools for manipulating structures/points.
Usage:
Rama(parent)
-
class
schrodinger.ui.rama.
Rama
(parent, size=500, ticks=30, show_status=True, show_counters=False, zoom_on_pick=True)¶ -
ALLOWED_COLOR
= '#ffff00'¶
-
DEFAULT_CURSOR
= 'crosshair'¶
-
DEFAULT_SYMBOL_SIZE
= 1¶
-
DEF_COLOR
= 'black'¶
-
ESC_KEY
= 27¶
-
FAVORABLE_COLOR
= '#f20000'¶
-
GLY_COLOR
= 'black'¶
-
PRO_COLOR
= 'black'¶
-
SYMBOL_SCALING_FACTOR
= 2¶
-
ZOOMSTEP
= 10.0¶
-
adjust_phi
()¶
-
adjust_psi
()¶
-
adjust_symbol_size
(value)¶
-
apply_dihedral
(idihedral)¶
-
class
backbone_dihedral
¶
-
change_current_pick
(new_pick)¶
-
clearGraph
()¶ Gets called when project is closed
-
clear_selection
(event)¶
-
display_residue
(index)¶
-
display_structure
(ct, CA_list=[])¶
-
drag
(event)¶
-
draw_regions
()¶
-
find_closest_point
(x, y)¶
-
find_connected_atom
(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
(ct, iatom, at1name, at2name)¶ Return a pair of atom indexes, where at1name is attached to iatom and at2name is attached to at1name.
-
get_picked
()¶
-
get_weight_symbol
(weight)¶
-
minus
(event)¶
-
options_quit
()¶
-
pick_by_atom
(iatom)¶
-
pick_by_point
(event)¶
-
plus
(event)¶
-
revert_to_original
()¶
-
revert_to_saved
()¶
-
save
()¶
-
set_symbol_size
(value)¶
-
set_viewport
(min_x=-180.0, max_x=180.0, min_y=-180.0, max_y=180.0)¶
-
update_display
()¶
-
write_file
(filename)¶
-
-
schrodinger.ui.rama.
quit
()¶