How To Install python-pbalign on Ubuntu 18.04

In this tutorial we learn how to install python-pbalign on Ubuntu 18.04. python-pbalign is map Pacific Biosciences reads to reference DNA sequences (Python2)

Introduction

In this tutorial we learn how to install python-pbalign on Ubuntu 18.04.

What is python-pbalign

python-pbalign is:

pbalign aligns PacBio reads to reference sequences, filters aligned reads according to user-specific filtering criteria, and converts the output to either the SAM format or PacBio Compare HDF5 (e.g., .cmp.h5) format.

pbalign is part of the SMRTAnalysis suite. This package provides the Python library backend.

There are three methods to install python-pbalign on Ubuntu 18.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 python-pbalign Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-pbalign

Install python-pbalign Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pbalign

Install python-pbalign 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 python-pbalign using aptitude by running the following command:

sudo aptitude -y install python-pbalign

How To Uninstall python-pbalign on Ubuntu 18.04

To uninstall only the python-pbalign package we can use the following command:

sudo apt-get remove python-pbalign

Uninstall python-pbalign And Its Dependencies

To uninstall python-pbalign and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-pbalign

Remove python-pbalign Configurations and Data

To remove python-pbalign configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-pbalign

Remove python-pbalign configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-pbalign

References

Summary

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