How To Install mummer on Ubuntu 22.04

In this tutorial we learn how to install mummer on Ubuntu 22.04. mummer is Efficient sequence alignment of full genomes

Introduction

In this tutorial we learn how to install mummer on Ubuntu 22.04.

What is mummer

mummer is:

MUMmer is a system for rapidly aligning entire genomes, whether in complete or draft form. For example, MUMmer 3.0 can find all 20-basepair or longer exact matches between a pair of 5-megabase genomes in 13.7 seconds, using 78 MB of memory, on a 2.4 GHz Linux desktop computer. MUMmer can also align incomplete genomes; it handles the 100s or 1000s of contigs from a shotgun sequencing project with ease, and will align them to another set of contigs or a genome using the NUCmer program included with the system. If the species are too divergent for DNA sequence alignment to detect similarity, then the PROmer program can generate alignments based upon the six-frame translations of both input sequences.

There are three methods to install mummer on Ubuntu 22.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 mummer Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mummer

Install mummer Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mummer

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

sudo aptitude -y install mummer

How To Uninstall mummer on Ubuntu 22.04

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

sudo apt-get remove mummer

Uninstall mummer And Its Dependencies

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

sudo apt-get -y autoremove mummer

Remove mummer Configurations and Data

To remove mummer configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge mummer

Remove mummer configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mummer

References

Summary

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