pyensembl command not found

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

Introduction

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

pyensembl: command not found

or when using sudo you get the following error message

sudo: pyensembl: command not found

Solutions to pyensembl: command not found

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

In Ubuntu pyensembl is provided by pyensembl package.

pyensembl is:

The Ensembl genome database is an established reference for genomic sequences and their automated annotation. To have this data local has advantages for bulk analyses, e.g. for the mapping of reads from RNA-seq against the latest golden path - or a previous one to compare analyses.

This package provides a reproducible way to insatll this data and thus simplify the automation of respective workflows.

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

sudo apt-get -y install pyensembl

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

You can also use apt command to install pyensembl.

sudo apt -y install pyensembl

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

sudo aptitude install pyensembl

Summary

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