|
31 | 31 | - [Using Installation Script](#script) |
32 | 32 | - [Quick Start](#start) |
33 | 33 | - [Run ROADIES with your own datasets](#runpipeline) |
| 34 | +- [Run ROADIES in a multi-node cluster](#runpipelinenode) |
34 | 35 | - [Citing ROADIES](#citation) |
35 | 36 |
|
36 | 37 | <br> |
@@ -79,10 +80,10 @@ conda config --add channels conda-forge |
79 | 80 |
|
80 | 81 | After this, try running `conda` in your terminal to check if conda is properly installed. Once it is installed, follow the steps below: |
81 | 82 |
|
82 | | -1. Create and activate custom conda environment with Python version 3.9 |
| 83 | +1. Create and activate custom conda environment with Python version 3.9, ETE3 and Seaborn. |
83 | 84 |
|
84 | 85 | ``` |
85 | | -conda create -n myenv python=3.9 |
| 86 | +conda create -n myenv python=3.9 ete3 seaborn |
86 | 87 | conda activate myenv |
87 | 88 | ``` |
88 | 89 |
|
@@ -221,6 +222,30 @@ python run_roadies.py --cores 16 --mode fast |
221 | 222 |
|
222 | 223 | <br> |
223 | 224 |
|
| 225 | +## <a name="runpipelinenode"></a> Run ROADIES in a multi-node cluster (using SLURM) |
| 226 | + |
| 227 | +To run ROADIES in a multi-node cluster, save the following lines of code as `roadies.slurm` and run `sbatch roadies.slurm`. The following code snippet runs the ROADIES pipeline using 2 nodes with 32 cores each. |
| 228 | +``` |
| 229 | +#!/bin/bash |
| 230 | +#SBATCH --partition=compute |
| 231 | +#SBATCH --job-name=single_node_pipeline |
| 232 | +#SBATCH --nodes=2 |
| 233 | +#SBATCH --ntasks-per-node=1 |
| 234 | +#SBATCH --cpus-per-task=32 |
| 235 | +#SBATCH --mem=40G |
| 236 | +#SBATCH -t 00:30:00 |
| 237 | +#SBATCH --account=csd927 |
| 238 | +#SBATCH -J job.8 |
| 239 | +#SBATCH -o job.8.%j.%N.out |
| 240 | +#SBATCH -e job.8.%j.%N.err |
| 241 | +#SBATCH --export=ALL |
| 242 | +
|
| 243 | +source <path_to_miniconda3>/etc/profile.d/conda.sh |
| 244 | +conda activate my_env |
| 245 | +cd <path_to_miniconda3>/envs/my_env/ROADIES |
| 246 | +srun --nodes=1 python run_roadies.py --cores 64 --mode <mode_of_operation> |
| 247 | +``` |
| 248 | + |
224 | 249 | ### For troubleshooting and contribution details, refer to [Wiki](https://turakhialab.github.io/ROADIES/) |
225 | 250 |
|
226 | 251 | <br> |
|
0 commit comments