nucmer2xfig command not found

In this troubleshooting guide we learn how to fix nucmer2xfig command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nucmer2xfig: command not found

or when using sudo you get the following error message

sudo: nucmer2xfig: command not found

Solutions to nucmer2xfig: command not found

How To Fix nucmer2xfig: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nucmer2xfig is provided by mummer package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mummer

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mummer.

sudo apt -y install mummer

Or if you have aptitude installed you can use the following command.

sudo aptitude install mummer

Summary

In this tutorial we learn how to fix nucmer2xfig command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.