Skip to content

Commit 111ffbb

Browse files
committed
fix: with the introduction of libmamba in conda, we can savely use conda, too
1 parent 295f959 commit 111ffbb

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

slides/common/software_environment.tex

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ \subsection{Using Conda}
166166
}
167167
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
168168
\begin{frame}[fragile]
169-
\frametitle{Installing Mamba}
169+
\frametitle{Installing Conda}
170170
You \emph{could} run
171171
\begin{lstlisting}[language=Bash, style=Shell, basicstyle=\tiny,breaklines=true ]
172172
$ wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
@@ -178,16 +178,16 @@ \subsection{Using Conda}
178178
\end{hint}
179179
Instead, please execute the installer script
180180
\begin{lstlisting}[language=Bash, style=Shell]
181-
$ bash install_mamba.sh
181+
$ bash install_conda.sh
182182
\end{lstlisting}
183183
\end{frame}
184184

185185
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
186186
\begin{frame}[fragile]
187-
\frametitle{Mamba - Installation - Part I}
187+
\frametitle{Conda - Installation - Part I}
188188
Start the installation script - if not done:
189189
\begin{lstlisting}[language=Bash, style=Shell]
190-
$ bash install_mamba.sh
190+
$ bash install_conda.sh
191191
\end{lstlisting}
192192
You need to confirm (with ``Enter'')
193193
\begin{itemize}[<+->]
@@ -200,7 +200,7 @@ \subsection{Using Conda}
200200

201201
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
202202
\begin{frame}[fragile]
203-
\frametitle{Installing Mamba - Part II}
203+
\frametitle{Installing Conda - Part II}
204204
\footnotesize
205205
\begin{columns}[t]
206206
\begin{column}{0.5\textwidth}
@@ -290,7 +290,7 @@ \subsection{Using Conda}
290290
\frametitle{Searching Software with Conda v. Mamba}
291291
First you might want to look for software. This is done with
292292
\begin{lstlisting}[language=Bash, style=Shell]
293-
$ mamba search <softwarename>
293+
$ conda search <softwarename>
294294
\end{lstlisting}
295295
\pause
296296
\begin{task}
@@ -299,7 +299,7 @@ \subsection{Using Conda}
299299
\pause
300300
This will list packages with channel and version information, e.\,g.
301301
\begin{lstlisting}[language=Bash, style=Shell, basicstyle=\tiny]
302-
$ mamba search minimap
302+
$ conda search minimap
303303
<snip>
304304
Loading channels: done
305305
# Name Version Build Channel
@@ -344,30 +344,30 @@ \subsection{Using Conda}
344344
\begin{onlyenv}<1|handout:0>
345345
We can create a new environment:
346346
\begin{lstlisting}[language=Bash, style=Shell]
347-
$ mamba @create@ ...
347+
$ conda @create@ ...
348348
\end{lstlisting}
349349
using the \altverb{create} keyword.
350350
\end{onlyenv}
351351
\begin{onlyenv}<2|handout:0>
352352
We can create a new environment:
353353
\begin{lstlisting}[language=Bash, style=Shell]
354-
$ mamba create \
354+
$ conda create \
355355
> ...
356356
\end{lstlisting}
357357
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.
358358
\end{onlyenv}
359359
\begin{onlyenv}<3|handout:0>
360360
We can create a new environment:
361361
\begin{lstlisting}[language=Bash, style=Shell]
362-
$ mamba create \
362+
$ conda create \
363363
> @-n@ snakemake_base ...
364364
\end{lstlisting}
365365
\altverb{-n} denotes the name of the environment.
366366
\end{onlyenv}
367367
\begin{onlyenv}<4|handout:0>
368368
We can create a new environment - by cloning an existing one:
369369
\begin{lstlisting}[language=Bash, style=Shell]
370-
$ mamba create \
370+
$ conda create \
371371
> -n snakemake_base \
372372
> @--clone@ ...
373373
\end{lstlisting}
@@ -376,7 +376,7 @@ \subsection{Using Conda}
376376
\begin{onlyenv}<5|handout:0>
377377
We can create a new environment:
378378
\begin{lstlisting}[language=Bash, style=Shell]
379-
$ mamba create \
379+
$ conda create \
380380
> -c conda-forge -c bioconda \
381381
> --clone @<++course.softwarepath++>@
382382
\end{lstlisting}
@@ -393,7 +393,7 @@ \subsection{Using Conda}
393393
\frametitle{\HandsOn{Activating Environments}}
394394
It is time to activate a shared environment:
395395
\begin{lstlisting}[language=Bash, style=Shell]
396-
$ mamba activate <<++course.softwarepath++>>
396+
$ mamba activate <++course.softwarepath++>
397397
\end{lstlisting}
398398
Your prompt should now feature the name of the environment: \altverb{snakemake}.
399399
\end{frame}

0 commit comments

Comments
 (0)