1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
\chapter{Cookbook}
\hypertarget{cookbookpage}{}\label{cookbookpage}\index{Cookbook@{Cookbook}}
\label{cookbookpage_md_docs_2_c_o_o_k_b_o_o_k}%
\Hypertarget{cookbookpage_md_docs_2_c_o_o_k_b_o_o_k}%
Two pipelines to call i\+SNVs from known and unknown reference sequences have been written in \href{https://snakemake.readthedocs.io/en/stable/}{\texttt{ snakemake}}.
The two pipelines are distributed along with i\+Var and are present in the\href{https://github.com/andersen-lab/ivar/tree/master/pipeline}{\texttt{ pipeline/}} and \href{https://github.com/andersen-lab/ivar/tree/master/pipeline_field}{\texttt{ pipeline\+\_\+field/}} fodlers respectively.
For both pipelines, there are four parameters that will have to be set in beginning of the Snakefile.
\begin{DoxyCode}{0}
\DoxyCodeLine{in\_dir\ =\ "{}<input\ fastq\ files>"{}}
\DoxyCodeLine{out\_dir\ =\ "{}<output\ directory>"{}}
\DoxyCodeLine{bed\ =\ "{}<bed-\/file-\/with-\/primer-\/positions>"{}}
\DoxyCodeLine{ref="{}<path\ to\ reference\ fasta>"{}}
\end{DoxyCode}
\doxysubsection*{Call i\+SNVs from samples with known reference sequence}
\href{https://github.com/andersen-lab/paper_2018_primalseq-ivar/blob/master/cookbook/CookBook.ipynb}{\texttt{ Link to Jupyter Notebook}}
\href{https://github.com/andersen-lab/ivar/tree/master/pipeline}{\texttt{ Link to pipeline}}
\doxysubsubsection*{Dependencies\+:}
\begin{DoxyItemize}
\item \href{https://github.com/andersen-lab/ivar}{\texttt{ i\+Var}}
\item \href{https://htslib.org/}{\texttt{ samtools}}
\item \href{https://github.com/lh3/bwa}{\texttt{ bwa}}
\item \href{https://bedtools.readthedocs.io/en/latest/}{\texttt{ bedtools}}
\end{DoxyItemize}
\doxysubsection*{Call i\+SNVs from samples with unknown reference sequence}
\href{https://github.com/andersen-lab/ivar/tree/master/pipeline_field/}{\texttt{ Link to pipeline}}
\doxysubsubsection*{Dependencies\+:}
\begin{DoxyItemize}
\item \href{https://github.com/andersen-lab/ivar}{\texttt{ i\+Var}}
\item \href{https://htslib.org/}{\texttt{ samtools}}
\item \href{https://github.com/lh3/bwa}{\texttt{ bwa}}
\item \href{https://bedtools.readthedocs.io/en/latest/}{\texttt{ bedtools}}
\end{DoxyItemize}
|