File: ribosome.pml

package info (click to toggle)
pymol 1.8.4.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,248 kB
  • ctags: 24,095
  • sloc: cpp: 474,635; python: 75,034; ansic: 22,888; sh: 236; makefile: 78; csh: 21
file content (59 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
fetch 1ffk, async=0
# load 1FFK.pdb,1ffk

# create object with only nucleic acid

create nuc = (1ffk and not n;ca,cd)
remove 1ffk

# color contiguous chains

edit (c;0 & n;P & i;713)
color blue,(pkchain)

edit (c;0 & n;P & i;2250)
color green,(pkchain)

edit (c;0 & n;P & i;1876)
color magenta,(pkchain)

edit (c;0 & n;P & i;2596)
color violet,(pkchain)

edit (c;0 & n;P & i;1993)
color cyan,(pkchain)

edit (c;0 & n;P & i;2764)
color white,(pkchain)

edit (c;0 & n;P & i;1552)
color salmon,(pkchain)

edit (c;0 & n;P & i;857)
color pink,(pkchain)

edit (c;0 & n;P & i;1149)
color orange,(pkchain)

edit (c;9 & n;P & i;21)
color yellow,(pkchain)

# orient the "hand"

reset
turn y,-60
turn z,180
move y,-15

# show spheres

show spheres

# ray trace

set antialias=1
ray

# write output

png ribosome.png