Spaces:
Sleeping
Sleeping
Commit
·
abd5674
1
Parent(s):
92d57b2
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -1385,20 +1385,15 @@ 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 |
-
|
1389 |
-
|
1390 |
-
pdb_path = Path(path_to_output_files / 'pdb_structures' / f'{id_}.pdb')
|
1391 |
-
elif data.at[i, 'source'] == 'MODBASE':
|
1392 |
-
pdb_path = Path(path_to_output_files / 'modbase_structures_individual' / f'{id_}.txt')
|
1393 |
-
elif data.at[i, 'source'] == 'SWISSMODEL':
|
1394 |
-
pdb_path = Path(path_to_output_files / 'swissmodel_structures' / f'{up_id_}_{id_}_{score_}.txt')
|
1395 |
-
"""
|
1396 |
pdbSequence = data.at[i, 'pdbSequence']
|
1397 |
source = data.at[i, 'source']
|
1398 |
chain = data.at[i, 'chain']
|
1399 |
uniprotID = data.at[i, 'uniprotID']
|
1400 |
pdbID = data.at[i, 'pdbID']
|
1401 |
-
|
|
|
1402 |
alignments = get_alignments_3D(uniprotID, 'nan', pdbSequence, source, chain, pdbID, mode,
|
1403 |
file_format='gzip')
|
1404 |
mutPos = data.at[i, 'mutationPositionOnPDB']
|
|
|
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']
|
1391 |
source = data.at[i, 'source']
|
1392 |
chain = data.at[i, 'chain']
|
1393 |
uniprotID = data.at[i, 'uniprotID']
|
1394 |
pdbID = data.at[i, 'pdbID']
|
1395 |
+
print('Das ist pdb seq')
|
1396 |
+
print(pdbSequence)
|
1397 |
alignments = get_alignments_3D(uniprotID, 'nan', pdbSequence, source, chain, pdbID, mode,
|
1398 |
file_format='gzip')
|
1399 |
mutPos = data.at[i, 'mutationPositionOnPDB']
|