Ticket #5311: command-file.cxc

File command-file.cxc, 1.8 KB (added by Tom Goddard, 4 years ago)
Line 
1# Load map and model
2open emdb:13065 7otq
3
4# Adjust map contour level and remove speckles
5# Contour level of 0.15 is a good compromise because it shows that we have secondary structure resolution and also shows connected density at the H4 tail
6volume #1 level 0.15
7surface dust #1 size 10
8
9# Name orientations to make it easier to come back to them
10
11## Orient in disc view and zoom in to fill camera view
12turn x -90
13turn z -5
14view #1
15view name disc
16
17## Orient in dyad view
18view disc
19turn x 90
20turn z -5
21turn x -5
22view name dyad
23
24## Orient in gyres view
25view dyad
26turn x 180
27turn z -5
28view name gyres
29
30## Orient to look at H4 tail
31view gyres
32turn y 95
33turn x 45
34turn y 30
35view name H4tailInteraction
36view H4tailInteraction
37turn y -50
38turn x -15
39turn y -5
40view name H4tailInteraction2
41
42# Name chains to make the rest easier to read
43name H3 /a/e
44name H4 /b/f
45name H2A /c/g
46name H2B /d/h
47name histones /a-h
48name DNA /i/j
49name ALC1 /k
50name NATPase /k:42-266
51name CATPase /k:267-500
52name H4tail /b:16-24
53
54# Apply color code
55color H3 blue
56color H4 green
57color H2A yellow
58color H2B red
59color DNA silver
60color ALC1 deeppink
61color NATPase salmon
62
63# Find correct protein secondary structure assignments in atomic model
64dssp protein
65
66# Adjust display of atomic model
67hide atoms
68hide cartoons
69cartoon style protein modeHelix tube radius 2 sides 24
70
71# Global display options
72set bgColor white
73lighting soft
74graphics silhouettes true
75
76# Movie: grey map, fade to map colored by chain assignment, fade to atomic model
77view disc
78view #1
79movie record
80wait 240
81# Smooth transition from grey map to colored map
82crossfade 120
83color zone #1 near #2 distance 10
84wait 240
85# Smooth transition from map to atomic model
86crossfade 120
87hide #1
88show cartoons
89wait 240
90movie stop
91movie encode framerate 60 output wrong-result.mp4