mpialign command not found

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

Introduction

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

mpialign: command not found

or when using sudo you get the following error message

sudo: mpialign: command not found

Solutions to mpialign: command not found

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

In Ubuntu mpialign is provided by zalign package.

zalign is:

zAlign is a local sequence aligner, especially intended for use with large biological DNA sequences, with more than 1Mbp (Millions of base pairs). It uses the Smith-Waterman exact algorithm with affine gap cost function to perform this task.

zAlign can be used both in distributed (clusters, for example) or standalone environments. Currently it has been tested on Linux and Sun Solaris, using both the MPICH (http://www.mcs.anl.gov/research/projects/mpi/mpich1/) and OpenMPI (http://www.open-mpi.org/) implementations. Ports for other Unix-like environments are highly considered.

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

sudo apt-get -y install zalign

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

You can also use apt command to install zalign.

sudo apt -y install zalign

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

sudo aptitude install zalign

Summary

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