Erva Ulusoy commited on
Commit
4cc17e2
·
1 Parent(s): ba68f00

Update Domain2GO.py

Browse files
Files changed (1) hide show
  1. Domain2GO.py +9 -20
Domain2GO.py CHANGED
@@ -15,7 +15,6 @@ def convert_df(df):
15
 
16
 
17
  with st.sidebar:
18
-
19
  st.title("Domain2GO: Mutual Annotation-Based Prediction of Protein Domain Functions")
20
  st.write("[![biorxiv](https://img.shields.io/badge/bioRxiv-2022.11.03.514980-b31b1b.svg)](https://www.biorxiv.org/content/10.1101/2022.11.03.514980v1) [![github-repository](https://img.shields.io/badge/GitHub-black?logo=github)](https://github.com/HUBioDataLab/Domain2GO)")
21
 
@@ -62,16 +61,15 @@ with st.sidebar:
62
  st.warning('Please enter your email and protein sequence first. If you have already entered your email and protein sequence, please check that your email is valid.')
63
 
64
  with st.sidebar:
65
- st.markdown("""
66
- <div style="position: relative; width: 300px; height: 380px;">
67
- <div style="position: absolute; bottom: 0px; padding:0px">
68
- <hr style="height:1px;border:none;color:#333;background-color:#333;" />
69
- <p style="color:#b22d2a;font-size:15px;">Disclaimer</p>
70
- <p style="color:#000000;font-size:14px;">This program is designed to generate predictions for a single protein due to the extended runtime of InterProScan. If you need predictions for multiple UniProtKB/Swiss-Prot proteins, we recommend utilizing our comprehensive protein function prediction dataset available in our <a href="https://github.com/HUBioDataLab/Domain2GO">Github repository</a>.</p>
71
- </div>
72
- </div>
73
- """, unsafe_allow_html=True)
74
-
75
  if not submitted:
76
  # on main page, write warning message if user has not submitted email and sequence
77
  st.markdown("""
@@ -137,13 +135,4 @@ else:
137
  mime="text/csv",
138
  )
139
 
140
- # # <div style="background-color:#f0f2f6;padding:10px">
141
- # st.markdown("""
142
- # <div style="position: relative;background-color: #f0f2f6;padding:10px;">
143
- # <div style="position: absolute; bottom: 5px;">
144
- # <p style="color:#b22d2a;font-size:15px;">Disclaimer</p>
145
- # <p style="color:#000000;font-size:14px;">This program is designed to generate predictions for a single protein due to the extended runtime of InterProScan. If you need predictions for multiple UniProtKB/Swiss-Prot proteins, we recommend utilizing our comprehensive protein function prediction dataset available in our <a href="https://github.com/HUBioDataLab/Domain2GO">Github repository</a>.</p>
146
- # </div>
147
- # </div>
148
- # """, unsafe_allow_html=True)
149
 
 
15
 
16
 
17
  with st.sidebar:
 
18
  st.title("Domain2GO: Mutual Annotation-Based Prediction of Protein Domain Functions")
19
  st.write("[![biorxiv](https://img.shields.io/badge/bioRxiv-2022.11.03.514980-b31b1b.svg)](https://www.biorxiv.org/content/10.1101/2022.11.03.514980v1) [![github-repository](https://img.shields.io/badge/GitHub-black?logo=github)](https://github.com/HUBioDataLab/Domain2GO)")
20
 
 
61
  st.warning('Please enter your email and protein sequence first. If you have already entered your email and protein sequence, please check that your email is valid.')
62
 
63
  with st.sidebar:
64
+ c = st.container()
65
+ c.markdown("---")
66
+ c.markdown(
67
+ """
68
+ <div style="padding:5px">
69
+ <p style="color:#000000;font-size:12px;">Disclaimer: This program is designed to generate predictions for a single protein due to the extended runtime of InterProScan. If you need predictions for multiple UniProtKB/Swiss-Prot proteins, we recommend utilizing our comprehensive protein function prediction dataset available in our <a href="https://github.com/HUBioDataLab/Domain2GO">Github repository</a>.</p>
70
+ </div>
71
+ """, unsafe_allow_html=True)
72
+
 
73
  if not submitted:
74
  # on main page, write warning message if user has not submitted email and sequence
75
  st.markdown("""
 
135
  mime="text/csv",
136
  )
137
 
 
 
 
 
 
 
 
 
 
138