File: C0800matrices.log

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 (282 lines) | stat: -rw-r--r-- 11,678 bytes parent folder | download | duplicates (9)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
PyMOL>load dat/pept.pdb, mol1
 CmdLoad: "dat/pept.pdb" loaded as "mol1".
PyMOL>load dat/pept.pdb, mol2
 CmdLoad: "dat/pept.pdb" loaded as "mol2".
PyMOL>load dat/pept.pdb, mol3
 CmdLoad: "dat/pept.pdb" loaded as "mol3".
PyMOL>dump_lst((cmd.get_distance("mol1///5/ca","mol2///5/ca"), \
PyMOL>cmd.get_distance("mol1///5/ca","mol3///5/ca"), \
PyMOL>cmd.get_distance("mol2///5/ca","mol3///5/ca")))
[  0.00  0.00  0.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol1"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol2"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol3"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>translate [2,3,4], object=mol2, object_mode=1
PyMOL>dump_lst((cmd.get_distance("mol1///5/ca","mol2///5/ca"), \
PyMOL>cmd.get_distance("mol1///5/ca","mol3///5/ca"), \
PyMOL>cmd.get_distance("mol2///5/ca","mol3///5/ca")))
[  5.38  0.00  5.38 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol1"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol2"))
[  1.00  0.00  0.00  2.00  
   0.00  1.00  0.00  3.00  
   0.00  0.00  1.00  4.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol3"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>matrix= cmd.get_object_matrix("mol2")
PyMOL>cmd.transform_object("mol3",matrix, homogenous=1)
PyMOL>dump_lst((cmd.get_distance("mol1///5/ca","mol2///5/ca"), \
PyMOL>cmd.get_distance("mol1///5/ca","mol3///5/ca"), \
PyMOL>cmd.get_distance("mol2///5/ca","mol3///5/ca")))
[  5.38  5.38  0.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol1"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol2"))
[  1.00  0.00  0.00  2.00  
   0.00  1.00  0.00  3.00  
   0.00  0.00  1.00  4.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol3"))
[  1.00  0.00  0.00  2.00  
   0.00  1.00  0.00  3.00  
   0.00  0.00  1.00  4.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dele mol3
PyMOL>load dat/pept.pdb,mol3
 CmdLoad: "dat/pept.pdb" loaded as "mol3".
PyMOL>dump_lst((cmd.get_distance("mol1///5/ca","mol2///5/ca"), \
PyMOL>cmd.get_distance("mol1///5/ca","mol3///5/ca"), \
PyMOL>cmd.get_distance("mol2///5/ca","mol3///5/ca")))
[  5.38  0.00  5.38 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol1"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol2"))
[  1.00  0.00  0.00  2.00  
   0.00  1.00  0.00  3.00  
   0.00  0.00  1.00  4.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol3"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>matrix_transfer mol1, mol3
PyMOL>dump_mat(cmd.get_object_matrix("mol1"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol2"))
[  1.00  0.00  0.00  2.00  
   0.00  1.00  0.00  3.00  
   0.00  0.00  1.00  4.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol3"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_lst((cmd.get_distance("mol1///5/ca","mol2///5/ca"), \
PyMOL>cmd.get_distance("mol1///5/ca","mol3///5/ca"), \
PyMOL>cmd.get_distance("mol2///5/ca","mol3///5/ca")))
[  5.38  0.00  5.38 ]
PyMOL>matrix_transfer mol2, mol3
PyMOL>dump_lst((cmd.get_distance("mol1///5/ca","mol2///5/ca"), \
PyMOL>cmd.get_distance("mol1///5/ca","mol3///5/ca"), \
PyMOL>cmd.get_distance("mol2///5/ca","mol3///5/ca")))
[  5.38  5.38  0.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol1"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol2"))
[  1.00  0.00  0.00  2.00  
   0.00  1.00  0.00  3.00  
   0.00  0.00  1.00  4.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("mol3"))
[  1.00  0.00  0.00  2.00  
   0.00  1.00  0.00  3.00  
   0.00  0.00  1.00  4.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dele all
PyMOL>load ../data/tut/1hpv.pdb
HEADER    HYDROLASE (ACID PROTEINASE)             18-NOV-94   1HPV      1HPV   2
COMPND    HIV-1 PROTEASE (E.C.3.4.23.-) COMPLEXED WITH VX-478           1HPV   3
COMPND   2 (3(S)-N-(3-TETRAHYDROFURANYLOXYCARBONYL) AMINO-1-            1HPV   4
COMPND   3 (N,N-ISOBUTYL,4-AMINOBENZENESULFONYL) AMINO-2-(S)-HYDROXY-   1HPV   5
COMPND   4 4-PHENYLBUTANE)                                              1HPV   6
 ObjectMolecule: Read secondary structure assignments.
 ObjectMolecule: Read crystal symmetry information.
 Symmetry: Found 6 symmetry operators.
 CmdLoad: "../data/tut/1hpv.pdb" loaded as "1hpv".
PyMOL>create ligand, organic
 Selector: found 35 atoms.
 Executive: object "ligand" created.
PyMOL>create protein, polymer
 Selector: found 1516 atoms.
 Executive: object "protein" created.
PyMOL>delete 1hpv
PyMOL>dump_lst((cmd.get_distance("ligand////s1","/protein/1HPV/B/ILE`84/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/C4","/protein/1HPV/B/ILE`50/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/O3"," /protein/1HPV/B/VAL`82/CB")))
[  6.86  5.47  8.86 ]
PyMOL>translate [2,3,4], object=protein, object_mode=1
PyMOL>rotate x, 20, object=protein, object_mode=1
PyMOL>rotate y, 40, object=protein, object_mode=1
PyMOL>rotate z, 90, object=protein, object_mode=1
PyMOL>translate [4,5,6], object=protein, object_mode=1
PyMOL>dump_lst((cmd.get_distance("ligand////s1","/protein/1HPV/B/ILE`84/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/C4","/protein/1HPV/B/ILE`50/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/O3"," /protein/1HPV/B/VAL`82/CB")))
[ 22.69 18.69 18.07 ]
PyMOL>matrix_transfer protein, ligand
PyMOL>dump_mat(cmd.get_object_matrix("protein"))
[  0.00 -0.94  0.34 30.89  
   0.77  0.22  0.60 11.28  
  -0.64  0.26  0.72 13.10  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("ligand"))
[  0.00 -0.94  0.34 30.89  
   0.77  0.22  0.60 11.28  
  -0.64  0.26  0.72 13.10  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_lst((cmd.get_distance("ligand////s1","/protein/1HPV/B/ILE`84/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/C4","/protein/1HPV/B/ILE`50/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/O3"," /protein/1HPV/B/VAL`82/CB")))
[  6.86  5.47  8.86 ]
PyMOL>load ../data/tut/1hpv.pdb, copy
HEADER    HYDROLASE (ACID PROTEINASE)             18-NOV-94   1HPV      1HPV   2
COMPND    HIV-1 PROTEASE (E.C.3.4.23.-) COMPLEXED WITH VX-478           1HPV   3
COMPND   2 (3(S)-N-(3-TETRAHYDROFURANYLOXYCARBONYL) AMINO-1-            1HPV   4
COMPND   3 (N,N-ISOBUTYL,4-AMINOBENZENESULFONYL) AMINO-2-(S)-HYDROXY-   1HPV   5
COMPND   4 4-PHENYLBUTANE)                                              1HPV   6
 ObjectMolecule: Read secondary structure assignments.
 ObjectMolecule: Read crystal symmetry information.
 Symmetry: Found 6 symmetry operators.
 CmdLoad: "../data/tut/1hpv.pdb" loaded as "copy".
PyMOL>create copy_ligand, copy and organic
 Selector: found 35 atoms.
 Executive: object "copy_ligand" created.
PyMOL>create copy_protein, copy and polymer
 Selector: found 1516 atoms.
 Executive: object "copy_protein" created.
PyMOL>create copy_protein2, copy and polymer
 Selector: found 1516 atoms.
 Executive: object "copy_protein2" created.
PyMOL>delete copy
PyMOL>matrix_transfer protein, copy_protein2
PyMOL>fit copy_protein, protein
 Executive: RMS =    0.000 (1516 to 1516 atoms)
PyMOL>dump_mat(cmd.get_object_matrix("protein"))
[  0.00 -0.94  0.34 30.89  
   0.77  0.22  0.60 11.28  
  -0.64  0.26  0.72 13.10  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("copy_protein"))
[  0.00 -0.94  0.34 30.89  
   0.77  0.22  0.60 11.28  
  -0.64  0.26  0.72 13.10  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("copy_protein2"))
[  0.00 -0.94  0.34 30.89  
   0.77  0.22  0.60 11.28  
  -0.64  0.26  0.72 13.10  
   0.00  0.00  0.00  1.00 ]
PyMOL>load ../data/tut/1hpv.pdb, target
HEADER    HYDROLASE (ACID PROTEINASE)             18-NOV-94   1HPV      1HPV   2
COMPND    HIV-1 PROTEASE (E.C.3.4.23.-) COMPLEXED WITH VX-478           1HPV   3
COMPND   2 (3(S)-N-(3-TETRAHYDROFURANYLOXYCARBONYL) AMINO-1-            1HPV   4
COMPND   3 (N,N-ISOBUTYL,4-AMINOBENZENESULFONYL) AMINO-2-(S)-HYDROXY-   1HPV   5
COMPND   4 4-PHENYLBUTANE)                                              1HPV   6
 ObjectMolecule: Read secondary structure assignments.
 ObjectMolecule: Read crystal symmetry information.
 Symmetry: Found 6 symmetry operators.
 CmdLoad: "../data/tut/1hpv.pdb" loaded as "target".
PyMOL>dump_lst((cmd.get_distance("ligand////s1","/target/1HPV/B/ILE`84/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/C4","/target/1HPV/B/ILE`50/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/O3"," /target/1HPV/B/VAL`82/CB")))
[ 14.32 17.77 18.33 ]
PyMOL>dump_mat(cmd.get_object_matrix("ligand"))
[  0.00 -0.94  0.34 30.89  
   0.77  0.22  0.60 11.28  
  -0.64  0.26  0.72 13.10  
   0.00  0.00  0.00  1.00 ]
PyMOL>matrix_transfer target, ligand
PyMOL>dump_mat(cmd.get_object_matrix("ligand"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_lst((cmd.get_distance("ligand////s1","/target/1HPV/B/ILE`84/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/C4","/target/1HPV/B/ILE`50/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/O3"," /target/1HPV/B/VAL`82/CB")))
[  6.86  5.47  8.86 ]
PyMOL>dump_mat(cmd.get_object_matrix("protein"))
[  0.00 -0.94  0.34 30.89  
   0.77  0.22  0.60 11.28  
  -0.64  0.26  0.72 13.10  
   0.00  0.00  0.00  1.00 ]
PyMOL>fit protein, target
 Executive: RMS =    0.000 (1516 to 1516 atoms)
PyMOL>dump_mat(cmd.get_object_matrix("protein"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_mat(cmd.get_object_matrix("ligand"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_lst((cmd.get_distance("ligand////s1","/protein/1HPV/B/ILE`84/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/C4","/protein/1HPV/B/ILE`50/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/O3"," /protein/1HPV/B/VAL`82/CB")))
[  6.86  5.47  8.86 ]
PyMOL>matrix_transfer protein, ligand
PyMOL>dump_lst((cmd.get_distance("ligand////s1","/protein/1HPV/B/ILE`84/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/C4","/protein/1HPV/B/ILE`50/CB"), \
PyMOL>cmd.get_distance("/ligand/1HPV//478`200/O3"," /protein/1HPV/B/VAL`82/CB")))
[  6.86  5.47  8.86 ]
PyMOL>dump_lst((cmd.get_distance("/target/1HPV/B/ILE`84/CB","/copy_protein2/1HPV/B/ILE`84/CB"),))
[ 19.55 ]
PyMOL>dump_mat(cmd.get_object_matrix("copy_protein2"))
[  0.00 -0.94  0.34 30.89  
   0.77  0.22  0.60 11.28  
  -0.64  0.26  0.72 13.10  
   0.00  0.00  0.00  1.00 ]
PyMOL>matrix_reset copy_protein2
PyMOL>dump_mat(cmd.get_object_matrix("copy_protein2"))
[  1.00  0.00  0.00  0.00  
   0.00  1.00  0.00  0.00  
   0.00  0.00  1.00  0.00  
   0.00  0.00  0.00  1.00 ]
PyMOL>dump_lst((cmd.get_distance("/target/1HPV/B/ILE`84/CB","/copy_protein2/1HPV/B/ILE`84/CB"),))
[  0.00 ]