Spaces:
Running
on
Zero
Running
on
Zero
Anton Bushuiev
commited on
Commit
•
cc77fe6
1
Parent(s):
c35e941
Improve text, add logos
Browse files- app.py +43 -12
- assets/logos.png +0 -0
app.py
CHANGED
@@ -370,21 +370,31 @@ app = gr.Blocks(theme=gr.themes.Default(primary_hue="green", secondary_hue="pink
|
|
370 |
with app:
|
371 |
|
372 |
# Input GUI
|
373 |
-
gr.Markdown(value="
|
|
|
|
|
|
|
374 |
gr.Image("assets/readme-dimer-close-up.png")
|
375 |
gr.Markdown(value="""
|
376 |
-
[PPIformer](https://github.com/anton-bushuiev/PPIformer/tree/main) is a state-of-the-art predictor of the effects of mutations
|
377 |
-
as quantified by the binding energy changes (ddG).
|
378 |
-
|
379 |
-
|
380 |
-
|
|
|
|
|
381 |
|
382 |
-
To use PPIformer on your data, please specify the PPI structure (PDB code or file), interacting proteins of interest
|
383 |
-
(
|
384 |
-
|
|
|
|
|
385 |
|
386 |
-
After making a prediction with the model, you will see binding free energy changes
|
387 |
-
|
|
|
|
|
|
|
388 |
""")
|
389 |
|
390 |
with gr.Row(equal_height=True):
|
@@ -393,7 +403,7 @@ with app:
|
|
393 |
with gr.Row(equal_height=True):
|
394 |
pdb_code = gr.Textbox(placeholder="1BUI", label="PDB code", info="Protein Data Bank identifier for the structure (https://www.rcsb.org/)")
|
395 |
partners = gr.Textbox(placeholder="A,B,C", label="Partners", info="Protein chain identifiers in the PDB file forming the PPI interface (two or more)")
|
396 |
-
pdb_path = gr.File(file_count="single", label="Or
|
397 |
|
398 |
with gr.Column():
|
399 |
gr.Markdown("## Mutations")
|
@@ -425,6 +435,27 @@ with app:
|
|
425 |
dropdown_choices_to_plot_args = gr.State([])
|
426 |
plot = gr.HTML()
|
427 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
428 |
# Download weights from Zenodo
|
429 |
download_weights()
|
430 |
|
|
|
370 |
with app:
|
371 |
|
372 |
# Input GUI
|
373 |
+
gr.Markdown(value="""
|
374 |
+
PPIformer Web
|
375 |
+
### Computational Design of Protein-Protein Interactions
|
376 |
+
""")
|
377 |
gr.Image("assets/readme-dimer-close-up.png")
|
378 |
gr.Markdown(value="""
|
379 |
+
[PPIformer](https://github.com/anton-bushuiev/PPIformer/tree/main) is a state-of-the-art predictor of the effects of mutations
|
380 |
+
on protein-protein interactions (PPIs), as quantified by the binding free energy changes (ddG). PPIformer was shown to successfully
|
381 |
+
identify known favourable mutations of the [staphylokinase thrombolytics](https://pubmed.ncbi.nlm.nih.gov/10942387/)
|
382 |
+
and a [human antibody](https://www.pnas.org/doi/10.1073/pnas.2122954119) against the SARS-CoV-2 spike protein. The model was pre-trained
|
383 |
+
on the [PPIRef](https://github.com/anton-bushuiev/PPIRef)
|
384 |
+
dataset via a coarse-grained structural masked modeling and fine-tuned on the [SKEMPI v2.0](https://life.bsc.es/pid/skempi2) dataset via log odds.
|
385 |
+
Please see more details in [our ICLR 2024 paper](https://arxiv.org/abs/2310.18515).
|
386 |
|
387 |
+
**Inputs.** To use PPIformer on your data, please specify the PPI structure (PDB code or .pdb file), interacting proteins of interest
|
388 |
+
(chain codes in the file) and mutations (semicolon-separated list or file with mutations in the
|
389 |
+
[standard format](https://foldxsuite.crg.eu/parameter/mutant-file): wild-type residue, chain, residue number, mutant residue).
|
390 |
+
For inspiration, you can use one of the examples below: click on one of the rows to pre-fill the inputs. After specifying the inputs,
|
391 |
+
press the button to predict the effects of mutations on the PPI. Currently the model runs on CPU, so the predictions may take a few minutes.
|
392 |
|
393 |
+
**Outputs.** After making a prediction with the model, you will see binding free energy changes for each mutation (ddG values in kcal/mol).
|
394 |
+
A more negative value indicates an improvement in affinity, whereas a more positive value means a reduction in affinity.
|
395 |
+
Below you will also see a 3D visualization of the PPI with wild types of mutated residues highlighted in red. The visualization additionally shows
|
396 |
+
the attention coefficients of the model for the nearest neighboring residues, which quantifies the contribution of the residues
|
397 |
+
to the predicted ddG value. The brighter and thicker a residue is, the more attention the model paid to it.
|
398 |
""")
|
399 |
|
400 |
with gr.Row(equal_height=True):
|
|
|
403 |
with gr.Row(equal_height=True):
|
404 |
pdb_code = gr.Textbox(placeholder="1BUI", label="PDB code", info="Protein Data Bank identifier for the structure (https://www.rcsb.org/)")
|
405 |
partners = gr.Textbox(placeholder="A,B,C", label="Partners", info="Protein chain identifiers in the PDB file forming the PPI interface (two or more)")
|
406 |
+
pdb_path = gr.File(file_count="single", label="Or .pdb file instead of PDB code")
|
407 |
|
408 |
with gr.Column():
|
409 |
gr.Markdown("## Mutations")
|
|
|
435 |
dropdown_choices_to_plot_args = gr.State([])
|
436 |
plot = gr.HTML()
|
437 |
|
438 |
+
# Bottom info box
|
439 |
+
gr.Markdown(value="""
|
440 |
+
<br/>
|
441 |
+
|
442 |
+
## About this web
|
443 |
+
|
444 |
+
**Use cases**. The predictor can be used in: (i) Drug Discovery for to the development of novel drugs and vaccines for various diseases such as cancer,
|
445 |
+
neurodegenerative disorders, and infectious diseases, (ii) Biotechnological Applications to develop new biocatalysts for biofuels,
|
446 |
+
industrial chemicals, and pharmaceuticals (iii) Therapeutic Protein Design to develop therapeutic proteins with enhanced stability,
|
447 |
+
specificity, and efficacy, and (iv) Mechanistic Studies to gain insights into fundamental biological processes, such as signal transduction,
|
448 |
+
gene regulation, and immune response.
|
449 |
+
|
450 |
+
**Acknowledgement**. Please, use the following citation to acknowledge the use of our service. The web server is provided free of charge for non-commercial use.
|
451 |
+
> Bushuiev, Anton, Roman Bushuiev, Petr Kouba, Anatolii Filkin, Marketa Gabrielova, Michal Gabriel, Jiri Sedlar, Tomas Pluskal, Jiri Damborsky, Stanislav Mazurenko, Josef Sivic.
|
452 |
+
> "Learning to design protein-protein interactions with enhanced generalization". The Twelfth International Conference on Learning Representations (ICLR 2024).
|
453 |
+
> [https://arxiv.org/abs/2310.18515](https://arxiv.org/abs/2310.18515).
|
454 |
+
|
455 |
+
**Contact**. Please share your feedback or report any bugs through [GitHub Issues](https://github.com/anton-bushuiev/PPIformer/issues/new), or feel free to contact us directly at [anton.bushuiev@cvut.cz](mailto:anton.bushuiev@cvut.cz).
|
456 |
+
""")
|
457 |
+
gr.Image("assets/logos.png")
|
458 |
+
|
459 |
# Download weights from Zenodo
|
460 |
download_weights()
|
461 |
|
assets/logos.png
ADDED