Spaces:
Sleeping
Sleeping
Commit
·
8cda3c1
1
Parent(s):
8a6a234
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
|
@@ -409,6 +409,8 @@ def pdb(input_set, mode, impute):
|
|
| 409 |
dfNM = dfNM.drop_duplicates(['uniprotID', 'wt', 'mut', 'pos', 'pdbSequence'], keep='first')
|
| 410 |
dfNM.rename(columns={'isoformSequence': 'uniprotSequence'}, inplace=True)
|
| 411 |
st.write('4')
|
|
|
|
|
|
|
| 412 |
dfM = dfM.astype(str)
|
| 413 |
dfNM = dfNM.astype(str)
|
| 414 |
|
|
@@ -430,8 +432,12 @@ def pdb(input_set, mode, impute):
|
|
| 430 |
|
| 431 |
print('Aligning sequences...\n')
|
| 432 |
aligned_m = final_stage(dfM, annotation_list, Path(path_to_output_files / 'alignment_files'))
|
|
|
|
|
|
|
| 433 |
aligned_nm = final_stage(dfNM, annotation_list, Path(path_to_output_files / 'alignment_files'))
|
|
|
|
| 434 |
|
|
|
|
| 435 |
|
| 436 |
|
| 437 |
|
|
|
|
| 409 |
dfNM = dfNM.drop_duplicates(['uniprotID', 'wt', 'mut', 'pos', 'pdbSequence'], keep='first')
|
| 410 |
dfNM.rename(columns={'isoformSequence': 'uniprotSequence'}, inplace=True)
|
| 411 |
st.write('4')
|
| 412 |
+
st.write(dfM)
|
| 413 |
+
st.write(dfNM)
|
| 414 |
dfM = dfM.astype(str)
|
| 415 |
dfNM = dfNM.astype(str)
|
| 416 |
|
|
|
|
| 432 |
|
| 433 |
print('Aligning sequences...\n')
|
| 434 |
aligned_m = final_stage(dfM, annotation_list, Path(path_to_output_files / 'alignment_files'))
|
| 435 |
+
st.write('aligned_m')
|
| 436 |
+
st.write(aligned_m)
|
| 437 |
aligned_nm = final_stage(dfNM, annotation_list, Path(path_to_output_files / 'alignment_files'))
|
| 438 |
+
st.write(aligned_nm)
|
| 439 |
|
| 440 |
+
st.write('WOTE')
|
| 441 |
|
| 442 |
|
| 443 |
|