How To Install brig on Ubuntu 20.04

In this tutorial we learn how to install brig on Ubuntu 20.04. brig is BLAST Ring Image Generator

Introduction

In this tutorial we learn how to install brig on Ubuntu 20.04.

What is brig

brig is:

BRIG can display circular comparisons between a large number of genomes, with a focus on handling genome assembly data.

  • Images show similarity between a central reference sequence and other sequences as concentric rings.
  • BRIG will perform all BLAST comparisons and file parsing automatically via a simple GUI.
  • Contig boundaries and read coverage can be displayed for draft genomes; customized graphs and annotations can be displayed.
  • Using a user-defined set of genes as input, BRIG can display gene presence, absence, truncation or sequence variation in a set of complete genomes, draft genomes or even raw, unassembled sequence data.
  • BRIG also accepts SAM-formatted read-mapping files enabling genomic regions present in unassembled sequence data from multiple samples to be compared simultaneously

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

Install brig Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install brig

Install brig Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install brig using apt by running the following command:

sudo apt -y install brig

Install brig Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install brig

How To Uninstall brig on Ubuntu 20.04

To uninstall only the brig package we can use the following command:

sudo apt-get remove brig

Uninstall brig And Its Dependencies

To uninstall brig and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove brig

Remove brig Configurations and Data

To remove brig configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge brig

Remove brig configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge brig

References

Summary

In this tutorial we learn how to install brig package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.