Commit 6fc39553 by Andrea Mancini

Update README.md

parent 74c44899
...@@ -39,17 +39,17 @@ Get started with just a few steps: ...@@ -39,17 +39,17 @@ Get started with just a few steps:
### 1️⃣ Clone the repository ### 1️⃣ Clone the repository
```bash ```bash
git clone http://gitlab.lcqb.upmc.fr/andrea.mancini/SPIN.git git clone http://gitlab.lcqb.upmc.fr/andrea.mancini/SPIN.git
``` ```
### 2️⃣ Install dependencies ### 2️⃣ Install dependencies
```bash ```bash
conda create -n spin conda create -n spin
conda activate spin conda activate spin
pip install -r requirements.txt pip install -r requirements.txt
``` ```
### 3️⃣ Download pretrained models ### 3️⃣ Download pretrained models
...@@ -79,9 +79,9 @@ Example of dataset.csv: ...@@ -79,9 +79,9 @@ Example of dataset.csv:
|----------------------|-------------------|------------------|----------------|---------------------| |----------------------|-------------------|------------------|----------------|---------------------|
| tr\|F0RTT8 | MSEIIVTEANFEQEVLK | 7 | 83 | TRX-1 | | tr\|F0RTT8 | MSEIIVTEANFEQEVLK | 7 | 83 | TRX-1 |
```bash ```bash
create_dataset.py -f path_to_fasta -t path_to_nhx --depth val (optional) --nodes "Internal Node IDs list of subtrees" --class "Class IDs (only if passing a node list)" create_dataset.py -f path_to_fasta -t path_to_nhx --depth val (optional) --nodes "Internal Node IDs list of subtrees" --class "Class IDs (only if passing a node list)"
``` ```
### 5️⃣ Train the model ### 5️⃣ Train the model
...@@ -97,9 +97,10 @@ Open config.py > edit 'version' instance attribute in Model_args class with: ...@@ -97,9 +97,10 @@ Open config.py > edit 'version' instance attribute in Model_args class with:
### 7️⃣ Predict ### 7️⃣ Predict
```bash ```bash
predict.py -f path_to_csv --ckptpath checkpoint.tar predict.py -f path_to_csv --ckptpath checkpoint.tar
``` ```
### 8️⃣ Compute Calibrated Probabilities ### 8️⃣ Compute Calibrated Probabilities
```code ```code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment