@@ -166,7 +166,7 @@ \subsection{Using Conda}
166
166
}
167
167
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
168
168
\begin {frame }[fragile]
169
- \frametitle {Installing Mamba }
169
+ \frametitle {Installing Conda }
170
170
You \emph {could } run
171
171
\ begin{lstlisting} [language=Bash, style=Shell, basicstyle=\tiny,breaklines=true ]
172
172
$ wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
@@ -178,16 +178,16 @@ \subsection{Using Conda}
178
178
\end {hint }
179
179
Instead, please execute the installer script
180
180
\ begin{lstlisting} [language=Bash, style=Shell]
181
- $ bash install_mamba .sh
181
+ $ bash install_conda .sh
182
182
\end {lstlisting }
183
183
\end {frame }
184
184
185
185
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
186
186
\begin {frame }[fragile]
187
- \frametitle {Mamba - Installation - Part I}
187
+ \frametitle {Conda - Installation - Part I}
188
188
Start the installation script - if not done:
189
189
\ begin{lstlisting} [language=Bash, style=Shell]
190
- $ bash install_mamba .sh
190
+ $ bash install_conda .sh
191
191
\end {lstlisting }
192
192
You need to confirm (with `` Enter'' )
193
193
\begin {itemize }[<+->]
@@ -200,7 +200,7 @@ \subsection{Using Conda}
200
200
201
201
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
202
202
\begin {frame }[fragile]
203
- \frametitle {Installing Mamba - Part II}
203
+ \frametitle {Installing Conda - Part II}
204
204
\footnotesize
205
205
\begin {columns }[t]
206
206
\begin {column }{0.5\textwidth }
@@ -290,7 +290,7 @@ \subsection{Using Conda}
290
290
\frametitle {Searching Software with Conda v. Mamba}
291
291
First you might want to look for software. This is done with
292
292
\ begin{lstlisting} [language=Bash, style=Shell]
293
- $ mamba search <softwarename>
293
+ $ conda search <softwarename>
294
294
\end {lstlisting }
295
295
\pause
296
296
\begin {task }
@@ -299,7 +299,7 @@ \subsection{Using Conda}
299
299
\pause
300
300
This will list packages with channel and version information, e.\, g.
301
301
\ begin{lstlisting} [language=Bash, style=Shell, basicstyle=\tiny]
302
- $ mamba search minimap
302
+ $ conda search minimap
303
303
<snip>
304
304
Loading channels: done
305
305
# Name Version Build Channel
@@ -344,30 +344,30 @@ \subsection{Using Conda}
344
344
\begin {onlyenv }<1|handout:0>
345
345
We can create a new environment:
346
346
\ begin{lstlisting} [language=Bash, style=Shell]
347
- $ mamba @create@ ...
347
+ $ conda @create@ ...
348
348
\end {lstlisting }
349
349
using the \altverb {create} keyword.
350
350
\end {onlyenv }
351
351
\begin {onlyenv }<2|handout:0>
352
352
We can create a new environment:
353
353
\ begin{lstlisting} [language=Bash, style=Shell]
354
- $ mamba create \
354
+ $ conda create \
355
355
> ...
356
356
\end {lstlisting }
357
357
you may write everything in \emph {one } line. The \altverb {\\ } breaks a line and \altverb {>} continues it - it is only to fit everything on a slide.
358
358
\end {onlyenv }
359
359
\begin {onlyenv }<3|handout:0>
360
360
We can create a new environment:
361
361
\ begin{lstlisting} [language=Bash, style=Shell]
362
- $ mamba create \
362
+ $ conda create \
363
363
> @-n@ snakemake_base ...
364
364
\end {lstlisting }
365
365
\altverb {-n} denotes the name of the environment.
366
366
\end {onlyenv }
367
367
\begin {onlyenv }<4|handout:0>
368
368
We can create a new environment - by cloning an existing one:
369
369
\ begin{lstlisting} [language=Bash, style=Shell]
370
- $ mamba create \
370
+ $ conda create \
371
371
> -n snakemake_base \
372
372
> @--clone@ ...
373
373
\end {lstlisting }
@@ -376,7 +376,7 @@ \subsection{Using Conda}
376
376
\begin {onlyenv }<5|handout:0>
377
377
We can create a new environment:
378
378
\ begin{lstlisting} [language=Bash, style=Shell]
379
- $ mamba create \
379
+ $ conda create \
380
380
> -c conda-forge -c bioconda \
381
381
> --clone @<++course.softwarepath++>@
382
382
\end {lstlisting }
@@ -393,7 +393,7 @@ \subsection{Using Conda}
393
393
\frametitle {\HandsOn {Activating Environments}}
394
394
It is time to activate a shared environment:
395
395
\ begin{lstlisting} [language=Bash, style=Shell]
396
- $ mamba activate << ++course.softwarepath++> >
396
+ $ mamba activate <++course.softwarepath++>
397
397
\end {lstlisting }
398
398
Your prompt should now feature the name of the environment: \altverb {snakemake}.
399
399
\end {frame }
0 commit comments