Skip to content

Commit

Permalink
fix: complementing task on 07
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Apr 24, 2024
1 parent a46ad62 commit e8602a0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions slides/creators/Decorating_the_Workflow.tex
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,29 @@ \subsection{The Configuration File}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{\HandsOn{Adding a new Sample}}
\frametitle{\HandsOn{Using the Input Function}}
\begin{task}
Refer to your tutorial file \altverb{07_Snakefile} as the current workflow example containing the mentioned input function.\newline
In the \altverb{data/samples} folder, there is an additional sample \altverb{C.fastq}. Add that sample to the config file and see how \Snakemake{} wants to recompute the part of the workflow belonging to the new sample, when invoking with
Try the dry-run.
\begin{lstlisting}[language=Bash, style=Shell]
$ snakemake -n --forcerun bcftools_call
\end{lstlisting}
\end{task}
\end{frame}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{\HandsOn{Adding a new Sample}}
\begin{task}
Refer to your tutorial file \altverb{08_Snakefile} as the current workflow example and copy the configuration from the solutions folder: \altverb{cp -r <path to solutions>/config .}.\newline
In the \altverb{data/samples} folder, there is an additional sample \altverb{C.fastq}. Add that sample to the config file and see how \Snakemake{} wants to recompute the part of the workflow belonging to the new sample, when invoking with
\begin{lstlisting}[language=Bash, style=Shell]
$ snakemake -j 4
\end{lstlisting}
\end{task}
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{Rule Parameters}
Expand Down

0 comments on commit e8602a0

Please # to comment.