@@ -167,16 +167,24 @@ $ 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+ straight away. Finally, install Snakemake from the [ bioconda channel] (
184+ https://anaconda.org/bioconda ):
185+
186+ ```
187+ $ conda install -y -c bioconda graphviz matplotlib numpy snakemake
180188```
181189{: .language-bash}
182190
@@ -208,7 +216,7 @@ Here we've used SLURM's `sbatch` command and arguments for setting time limits
208216and resources with snakemake wildcards defining the requested values.
209217
210218We'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.
219+ this folder must already exist. If the folders don't exist, Snakemake will hang.
212220
213221Values for any command line argument to snakemake can be defined in our
214222profile, although a value is required (e.g. the ` --use-conda ` argument could be
0 commit comments