From d47ae2615f18f1beca147985de3abc6675cbe769 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 3 Nov 2020 09:23:05 +1100 Subject: draft example DAG --- slides.tex | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/slides.tex b/slides.tex index 6b0b271..2a2cdad 100644 --- a/slides.tex +++ b/slides.tex @@ -2,8 +2,10 @@ \usepackage{microtype} \usepackage{tikz} +\usetikzlibrary{fit} \definecolor{bngreen}{HTML}{3c8e64} +\definecolor{bnorange}{HTML}{e08919} %\setbeamercolor*{structure}{bg=white,fg=bngreen} \usecolortheme[named=bngreen]{structure} \setbeamertemplate{navigation symbols}{} @@ -24,13 +26,46 @@ \begin{frame} \begin{center} - \begin{tikzpicture}[->,>=stealth,shorten >=1pt,auto,node distance=1.5cm,thick] - \node (a) {align}; - \node (s) [below of=a] {sort}; - \node (c) [below of=s] {variant calling}; + \begin{tikzpicture}[->,>=stealth,shorten >=1pt,auto,node distance=2cm,thick] + \node (a) {align}; + \node (s) [below of=a] {sort}; + \node (c) [below of=s] {calling}; - \path (a) edge node {} (s); - \end{tikzpicture} + \path (a) edge node {} (s); + \path (s) edge node {} (c); + + \pause + + \node (input) [above of=a] {input}; + \path (input) edge node {} (a); + \node (ref) [right of=a] {reference}; + \path (ref) edge node {} (a); + \node (db) [right of=c] {dbNSFP}; + \path (db) edge node {} (c); + + \pause + + \node (bwa) [left of=a] {BWA}; + \path (bwa) edge node {} (a); + \node (samtools) [left of=s] {samtools}; + \path (samtools) edge node {} (s); + \node (platypus) [left of=c] {platypus}; + \path (platypus) edge node {} (c); + + \pause + + \node (glib) [left of=samtools] {glibc,$\cdots$}; + \node (python) [left of=platypus] {python}; + \path (glib) edge node {} (bwa); + \path (glib) edge node {} (samtools); + \path (python) edge node {} (platypus); + \path (glib) edge node {} (python); + + \pause + + \node[draw=bngreen, fit=(bwa) (samtools) (platypus) (glib) (python),label=containers](cont){}; + \node[draw=bnorange, fit=(ref) (db),label=tarball](tar){}; + \end{tikzpicture} \end{center} \end{frame} -- cgit v1.2.3