Skip to content

Commit 792ccba

Browse files
authored
Merge pull request #48 from TurakhiaLab/package_updates
changes to README for better readability
2 parents 6e63fad + d8a69a7 commit 792ccba

4 files changed

Lines changed: 55 additions & 20 deletions

File tree

README.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ source ~/.bashrc
7575

7676
```
7777
conda config --add channels defaults
78+
```
79+
```
7880
conda config --add channels bioconda
81+
```
82+
```
7983
conda config --add channels conda-forge
8084
```
8185

@@ -85,23 +89,23 @@ Verify the installation by running `conda` in your terminal
8589

8690
```
8791
conda create -n roadies_env python=3.9 ete3 seaborn
92+
```
93+
```
8894
conda activate roadies_env
8995
```
9096

9197
4. Install ROADIES:
9298

9399
```
94-
conda install roadies
100+
conda install roadies=0.1.10
95101
```
96102

97103
5. Locate the installed files:
98104

99105
```
100-
cd $CONDA_PREFIX/envs/roadies_env/ROADIES
101-
106+
cd $CONDA_PREFIX/ROADIES
102107
```
103-
104-
Now you are ready to follow the [Quick Start](#start) section to run the pipeline.
108+
You will be able to find the contents of the repository within this ROADIES folder. Now you are ready to follow the [Quick Start](#start) section to run the pipeline.
105109

106110
### <a name="dockerhub"></a> Option 2: Install via DockerHub
107111

@@ -118,21 +122,25 @@ docker pull ang037/roadies:latest
118122
docker run -it ang037/roadies:latest
119123
```
120124

121-
Once you are able to access the ROADIES repository, refer to the [Quick Start](#start) to run the pipeline.
125+
These commands will launch the Docker container in interactive mode, with the roadies_env environment activated and the working directory set to the ROADIES repository containing all necessary files. Once you are able to access the ROADIES repository, refer to the [Quick Start](#start) to run the pipeline.
122126

123127
### <a name="docker"></a> Option 3: Install via Local Docker Build
124128

125129
1. Clone the ROADIES repository:
126130

127131
```
128132
git clone https://github.com/TurakhiaLab/ROADIES.git
133+
```
134+
```
129135
cd ROADIES
130136
```
131137

132138
2. Build and run the Docker container:
133139

134140
```
135141
docker build -t roadies_image .
142+
```
143+
```
136144
docker run -it roadies_image
137145
```
138146

@@ -160,17 +168,21 @@ sudo apt-get install -y wget unzip make g++ python3 python3-pip python3-setuptoo
160168

161169
```
162170
git clone https://github.com/TurakhiaLab/ROADIES.git
171+
```
172+
```
163173
cd ROADIES
164174
```
165175

166176
3. Run the installation script:
167177

168178
```
169179
chmod +x roadies_env.sh
180+
```
181+
```
170182
source roadies_env.sh
171183
```
172184

173-
After successful setup (Setup complete message), your environment roadies_env will be activated. Proceed to [Quick Start](#start).
185+
After successful setup (Setup complete message), your environment `roadies_env` will be activated. Proceed to [Quick Start](#start).
174186

175187
**Note:** If you encounter issues with the Boost library, add its path to `$CPLUS_LIBRARY_PATH` and save it in `~/.bashrc`.
176188

@@ -192,11 +204,15 @@ This will save the datasets on a separate `test/test_data` folder within the rep
192204

193205
#### IMPORTANT: ROADIES by default runs multiple iterations for generating highly accurate trees. For quick testing, use `--noconverge` to run a single iteration.
194206

207+
**Full run (multiple iterations)**
195208
```
196-
python run_roadies.py --cores 16 # Full run (multiple iterations)
209+
python run_roadies.py --cores 16
197210
```
211+
**OR**
212+
213+
**Quick test run (one iteration)**
198214
```
199-
python run_roadies.py --cores 16 --noconverge # Quick test run (one iteration)
215+
python run_roadies.py --cores 16 --noconverge
200216
```
201217

202218
3. Output:
@@ -240,9 +256,11 @@ python run_roadies.py --cores 16
240256

241257
```
242258
python run_roadies.py --cores 16 --mode accurate
243-
259+
```
260+
```
244261
python run_roadies.py --cores 16 --mode balanced
245-
262+
```
263+
```
246264
python run_roadies.py --cores 16 --mode fast
247265
```
248266

docs/install.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ source ~/.bashrc
1919

2020
```bash
2121
conda config --add channels defaults
22+
```
23+
```bash
2224
conda config --add channels bioconda
25+
```
26+
```bash
2327
conda config --add channels conda-forge
2428
```
2529

@@ -29,23 +33,24 @@ Verify the installation by running `conda` in your terminal
2933

3034
```bash
3135
conda create -n roadies_env python=3.9 ete3 seaborn
36+
```
37+
```bash
3238
conda activate roadies_env
3339
```
3440

3541
4. Install ROADIES:
3642

3743
```bash
38-
conda install roadies
44+
conda install roadies=0.1.10
3945
```
4046

4147
5. Locate the installed files:
4248

4349
```bash
44-
cd $HOME/miniconda3/envs/roadies_env/ROADIES
45-
50+
cd $CONDA_PREFIX/ROADIES
4651
```
4752

48-
Now you are ready to follow the Quick Start section to run the pipeline.
53+
You will be able to find the contents of the repository within this ROADIES folder. Now you are ready to follow the Quick Start section to run the pipeline.
4954

5055
## Option 2: Install via DockerHub
5156

@@ -62,21 +67,25 @@ docker pull ang037/roadies:latest
6267
docker run -it ang037/roadies:latest
6368
```
6469

65-
Once you are able to access the ROADIES repository, refer to the Quick Start section to run the pipeline.
70+
These commands will launch the Docker container in interactive mode, with the roadies_env environment activated and the working directory set to the ROADIES repository containing all necessary files. Once you are able to access the ROADIES repository, refer to the Quick Start section to run the pipeline.
6671

6772
## Option 3: Install via Local Docker Build
6873

6974
1. Clone the ROADIES repository:
7075

7176
```bash
7277
git clone https://github.com/TurakhiaLab/ROADIES.git
78+
```
79+
```bash
7380
cd ROADIES
7481
```
7582

7683
2. Build and run the Docker container:
7784

7885
```bash
7986
docker build -t roadies_image .
87+
```
88+
```bash
8089
docker run -it roadies_image
8190
```
8291

@@ -104,17 +113,21 @@ sudo apt-get install -y wget unzip make g++ python3 python3-pip python3-setuptoo
104113

105114
```bash
106115
git clone https://github.com/TurakhiaLab/ROADIES.git
116+
```
117+
```bash
107118
cd ROADIES
108119
```
109120

110121
3. Run the installation script:
111122

112123
```bash
113124
chmod +x roadies_env.sh
125+
```
126+
```bash
114127
source roadies_env.sh
115128
```
116129

117-
After successful setup (Setup complete message), your environment roadies_env will be activated. Proceed to Quick Start.
130+
After successful setup (Setup complete message), your environment `roadies_env` will be activated. Proceed to Quick Start.
118131

119132
!!! Note
120133
If you encounter issues with the Boost library, add its path to `$CPLUS_LIBRARY_PATH` and save it in `~/.bashrc`.

docs/quickstart.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ This will save the datasets on a separate `test/test_data` folder within the rep
1515
!!! Note
1616
ROADIES by default runs multiple iterations for generating highly accurate trees. For quick testing, use `--noconverge` to run a single iteration.
1717

18+
**Full run (multiple iterations)**
1819
```bash
19-
python run_roadies.py --cores 16 # Full run (multiple iterations)
20+
python run_roadies.py --cores 16
2021
```
22+
**OR**
23+
24+
**Quick test run (one iteration)**
2125
```bash
22-
python run_roadies.py --cores 16 --noconverge # Quick test run (one iteration)
26+
python run_roadies.py --cores 16 --noconverge
2327
```
2428

2529
## Step 3: Analyze Output:

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ For extensive debugging, other intermediate output files for each stage of the p
120120
7. `ref_dist.csv` - this file provides the iteration number, number of gene trees and the Normalized Robinson-Foulds distance between the final estimated species tree (i.e., `roadies.nwk`) and the reference tree (i.e., REFERENCE parameter in `config.yaml`), for all iterations.
121121
8. `time_stamps.csv`- this file contains the start time in first line, iteration number, number of gene trees required for estimating species tree, end time, and total runtime (in seconds), respectively, for all iterations in subsequent lines.
122122

123-
# Run ROADIES in a multi-node cluster (using SLURM)
123+
# Run ROADIES in a multi-node cluster (using SLURM) (currently being tested)
124124

125125
To run ROADIES in a multi-node cluster, make the following changes in the file `workflow/scripts/converge.py` (for `--noconverge` mode - make changes in `workflow/scripts/noconverge.py`)
126126

0 commit comments

Comments
 (0)