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