Spaces:
Running
Running
Commit
·
082f385
1
Parent(s):
ad9add7
Update ASCARIS.py
Browse files- ASCARIS.py +13 -8
ASCARIS.py
CHANGED
@@ -22,22 +22,26 @@ if 'visibility' not in st.session_state:
|
|
22 |
st.session_state['visibility'] = 'visible'
|
23 |
st.session_state.disabled = False
|
24 |
|
25 |
-
|
|
|
|
|
26 |
st.markdown(original_title, unsafe_allow_html=True)
|
27 |
-
original_title = '<p style="font-family:Trebuchet MS; color:#
|
28 |
st.markdown(original_title, unsafe_allow_html=True)
|
29 |
-
|
|
|
30 |
st.write('')
|
31 |
st.write('')
|
32 |
st.write('')
|
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 |
-
|
38 |
-
|
39 |
-
input_data = st.text_input('Enter SAV data points (Example:
|
40 |
-
|
41 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
42 |
|
43 |
input_set = input_data
|
@@ -51,7 +55,8 @@ with st.form('mform', clear_on_submit=False):
|
|
51 |
|
52 |
|
53 |
selected_df = pd.DataFrame()
|
54 |
-
st.write('The online tool may be slow, especially while processing multiple SAVs and with multiple PDB matches, please consider using the
|
|
|
55 |
if submitted:
|
56 |
with st.spinner('In progress...This may take a while...'):
|
57 |
# try:
|
|
|
22 |
st.session_state['visibility'] = 'visible'
|
23 |
st.session_state.disabled = False
|
24 |
|
25 |
+
|
26 |
+
showWarningOnDirectExecution = False
|
27 |
+
original_title = '<p style="font-family:Trebuchet MS; color:#000000; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
|
28 |
st.markdown(original_title, unsafe_allow_html=True)
|
29 |
+
original_title = '<p style="font-family:Trebuchet MS; color:#000000; font-size: 25px; font-weight:bold; text-align:center">(Annotation and StruCture-bAsed RepresentatIon of Single amino acid variations)</p>'
|
30 |
st.markdown(original_title, unsafe_allow_html=True)
|
31 |
+
|
32 |
+
|
33 |
st.write('')
|
34 |
st.write('')
|
35 |
st.write('')
|
36 |
st.write('')
|
37 |
|
38 |
+
|
39 |
with st.form('mform', clear_on_submit=False):
|
40 |
source = st.selectbox('Select the protein structure resource (1: PDB-SwissModel-Modbase, 2: AlphaFold)',[1,2])
|
41 |
+
#source = 1
|
42 |
+
impute = st.selectbox('Missing value imputation (mostly for the cases where the corresponding annotation does not exist in the protein)',[True, False])
|
43 |
+
input_data = st.text_input('Enter SAV data points (format: "UniProt/Swiss-Prot human protein accession" – "wild type a.a." – "position on the sequence" – "mutated a.a."). Example: P04217-E-20-A or O43556-I-40-A,P57737-W-372-A')
|
44 |
+
|
45 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
46 |
|
47 |
input_set = input_data
|
|
|
55 |
|
56 |
|
57 |
selected_df = pd.DataFrame()
|
58 |
+
st.write('The online tool may be slow, especially while processing multiple SAVs and with multiple PDB matches. To address this, please consider using the programmatic version at https://github.com/HUBioDataLab/ASCARIS/')
|
59 |
+
|
60 |
if submitted:
|
61 |
with st.spinner('In progress...This may take a while...'):
|
62 |
# try:
|