bamgroupreads.py command not found

In this troubleshooting guide we learn how to fix bamgroupreads.py command not found error message

Introduction

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

bamgroupreads.py: command not found

or when using sudo you get the following error message

sudo: bamgroupreads.py: command not found

Solutions to bamgroupreads.py: command not found

How To Fix bamgroupreads.py: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bamgroupreads.py is provided by bamkit package.

bamkit is:

This package provides some Python3 tools for common BAM file manipulations.

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

sudo apt-get -y install bamkit

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

You can also use apt command to install bamkit.

sudo apt -y install bamkit

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

sudo aptitude install bamkit

Summary

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