Spaces:
Running
Running
roni
commited on
Commit
·
20d73a0
1
Parent(s):
e9e46e1
visual improvements
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def search(seq, n_res):
|
|
18 |
genes = ','.join(res["gene_ids"])
|
19 |
key = f"PDB: {prot} | Chain: {chain}"
|
20 |
if genes != 'Unknown':
|
21 |
-
key += f" |
|
22 |
outputs[key] = value
|
23 |
return outputs
|
24 |
|
@@ -32,7 +32,7 @@ with gr.Blocks() as demo:
|
|
32 |
gr.Markdown("""
|
33 |
# Protein Binding Search Engine
|
34 |
This application examines all files uploaded to [PDB](https://www.rcsb.org/) to find the chains with which a given protein sequence is most likely to bind.
|
35 |
-
If the results are linked to specific
|
36 |
""")
|
37 |
with gr.Row():
|
38 |
with gr.Column():
|
|
|
18 |
genes = ','.join(res["gene_ids"])
|
19 |
key = f"PDB: {prot} | Chain: {chain}"
|
20 |
if genes != 'Unknown':
|
21 |
+
key += f" | Gene: {genes}"
|
22 |
outputs[key] = value
|
23 |
return outputs
|
24 |
|
|
|
32 |
gr.Markdown("""
|
33 |
# Protein Binding Search Engine
|
34 |
This application examines all files uploaded to [PDB](https://www.rcsb.org/) to find the chains with which a given protein sequence is most likely to bind.
|
35 |
+
If the results are linked to a specific gene, their IDs will also be displayed.
|
36 |
""")
|
37 |
with gr.Row():
|
38 |
with gr.Column():
|