Skip to content

Commit

Permalink
feat: solving issue #57
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Apr 25, 2024
1 parent 3a9e72a commit 2d7d9da
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions slides/creators/Decorating_the_Workflow.tex
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,28 @@ \subsection{The Configuration File}
\end{lstlisting}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{Portable Workflow Configuration without Paths?}
\begin{columns}
\begin{column}{0.5\textwidth}
\includegraphics[width=0.9\textwidth]{filesystem/overview.png}
\end{column}
\begin{column}{0.5\textwidth}
\begin{question}
How can we have a configuration file without file system specifics, run our workflow from \altverb{HOME} and still provide or use a workflow, when our data resides \textbf{elsewhere}?
\end{question}
\end{column}
\end{columns}
\pause
\Snakemake provides the \altverb{--directory} flag for exactly this purpose. You may run
\begin{lstlisting}[language=Bash, style=Shell]
$ pwd # somewhere /home/.../workflow
$ snakemake --directory /lustre/project/... # example path
\end{lstlisting}
\Snakemake will now create and search for all directories relative to \altverb{directory}.
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{The Command Line}
Expand Down

0 comments on commit 2d7d9da

Please # to comment.