canu command not found

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

Introduction

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

canu: command not found

or when using sudo you get the following error message

sudo: canu: command not found

Solutions to canu: command not found

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

In Ubuntu canu is provided by canu package.

canu is:

Canu is a fork of the Celera Assembler, designed for high-noise single-molecule sequencing (such as the PacBio RS II or Oxford Nanopore MinION).

Canu is a hierarchical assembly pipeline which runs in four steps:

  • Detect overlaps in high-noise sequences using MHAP
  • Generate corrected sequence consensus
  • Trim corrected sequences
  • Assemble trimmed corrected sequences

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

sudo apt-get -y install canu

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

You can also use apt command to install canu.

sudo apt -y install canu

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

sudo aptitude install canu

Summary

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