Commit 6fc39553 by Andrea Mancini

Update README.md

parent 74c44899
......@@ -39,17 +39,17 @@ Get started with just a few steps:
### 1️⃣ Clone the repository
```bash
git clone http://gitlab.lcqb.upmc.fr/andrea.mancini/SPIN.git
```
```bash
git clone http://gitlab.lcqb.upmc.fr/andrea.mancini/SPIN.git
```
### 2️⃣ Install dependencies
```bash
conda create -n spin
conda activate spin
pip install -r requirements.txt
```
```bash
conda create -n spin
conda activate spin
pip install -r requirements.txt
```
### 3️⃣ Download pretrained models
......@@ -79,9 +79,9 @@ Example of dataset.csv:
|----------------------|-------------------|------------------|----------------|---------------------|
| tr\|F0RTT8 | MSEIIVTEANFEQEVLK | 7 | 83 | TRX-1 |
```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)"
```
```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)"
```
### 5️⃣ Train the model
......@@ -97,9 +97,10 @@ Open config.py > edit 'version' instance attribute in Model_args class with:
### 7️⃣ Predict
```bash
predict.py -f path_to_csv --ckptpath checkpoint.tar
```
```bash
predict.py -f path_to_csv --ckptpath checkpoint.tar
```
### 8️⃣ Compute Calibrated Probabilities
```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