ncbi-seg command not found

In this troubleshooting guide we learn how to fix ncbi-seg command not found error message

Introduction

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

ncbi-seg: command not found

or when using sudo you get the following error message

sudo: ncbi-seg: command not found

Solutions to ncbi-seg: command not found

How To Fix ncbi-seg: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ncbi-seg is provided by ncbi-seg package.

ncbi-seg is:

ncbi-seg (a.k.a. SEG) is a program for identifying and masking segments of low compositional complexity in amino acid sequences.

ncbi-seg divides sequences into contrasting segments of low-complexity and high-complexity. Low-complexity segments defined by the algorithm represent “simple sequences” or “compositionally-biased regions”.

This program is inappropriate for masking nucleotide sequences and, in fact, may strip some nucleotide ambiguity codes from nt. sequences as they are being read.

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

sudo apt-get -y install ncbi-seg

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

You can also use apt command to install ncbi-seg.

sudo apt -y install ncbi-seg

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

sudo aptitude install ncbi-seg

Summary

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