minimap command not found

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

Introduction

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

minimap: command not found

or when using sudo you get the following error message

sudo: minimap: command not found

Solutions to minimap: command not found

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

In Ubuntu minimap is provided by minimap package.

minimap is:

Minimap is an experimental tool to efficiently find multiple approximate mapping positions between two sets of long biological sequences, such as between DNA reads and reference genomes, between genomes and between long noisy reads. Minimap does not generate alignments as of now and because of this, it is usually tens of times faster than mainstream aligners. It does not replace mainstream aligners, but it can be useful when you want to quickly identify long approximate matches at moderate divergence among a huge collection of sequences. For this task, it is much faster than most existing tools.

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

sudo apt-get -y install minimap

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

You can also use apt command to install minimap.

sudo apt -y install minimap

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

sudo aptitude install minimap

Summary

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