BaitFilter command not found

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

Introduction

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

BaitFilter: command not found

or when using sudo you get the following error message

sudo: BaitFilter: command not found

Solutions to BaitFilter: command not found

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

In Ubuntu BaitFilter is provided by baitfisher package.

baitfisher is:

The BaitFisher package consists of two programs: BaitFisher and BaitFilter.

BaitFisher was been designed to construct hybrid enrichment baits from multiple sequence alignments (MSAs) or annotated features in MSAs. The main goal of BaitFisher is to avoid redundancy in the construction of baits by designing fewer baits in conserved regions of the MSAs and designing more baits in variable regions. This makes use of the fact that hybrid enrichment baits can differ to some extends from the target region, which they should capture in the enrichment procedure. By specifying the allowed distance between baits and the sequences in the MSAs the user can control the allowed bait-to-target distance and the degree of reduction in the number of baits that are designed. See the BaitFisher paper for details.

BaitFilter was designed (i) to determine whether baits bind unspecifically to a reference genome, (ii) to filter baits that only have partial length matches to a reference genome, (iii) to determine the optimal bait region in a MSA and to convert baits to a format that can be uploaded at a bait constructing company. The optimal bait region can be the most conserved region in the MSA or the region with the highest number of sequences without gaps or ambiguous nucleotides.

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

sudo apt-get -y install baitfisher

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

You can also use apt command to install baitfisher.

sudo apt -y install baitfisher

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

sudo aptitude install baitfisher

Summary

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