How To Install python-pbh5tools on Debian 9

In this tutorial we learn how to install python-pbh5tools on Debian 9. python-pbh5tools is tools for manipulating Pacific Biosciences HDF5 files – Python 2 library

Introduction

In this tutorial we learn how to install python-pbh5tools on Debian 9.

What is python-pbh5tools

python-pbh5tools is:

This package provides functionality for manipulating and extracting data from cmp.h5 and bas.h5 files produced by the Pacific Biosciences sequencers. cmp.h5 files contain alignment information while bas.h5 files contain base-call information.

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

There are three methods to install python-pbh5tools on Debian 9. 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-pbh5tools 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-pbh5tools using apt-get by running the following command:

sudo apt-get -y install python-pbh5tools

Install python-pbh5tools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pbh5tools

Install python-pbh5tools 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install python-pbh5tools

How To Uninstall python-pbh5tools on Debian 9

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

sudo apt-get remove python-pbh5tools

Uninstall python-pbh5tools And Its Dependencies

To uninstall python-pbh5tools and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-pbh5tools

Remove python-pbh5tools Configurations and Data

To remove python-pbh5tools configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-pbh5tools

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

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

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

Dependencies

python-pbh5tools have the following dependencies:

References

Summary

In this tutorial we learn how to install python-pbh5tools package on Debian 9 using different package management tools: apt, apt-get and aptitude.