forked from vitzwitz/matching-functions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMotifParserTest1.py
More file actions
190 lines (190 loc) · 8.63 KB
/
MotifParserTest1.py
File metadata and controls
190 lines (190 loc) · 8.63 KB
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
'''
FUNC:test1
PDB:1a0j
EC:3.4.21.4
RESI:his,asp,ser
LOCI:a-57,102,195;
'''
cmd.select('asp1', 'n. CB&r. asp w. %s of n. CB&r. his'%(d*7.57))
cmd.select('asp2', 'n. CB&r. asp w. %s of n. CG&r. his'%(d*7.69))
cmd.select('asp3', 'n. CB&r. asp w. %s of n. ND1&r. his'%(d*6.91))
cmd.select('asp4', 'n. CB&r. asp w. %s of n. CD2&r. his'%(d*8.98))
cmd.select('asp5', 'n. CB&r. asp w. %s of n. CE1&r. his'%(d*7.87))
cmd.select('asp6', 'n. CB&r. asp w. %s of n. NE2&r. his'%(d*9.01))
cmd.select('asp7', 'n. CG&r. asp w. %s of n. CB&r. his'%(d*6.21))
cmd.select('asp8', 'n. CG&r. asp w. %s of n. CG&r. his'%(d*6.23))
cmd.select('asp9', 'n. CG&r. asp w. %s of n. ND1&r. his'%(d*5.47))
cmd.select('asp10', 'n. CG&r. asp w. %s of n. CD2&r. his'%(d*7.52))
cmd.select('asp11', 'n. CG&r. asp w. %s of n. CE1&r. his'%(d*6.50))
cmd.select('asp12', 'n. CG&r. asp w. %s of n. NE2&r. his'%(d*7.59))
cmd.select('asp13', 'n. OD1&r. asp w. %s of n. CB&r. his'%(d*5.68))
cmd.select('asp14', 'n. OD1&r. asp w. %s of n. CG&r. his'%(d*5.97))
cmd.select('asp15', 'n. OD1&r. asp w. %s of n. ND1&r. his'%(d*5.51))
cmd.select('asp16', 'n. OD1&r. asp w. %s of n. CD2&r. his'%(d*7.29))
cmd.select('asp17', 'n. OD1&r. asp w. %s of n. CE1&r. his'%(d*6.66))
cmd.select('asp18', 'n. OD1&r. asp w. %s of n. NE2&r. his'%(d*7.57))
cmd.select('asp19', 'n. OD2&r. asp w. %s of n. CB&r. his'%(d*6.05))
cmd.select('asp20', 'n. OD2&r. asp w. %s of n. CG&r. his'%(d*5.69))
cmd.select('asp21', 'n. OD2&r. asp w. %s of n. ND1&r. his'%(d*4.68))
cmd.select('asp22', 'n. OD2&r. asp w. %s of n. CD2&r. his'%(d*6.84))
cmd.select('asp23', 'n. OD2&r. asp w. %s of n. CE1&r. his'%(d*5.54))
cmd.select('asp24', 'n. OD2&r. asp w. %s of n. NE2&r. his'%(d*6.71))
cmd.select('asp25', 'n. CB&r. asp w. %s of n. CB&r. ser'%(d*10.59))
cmd.select('asp26', 'n. CB&r. asp w. %s of n. OG&r. ser'%(d*10.81))
cmd.select('asp27', 'n. CG&r. asp w. %s of n. CB&r. ser'%(d*9.32))
cmd.select('asp28', 'n. CG&r. asp w. %s of n. OG&r. ser'%(d*9.59))
cmd.select('asp29', 'n. OD1&r. asp w. %s of n. CB&r. ser'%(d*9.42))
cmd.select('asp30', 'n. OD1&r. asp w. %s of n. OG&r. ser'%(d*9.84))
cmd.select('asp31', 'n. OD2&r. asp w. %s of n. CB&r. ser'%(d*8.42))
cmd.select('asp32', 'n. OD2&r. asp w. %s of n. OG&r. ser'%(d*8.55))
cmd.select('asp',' br. asp1&br. asp2&br. asp3&br. asp4&br. asp5&br. asp6&br. asp7&br. asp8&br. asp9&br. asp10&br. asp11&br. asp12&br. asp13&br. asp14&br. asp15&br. asp16&br. asp17&br. asp18&br. asp19&br. asp20&br. asp21&br. asp22&br. asp23&br. asp24&br. asp25&br. asp26&br. asp27&br. asp28&br. asp29&br. asp30&br. asp31&br. asp32')
cmd.delete('asp1')
cmd.delete('asp2')
cmd.delete('asp3')
cmd.delete('asp4')
cmd.delete('asp5')
cmd.delete('asp6')
cmd.delete('asp7')
cmd.delete('asp8')
cmd.delete('asp9')
cmd.delete('asp10')
cmd.delete('asp11')
cmd.delete('asp12')
cmd.delete('asp13')
cmd.delete('asp14')
cmd.delete('asp15')
cmd.delete('asp16')
cmd.delete('asp17')
cmd.delete('asp18')
cmd.delete('asp19')
cmd.delete('asp20')
cmd.delete('asp21')
cmd.delete('asp22')
cmd.delete('asp23')
cmd.delete('asp24')
cmd.delete('asp25')
cmd.delete('asp26')
cmd.delete('asp27')
cmd.delete('asp28')
cmd.delete('asp29')
cmd.delete('asp30')
cmd.delete('asp31')
cmd.delete('asp32')
cmd.select('his1', 'n. CB&r. his w. %s of n. CB&asp'%(d*7.57))
cmd.select('his2', 'n. CB&r. his w. %s of n. CG&asp'%(d*6.21))
cmd.select('his3', 'n. CB&r. his w. %s of n. OD1&asp'%(d*5.68))
cmd.select('his4', 'n. CB&r. his w. %s of n. OD2&asp'%(d*6.05))
cmd.select('his5', 'n. CG&r. his w. %s of n. CB&asp'%(d*7.69))
cmd.select('his6', 'n. CG&r. his w. %s of n. CG&asp'%(d*6.23))
cmd.select('his7', 'n. CG&r. his w. %s of n. OD1&asp'%(d*5.97))
cmd.select('his8', 'n. CG&r. his w. %s of n. OD2&asp'%(d*5.69))
cmd.select('his9', 'n. ND1&r. his w. %s of n. CB&asp'%(d*6.91))
cmd.select('his10', 'n. ND1&r. his w. %s of n. CG&asp'%(d*5.47))
cmd.select('his11', 'n. ND1&r. his w. %s of n. OD1&asp'%(d*5.51))
cmd.select('his12', 'n. ND1&r. his w. %s of n. OD2&asp'%(d*4.68))
cmd.select('his13', 'n. CD2&r. his w. %s of n. CB&asp'%(d*8.98))
cmd.select('his14', 'n. CD2&r. his w. %s of n. CG&asp'%(d*7.52))
cmd.select('his15', 'n. CD2&r. his w. %s of n. OD1&asp'%(d*7.29))
cmd.select('his16', 'n. CD2&r. his w. %s of n. OD2&asp'%(d*6.84))
cmd.select('his17', 'n. CE1&r. his w. %s of n. CB&asp'%(d*7.87))
cmd.select('his18', 'n. CE1&r. his w. %s of n. CG&asp'%(d*6.50))
cmd.select('his19', 'n. CE1&r. his w. %s of n. OD1&asp'%(d*6.66))
cmd.select('his20', 'n. CE1&r. his w. %s of n. OD2&asp'%(d*5.54))
cmd.select('his21', 'n. NE2&r. his w. %s of n. CB&asp'%(d*9.01))
cmd.select('his22', 'n. NE2&r. his w. %s of n. CG&asp'%(d*7.59))
cmd.select('his23', 'n. NE2&r. his w. %s of n. OD1&asp'%(d*7.57))
cmd.select('his24', 'n. NE2&r. his w. %s of n. OD2&asp'%(d*6.71))
cmd.select('his25', 'n. CB&r. his w. %s of n. CB&r. ser'%(d*8.66))
cmd.select('his26', 'n. CB&r. his w. %s of n. OG&r. ser'%(d*8.85))
cmd.select('his27', 'n. CG&r. his w. %s of n. CB&r. ser'%(d*7.20))
cmd.select('his28', 'n. CG&r. his w. %s of n. OG&r. ser'%(d*7.34))
cmd.select('his29', 'n. ND1&r. his w. %s of n. CB&r. ser'%(d*6.65))
cmd.select('his30', 'n. ND1&r. his w. %s of n. OG&r. ser'%(d*6.76))
cmd.select('his31', 'n. CD2&r. his w. %s of n. CB&r. ser'%(d*6.55))
cmd.select('his32', 'n. CD2&r. his w. %s of n. OG&r. ser'%(d*6.59))
cmd.select('his33', 'n. CE1&r. his w. %s of n. CB&r. ser'%(d*5.48))
cmd.select('his34', 'n. CE1&r. his w. %s of n. OG&r. ser'%(d*5.46))
cmd.select('his35', 'n. NE2&r. his w. %s of n. CB&r. ser'%(d*5.40))
cmd.select('his36', 'n. NE2&r. his w. %s of n. OG&r. ser'%(d*5.31))
cmd.select('his',' br. his1&br. his2&br. his3&br. his4&br. his5&br. his6&br. his7&br. his8&br. his9&br. his10&br. his11&br. his12&br. his13&br. his14&br. his15&br. his16&br. his17&br. his18&br. his19&br. his20&br. his21&br. his22&br. his23&br. his24&br. his25&br. his26&br. his27&br. his28&br. his29&br. his30&br. his31&br. his32&br. his33&br. his34&br. his35&br. his36')
cmd.delete('his1')
cmd.delete('his2')
cmd.delete('his3')
cmd.delete('his4')
cmd.delete('his5')
cmd.delete('his6')
cmd.delete('his7')
cmd.delete('his8')
cmd.delete('his9')
cmd.delete('his10')
cmd.delete('his11')
cmd.delete('his12')
cmd.delete('his13')
cmd.delete('his14')
cmd.delete('his15')
cmd.delete('his16')
cmd.delete('his17')
cmd.delete('his18')
cmd.delete('his19')
cmd.delete('his20')
cmd.delete('his21')
cmd.delete('his22')
cmd.delete('his23')
cmd.delete('his24')
cmd.delete('his25')
cmd.delete('his26')
cmd.delete('his27')
cmd.delete('his28')
cmd.delete('his29')
cmd.delete('his30')
cmd.delete('his31')
cmd.delete('his32')
cmd.delete('his33')
cmd.delete('his34')
cmd.delete('his35')
cmd.delete('his36')
cmd.select('ser1', 'n. CB&r. ser w. %s of n. CB&asp'%(d*10.59))
cmd.select('ser2', 'n. CB&r. ser w. %s of n. CG&asp'%(d*9.32))
cmd.select('ser3', 'n. CB&r. ser w. %s of n. OD1&asp'%(d*9.42))
cmd.select('ser4', 'n. CB&r. ser w. %s of n. OD2&asp'%(d*8.42))
cmd.select('ser5', 'n. OG&r. ser w. %s of n. CB&asp'%(d*10.81))
cmd.select('ser6', 'n. OG&r. ser w. %s of n. CG&asp'%(d*9.59))
cmd.select('ser7', 'n. OG&r. ser w. %s of n. OD1&asp'%(d*9.84))
cmd.select('ser8', 'n. OG&r. ser w. %s of n. OD2&asp'%(d*8.55))
cmd.select('ser9', 'n. CB&r. ser w. %s of n. CB&his'%(d*8.66))
cmd.select('ser10', 'n. CB&r. ser w. %s of n. CG&his'%(d*7.20))
cmd.select('ser11', 'n. CB&r. ser w. %s of n. ND1&his'%(d*6.65))
cmd.select('ser12', 'n. CB&r. ser w. %s of n. CD2&his'%(d*6.55))
cmd.select('ser13', 'n. CB&r. ser w. %s of n. CE1&his'%(d*5.48))
cmd.select('ser14', 'n. CB&r. ser w. %s of n. NE2&his'%(d*5.40))
cmd.select('ser15', 'n. OG&r. ser w. %s of n. CB&his'%(d*8.85))
cmd.select('ser16', 'n. OG&r. ser w. %s of n. CG&his'%(d*7.34))
cmd.select('ser17', 'n. OG&r. ser w. %s of n. ND1&his'%(d*6.76))
cmd.select('ser18', 'n. OG&r. ser w. %s of n. CD2&his'%(d*6.59))
cmd.select('ser19', 'n. OG&r. ser w. %s of n. CE1&his'%(d*5.46))
cmd.select('ser20', 'n. OG&r. ser w. %s of n. NE2&his'%(d*5.31))
cmd.select('ser',' br. ser1&br. ser2&br. ser3&br. ser4&br. ser5&br. ser6&br. ser7&br. ser8&br. ser9&br. ser10&br. ser11&br. ser12&br. ser13&br. ser14&br. ser15&br. ser16&br. ser17&br. ser18&br. ser19&br. ser20')
cmd.delete('ser1')
cmd.delete('ser2')
cmd.delete('ser3')
cmd.delete('ser4')
cmd.delete('ser5')
cmd.delete('ser6')
cmd.delete('ser7')
cmd.delete('ser8')
cmd.delete('ser9')
cmd.delete('ser10')
cmd.delete('ser11')
cmd.delete('ser12')
cmd.delete('ser13')
cmd.delete('ser14')
cmd.delete('ser15')
cmd.delete('ser16')
cmd.delete('ser17')
cmd.delete('ser18')
cmd.delete('ser19')
cmd.delete('ser20')
cmd.select('A_1a0j_3_4_21_4', 'asp|his|ser')
cmd.delete('asp')
cmd.delete('his')
cmd.delete('ser')