How To Install BEDTools on CentOS 7

In this tutorial we learn how to install BEDTools on CentOS 7. BEDTools is A flexible suite of utilities for comparing genomic features

Introduction

In this tutorial we learn how to install BEDTools on CentOS 7.

What is BEDTools

The BEDTools utilities allow one to address common genomics tasks such as finding feature overlaps and computing coverage. The utilities are largely based on four widely-used file formats GFF/GTF, VCF, and SAM/BAM. Using BEDTools, one can develop sophisticated pipelines that answer complicated research questions by “streaming” several BEDTools together.

We can use yum or dnf to install BEDTools on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install BEDTools.

Install BEDTools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install BEDTools using yum by running the following command:

sudo yum -y install BEDTools

Install BEDTools 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 BEDTools using dnf by running the following command:

sudo dnf -y install BEDTools

How To Uninstall BEDTools on CentOS 7

To uninstall only the BEDTools package we can use the following command:

sudo dnf remove BEDTools

References

Summary

In this tutorial we learn how to install BEDTools on CentOS 7 using yum and dnf.