As various versions of RasMol have circulated in the community, some questions have arisen about the positioning of molecules relative to the screen cooridinate systems. The intention is that the center should be in the middle of the screen, the x-coordinate should increase from left to right, the y coordinate should increase from top to bottom and the z coordinate should increase from front to back.
To help to verify the operation of your copy of RasMol, you will need a copy the data file 3cro.pdb in the placed in directory ../data (where it comes when you build a standard RasMol 2.7.2.1 kit) and run the script postest.scr:
load ../data/3cro.pdb restrict 1:a center 1:a set background white spacefill zoom 300 write pict 3cro_1_a_1.pict pause translate y 10 write pict 3cro_1_a_2_y_10.pict pause rotate x 45 write pict 3cro_1_a_3_y_10_x_r45.pict pause translate y -15 rotate z 22 write pict 3cro_1_a_4_y_10_x_r45_y_m15_z_r22.pict exit
Note that the script attempts to write 4 pict files. These writes will fail unless you execute "set write on" before loading the script with "script postest.scr". The images you see should look like this, in sequence:
|
|
|
|