How To Install miniasm on Ubuntu 22.04

In this tutorial we learn how to install miniasm on Ubuntu 22.04. miniasm is ultrafast de novo assembler for long noisy DNA sequencing reads

Introduction

In this tutorial we learn how to install miniasm on Ubuntu 22.04.

What is miniasm

miniasm is:

Miniasm is an experimental very fast OLC-based de novo assembler for noisy long reads. It takes all-vs-all read self-mappings (typically by minimap) as input and outputs an assembly graph in the GFA format. Different from mainstream assemblers, miniasm does not have a consensus step. It simply concatenates pieces of read sequences to generate the final unitig sequences. Thus the per-base error rate is similar to the raw input reads.

There are three methods to install miniasm 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 miniasm Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install miniasm

Install miniasm Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install miniasm

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

sudo aptitude -y install miniasm

How To Uninstall miniasm on Ubuntu 22.04

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

sudo apt-get remove miniasm

Uninstall miniasm And Its Dependencies

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

sudo apt-get -y autoremove miniasm

Remove miniasm Configurations and Data

To remove miniasm configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge miniasm

Remove miniasm configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge miniasm

References

Summary

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