How To Install bcftools on CentOS 7
Introduction
In this tutorial we learn how to install bcftools
on CentOS 7.
What is bcftools
BCFtools is a set of utilities that manipulate genomic 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. (This BCFtools includes the polysomy subcommand, which is implemented using the GNU Scientific Library. Hence this package is licensed according to the GNU General Public License, rather than the MIT license used when BCFtools is built without the polysomy subcommand.)
We can use yum
or dnf
to install bcftools
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install bcftools.
Install bcftools on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install bcftools
using yum
by running the following command:
sudo yum -y install bcftools
Install bcftools on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install bcftools
using dnf
by running the following command:
sudo dnf -y install bcftools
How To Uninstall bcftools on CentOS 7
To uninstall only the bcftools
package we can use the following command:
sudo dnf remove bcftools
References
Summary
In this tutorial we learn how to install bcftools
on CentOS 7 using yum
and dnf
.