User Tools

Site Tools


This is an old revision of the document!


BCFtools implements utilities for variant calling (in conjunction with SAMtools) and manipulating VCF and BCF files. The program is intended to replace the Perl-based tools from vcftools.



See versions of bcftools which are available:

$ module avail bcftools

Load one version into your environment:

$ module load bcftools/1.13


Notes from the sysadmin during installation:

$ cd /tmp
$ wget
$ tar xf bcftools-1.13.tar.bz2 
$ cd bcftools-1.13
# install a newer compiler from Red Hat software collections
$ sudo yum install devtoolset-7-gcc devtoolset-7-gcc-gfortran devtoolset-7-libquadmath-devel devtoolset-7-gcc-c++
$ scl enable devtoolset-7 bash
$ ./configure --enable-plugins --enable-libcurl --prefix=/export/apps/bcftools/1.13 --with-htslib=/export/apps/htslib/1.13
$ make
$ sudo mkdir -p /export/apps/bcftools/1.13
$ sudo chown aorth /export/apps/bcftools/1.13
$ make install
sudo chown -R root:root /export/apps/bcftools/1.13

This links bcftools against a system-wide installation of htslib/1.13.

bcftools-software.1630838949.txt.gz · Last modified: 2021/09/05 10:49 by aorth