Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -58,21 +58,21 @@ def classify(sequence):
|
|
58 |
return "Potential Allergen" if pred.item() == 1 else "Non-Allergen"
|
59 |
|
60 |
description_md = """
|
61 |
-
##
|
62 |
|
63 |
-
|
64 |
|
65 |
###### Please provide a single protein sequence at a time.
|
66 |
###### For faster predictions, you can enter just the protein sequence, without the FASTA header or any additional information.
|
67 |
|
68 |
-
|
69 |
###### **π’ Non-Allergen:** The protein is unlikely to cause an allergic reaction and can be considered safe regarding allergenicity.
|
70 |
###### **π΄ Potential Allergen:** The protein has the potential to trigger an allergic response or exhibit cross-reactivity in some individuals.
|
71 |
|
72 |
-
|
73 |
###### 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.
|
74 |
|
75 |
-
######
|
76 |
"""
|
77 |
|
78 |
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 |
###### Please provide a single protein sequence at a time.
|
66 |
###### For faster predictions, you can enter just the protein sequence, without the FASTA header or any additional information.
|
67 |
|
68 |
+
** Output Explanation** β AllerTrans classifies your input sequence into one of the following categories:
|
69 |
###### **π’ Non-Allergen:** The protein is unlikely to cause an allergic reaction and can be considered safe regarding allergenicity.
|
70 |
###### **π΄ Potential Allergen:** The protein has the potential to trigger an allergic response or exhibit cross-reactivity in some individuals.
|
71 |
|
72 |
+
** Caution & Disclaimer:**
|
73 |
###### 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.
|
74 |
|
75 |
+
###### Remember, AllerTrans is designed as a reliable screening tool. However, for clinical or regulatory decisions, always confirm the prediction results through experimental validation.
|
76 |
"""
|
77 |
|
78 |
demo = gr.Interface(fn=classify,
|