How To Install ncbi-seg on Kali Linux

In this tutorial we learn how to install ncbi-seg on Kali Linux. ncbi-seg is tool to mask segments of low compositional complexity in amino acid sequences

Introduction

In this tutorial we learn how to install ncbi-seg on Kali Linux.

What is ncbi-seg

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.

There are three methods to install ncbi-seg on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ncbi-seg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ncbi-seg using apt-get by running the following command:

sudo apt-get -y install ncbi-seg

Install ncbi-seg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ncbi-seg using apt by running the following command:

sudo apt -y install ncbi-seg

Install ncbi-seg Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ncbi-seg using aptitude by running the following command:

sudo aptitude -y install ncbi-seg

How To Uninstall ncbi-seg on Kali Linux

To uninstall only the ncbi-seg package we can use the following command:

sudo apt-get remove ncbi-seg

Uninstall ncbi-seg And Its Dependencies

To uninstall ncbi-seg and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove ncbi-seg

Remove ncbi-seg Configurations and Data

To remove ncbi-seg configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ncbi-seg

Remove ncbi-seg configuration, data, and all of its dependencies

We can use the following command to remove ncbi-seg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ncbi-seg

Dependencies

ncbi-seg have the following dependencies:

References

Summary

In this tutorial we learn how to install ncbi-seg package on Kali Linux using different package management tools: apt, apt-get and aptitude.