Spaces:
Sleeping
Sleeping
Commit
·
a802398
1
Parent(s):
8b86e87
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
|
@@ -309,6 +309,7 @@ from standard import *
|
|
| 309 |
from uniprotSequenceMatch import uniprotSequenceMatch
|
| 310 |
from process_input import clean_data
|
| 311 |
from alphafold_model import *
|
|
|
|
| 312 |
|
| 313 |
|
| 314 |
def alphafold(input_set, mode, impute):
|
|
@@ -346,6 +347,8 @@ def alphafold(input_set, mode, impute):
|
|
| 346 |
## Physicochemical properties
|
| 347 |
print('Adding physicochemical properties...\n')
|
| 348 |
data = add_physicochemical(data)
|
|
|
|
|
|
|
| 349 |
|
| 350 |
## Domains
|
| 351 |
print('Adding domains\n')
|
|
@@ -376,6 +379,9 @@ def alphafold(input_set, mode, impute):
|
|
| 376 |
not_match_in_uniprot[key] = ''
|
| 377 |
not_match_in_uniprot = not_match_in_uniprot.rename(columns=change_names)
|
| 378 |
uniprot_matched = add_annotations(uniprot_matched)
|
|
|
|
|
|
|
|
|
|
| 379 |
|
| 380 |
for w in uniprot_matched.index:
|
| 381 |
for q in annotation_list:
|
|
|
|
| 309 |
from uniprotSequenceMatch import uniprotSequenceMatch
|
| 310 |
from process_input import clean_data
|
| 311 |
from alphafold_model import *
|
| 312 |
+
import streamlit as st
|
| 313 |
|
| 314 |
|
| 315 |
def alphafold(input_set, mode, impute):
|
|
|
|
| 347 |
## Physicochemical properties
|
| 348 |
print('Adding physicochemical properties...\n')
|
| 349 |
data = add_physicochemical(data)
|
| 350 |
+
st.write('DOMAIN BAK')
|
| 351 |
+
st.write(data)
|
| 352 |
|
| 353 |
## Domains
|
| 354 |
print('Adding domains\n')
|
|
|
|
| 379 |
not_match_in_uniprot[key] = ''
|
| 380 |
not_match_in_uniprot = not_match_in_uniprot.rename(columns=change_names)
|
| 381 |
uniprot_matched = add_annotations(uniprot_matched)
|
| 382 |
+
st.write('uniprot_matched')
|
| 383 |
+
st.write(uniprot_matched)
|
| 384 |
+
|
| 385 |
|
| 386 |
for w in uniprot_matched.index:
|
| 387 |
for q in annotation_list:
|