Installation

For the impatient

The latest source code can be downloaded from github using:

git clone --recurse-submodules https://github.com/samtools/htslib.git
git clone https://github.com/samtools/bcftools.git
cd bcftools
 # The following is optional:
 #   autoheader && autoconf && ./configure --enable-libgsl --enable-perl-filters
make
Important
In order to use the BCFtools plugins, this environment variable must be set and point to the correct location:
export BCFTOOLS_PLUGINS=/path/to/bcftools/plugins

Detailed instructions

If the simple copy and paste approach above did not work, see DETAILED INSTRUCTIONS.

Feedback

We welcome your feedback, please help us improve this page by either opening an issue on github or editing it directly and sending a pull request.