bp_flanks command not found

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

Introduction

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

bp_flanks: command not found

or when using sudo you get the following error message

sudo: bp_flanks: command not found

Solutions to bp_flanks: command not found

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

In Ubuntu bp_flanks is provided by libbio-variation-perl package.

libbio-variation-perl is:

The code in this distribution focuses on simple low-dependency variant-related functionality for BioPerl.

Bio::Variation name space contains modules to store sequence variation information as differences between the reference sequence and changes sequences. Also included are classes to write out and recrete objects from EMBL-like flat files and XML. Lastly, there are simple classes to calculate values for sequence change objects.

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

sudo apt-get -y install libbio-variation-perl

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

You can also use apt command to install libbio-variation-perl.

sudo apt -y install libbio-variation-perl

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

sudo aptitude install libbio-variation-perl

Summary

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