Spaces:
Running
Running
Commit
·
d725c32
1
Parent(s):
6f54921
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -1385,6 +1385,13 @@ def pdb(input_set, mode, impute):
|
|
1385 |
id_ = data.at[i, 'pdbID'].lower()
|
1386 |
up_id_ = data.at[i, 'uniprotID']
|
1387 |
score_ = str(data.at[i, 'score'])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1388 |
print('I am here. Whats wrong?')
|
1389 |
|
1390 |
pdbSequence = data.at[i, 'pdbSequence']
|
|
|
1385 |
id_ = data.at[i, 'pdbID'].lower()
|
1386 |
up_id_ = data.at[i, 'uniprotID']
|
1387 |
score_ = str(data.at[i, 'score'])
|
1388 |
+
if data.at[i, 'source'] == 'PDB':
|
1389 |
+
pdb_path = Path(path_to_output_files / 'pdb_structures' / f'{id_}.pdb')
|
1390 |
+
elif data.at[i, 'source'] == 'MODBASE':
|
1391 |
+
pdb_path = Path(path_to_output_files / 'modbase_structures_individual' / f'{id_}.txt')
|
1392 |
+
elif data.at[i, 'source'] == 'SWISSMODEL':
|
1393 |
+
pdb_path = Path(path_to_output_files / 'swissmodel_structures' / f'{up_id_}_{id_}_{score_}.txt')
|
1394 |
+
|
1395 |
print('I am here. Whats wrong?')
|
1396 |
|
1397 |
pdbSequence = data.at[i, 'pdbSequence']
|