biomaj_migrate_database.py command not found

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

Introduction

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

biomaj_migrate_database.py: command not found

or when using sudo you get the following error message

sudo: biomaj_migrate_database.py: command not found

Solutions to biomaj_migrate_database.py: command not found

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

In Ubuntu biomaj_migrate_database.py is provided by python3-biomaj3 package.

python3-biomaj3 is:

BioMAJ downloads remote data banks, checks their status and applies transformation workflows, with consistent state, to provide ready-to-use data for biologists and bioinformaticians. For example, it can transform original FASTA files into BLAST indexes. It is very flexible and its post-processing facilities can be extended very easily.

BioMAJ3 is a rewrite of BioMAJ v1.x, see online documentation for migration.

This package contains the library to manage the workflow update in BioMAJ3, it is managed via python3-biomaj3-daemon (for microservices remote operations) or biomaj3-cli (local or remote) packages

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

sudo apt-get -y install python3-biomaj3

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

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

sudo apt -y install python3-biomaj3

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

sudo aptitude install python3-biomaj3

Summary

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