How To Install sprai on Debian 9

In this tutorial we learn how to install sprai on Debian 9. sprai is single-pass sequencing read accuracy improver

Introduction

In this tutorial we learn how to install sprai on Debian 9.

What is sprai

sprai is:

Sprai is a tool to correct sequencing errors in single-pass reads for de novo assembly. It is originally designed for correcting sequencing errors in single-molecule DNA sequencing reads, especially in Continuous Long Reads (CLRs) generated by PacBio RS sequencers. The goal of Sprai is not maximizing the accuracy of error-corrected reads. Instead, Sprai aims at maximizing the continuity (i.e., N50 contig length) of assembled contigs after error correction.

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

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

sudo apt-get update

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

sudo apt-get -y install sprai

Install sprai Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sprai

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

sudo aptitude -y install sprai

How To Uninstall sprai on Debian 9

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

sudo apt-get remove sprai

Uninstall sprai And Its Dependencies

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

sudo apt-get -y autoremove sprai

Remove sprai Configurations and Data

To remove sprai configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge sprai

Remove sprai configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sprai

Dependencies

sprai have the following dependencies:

References

Summary

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