domainrep command not found

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

Introduction

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

domainrep: command not found

or when using sudo you get the following error message

sudo: domainrep: command not found

Solutions to domainrep: command not found

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

In Ubuntu domainrep is provided by embassy-domalign package.

embassy-domalign is:

The DOMALIGN programs were developed by Jon Ison and colleagues at MRC HGMP for their protein domain research. They are included as an EMBASSY package as a work in progress.

Applications in the current domalign release are allversusall (sequence similarity data from all-versus-all comparison), domainalign (generates alignments (DAF file) for nodes in a DCF file), domainrep (reorders DCF file to identify representative structures) and seqalign (extend alignments (DAF file) with sequences (DHF file)).

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

sudo apt-get -y install embassy-domalign

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

You can also use apt command to install embassy-domalign.

sudo apt -y install embassy-domalign

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

sudo aptitude install embassy-domalign

Summary

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