mecat2trimbases command not found

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

Introduction

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

mecat2trimbases: command not found

or when using sudo you get the following error message

sudo: mecat2trimbases: command not found

Solutions to mecat2trimbases: command not found

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

In Ubuntu mecat2trimbases is provided by mecat2 package.

mecat2 is:

An improved version of MECAT. It is an ultra-fast and accurate mapping and error correcting de novo assembly tools for single molecula sequencing (SMRT) reads. MECAT2 consists of the following three modules:

  1. mecat2map: a fast and accurate alignment tool for SMRT reads.
  2. mecat2cns: correct noisy reads based on their pairwise overlaps.
  3. fsa: a string graph based assembly tool.

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

sudo apt-get -y install mecat2

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

You can also use apt command to install mecat2.

sudo apt -y install mecat2

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

sudo aptitude install mecat2

Summary

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