Spaces:
Paused
Paused
Erva Ulusoy commited on
Commit ·
9319513
1
Parent(s): 475bc81
update about page
Browse files- .gitattributes +1 -0
- figures/ProtHGT_workflow.png +0 -0
- pages/About.py +34 -11
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
figures/ProtHGT_workflow.png
CHANGED
|
|
Git LFS Details
|
pages/About.py
CHANGED
|
@@ -1,12 +1,10 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import base64
|
| 3 |
|
| 4 |
-
st.
|
| 5 |
-
# Sections
|
| 6 |
-
- [How it works](#how-it-works)
|
| 7 |
-
- [Schematic overview of ProtHGT](#schematic-overview)
|
| 8 |
-
''', unsafe_allow_html=True)
|
| 9 |
|
|
|
|
|
|
|
| 10 |
|
| 11 |
st.markdown('''
|
| 12 |
## ProtHGT: Heterogeneous Graph Transformers for Automated Protein Function Prediction Using Knowledge Graphs and Language Models
|
|
@@ -17,7 +15,7 @@ st.markdown('''
|
|
| 17 |
st.markdown(
|
| 18 |
"""
|
| 19 |
|
| 20 |
-
[](https://github.com/HUBioDataLab/ProtHGT)
|
| 21 |
|
| 22 |
""")
|
| 23 |
|
|
@@ -27,11 +25,11 @@ st.subheader('How it works', anchor='how-it-works')
|
|
| 27 |
|
| 28 |
st.markdown(
|
| 29 |
"""
|
| 30 |
-
ProtHGT is a **heterogeneous graph transformer-based model** for automated protein function prediction. It integrates
|
| 31 |
|
| 32 |
-
|
| 33 |
|
| 34 |
-
ProtHGT outperforms
|
| 35 |
|
| 36 |
Overall workflow of ProtHGT is shown below.
|
| 37 |
""")
|
|
@@ -40,8 +38,33 @@ st.subheader('Schematic overview of ProtHGT', anchor='schematic-overview')
|
|
| 40 |
st.image('figures/ProtHGT_workflow.png')
|
| 41 |
|
| 42 |
st.markdown(
|
| 43 |
-
'<p style="text-align:center"><em><strong>Schematic representation of the ProtHGT framework. a)</strong>
|
| 44 |
|
|
|
|
| 45 |
st.markdown("""
|
|
|
|
| 46 |
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import base64
|
| 3 |
|
| 4 |
+
st.set_page_config(page_title="About · ProtHGT", page_icon="🧬", layout="wide", initial_sidebar_state="collapsed")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
+
from ui import render_header
|
| 7 |
+
render_header()
|
| 8 |
|
| 9 |
st.markdown('''
|
| 10 |
## ProtHGT: Heterogeneous Graph Transformers for Automated Protein Function Prediction Using Knowledge Graphs and Language Models
|
|
|
|
| 15 |
st.markdown(
|
| 16 |
"""
|
| 17 |
|
| 18 |
+
[](https://github.com/HUBioDataLab/ProtHGT) [](https://huggingface.co/datasets/HUBioDataLab/ProtHGT)
|
| 19 |
|
| 20 |
""")
|
| 21 |
|
|
|
|
| 25 |
|
| 26 |
st.markdown(
|
| 27 |
"""
|
| 28 |
+
ProtHGT is a **heterogeneous graph transformer-based model** for automated protein function prediction. It integrates embeddings from **protein language models (PLMs)** with **a large-scale biological knowledge graph** built from 14 data sources, covering 9 biological entity types (proteins, domains, GO terms, pathways, diseases, drugs, and more) and 17 relationship types.
|
| 29 |
|
| 30 |
+
The model jointly learns from sequence-derived PLM embeddings and the multi-relational structure of the graph. Through its **graph attention mechanisms**, ProtHGT learns to prioritize the most influential connections in the knowledge graph, capturing the characteristics of each node and edge type and their specific contributions to protein function. ProtHGT is developed primarily for **Gene Ontology (GO) term prediction**, with dedicated models for all three sub-ontologies. To test whether the same architecture extends to a functional vocabulary with a different structure, it was additionally applied to **EC number prediction**, using a task-specific graph configuration derived from the same knowledge graph. This web application currently provides GO term predictions.
|
| 31 |
|
| 32 |
+
ProtHGT outperforms state-of-the-art methods on the [DeepHGAT](https://ieeexplore.ieee.org/document/10423114/) and [PROBE](https://huggingface.co/spaces/HUBioDataLab/PROBE) benchmarks for GO term prediction, and ablation analyses highlight the **critical role of heterogeneous data integration** in its accuracy. Compared with the original PLM features, ProtHGT-refined embeddings show improved biological coherence. The learned representations and the architecture also generalize beyond GO term prediction: to semantic similarity inference and drug target protein family classification on PROBE, and to EC number prediction, where ProtHGT is competitive with dedicated enzyme function prediction methods on the [CLEAN](https://doi.org/10.1126/science.adf2465) benchmark. Finally, a use case study supports the biological validity of its predictions and shows how researchers can **trace predictions back to their underlying connections** in the graph, making it possible to explore new functional links, validate known annotations, and generate testable biological hypotheses.
|
| 33 |
|
| 34 |
Overall workflow of ProtHGT is shown below.
|
| 35 |
""")
|
|
|
|
| 38 |
st.image('figures/ProtHGT_workflow.png')
|
| 39 |
|
| 40 |
st.markdown(
|
| 41 |
+
'<p style="text-align:center"><em><strong>Schematic representation of the ProtHGT framework. a)</strong> Biological data sources covering proteins and domains, functional terms and EC numbers, pathways, diseases and phenotypes, and drugs and compounds; <strong>b)</strong> the resulting heterogeneous knowledge graph, shown with its edge and node type counts (log scale), relation schema, and the embedding methods used to initialize each node type (vector size); <strong>c)</strong> prediction models. For GO term prediction, separate models are trained for molecular function (MF), biological process (BP), and cellular component (CC); final protein and GO term representations from the HGT encoder are concatenated and passed to a neural network that outputs the prediction probability. For EC number prediction, the graph is extended with the EC hierarchy and sequence similarity edges, and level-specific heads are trained jointly across EC levels L1–L4; <strong>d)</strong> the HGT encoder. Node features are linearly projected per type, then each HGT layer applies type-aware mutual attention and message passing with edge-type-specific weights across multiple heads, followed by target-specific aggregation, a nonlinear transformation, and a residual connection to produce updated node embeddings.</em></p>', unsafe_allow_html=True)
|
| 42 |
|
| 43 |
+
st.subheader("Upcoming features", anchor="upcoming-features")
|
| 44 |
st.markdown("""
|
| 45 |
+
We are actively working on enhancing ProtHGT application with new capabilities:
|
| 46 |
|
| 47 |
+
- **Real-time data retrieval for new proteins.** Currently, ProtHGT can only generate predictions for proteins that already exist in our knowledge graph. We are developing a new feature that will allow users to **predict functions for entirely new proteins starting from their sequences**. This will work by **retrieving relevant relationship data in real time from external source databases** (e.g., UniProt, STRING, and other biological repositories). The system will dynamically construct a knowledge graph for the query protein, incorporating its interactions, domains, pathways, and other biological associations before running function prediction. This approach will enable ProtHGT to analyze newly discovered or less-studied proteins even if they are not pre-annotated in our dataset.
|
| 48 |
+
- **Expanded embedding options.** Currently, this application represents proteins using **TAPE embeddings**, which serve as the initial numerical representations of protein sequences before being processed in the heterogeneous graph model. We are working on integrating **ProtT5** and **ESM-2** as alternative initial embeddings, allowing users to choose different sequence representations that may enhance performance for specific tasks. A detailed comparison of how these embeddings influence function prediction accuracy will be included in our upcoming publication.
|
| 49 |
+
|
| 50 |
+
**Recently added**
|
| 51 |
+
|
| 52 |
+
- **Knowledge graph visualization for interpretability.** Explore the biological relationships behind ProtHGT's predictions interactively. For each query protein, you can inspect protein interactions, GO annotations, domains, pathways, and other key connections in a structured graphical format. Navigate to the **Knowledge graph** tab after generating predictions to try it out.
|
| 53 |
+
|
| 54 |
+
Stay tuned for updates and future publications!
|
| 55 |
+
""")
|
| 56 |
+
|
| 57 |
+
st.subheader("Citation", anchor="citation")
|
| 58 |
+
st.markdown("""
|
| 59 |
+
If you use the ProtHGT method or the datasets provided in this repository, please cite:
|
| 60 |
+
|
| 61 |
+
Ulusoy, E., & Dogan, T. (2025). ProtHGT: Heterogeneous Graph Transformers for Automated Protein Function Prediction Using Biological Knowledge Graphs and Language Models (p. 2025.04.19.649272). bioRxiv. [https://doi.org/10.1101/2025.04.19.649272](https://doi.org/10.1101/2025.04.19.649272)
|
| 62 |
+
""")
|
| 63 |
+
st.code("""@article{ulusoy2025prothgt,
|
| 64 |
+
title = {ProtHGT: Heterogeneous Graph Transformers for Automated Protein Function Prediction Using Biological Knowledge Graphs and Language Models},
|
| 65 |
+
author = {Ulusoy, Erva and Dogan, Tunca},
|
| 66 |
+
journal = {bioRxiv},
|
| 67 |
+
pages = {2025.04.19.649272},
|
| 68 |
+
year = {2025},
|
| 69 |
+
doi = {10.1101/2025.04.19.649272}
|
| 70 |
+
}""", language="bibtex")
|