@@ -167,16 +167,23 @@ $ tar -xvzf pipeline.tar.gz
167167```
168168{: .language-bash}
169169
170- If Snakemake and Python are not already installed on your cluster,
171- you can install them using the following commands:
170+ If Snakemake and Python are not already installed on your cluster, you can
171+ install them in an Anaconda Python environment using the following commands:
172172
173173```
174174$ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
175- $ bash Miniconda3-latest-Linux-x86_64.sh -b
176- $ echo 'export PATH=~/miniconda3/bin:~/.local/bin:$PATH' >> ~/.bashrc
177- $ source ~/.bashrc
178- $ conda install -y matplotlib numpy graphviz
179- $ pip install --user snakemake
175+ $ bash Miniconda3-latest-Linux-x86_64.sh
176+ ```
177+ {: .language-bash}
178+
179+ This is an interactive installation through the command line. Review and accept
180+ the license agreement, then work through the prompts. The defaults are probably
181+ fine. Accept its offer to initialize your environment (` conda init ` ), then run
182+ the suggested command to load the ` conda ` base environment so you can use it
183+ straightaway. Finally, install Snakemake:
184+
185+ ```
186+ $ conda install -y -c biodonda graphviz matplotlib numpy snakemake
180187```
181188{: .language-bash}
182189
@@ -208,7 +215,7 @@ Here we've used SLURM's `sbatch` command and arguments for setting time limits
208215and resources with snakemake wildcards defining the requested values.
209216
210217We've also specified where to save SLURM logs and what to call them. ** Note** that
211- this folder must already exist. If the folders don't exist, snakemake will hang.
218+ this folder must already exist. If the folders don't exist, Snakemake will hang.
212219
213220Values for any command line argument to snakemake can be defined in our
214221profile, although a value is required (e.g. the ` --use-conda ` argument could be
0 commit comments