Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
a746586
1
Parent(s):
c463218
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -1382,8 +1382,11 @@ def pdb(input_set, mode, impute):
|
|
1382 |
st.write('i',i)
|
1383 |
st.write(data.at[i, 'source'])
|
1384 |
id_ = data.at[i, 'pdbID'].lower()
|
|
|
1385 |
up_id_ = data.at[i, 'uniprotID']
|
|
|
1386 |
score_ = str(data.at[i, 'score'])
|
|
|
1387 |
if data.at[i, 'source'] == 'PDB':
|
1388 |
pdb_path = Path(path_to_output_files / 'pdb_structures' / f'{id_}.pdb')
|
1389 |
elif data.at[i, 'source'] == 'MODBASE':
|
@@ -1391,10 +1394,10 @@ def pdb(input_set, mode, impute):
|
|
1391 |
elif data.at[i, 'source'] == 'SWISSMODEL':
|
1392 |
pdb_path = Path(path_to_output_files / 'swissmodel_structures' / f'{up_id_}_{id_}_{score_}.txt')
|
1393 |
pdbSequence = data.at[i, 'pdbSequence']
|
1394 |
-
|
|
|
1395 |
st.write(uniprotID)
|
1396 |
st.write(pdb_path)
|
1397 |
-
st.write(pdbSequence)
|
1398 |
st.write(source)
|
1399 |
st.write(chain)
|
1400 |
st.write(pdbID)
|
|
|
1382 |
st.write('i',i)
|
1383 |
st.write(data.at[i, 'source'])
|
1384 |
id_ = data.at[i, 'pdbID'].lower()
|
1385 |
+
st.write('id_', id_)
|
1386 |
up_id_ = data.at[i, 'uniprotID']
|
1387 |
+
st.write('up_id_', up_id_)
|
1388 |
score_ = str(data.at[i, 'score'])
|
1389 |
+
st.write('score_', score_)
|
1390 |
if data.at[i, 'source'] == 'PDB':
|
1391 |
pdb_path = Path(path_to_output_files / 'pdb_structures' / f'{id_}.pdb')
|
1392 |
elif data.at[i, 'source'] == 'MODBASE':
|
|
|
1394 |
elif data.at[i, 'source'] == 'SWISSMODEL':
|
1395 |
pdb_path = Path(path_to_output_files / 'swissmodel_structures' / f'{up_id_}_{id_}_{score_}.txt')
|
1396 |
pdbSequence = data.at[i, 'pdbSequence']
|
1397 |
+
st.write('pdbSequence', pdbSequence)
|
1398 |
+
|
1399 |
st.write(uniprotID)
|
1400 |
st.write(pdb_path)
|
|
|
1401 |
st.write(source)
|
1402 |
st.write(chain)
|
1403 |
st.write(pdbID)
|