Skip to content

Commit f3c67c7

Browse files
authored
Update life.py (#167)
1 parent 52b5bef commit f3c67c7

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

alphafold3_pytorch/life.py

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def is_unique(arr):
3131
last_atom_idx=4,
3232
distogram_atom_idx=4,
3333
token_center_atom_idx=1,
34-
three_atom_indices_for_frame = (0, 1, 4)
34+
three_atom_indices_for_frame=(0, 1, 2),
3535
),
3636
R=dict(
3737
resname="ARG",
@@ -40,7 +40,7 @@ def is_unique(arr):
4040
last_atom_idx=10,
4141
distogram_atom_idx=4,
4242
token_center_atom_idx=1,
43-
three_atom_indices_for_frame = (0, 1, 10)
43+
three_atom_indices_for_frame=(0, 1, 2),
4444
),
4545
N=dict(
4646
resname="ASN",
@@ -49,7 +49,7 @@ def is_unique(arr):
4949
last_atom_idx=7,
5050
distogram_atom_idx=4,
5151
token_center_atom_idx=1,
52-
three_atom_indices_for_frame = (0, 1, 7)
52+
three_atom_indices_for_frame=(0, 1, 2),
5353
),
5454
D=dict(
5555
resname="ASP",
@@ -58,7 +58,7 @@ def is_unique(arr):
5858
last_atom_idx=7,
5959
distogram_atom_idx=4,
6060
token_center_atom_idx=1,
61-
three_atom_indices_for_frame = (0, 1, 7)
61+
three_atom_indices_for_frame=(0, 1, 2),
6262
),
6363
C=dict(
6464
resname="CYS",
@@ -67,7 +67,7 @@ def is_unique(arr):
6767
last_atom_idx=5,
6868
distogram_atom_idx=4,
6969
token_center_atom_idx=1,
70-
three_atom_indices_for_frame = (0, 1, 5)
70+
three_atom_indices_for_frame=(0, 1, 2),
7171
),
7272
Q=dict(
7373
resname="GLN",
@@ -76,7 +76,7 @@ def is_unique(arr):
7676
last_atom_idx=8,
7777
distogram_atom_idx=4,
7878
token_center_atom_idx=1,
79-
three_atom_indices_for_frame = (0, 1, 8)
79+
three_atom_indices_for_frame=(0, 1, 2),
8080
),
8181
E=dict(
8282
resname="GLU",
@@ -85,7 +85,7 @@ def is_unique(arr):
8585
last_atom_idx=8,
8686
distogram_atom_idx=4,
8787
token_center_atom_idx=1,
88-
three_atom_indices_for_frame = (0, 1, 8)
88+
three_atom_indices_for_frame=(0, 1, 2),
8989
),
9090
G=dict(
9191
resname="GLY",
@@ -94,7 +94,7 @@ def is_unique(arr):
9494
last_atom_idx=3,
9595
distogram_atom_idx=1,
9696
token_center_atom_idx=1,
97-
three_atom_indices_for_frame = (0, 1, 3)
97+
three_atom_indices_for_frame=(0, 1, 2),
9898
),
9999
H=dict(
100100
resname="HIS",
@@ -103,7 +103,7 @@ def is_unique(arr):
103103
last_atom_idx=9,
104104
distogram_atom_idx=4,
105105
token_center_atom_idx=1,
106-
three_atom_indices_for_frame = (0, 1, 9)
106+
three_atom_indices_for_frame=(0, 1, 2),
107107
),
108108
I=dict(
109109
resname="ILE",
@@ -112,7 +112,7 @@ def is_unique(arr):
112112
last_atom_idx=7,
113113
distogram_atom_idx=4,
114114
token_center_atom_idx=1,
115-
three_atom_indices_for_frame = (0, 1, 7)
115+
three_atom_indices_for_frame=(0, 1, 2),
116116
),
117117
L=dict(
118118
resname="LEU",
@@ -121,7 +121,7 @@ def is_unique(arr):
121121
last_atom_idx=7,
122122
distogram_atom_idx=4,
123123
token_center_atom_idx=1,
124-
three_atom_indices_for_frame = (0, 1, 7)
124+
three_atom_indices_for_frame=(0, 1, 2),
125125
),
126126
K=dict(
127127
resname="LYS",
@@ -130,7 +130,7 @@ def is_unique(arr):
130130
last_atom_idx=8,
131131
distogram_atom_idx=4,
132132
token_center_atom_idx=1,
133-
three_atom_indices_for_frame = (0, 1, 8)
133+
three_atom_indices_for_frame=(0, 1, 2),
134134
),
135135
M=dict(
136136
resname="MET",
@@ -139,7 +139,7 @@ def is_unique(arr):
139139
last_atom_idx=7,
140140
distogram_atom_idx=4,
141141
token_center_atom_idx=1,
142-
three_atom_indices_for_frame = (0, 1, 7)
142+
three_atom_indices_for_frame=(0, 1, 2),
143143
),
144144
F=dict(
145145
resname="PHE",
@@ -148,7 +148,7 @@ def is_unique(arr):
148148
last_atom_idx=10,
149149
distogram_atom_idx=4,
150150
token_center_atom_idx=1,
151-
three_atom_indices_for_frame = (0, 1, 10)
151+
three_atom_indices_for_frame=(0, 1, 2),
152152
),
153153
P=dict(
154154
resname="PRO",
@@ -157,7 +157,7 @@ def is_unique(arr):
157157
last_atom_idx=6,
158158
distogram_atom_idx=4,
159159
token_center_atom_idx=1,
160-
three_atom_indices_for_frame = (0, 1, 6)
160+
three_atom_indices_for_frame=(0, 1, 2),
161161
),
162162
S=dict(
163163
resname="SER",
@@ -166,7 +166,7 @@ def is_unique(arr):
166166
last_atom_idx=5,
167167
distogram_atom_idx=4,
168168
token_center_atom_idx=1,
169-
three_atom_indices_for_frame = (0, 1, 5)
169+
three_atom_indices_for_frame=(0, 1, 2),
170170
),
171171
T=dict(
172172
resname="THR",
@@ -175,7 +175,7 @@ def is_unique(arr):
175175
last_atom_idx=6,
176176
distogram_atom_idx=4,
177177
token_center_atom_idx=1,
178-
three_atom_indices_for_frame = (0, 1, 6)
178+
three_atom_indices_for_frame=(0, 1, 2),
179179
),
180180
W=dict(
181181
resname="TRP",
@@ -184,7 +184,7 @@ def is_unique(arr):
184184
last_atom_idx=13,
185185
distogram_atom_idx=4,
186186
token_center_atom_idx=1,
187-
three_atom_indices_for_frame = (0, 1, 13)
187+
three_atom_indices_for_frame=(0, 1, 2),
188188
),
189189
Y=dict(
190190
resname="TYR",
@@ -193,7 +193,7 @@ def is_unique(arr):
193193
last_atom_idx=11,
194194
distogram_atom_idx=4,
195195
token_center_atom_idx=1,
196-
three_atom_indices_for_frame = (0, 1, 11)
196+
three_atom_indices_for_frame=(0, 1, 2),
197197
),
198198
V=dict(
199199
resname="VAL",
@@ -202,7 +202,7 @@ def is_unique(arr):
202202
last_atom_idx=6,
203203
distogram_atom_idx=4,
204204
token_center_atom_idx=1,
205-
three_atom_indices_for_frame = (0, 1, 6)
205+
three_atom_indices_for_frame=(0, 1, 2),
206206
),
207207
X=dict(
208208
resname="UNK",
@@ -211,7 +211,7 @@ def is_unique(arr):
211211
last_atom_idx=4,
212212
distogram_atom_idx=4,
213213
token_center_atom_idx=1,
214-
three_atom_indices_for_frame = None
214+
three_atom_indices_for_frame=None,
215215
),
216216
)
217217

@@ -226,7 +226,7 @@ def is_unique(arr):
226226
complement="T",
227227
distogram_atom_idx=21,
228228
token_center_atom_idx=11,
229-
three_atom_indices_for_frame = (8, 19, 20)
229+
three_atom_indices_for_frame=(11, 8, 6),
230230
),
231231
C=dict(
232232
resname="DC",
@@ -236,7 +236,7 @@ def is_unique(arr):
236236
complement="G",
237237
distogram_atom_idx=13,
238238
token_center_atom_idx=11,
239-
three_atom_indices_for_frame = (6, 18, 17)
239+
three_atom_indices_for_frame=(11, 8, 6),
240240
),
241241
G=dict(
242242
resname="DG",
@@ -246,7 +246,7 @@ def is_unique(arr):
246246
complement="C",
247247
distogram_atom_idx=22,
248248
token_center_atom_idx=11,
249-
three_atom_indices_for_frame = (8, 9, 10)
249+
three_atom_indices_for_frame=(11, 8, 6),
250250
),
251251
T=dict(
252252
resname="DT",
@@ -256,7 +256,7 @@ def is_unique(arr):
256256
complement="A",
257257
distogram_atom_idx=13,
258258
token_center_atom_idx=11,
259-
three_atom_indices_for_frame = (6, 19, 18)
259+
three_atom_indices_for_frame=(11, 8, 6),
260260
),
261261
X=dict(
262262
resname="DN",
@@ -266,7 +266,7 @@ def is_unique(arr):
266266
complement="N",
267267
distogram_atom_idx=21,
268268
token_center_atom_idx=11,
269-
three_atom_indices_for_frame = None
269+
three_atom_indices_for_frame=None,
270270
),
271271
)
272272

@@ -279,7 +279,7 @@ def is_unique(arr):
279279
complement="U",
280280
distogram_atom_idx=22,
281281
token_center_atom_idx=12,
282-
three_atom_indices_for_frame = (8, 19, 21)
282+
three_atom_indices_for_frame=(12, 8, 6),
283283
),
284284
C=dict(
285285
resname="C",
@@ -289,7 +289,7 @@ def is_unique(arr):
289289
complement="G",
290290
distogram_atom_idx=14,
291291
token_center_atom_idx=12,
292-
three_atom_indices_for_frame = (8, 17, 19)
292+
three_atom_indices_for_frame=(12, 8, 6),
293293
),
294294
G=dict(
295295
resname="G",
@@ -299,7 +299,7 @@ def is_unique(arr):
299299
complement="C",
300300
distogram_atom_idx=23,
301301
token_center_atom_idx=12,
302-
three_atom_indices_for_frame = (8, 20, 22)
302+
three_atom_indices_for_frame=(12, 8, 6),
303303
),
304304
U=dict(
305305
resname="U",
@@ -309,7 +309,7 @@ def is_unique(arr):
309309
complement="A",
310310
distogram_atom_idx=14,
311311
token_center_atom_idx=12,
312-
three_atom_indices_for_frame = (8, 17, 19)
312+
three_atom_indices_for_frame=(12, 8, 6),
313313
),
314314
X=dict(
315315
resname="N",
@@ -319,7 +319,7 @@ def is_unique(arr):
319319
complement="N",
320320
distogram_atom_idx=22,
321321
token_center_atom_idx=12,
322-
three_atom_indices_for_frame = None
322+
three_atom_indices_for_frame=None,
323323
),
324324
)
325325

0 commit comments

Comments
 (0)