Spaces:
Sleeping
Sleeping
Commit
·
fdfbb79
1
Parent(s):
832880b
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -404,11 +404,13 @@ def pdb(input_set, mode, impute):
|
|
404 |
existing_pdb = None
|
405 |
with_pdb_size = len(with_pdb.drop_duplicates(['datapoint']))
|
406 |
with_pdb = None
|
407 |
-
|
|
|
|
|
408 |
print('Aligning sequences...\n')
|
409 |
aligned_m = final_stage(dfM, annotation_list, Path(path_to_output_files / 'alignment_files'))
|
410 |
aligned_nm = final_stage(dfNM, annotation_list, Path(path_to_output_files / 'alignment_files'))
|
411 |
-
st.write('
|
412 |
# When PDB sequence is nan, it is wrongly aligned to the UniProt sequence. Fix them.
|
413 |
for i in aligned_m.index:
|
414 |
if aligned_m.at[i, 'pdbSequence'] == 'nan':
|
|
|
404 |
existing_pdb = None
|
405 |
with_pdb_size = len(with_pdb.drop_duplicates(['datapoint']))
|
406 |
with_pdb = None
|
407 |
+
st.write('dfM', dfM)
|
408 |
+
|
409 |
+
|
410 |
print('Aligning sequences...\n')
|
411 |
aligned_m = final_stage(dfM, annotation_list, Path(path_to_output_files / 'alignment_files'))
|
412 |
aligned_nm = final_stage(dfNM, annotation_list, Path(path_to_output_files / 'alignment_files'))
|
413 |
+
st.write('aligned_m', aligned_m)
|
414 |
# When PDB sequence is nan, it is wrongly aligned to the UniProt sequence. Fix them.
|
415 |
for i in aligned_m.index:
|
416 |
if aligned_m.at[i, 'pdbSequence'] == 'nan':
|