Minnesota Supercomputing Institute
1.9, 1.10.2, 0.2.0, 1.2, 1.6
Wednesday, July 8, 2020
0.2.0, 1.2, 1.6
Thursday, October 19, 2017
BCFtools are meant as a faster replacement for most of the perl VCFTools commands.
Bcftools is a set of utilities that manipulate variant calls in the Variant Call Format (VCF) and its binary counterpart BCF. All commands work transparently with both VCFs and BCFs, both uncompressed and BGZF-compressed.
Most commands accept VCF, bgzipped VCF and BCF with filetype detected automatically even when streaming from a pipe. Indexed VCF and BCF will work in all situations. Un-indexed VCF and BCF and streams will work in most, but not all situations.
Bcftools is designed to work on a stream. It regards an input file "-" as the standard input (stdin) and outputs to the standard output (stdout). Several commands can thus be combined with Unix pipes.
To run this software interactively in a Linux environment run the commands:
module load bcftools
Several versions of bcftools may be available, and the versions may be different on different platforms.To list all versions available on the machine, type
module avail bcftools
#SBATCH -p small,large,ram256g,ram1t
module load bcftools/1.6
bcftools query -l example.vcf