Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ import urllib3
|
|
10 |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
11 |
|
12 |
st.set_page_config(layout='wide')
|
13 |
-
st.sidebar.title('🔮
|
14 |
-
st.sidebar.write('
|
15 |
|
16 |
# Function to generate protein sequence from words
|
17 |
def generate_sequence_from_words(words, length):
|
@@ -57,8 +57,8 @@ def update(sequence, word1, word2, word3, sequence_length):
|
|
57 |
|
58 |
# plDDT value is stored in the B-factor field
|
59 |
st.subheader('plDDT Score')
|
60 |
-
st.write('plDDT is a per-residue estimate of the confidence in prediction on a scale from 0-100
|
61 |
-
st.info(f'Average plDDT: {b_value}%')
|
62 |
|
63 |
st.download_button(
|
64 |
label="Download PDB",
|
|
|
10 |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
11 |
|
12 |
st.set_page_config(layout='wide')
|
13 |
+
st.sidebar.title('🔮 GenPro2 Protein Generator & Structure Predictor')
|
14 |
+
st.sidebar.write('GenPro2 is an end-to-end single sequence protein structure predictor based [*ESMFold*](https://esmatlas.com/about) and the ESM-2 language model. Enter your seed words to generate and predict a protein sequence')
|
15 |
|
16 |
# Function to generate protein sequence from words
|
17 |
def generate_sequence_from_words(words, length):
|
|
|
57 |
|
58 |
# plDDT value is stored in the B-factor field
|
59 |
st.subheader('plDDT Score')
|
60 |
+
st.write('plDDT is a per-residue estimate of the confidence in prediction on a scale from 0-100%.')
|
61 |
+
st.info(f'Average plDDT: {int(b_value * 100)}%')
|
62 |
|
63 |
st.download_button(
|
64 |
label="Download PDB",
|