Spaces:
Sleeping
Sleeping
Commit
·
279d39b
1
Parent(s):
27da891
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -1377,6 +1377,8 @@ def pdb(input_set, mode, impute):
|
|
1377 |
modbase_only = None
|
1378 |
data['uniprotSequence'] = data['uniprotSequence'].str.replace('U', 'C')
|
1379 |
data['pdbSequence'] = data['pdbSequence'].str.replace('U', 'C')
|
|
|
|
|
1380 |
for i in data.index:
|
1381 |
id_ = data.at[i, 'pdbID'].lower()
|
1382 |
up_id_ = data.at[i, 'uniprotID']
|
@@ -1387,8 +1389,6 @@ def pdb(input_set, mode, impute):
|
|
1387 |
pdb_path = Path(path_to_output_files / 'modbase_structures_individual' / f'{id_}.txt')
|
1388 |
elif data.at[i, 'source'] == 'SWISSMODEL':
|
1389 |
pdb_path = Path(path_to_output_files / 'swissmodel_structures' / f'{up_id_}_{id_}_{score_}.txt')
|
1390 |
-
|
1391 |
-
|
1392 |
pdbSequence = data.at[i, 'pdbSequence']
|
1393 |
source = data.at[i, 'source']
|
1394 |
chain = data.at[i, 'chain']
|
|
|
1377 |
modbase_only = None
|
1378 |
data['uniprotSequence'] = data['uniprotSequence'].str.replace('U', 'C')
|
1379 |
data['pdbSequence'] = data['pdbSequence'].str.replace('U', 'C')
|
1380 |
+
st.write('HERE')
|
1381 |
+
st.write(data)
|
1382 |
for i in data.index:
|
1383 |
id_ = data.at[i, 'pdbID'].lower()
|
1384 |
up_id_ = data.at[i, 'uniprotID']
|
|
|
1389 |
pdb_path = Path(path_to_output_files / 'modbase_structures_individual' / f'{id_}.txt')
|
1390 |
elif data.at[i, 'source'] == 'SWISSMODEL':
|
1391 |
pdb_path = Path(path_to_output_files / 'swissmodel_structures' / f'{up_id_}_{id_}_{score_}.txt')
|
|
|
|
|
1392 |
pdbSequence = data.at[i, 'pdbSequence']
|
1393 |
source = data.at[i, 'source']
|
1394 |
chain = data.at[i, 'chain']
|