How To Install macs on Debian 10

Learn how to install macs on Debian 10 with this tutorial. macs is Model-based Analysis of ChIP-Seq on short reads sequencers

Introduction

In this tutorial we learn how to install macs on Debian 10.

What is macs

macs is:

MACS empirically models the length of the sequenced ChIP fragments, which tends to be shorter than sonication or library construction size estimates, and uses it to improve the spatial resolution of predicted binding sites. MACS also uses a dynamic Poisson distribution to effectively capture local biases in the genome sequence, allowing for more sensitive and robust prediction. MACS compares favorably to existing ChIP-Seq peak-finding algorithms, is publicly available open source, and can be used for ChIP-Seq with or without control samples.

There are three methods to install macs on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install macs Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install macs using apt-get by running the following command:

sudo apt-get -y install macs

Install macs Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install macs using apt by running the following command:

sudo apt -y install macs

Install macs Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install macs using aptitude by running the following command:

sudo aptitude -y install macs

How To Uninstall macs on Debian 10

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

sudo apt-get remove macs

Uninstall macs And Its Dependencies

To uninstall macs and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove macs

Remove macs Configurations and Data

To remove macs configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge macs

Remove macs configuration, data, and all of its dependencies

We can use the following command to remove macs configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge macs

Dependencies

macs have the following dependencies:

References

Summary

In this tutorial we learn how to install macs package on Debian 10 using different package management tools: apt, apt-get and aptitude.