Update app.py
Browse files
app.py
CHANGED
@@ -180,3 +180,16 @@ if st.session_state.structure_info:
|
|
180 |
**Remember, this folding is based on randomly generated sequences. Interpret the results with caution.
|
181 |
Enjoy exploring the world of protein sequences!
|
182 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
**Remember, this folding is based on randomly generated sequences. Interpret the results with caution.
|
181 |
Enjoy exploring the world of protein sequences!
|
182 |
""")
|
183 |
+
|
184 |
+
col1, col2 = st.columns(2)
|
185 |
+
with col1:
|
186 |
+
if st.button('Analyze Protein'):
|
187 |
+
perform_blast_analysis(st.session_state.sequence)
|
188 |
+
|
189 |
+
with col2:
|
190 |
+
st.download_button(
|
191 |
+
label="Download PDB",
|
192 |
+
data=info['pdb_string'],
|
193 |
+
file_name='predicted.pdb',
|
194 |
+
mime='text/plain',
|
195 |
+
)
|