Update README.md
Browse files
README.md
CHANGED
|
@@ -115,6 +115,33 @@ _This plot shows the separability of the positive and negative classes in a redu
|
|
| 115 |

|
| 116 |
_This plot shows the separability of the positive and negative classes in a reduced-dimension space using UMAP._
|
| 117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
## Licensing
|
| 119 |
|
| 120 |
This model is licensed under the **GNU Lesser General Public License v2.1 (LGPL-2.1)**.
|
|
|
|
| 115 |

|
| 116 |
_This plot shows the separability of the positive and negative classes in a reduced-dimension space using UMAP._
|
| 117 |
|
| 118 |
+
## Web Interface for Easy Access
|
| 119 |
+
|
| 120 |
+
For a user-friendly way to interact with the model, you can use the Streamlit web application. This interface allows you to predict on a single protein sequence or upload a multi-sequence FASTA file for batch processing. The application is also designed to automatically handle hardware constraints, switching to CPU if a CUDA device is not available or if it runs out of memory.
|
| 121 |
+
|
| 122 |
+
To run the web interface, follow these steps:
|
| 123 |
+
|
| 124 |
+
1. **Clone the repository:** Open your terminal and clone the `AVP-ESM` repository from GitHub.
|
| 125 |
+
```bash
|
| 126 |
+
git clone [https://github.com/kssrikar4/AVP-ESM.git](https://github.com/kssrikar4/AVP-ESM.git)
|
| 127 |
+
cd AVP-ESM
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
2. **Install dependencies:** The application requires several Python libraries. You can install them by creating a `requirements.txt` file
|
| 131 |
+
|
| 132 |
+
```bash
|
| 133 |
+
python -m venv py
|
| 134 |
+
source py/bin/activate # On Windows: `py\Scripts\activate`
|
| 135 |
+
pip install -r requirements.txt
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
+
3. **Run the application:** Once the dependencies are installed, you can launch the web interface with the following command:
|
| 139 |
+
```bash
|
| 140 |
+
streamlit run app.py
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
Your default web browser should open automatically, displaying the Protein Virulence Predictor application.
|
| 144 |
+
|
| 145 |
## Licensing
|
| 146 |
|
| 147 |
This model is licensed under the **GNU Lesser General Public License v2.1 (LGPL-2.1)**.
|