File: packing.pml

package info (click to toggle)
pymol 1.7.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 42,668 kB
  • ctags: 25,775
  • sloc: ansic: 494,779; python: 75,446; cpp: 20,088; makefile: 351; sh: 172; csh: 21
file content (39 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (12)
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
# load pdb file which has a CRYST1 record

load 1DN2.pdb,1dn2

# create neighbors with contacts

symexp s,1dn2,(all),4.0

# display ribbon only, and make it a little bit "fatter"

hide 
set ribbon_radius = 0.75
show ribbon

# rotate, zoom, and adjust clipping

reset
turn y,90
move z,50
turn x,5
turn y,5

# color symmetry-related copies distinctly

color white
color yellow, (1dn2)
color cyan,   (s01-10100)
color marine, (s0000-100 or s00000100)
color red,    (s01000000)
color violet, (s00000001 or s000000-1)
color orange, (s01000001)
color pink,   (s01000101)
color green,  (s01000100)

# now render (about 1 minute)

set antialias=1
ray
png packing.png