1 Installation {#installpage}
7 * [htslib](https://github.com/samtools/htslib)
11 It is highly recommended that [samtools](https://github.com/samtools/samtools) also be installed alongside iVar. iVar uses the output of samtools mpileup to call variants and generate consensus sequences. In addition, samtools `sort` and `index` commands are very useful to setup a pipeline using iVar.
16 To install ivar, run the following commands.
25 If htslib has been installed in a non standard location, please run,
29 ./configure --with-hts=/prefix/to/bin/folder/with/htslib
34 Also, please add the following to your .bashrc so that iVar can find htslib dynamic libraries during runtime.
37 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/hts/lib/folder
40 Installing [GNU Autotools](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html#Autotools-Introduction),
44 Using [homebrew](https://brew.sh/),
47 brew install autoconf automake libtool
52 Using [APT](https://help.ubuntu.com/lts/serverguide/apt.html) on Ubuntu,
55 apt-get install autotools-dev
58 For bug reports please email gkarthik[at]scripps.edu or raise an issue on Github.