NanoFilt command not found

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

Introduction

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

NanoFilt: command not found

or when using sudo you get the following error message

sudo: NanoFilt: command not found

Solutions to NanoFilt: command not found

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

In Ubuntu NanoFilt is provided by nanofilt package.

nanofilt is:

Filtering and trimming of long read sequencing data. Filtering on quality and/or read length, and optional trimming after passing filters. Reads from stdin, writes to stdout. Optionally reads directly from an uncompressed file specified on the command line.

Intended to be used:

  1. directly after fastq extraction.
  2. prior to mapping.
  3. in a stream between extraction and mapping.

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

sudo apt-get -y install nanofilt

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

You can also use apt command to install nanofilt.

sudo apt -y install nanofilt

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

sudo aptitude install nanofilt

Summary

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