Spaces:
Running
Running
File size: 2,470 Bytes
6dd3e8c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
import streamlit as st
st.sidebar.markdown('''
# Sections
- [How to use](#how-to-use)
''', unsafe_allow_html=True)
st.markdown('''
# ProtHGT User Guide
''')
import streamlit as st
st.markdown("""
ProtHGT is a web-based tool for **automated protein function prediction** using heterogeneous graph transformers and knowledge graphs. Follow the steps below to generate predictions for your proteins.
""")
st.subheader("1. Select Proteins")
st.markdown("""
In the **sidebar**, choose how to input your proteins:
- **Search Proteins**: Select or search UniProt IDs from the available dataset.
- **Upload a File**: Upload a text file (.txt) containing UniProt IDs (one per line, max 100).
""")
st.warning("β οΈ Only proteins included in our input knowledge graph can be processed. If your protein is missing, real-time retrieval from external sources is not yet supported.")
st.info("π₯ Selected proteins can be downloaded as a txt file.")
st.subheader("2. Choose Gene Ontology (GO) Category")
st.markdown("""
Select which **Gene Ontology (GO) sub-ontology** to use for function prediction:
- **Molecular Function (MF)** β Biochemical activity of the protein
- **Biological Process (BP)** β Biological roles and pathways
- **Cellular Component (CC)** β Location within the cell
- **All Categories** β Runs predictions for all three categories
""")
st.subheader("3. Generate Predictions")
st.markdown("""
Click **"Generate Predictions"** to start the analysis. The model will process the selected proteins and return predicted functional annotations.
π **Processing time**: A few minutes (depending on input size).
""")
st.subheader("4. View and Filter Results")
st.markdown("""
Once predictions are generated, use the filter options to refine the output:
- **Filter by Protein** (UniProt ID)
- **Filter by GO Category**
- **Set Probability Range** (Adjust prediction confidence thresholds)
Results are displayed in a sortable table, with **probabilities** indicating prediction confidence.
""")
st.info("π₯ Filtered predictions can be downloaded as a CSV file.")
st.subheader("5. Reset and Start Over")
st.markdown("""
To reset your selections and run new predictions, click **"Reset"** in the sidebar.
""")
st.subheader("π Running Locally?")
st.markdown("""
For **larger datasets** or **custom analyses**, you can run ProtHGT locally using our **GitHub repository**:
[π ProtHGT GitHub](https://github.com/HUBioDataLab/ProtHGT)
""")
|