unicycler_scrub command not found

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

Introduction

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

unicycler_scrub: command not found

or when using sudo you get the following error message

sudo: unicycler_scrub: command not found

Solutions to unicycler_scrub: command not found

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

In Ubuntu unicycler_scrub is provided by unicycler package.

unicycler is:

Unicycler is an assembly pipeline for bacterial genomes. It can assemble Illumina-only read sets where it functions as a SPAdes-optimiser. It can also assembly long-read-only sets (PacBio or Nanopore) where it runs a miniasm+Racon pipeline. For the best possible assemblies, give it both Illumina reads and long reads, and it will conduct a hybrid assembly.

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

sudo apt-get -y install unicycler

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

You can also use apt command to install unicycler.

sudo apt -y install unicycler

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

sudo aptitude install unicycler

Summary

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