File: ribosome.pml

package info (click to toggle)
pymol 2.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 43,312 kB
  • sloc: cpp: 480,106; python: 79,860; ansic: 28,343; javascript: 6,792; sh: 47; makefile: 30; csh: 8
file content (59 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (5)
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