nanopolish command not found

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

Introduction

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

nanopolish: command not found

or when using sudo you get the following error message

sudo: nanopolish: command not found

Solutions to nanopolish: command not found

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

In Ubuntu nanopolish is provided by nanopolish package.

nanopolish is:

Nanopolish uses a signal-level hidden Markov model for consensus calling of nanopore genome sequencing data. It can perform signal-level analysis of Oxford Nanopore sequencing data. Nanopolish can calculate an improved consensus sequence for a draft genome assembly, detect base modifications, call SNPs and indels with respect to a reference genome and more.

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

sudo apt-get -y install nanopolish

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

You can also use apt command to install nanopolish.

sudo apt -y install nanopolish

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

sudo aptitude install nanopolish

Summary

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