lighter command not found

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

Introduction

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

lighter: command not found

or when using sudo you get the following error message

sudo: lighter: command not found

Solutions to lighter: command not found

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

In Ubuntu lighter is provided by lighter package.

lighter is:

Lighter is a fast, memory-efficient tool for correcting sequencing errors. Lighter avoids counting k-mers. Instead, it uses a pair of Bloom filters, one holding a sample of the input k-mers and the other holding k-mers likely to be correct. As long as the sampling fraction is adjusted in inverse proportion to the depth of sequencing, Bloom filter size can be held constant while maintaining near-constant accuracy. Lighter is parallelized, uses no secondary storage, and is both faster and more memory-efficient than competing approaches while achieving comparable accuracy.

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

sudo apt-get -y install lighter

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

You can also use apt command to install lighter.

sudo apt -y install lighter

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

sudo aptitude install lighter

Summary

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