cooler command not found

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

Introduction

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

cooler: command not found

or when using sudo you get the following error message

sudo: cooler: command not found

Solutions to cooler: command not found

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

In Ubuntu cooler is provided by python3-cooler package.

python3-cooler is:

Cooler is a support library for a sparse, compressed, binary persistent storage format, also called cooler, used to store genomic interaction data, such as Hi-C contact matrices.

The cooler file format is an implementation of a genomic matrix data model using HDF5 as the container format. The cooler package includes a suite of command line tools and a Python API to facilitate creating, querying and manipulating cooler files.

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

sudo apt-get -y install python3-cooler

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

You can also use apt command to install python3-cooler.

sudo apt -y install python3-cooler

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

sudo aptitude install python3-cooler

Summary

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