Ticket #7885: cmds.cxc

File cmds.cxc, 6.7 KB (added by Eric Pettersen, 3 years ago)

Added by email2trac

Line 
1open 7PFO
2select /N
3delete atoms sel
4delete bonds sel
5hide atoms
6show cartoons
7set bgColor white
8select /C
9select /Q
10delete atoms (#!1 & sel)
11delete bonds (#!1 & sel)
12select /M
13delete atoms (#!1 & sel)
14delete bonds (#!1 & sel)
15select /H/I/J
16delete atoms sel
17delete bonds sel
18select /K
19delete atoms (#!1 & sel)
20delete bonds (#!1 & sel)
21select /L
22delete atoms sel
23delete bonds sel
24select /D
25select :83/D
26select clear
27select :83/D
28select :83
29select /D:83
30select clear
31select /D:83
32show sel atoms
33style sel stick
34select /D:22
35select /D:23
36select add /D:22
37select add /D:24
38style sel stick
39show sel atoms
40select /D:107
41select add /D:106
42show sel atoms
43show sel cartoons
44style sel stick
45style sel ball
46style sel stick
47select /D:83
48color sel red
49color sel orange
50select clear
51select /D:83
52select add /D:106
53select add /D:23
54select add /D:24
55select add /D:22
56color sel byhetero
57select /D:83
58color sel byhetero
59select /5:394
60select clear
61select /D:83
62ui tool show "Change Chain IDs"
63ui tool show "Build Structure"
64select /D:22
65select add /D:24
66select add /D:83
67select add /D:107
68select add /D:106
69select ~sel
70show sel surfaces
71hide sel surfaces
72select clear
73select /D:83
74select /D:152
75show sel atoms
76style sel stick
77color (#!1 & sel) byhetero
78color (#!1 & sel) lime
79color (#!1 & sel) byhetero
80ui tool show Matchmaker
81ui mousemode right "pick blobs"
82select clear
83open 7z13
84select #2/L
85delete atoms (#!2 & sel)
86delete bonds (#!2 & sel)
87select #2/A#2/B
88delete atoms (#!2 & sel)
89delete bonds (#!2 & sel)
90select #1/2
91select #2/2
92select #2/a
93delete atoms (#!2 & sel)
94delete bonds (#!2 & sel)
95select #2/b
96delete atoms (#!2 & sel)
97delete bonds (#!2 & sel)
98select #2/c
99delete atoms (#!2 & sel)
100delete bonds (#!2 & sel)
101select #2/e
102delete atoms (#!2 & sel)
103delete bonds (#!2 & sel)
104select #2/f
105delete atoms (#!2 & sel)
106delete bonds (#!2 & sel)
107select #2/O
108delete atoms sel
109delete bonds sel
110select #2/P
111delete atoms (#!2 & sel)
112delete bonds (#!2 & sel)
113select #2/J
114delete atoms (#!2 & sel)
115delete bonds (#!2 & sel)
116select #2/K
117delete atoms sel
118delete bonds sel
119select #2/M
120delete atoms (#!2 & sel)
121delete bonds (#!2 & sel)
122select #2/Q
123select #2/N
124delete atoms (#!2 & sel)
125delete bonds (#!2 & sel)
126select #2/d
127delete atoms (#!2 & sel)
128delete bonds (#!2 & sel)
129hide atoms
130show cartoons
131ui tool show Matchmaker
132matchmaker #!2 to #1
133select #1/2#2/2
134select #1/D#2/H
135select #2/E
136ui tool show Matchmaker
137select #1/D#2/H
138select #1/D#2/H
139select ~sel
140hide (#!1-2 & sel) target a
141cartoon hide (#!1-2 & sel)
142select /D:84
143select /H:84
144select #1/F#2/C
145show sel cartoons
146select /H:84
147select clear
148select /H:164
149select /H:161-164
150ui dockable false "Side View"
151ui dockable true "Side View"
152show sel surfaces
153hide sel surfaces
154style sel sphere
155show sel atoms
156style sel ball
157style sel stick
158nucleotides sel atoms
159style nucleic & sel stick
160nucleotides sel fill
161style nucleic & sel stick
162nucleotides sel fill
163style nucleic & sel stick
164nucleotides sel ladder
165nucleotides sel tube/slab shape box
166nucleotides sel atoms
167style nucleic & sel stick
168style sel sphere
169style sel stick
170hide sel atoms
171select #2/F
172select #2/F
173show sel cartoons
174hide sel cartoons
175select #2/E
176show sel cartoons
177select /H:161-164
178select #1/C
179show sel cartoons
180select #2/F
181show sel cartoons
182select /H:161-164
183show sel atoms
184select #1/D:152
185select #2/H:166
186select #2/H:167
187select #1/D:152
188select #2/H:167
189show sel atoms
190style sel stick
191select clear
192select /H:161-164
193select #1/D:152
194select add #1/D:153
195select add #1/D:154
196select add #1/D:171
197style sel stick
198show sel atoms
199select add #1/D:155
200select subtract #1/D:155
201select add #1/D:156
202select add #1/D:155
203show sel atoms
204style sel stick
205style sel sphere
206style sel stick
207select #1/D#2/H
208coulombic sel
209select /H:161-164
210select /H:152
211select /H:167
212mlp sel
213select #1/D#2/H
214mlp sel
215select /H:167
216hide sel cartoons
217surface style #!2.4 mesh
218surface style #2 dot
219surface style #2 mesh
220transparency (#!2 & sel) 50
221hide sel surfaces
222show sel surfaces
223surface hidePatches (#!2 & sel)
224select #1/D#2/H
225surface style #2#!1.13 mesh
226surface style #2#1.13 dot
227surface style #2#1.13 mesh
228transparency (#!1-2 & sel) 50
229show sel cartoons
230select /H:167
231select /H:161-164
232select #1/D#2/H
233surface style #2#1.13 solid
234transparency (#!1-2 & sel) 30
235transparency (#!1-2 & sel) 70
236transparency (#!1-2 & sel) 60
237select /H:161-164
238select #1/E#2/I
239show sel cartoons
240select /H:161-164
241select /H:164
242select #1/D
243hide sel surfaces
244hide sel cartoons
245hide sel atoms
246select #1/E
247hide sel surfaces
248hide sel cartoons
249hide sel atoms
250hide sel surfaces
251select #1/C
252hide sel surfaces
253hide sel cartoons
254hide sel atoms
255select #1/A
256hide sel surfaces
257hide sel cartoons
258hide sel atoms
259select /H:164
260coulombic sel
261select /H:207
262coulombic sel
263select /H:207,164
264select /H:207,164
265select /E:50
266select /H:207,164
267select #2/E:50
268select /H:207,164
269select add #2/E:50
270coulombic sel
271transparency (#!2 & sel) 50
272show sel atoms
273style sel stick
274style sel sphere
275style sel ball
276style sel stick
277style sel ball
278select /F
279hide (#!1-2 & sel) target a
280hide sel cartoons
281show sel cartoons
282select #1/A
283select #1/F
284hide sel cartoons
285select #2/F:19
286select add #2/H:176
287ui tool show Distances
288show sel atoms
289style sel stick
290select #2/H:176
291select #2/H:176
292select #2/H:176
293select #2/F:34
294select add #2/H:174
295style sel stick
296style sel stick
297show sel atoms
298select clear
299select #2/H:176
300select add #2/H:175
301select add #2/H:174
302select add #2/H:173
303show sel atoms
304style sel stick
305select #2/F:35
306select add #2/F:31
307select add #2/F:26
308style sel stick
309show sel atoms
310select #2/H:173@CA
311select #2/H:174
312select add #2/H:173
313select add #2/H:175
314select add #2/F:35
315select add #2/F:34
316select add #2/F:33
317select add #2/F:32
318select add #2/F:31
319show sel surfaces
320hide sel surfaces
321hbonds sel reveal true
322select /H:207,164
323select #2/E:50@CE
324select /H:207,164
325select add #2/E:50@CE
326hbonds sel reveal true
327hide sel surfaces
328hide sel cartoons
329show sel cartoons
330select add #2/E:50@CG
331hide sel surfaces
332select subtract #2/E:50
333select add #2/E:50
334hide sel surfaces
335hbonds sel reveal true
336select /H:167
337hbonds sel reveal true
338mlp sel
339coulombic sel
340ui tool show "Show Sequence Viewer"
341sequence chain #2/H
342select #2/H:162-167,173-176,179-182,188-192,205-206
343select #2/H:165
344select #2/H:165-171
345select #2/H:172
346select #2/H:172-173
347select #2/H:108-109
348select #2/H:108-111
349select #2/H:160
350select #2/H:160-161
351select #2/H:155
352select #2/H:155
353select #2/H:161
354select #2/H:161
355select sel @< 5
356select #2/H:162
357select #2/H:162
358select #2/H:161
359select #2/H:161
360select sel @< 5
361select #2/H:156
362select #2/H:156
363select sel @< 3
364select sel @< 3
365select sel @< 3
366select sel @< 3
367select sel @< 3
368select #2/H:156
369select #2/H:156-157
370select #2/H:156
371select #2/H:156
372select clear
373select #2/H:156-157
374select #2/H:156
375select #2/H:167
376select #2/H:167
377select sel @< 3
378select #2/H:167
379select #2/H:167
380select sel @< 5
381select #2/H:167
382select #2/H:167
383select sel :< 5
384select #2/H:167
385select #2/H:167
386select sel :< 0
387select #2/H:167
388select #2/H:167