assembly-stats command not found

In this troubleshooting guide we learn how to fix assembly-stats command not found error message

Introduction

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

assembly-stats: command not found

or when using sudo you get the following error message

sudo: assembly-stats: command not found

Solutions to assembly-stats: command not found

How To Fix assembly-stats: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu assembly-stats is provided by assembly-stats package.

assembly-stats is:

Get statistics from a list of files.

Detection of FASTA or FASTQ format of each file is automatic from the file contents, so file names and extensions are irrelevant.

The default output format is human readable. You can change the output format and ignore sequences shorter than a given length.

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

sudo apt-get -y install assembly-stats

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

You can also use apt command to install assembly-stats.

sudo apt -y install assembly-stats

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

sudo aptitude install assembly-stats

Summary

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