There are a number of places where the user can customize his/her working environment. As well as being able to modify the colours in the O pull-down system, there are a number of macros or data-blocks that may want to be changed to satisfy personal needs. The macros can be in the computer file system, or as database entries.
On starting the program, the macro on_startup is activated. In the distribution, this macro opens a number of pull-down menus and positions them
@on_startup t 2 50
window_open user_menu .8 .8
window_open object_menu -1.1 -0.1
A user may want to add instructions to read in electron density maps, for example
The user can set up a menu of commands or a list of macros to supplement O's pull-down system. They exist in a DB entry .menu and can be separated by colouring commands
.menu t 7 50
colour_text green
Save
Stop
Quit
colour_text red
@skl25
@skl100
window_open name x y
Opens one of the moveable pull-down menus and places it in the 3D window. The coordinates have values -1.2 > X < 1.2, -1.0 > Y <1.0
Any 'moveable' window can be opened, but the following pull-downs may be worth positioning by placing a series of window_open commands in the on_startup macro
object_display | pulldown of objects that are presently displayed. Clicking on a pane deletes the object |
density_1(2,3,4,5) | the 5 density slider windows |
object_menu | pull-down to turn object on/off |
user_menu | pull-down of the User's menu of commands and macros |
dial_menu | pseudo dial pull-down |
When using the Baton_build command, the following macro is drawn when the user hits Yes. In the distribution, a new contour is made of the current electron density map
@on_baton_yes t 1 50
fm_dr ;
On picking a symbol on the Ramachandran plot, the following macro is activated
@on_rama_pick t 1 50
cen_atom ${.id_m} ${.id_r} ${.id_a}
The distribution macro centres on the Ca atom of the residue
On picking in the Graph window, the follwoing macro is activated
@on_graph_pick t 1 50
cen_atom ${.id_m} ${.id_r} ${.id_a}
he distribution macro centres on the Ca atom of the residue, or on the atom identified
The distribution macro paints by Z-value so that carbons are yellow, nitrogens blue, oxygens red, sulphurs green
@pt_by_atom t 1 50
pai_case ; 4 6 7 8 16 yellow blue red green