How To Install beagle-doc on Ubuntu 22.04

In this tutorial we learn how to install beagle-doc on Ubuntu 22.04. beagle-doc is Documentation for Beagle

Introduction

In this tutorial we learn how to install beagle-doc on Ubuntu 22.04.

What is beagle-doc

beagle-doc is:

Beagle performs genotype calling, genotype phasing, imputation of ungenotyped markers, and identity-by-descent segment detection. Genotypic imputation works on phased haplotypes using a Li and Stephens haplotype frequency model. Beagle also implements the Refined IBD algorithm for detecting homozygosity-by-descent (HBD) and identity-by-descent (IBD) segments.

This package includes the Beagle API javadocs, and examples.

There are three methods to install beagle-doc on Ubuntu 22.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 beagle-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install beagle-doc

Install beagle-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install beagle-doc

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

sudo aptitude -y install beagle-doc

How To Uninstall beagle-doc on Ubuntu 22.04

To uninstall only the beagle-doc package we can use the following command:

sudo apt-get remove beagle-doc

Uninstall beagle-doc And Its Dependencies

To uninstall beagle-doc and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove beagle-doc

Remove beagle-doc Configurations and Data

To remove beagle-doc configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge beagle-doc

Remove beagle-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge beagle-doc

References

Summary

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