Debian Codegraph @

README

raw
1 iVar
2 ===========
3
4 iVar is a computational package that contains functions broadly useful for viral amplicon-based sequencing. Additional tools for metagenomic sequencing are actively being incorporated into iVar. While each of these functions can be accomplished using existing tools, iVar contains an intersection of functionality from multiple tools that are required to call iSNVs and consensus sequences from viral sequencing data across multiple replicates. We implemented the following functions in iVar: (1) trimming of primers and low-quality bases, (2) consensus calling, (3) variant calling - both iSNVs and insertions/deletions, and (4) identifying mismatches to primer sequences and excluding the corresponding reads from alignment files.
5
6 ## [Manual](https://andersen-lab.github.io/ivar/html/)
7
8 ## Installation
9
10 ### Dependencies
11
12 * [htslib](http://www.htslib.org/download/)
13 * [Awk](https://www.cs.princeton.edu/~bwk/btl.mirror/) - Pre-installed on most UNIX systems.
14
15 Note:
16 * 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.
17
18
19 ### Installing on Mac
20
21 [GNU Autotools](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html#Autotools-Introduction) is required to compile iVar from source.
22
23 To install Autotools using [homebrew](https://brew.sh/) please use the command below,
24
25 ```
26 brew install autoconf automake libtool
27 ```
28
29 To install iVar, run the following commands.
30
31 ```
32 ./autogen.sh
33 ./configure
34 make
35 make install
36 ```
37
38 If htslib has been installed in a non standard location, please run the following commands,
39
40 ```
41 ./autogen.sh
42 ./configure --with-hts=/prefix/to/bin/folder/with/htslib
43 make
44 make install
45 ```
46
47 If htslib is installed in a non standard location, please add the following to your .bash_profile so that iVar can find htslib dynamic libraries during runtime.
48
49 ```
50 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/hts/lib/folder
51 ```
52
53 To test installation just run, `ivar version` and you should get the following output,
54
55 ```
56 iVar version 1.0
57
58 Please raise issues and bug reports at https://github.com/andersen-lab/ivar/
59 ```
60
61 ### Installing on Linux
62
63 [GNU Autotools](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html#Autotools-Introduction) is required to compile iVar from source.
64
65 To install Autotools using [APT](https://help.ubuntu.com/lts/serverguide/apt.html) please use the command below,
66
67 ```
68 apt-get install autotools-dev
69 ```
70
71 To install iVar, run the following commands.
72
73 ```
74 ./autogen.sh
75 ./configure
76 make
77 make install
78 ```
79
80 If htslib has been installed in a non standard location, please run,
81
82 ```
83 ./autogen.sh
84 ./configure --with-hts=/prefix/to/bin/folder/with/htslib
85 make
86 make install
87 ```
88
89 If htslib is installed in a non standard location, please add the following to your .bashrc so that iVar can find htslib dynamic libraries during runtime.
90
91 ```
92 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/hts/lib/folder
93 ```
94
95 To test installation just run, `ivar version` and you should get the following output,
96
97 ```
98 iVar version 1.0
99
100 Please raise issues and bug reports at https://github.com/andersen-lab/ivar/
101 ```
102
103 ### Contact
104
105 For bug reports please email gkarthik[at]scripps.edu or raise an issue on Github.