How To Install wise on Ubuntu 18.04

In this tutorial we learn how to install wise on Ubuntu 18.04. wise is comparison of biopolymers, like DNA and protein sequences

Introduction

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

What is wise

wise is:

Wise2 is a package focused on comparisons of biopolymers, commonly DNA and protein sequences. There are many other packages which do this, probably the best known being BLAST package (from NCBI) and the Fasta package (from Bill Pearson). There are other packages, such as the HMMER package (Sean Eddy) or SAM package (UC Santa Cruz) focused on hidden Markov models (HMMs) of biopolymers.

Wise2’s particular forte is the comparison of DNA sequence at the level of its protein translation. This comparison allows the simultaneous prediction of say gene structure with homology based alignment.

Wise2 also contains other algorithms, such as the venerable Smith-Waterman algorithm, or more modern ones such as Stephen Altschul’s generalised gap penalties, or even experimental ones developed in house, such as dba. The development of these algorithms is due to the ease of developing such algorithms in the environment used by Wise2.

Wise2 has also been written with an eye for reuse and maintainability. Although it is a pure C package you can access its functionality directly in Perl. Parts of the package (or the entire package) can be used by other C or C++ programs without namespace clashes as all externally linked variables have the unique identifier Wise2 prepended.

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

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

sudo apt-get update

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

sudo apt-get -y install wise

Install wise Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install wise

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

sudo aptitude -y install wise

How To Uninstall wise on Ubuntu 18.04

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

sudo apt-get remove wise

Uninstall wise And Its Dependencies

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

sudo apt-get -y autoremove wise

Remove wise Configurations and Data

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

sudo apt-get -y purge wise

Remove wise configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge wise

References

Summary

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