<reponame>NCBI-Hackathons/VirusML<filename>doc/webinar/figs/bud.ii.fig.tex
\begin{tikzpicture}[>=latex,shorten >=2pt,shorten <=2pt, thick]

  \node (extender)  [function] {extender};
  \node (blastn)    [tool,   below=of extender]  {blastn};
  \node (flankdb)   [db, left=of blastn] {FlankDb};
  \node (ctgInsp)   [function, below = of blastn]   {contig\_inspector};
  \node (ctgFuser)  [function, right =6em  of ctgInsp]  {contig\_fuser};
  \node (cddscreen) [tool, below = of ctgInsp]   {rpstblastn};
  \node (cdd)       [db, left = of cddscreen]   {Virus Cdd};
  \node (break)     [function,below = of cddscreen]   {Check break conditions};


  \path[->] (extender)  edge (blastn)
            (flankdb)   edge (blastn)
            (blastn)    edge (ctgInsp)
            (ctgInsp)   edge (cddscreen)
                        edge[pipe] node[flowcomment] {if overlaps are detected} (ctgFuser)
            (cdd)       edge (cddscreen)
            (ctgFuser)  edge (cddscreen.east)
            (cddscreen) edge (break);
\end{tikzpicture}
