fatmacankara commited on
Commit
7b95696
·
1 Parent(s): fef032e

Update code/pdb_featureVector.py

Browse files
Files changed (1) hide show
  1. code/pdb_featureVector.py +3 -0
code/pdb_featureVector.py CHANGED
@@ -437,14 +437,17 @@ def pdb(input_set, mode, impute):
437
  st.write(dfM)
438
  st.write('dfNM')
439
  st.write(dfNM)
 
440
  print('Aligning sequences...\n')
441
  aligned_m = final_stage(dfM, annotation_list, Path(path_to_output_files / 'alignment_files'))
442
  aligned_nm = final_stage(dfNM, annotation_list, Path(path_to_output_files / 'alignment_files'))
 
443
  st.write('aligned_m')
444
  st.write(aligned_m)
445
 
446
  st.write('aligned_nm')
447
  st.write(aligned_nm)
 
448
  # When PDB sequence is nan, it is wrongly aligned to the UniProt sequence. Fix them.
449
  for i in aligned_m.index:
450
  if aligned_m.at[i, 'pdbSequence'] == 'nan':
 
437
  st.write(dfM)
438
  st.write('dfNM')
439
  st.write(dfNM)
440
+
441
  print('Aligning sequences...\n')
442
  aligned_m = final_stage(dfM, annotation_list, Path(path_to_output_files / 'alignment_files'))
443
  aligned_nm = final_stage(dfNM, annotation_list, Path(path_to_output_files / 'alignment_files'))
444
+
445
  st.write('aligned_m')
446
  st.write(aligned_m)
447
 
448
  st.write('aligned_nm')
449
  st.write(aligned_nm)
450
+
451
  # When PDB sequence is nan, it is wrongly aligned to the UniProt sequence. Fix them.
452
  for i in aligned_m.index:
453
  if aligned_m.at[i, 'pdbSequence'] == 'nan':