Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
aba4294
1
Parent(s):
5a46c9d
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -250,7 +250,7 @@ def pdb(input_set, mode, impute):
|
|
250 |
seqs[i[2]] = i[4:]
|
251 |
|
252 |
for key, val in seqs.items():
|
253 |
-
seqs[key] = ''.join([threeToOne(i) for i in val]
|
254 |
pdb_data_list = [i for i in pdb_data_list if i.startswith('DBREF')]
|
255 |
pdb_data_list = [[list(filter(None,i.split(' '))) for j in i.split(' ') if j == 'UNP'] for i in pdb_data_list]
|
256 |
pdb_data_list = [i for i in pdb_data_list if i != []]
|
|
|
250 |
seqs[i[2]] = i[4:]
|
251 |
|
252 |
for key, val in seqs.items():
|
253 |
+
seqs[key] = ''.join([threeToOne(i) for i in val])
|
254 |
pdb_data_list = [i for i in pdb_data_list if i.startswith('DBREF')]
|
255 |
pdb_data_list = [[list(filter(None,i.split(' '))) for j in i.split(' ') if j == 'UNP'] for i in pdb_data_list]
|
256 |
pdb_data_list = [i for i in pdb_data_list if i != []]
|