covtobed command not found

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

Introduction

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

covtobed: command not found

or when using sudo you get the following error message

sudo: covtobed: command not found

Solutions to covtobed: command not found

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

In Ubuntu covtobed is provided by covtobed package.

covtobed is:

Reads one (or more) alignment files (sorted BAM) and prints a BED with the coverage. It will join consecutive bases with the same coverage, and can be used to only print a BED file with the regions having a specific coverage range.

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

sudo apt-get -y install covtobed

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

You can also use apt command to install covtobed.

sudo apt -y install covtobed

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

sudo aptitude install covtobed

Summary

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