1load 1FFK.pdb,1ffk
2
3# create object with only nucleic acid
4
5create nuc = (1ffk and not n;ca,cd)
6del 1ffk
7
8# color contiguous chains
9
10edit (c;0 & n;P & i;713)
11color blue,(pkchain)
12
13edit (c;0 & n;P & i;2250)
14color green,(pkchain)
15
16edit (c;0 & n;P & i;1876)
17color magenta,(pkchain)
18
19edit (c;0 & n;P & i;2596)
20color violet,(pkchain)
21
22edit (c;0 & n;P & i;1993)
23color cyan,(pkchain)
24
25edit (c;0 & n;P & i;2764)
26color white,(pkchain)
27
28edit (c;0 & n;P & i;1552)
29color salmon,(pkchain)
30
31edit (c;0 & n;P & i;857)
32color pink,(pkchain)
33
34edit (c;0 & n;P & i;1149)
35color orange,(pkchain)
36
37edit (c;9 & n;P & i;21)
38color yellow,(pkchain)
39
40# orient the "hand"
41
42reset
43turn y,-60
44turn z,180
45move y,-15
46
47# show spheres
48
49show spheres
50
51# ray trace
52
53set antialias=1
54ray
55
56# write output
57
58png ribosome.png
59