Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
e24c7fa
1
Parent(s):
6e8de04
Update ASCARIS.py
Browse files- ASCARIS.py +5 -4
ASCARIS.py
CHANGED
@@ -33,8 +33,8 @@ st.write('')
|
|
33 |
st.write('')
|
34 |
|
35 |
with st.form('mform', clear_on_submit=False):
|
36 |
-
|
37 |
-
source = 1
|
38 |
impute = st.selectbox('Imputation',[True, False])
|
39 |
input_data = st.text_input('Enter SAV data points (Example: Q00889-H-85-D, or Q00889-H-85-D,Q16363-Y-498-H)')
|
40 |
|
@@ -54,13 +54,14 @@ with st.form('mform', clear_on_submit=False):
|
|
54 |
#args = parser.parse_args()
|
55 |
|
56 |
input_set = input_data
|
57 |
-
mode = 1
|
58 |
impute = impute
|
59 |
submitted = st.form_submit_button(label="Submit", help=None, on_click=None, args=None, kwargs=None, type="secondary", disabled=False, use_container_width=False)
|
60 |
print('*****************************************')
|
61 |
print('Feature vector generation is in progress. \nPlease check log file for updates..')
|
62 |
print('*****************************************')
|
63 |
-
mode = int(mode)
|
|
|
64 |
|
65 |
selected_df = pd.DataFrame()
|
66 |
st.write('The online tool may be slow, especially while processing multiple SAVs, please consider using the local programmatic version at https://github.com/HUBioDataLab/ASCARIS/')
|
|
|
33 |
st.write('')
|
34 |
|
35 |
with st.form('mform', clear_on_submit=False):
|
36 |
+
source = st.selectbox('Select the protein structure resource (1: PDB-SwissModel-Modbase, 2: AlphaFold)',[1,2])
|
37 |
+
###source = 1
|
38 |
impute = st.selectbox('Imputation',[True, False])
|
39 |
input_data = st.text_input('Enter SAV data points (Example: Q00889-H-85-D, or Q00889-H-85-D,Q16363-Y-498-H)')
|
40 |
|
|
|
54 |
#args = parser.parse_args()
|
55 |
|
56 |
input_set = input_data
|
57 |
+
###mode = 1
|
58 |
impute = impute
|
59 |
submitted = st.form_submit_button(label="Submit", help=None, on_click=None, args=None, kwargs=None, type="secondary", disabled=False, use_container_width=False)
|
60 |
print('*****************************************')
|
61 |
print('Feature vector generation is in progress. \nPlease check log file for updates..')
|
62 |
print('*****************************************')
|
63 |
+
###mode = int(mode)
|
64 |
+
mode = source
|
65 |
|
66 |
selected_df = pd.DataFrame()
|
67 |
st.write('The online tool may be slow, especially while processing multiple SAVs, please consider using the local programmatic version at https://github.com/HUBioDataLab/ASCARIS/')
|