ssw-align command not found

In this troubleshooting guide we learn how to fix ssw-align command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ssw-align: command not found

or when using sudo you get the following error message

sudo: ssw-align: command not found

Solutions to ssw-align: command not found

How To Fix ssw-align: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ssw-align is provided by ssw-align package.

ssw-align is:

This package provides a command-line aligner based on the libssw library, a fast SIMD accelerated implementation of the Smith-Waterman algorithm. The input files can be in FASTA or FASTQ format. Both target and query files can contain multiple sequences. Each sequence in the query file will be aligned with all sequences in the target file. Output is provided in SAM or BLAST-like text format.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ssw-align

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ssw-align.

sudo apt -y install ssw-align

Or if you have aptitude installed you can use the following command.

sudo aptitude install ssw-align

Summary

In this tutorial we learn how to fix ssw-align command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.