hmm2convert command not found

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

Introduction

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

hmm2convert: command not found

or when using sudo you get the following error message

sudo: hmm2convert: command not found

Solutions to hmm2convert: command not found

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

In Ubuntu hmm2convert is provided by hmmer2 package.

hmmer2 is:

HMMER is an implementation of profile hidden Markov model methods for sensitive searches of biological sequence databases using multiple sequence alignments as queries.

Given a multiple sequence alignment as input, HMMER builds a statistical model called a “hidden Markov model” which can then be used as a query into a sequence database to find (and/or align) additional homologues of the sequence family.

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

sudo apt-get -y install hmmer2

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

You can also use apt command to install hmmer2.

sudo apt -y install hmmer2

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

sudo aptitude install hmmer2

Summary

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