AssignGenes.py command not found

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

Introduction

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

AssignGenes.py: command not found

or when using sudo you get the following error message

sudo: AssignGenes.py: command not found

Solutions to AssignGenes.py: command not found

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

In Ubuntu AssignGenes.py is provided by changeo package.

changeo is:

Change-O is a collection of tools for processing the output of V(D)J alignment tools, assigning clonal clusters to immunoglobulin (Ig) sequences, and reconstructing germline sequences.

Dramatic improvements in high-throughput sequencing technologies now enable large-scale characterization of Ig repertoires, defined as the collection of trans-membrane antigen-receptor proteins located on the surface of B cells and T cells. Change-O is a suite of utilities to facilitate advanced analysis of Ig and TCR sequences following germline segment assignment. Change-O handles output from IMGT/HighV-QUEST and IgBLAST, and provides a wide variety of clustering methods for assigning clonal groups to Ig sequences. Record sorting, grouping, and various database manipulation operations are also included.

This package installs the library for Python 3.

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

sudo apt-get -y install changeo

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

You can also use apt command to install changeo.

sudo apt -y install changeo

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

sudo aptitude install changeo

Summary

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