i_vorobyev
commited on
Commit
·
3ba5191
1
Parent(s):
98077cf
add examples
Browse files
app.py
CHANGED
@@ -74,12 +74,10 @@ def molecule(input_pdb):
|
|
74 |
allowpaymentrequest="" frameborder="0" srcdoc='{x}'></iframe>
|
75 |
<div style="position: absolute; top: 10px; right: 10px; background-color: white; padding: 10px; border: 1px solid black;">
|
76 |
<div style="display: flex; justify-content: space-between; margin-top: 5px;">
|
77 |
-
<span>
|
78 |
</div>
|
79 |
<div style="height: 150px; background: linear-gradient(to bottom, red, yellow, green, blue);"></div>
|
80 |
-
|
81 |
-
<span>Low Energy</span>
|
82 |
-
</div>
|
83 |
<div style="display: flex; justify-content: space-between; margin-top: 5px;">
|
84 |
<a href="data:application/octet-stream;base64,{base64_content}" download="structure.pdb">Download File</a>
|
85 |
</div>
|
@@ -123,11 +121,6 @@ def pred_seq(h_seq, l_seq):
|
|
123 |
html = "<p>ERROR! Not valid sequence</p>"
|
124 |
return (html)
|
125 |
|
126 |
-
ex_seq = "QVQLVESGGGSVQAGGSLRLSCTASGYTIGPYCMGWFRQAPGGEREAVAAINMGGGITYYADSVKGRFTISRDNAKNTVTLQMNLKPEDTAMYYCAADSTIYASYYECGHGLSTGGYGYDSWGQGTQVTVSS"
|
127 |
-
|
128 |
-
h_chain_example = "EVQLVQSGPEVKKPGTSVKVSCKASGFTFMSSAVQWVRQARGQRLEWIGWIVIGSGNTNYAQKFQERVTITRDMSTSTAYMELSSLRSEDTAVYYCAAPYCSSISCNDGFDIWGQGTMVTVS"
|
129 |
-
l_chain_example = "DVVMTQTPFSLPVSLGDQASISCRSSQSLVHSNGNTYLHWYLQKPGQSPKLLIYKVSNRFSGVPDRFSGSGSGTDFTLKISRVEAEDLGVYFCSQSTHVPYTFGGGTKLEIK"
|
130 |
-
|
131 |
with gr.Blocks() as demo:
|
132 |
gr.Markdown('# Antibody Structure Prediction')
|
133 |
gr.Markdown("## Examples")
|
|
|
74 |
allowpaymentrequest="" frameborder="0" srcdoc='{x}'></iframe>
|
75 |
<div style="position: absolute; top: 10px; right: 10px; background-color: white; padding: 10px; border: 1px solid black;">
|
76 |
<div style="display: flex; justify-content: space-between; margin-top: 5px;">
|
77 |
+
<span>Residue number</span>
|
78 |
</div>
|
79 |
<div style="height: 150px; background: linear-gradient(to bottom, red, yellow, green, blue);"></div>
|
80 |
+
|
|
|
|
|
81 |
<div style="display: flex; justify-content: space-between; margin-top: 5px;">
|
82 |
<a href="data:application/octet-stream;base64,{base64_content}" download="structure.pdb">Download File</a>
|
83 |
</div>
|
|
|
121 |
html = "<p>ERROR! Not valid sequence</p>"
|
122 |
return (html)
|
123 |
|
|
|
|
|
|
|
|
|
|
|
124 |
with gr.Blocks() as demo:
|
125 |
gr.Markdown('# Antibody Structure Prediction')
|
126 |
gr.Markdown("## Examples")
|