How To Install eigensoft on Ubuntu 18.04

In this tutorial we learn how to install eigensoft on Ubuntu 18.04. eigensoft is reduction of population bias for genetic analyses

Introduction

In this tutorial we learn how to install eigensoft on Ubuntu 18.04.

What is eigensoft

eigensoft is:

The EIGENSOFT package combines functionality from the group’s population genetics methods (Patterson et al. 2006) and their EIGENSTRAT stratification method (Price et al. 2006). The EIGENSTRAT method uses principal components analysis to explicitly model ancestry differences between cases and controls along continuous axes of variation; the resulting correction is specific to a candidate marker’s variation in frequency across ancestral populations, minimizing spurious associations while maximizing power to detect true associations. The EIGENSOFT package has a built-in plotting script and supports multiple file formats and quantitative phenotypes.

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

Install eigensoft Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install eigensoft

Install eigensoft Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install eigensoft

Install eigensoft 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install eigensoft

How To Uninstall eigensoft on Ubuntu 18.04

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

sudo apt-get remove eigensoft

Uninstall eigensoft And Its Dependencies

To uninstall eigensoft and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove eigensoft

Remove eigensoft Configurations and Data

To remove eigensoft configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge eigensoft

Remove eigensoft configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge eigensoft

References

Summary

In this tutorial we learn how to install eigensoft package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.