Update app.py
Browse files
app.py
CHANGED
|
@@ -153,7 +153,7 @@ if st.sidebar.button('Generate and Predict'):
|
|
| 153 |
# Display structure information if available
|
| 154 |
if st.session_state.structure_info:
|
| 155 |
info = st.session_state.structure_info
|
| 156 |
-
st.subheader(f'Predicted protein structure using seed: {info["word1"]}, {info["word2"]}, and {info["word3"]} + length {info["sequence_length"]}')
|
| 157 |
render_mol(info['pdb_string'])
|
| 158 |
|
| 159 |
st.subheader('plDDT Confidence Score')
|
|
@@ -167,8 +167,8 @@ if st.session_state.structure_info:
|
|
| 167 |
<div style='background-color: #e6f2ff; padding: 10px; border-radius: 5px; font-size: 0.8em;'>
|
| 168 |
<ol>
|
| 169 |
<li>Take a screenshot of the protein structure above.</li>
|
| 170 |
-
<li>Click the 'Share
|
| 171 |
-
<li>Be sure to attach
|
| 172 |
</ol>
|
| 173 |
</div>
|
| 174 |
""", unsafe_allow_html=True)
|
|
@@ -195,9 +195,9 @@ if st.session_state.structure_info:
|
|
| 195 |
)
|
| 196 |
|
| 197 |
st.markdown("""
|
| 198 |
-
If you
|
| 199 |
|
| 200 |
-
1. Click the 'analyze protein' button to
|
| 201 |
2. Download your protein data and visit the [Protein Data Bank (PDB)](https://www.rcsb.org/) to match your protein structure against known protein structures.
|
| 202 |
3. If you think you've discovered a new and useful protein for humans message us!
|
| 203 |
|
|
|
|
| 153 |
# Display structure information if available
|
| 154 |
if st.session_state.structure_info:
|
| 155 |
info = st.session_state.structure_info
|
| 156 |
+
st.subheader(f'Predicted protein structure using seed: {info["word1"]}, {info["word2"]}, and {info["word3"]} + sequence length {info["sequence_length"]}')
|
| 157 |
render_mol(info['pdb_string'])
|
| 158 |
|
| 159 |
st.subheader('plDDT Confidence Score')
|
|
|
|
| 167 |
<div style='background-color: #e6f2ff; padding: 10px; border-radius: 5px; font-size: 0.8em;'>
|
| 168 |
<ol>
|
| 169 |
<li>Take a screenshot of the protein structure above.</li>
|
| 170 |
+
<li>Click the 'Share Results' link below to open a pre-filled post with your proteins seed-words and plDDT score.</li>
|
| 171 |
+
<li>Be sure to attach a screenshot of your protein before you post!</li>
|
| 172 |
</ol>
|
| 173 |
</div>
|
| 174 |
""", unsafe_allow_html=True)
|
|
|
|
| 195 |
)
|
| 196 |
|
| 197 |
st.markdown("""
|
| 198 |
+
If you discover an interesting protein structure, you can explore it even further:
|
| 199 |
|
| 200 |
+
1. Click the 'analyze protein' button to search the [BLAST](https://blast.ncbi.nlm.nih.gov/Blast.cgi?PROGRAM=blastp&PAGE_TYPE=BlastSearch&LINK_LOC=blasthome) protein database and see if your protein matches any known sequences. The sequence identity will show how close your sequence matches. *Note this can take several minutes
|
| 201 |
2. Download your protein data and visit the [Protein Data Bank (PDB)](https://www.rcsb.org/) to match your protein structure against known protein structures.
|
| 202 |
3. If you think you've discovered a new and useful protein for humans message us!
|
| 203 |
|