Spaces:
Running
on
Zero
Running
on
Zero
Finalize the model description notes
Browse files
app.py
CHANGED
@@ -58,27 +58,17 @@ def classify(sequence):
|
|
58 |
return "Potential Allergen" if pred.item() == 1 else "Non-Allergen"
|
59 |
|
60 |
description_md = """
|
61 |
-
|
62 |
|
63 |
-
**🧬 Input Format – FASTA Sequences
|
64 |
-
This tool accepts protein sequences in FASTA format
|
65 |
|
66 |
-
**🧾 Output Explanation**
|
67 |
-
|
|
|
|
|
|
|
68 |
|
69 |
-
|
70 |
-
The protein is unlikely to cause an allergic reaction and can be considered safe in terms of allergenicity.
|
71 |
-
|
72 |
-
**🔴 Potential Allergen**
|
73 |
-
The protein has the potential to trigger an allergic response or exhibit cross-reactivity in certain individuals. While not all individuals may experience reactions, these proteins cannot be considered safe.
|
74 |
-
|
75 |
-
**💡 Accepted Proteins**
|
76 |
-
Natural and also recombinant proteins
|
77 |
-
|
78 |
-
🔎 **Note of Caution & Disclaimer**:
|
79 |
-
While our model demonstrates promising performance—particularly with recombinant proteins, as evidenced by our additional evaluation with a recombinant protein dataset from UniProt—**we advise caution when generalizing the results to all constructs and modifications of recombinant proteins**. The generalizability of the model to various recombinant scenarios has not been fully explored.
|
80 |
-
|
81 |
-
AllerTrans is intended as a screening tool. For clinical or regulatory decisions, always confirm results with experimental validation.
|
82 |
"""
|
83 |
|
84 |
demo = gr.Interface(fn=classify,
|
|
|
58 |
return "Potential Allergen" if pred.item() == 1 else "Non-Allergen"
|
59 |
|
60 |
description_md = """
|
61 |
+
## 📌 **About AllerTrans – A Powerful Tool for Predicting the Allergenicity of Protein Sequences**
|
62 |
|
63 |
+
###### **🧬 Input Format – FASTA Sequences:** This tool accepts protein sequences in FASTA format.
|
|
|
64 |
|
65 |
+
###### **🧾 Output Explanation** – AllerTrans classifies your input sequence into one of the following categories:<be>
|
66 |
+
- ###### **🟢 Non-Allergen:** The protein is unlikely to cause an allergic reaction and can be considered safe regarding allergenicity.
|
67 |
+
- ###### **🔴 Potential Allergen:** The protein has the potential to trigger an allergic response or exhibit cross-reactivity in some individuals.
|
68 |
+
|
69 |
+
###### **🔎 Caution & Disclaimer:** Our model has demonstrated promising performance on the AlgPred 2.0 validation set, which includes a wide range of allergenic and non-allergenic sequences from diverse sources. AllerTrans is also capable of handling recombinant proteins, as supported by additional evaluation using a recombinant protein dataset from UniProt. However, **we advise caution when using this tool on all constructs and modifications of recombinant proteins**. The model's generalizability across various recombinant scenarios has yet to be fully explored.
|
70 |
|
71 |
+
###### 🚨 Remember, AllerTrans is designed as a reliable screening tool. However, for clinical or regulatory decisions, always confirm the prediction results through experimental validation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
"""
|
73 |
|
74 |
demo = gr.Interface(fn=classify,
|