How To Install minimac4 on Debian 10

In this tutorial we learn how to install minimac4 on Debian 10. minimac4 is Fast Imputation Based on State Space Reduction HMM

Introduction

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

What is minimac4

Minimac4 is a lower memory and more computationally efficient implementation of “minimac2/3”. It is an algorithm for genotypic imputation that works on phased genotypes (say from MaCH). . Minimac4 is designed to handle very large reference panels in a more computationally efficient way with no loss of accuracy. This algorithm analyzes only the unique sets of haplotypes in small genomic segments, thereby saving on time-complexity, computational memory but no loss in degree of accuracy.

There are three ways to install minimac4 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 minimac4 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install minimac4

Install minimac4 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install minimac4

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

sudo aptitude -y install minimac4

How To Uninstall minimac4 on Debian 10

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

sudo apt-get remove minimac4

Uninstall minimac4 And Its Dependencies

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

sudo apt-get -y autoremove minimac4

Remove minimac4 Configurations and Data

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

sudo apt-get -y purge minimac4

Remove minimac4 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge minimac4

References

Summary

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