parsnp command not found

In this troubleshooting guide we learn how to fix parsnp command not found error message

Introduction

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

parsnp: command not found

or when using sudo you get the following error message

sudo: parsnp: command not found

Solutions to parsnp: command not found

How To Fix parsnp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu parsnp is provided by parsnp package.

parsnp is:

Parsnp was designed to align the core genome of hundreds to thousands of bacterial genomes within a few minutes to few hours. Input can be both draft assemblies and finished genomes, and output includes variant (SNP) calls, core genome phylogeny and multi-alignments. Parsnp leverages contextual information provided by multi-alignments surrounding SNP sites for filtration/cleaning, in addition to existing tools for recombination detection/filtration and phylogenetic reconstruction.

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

sudo apt-get -y install parsnp

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

You can also use apt command to install parsnp.

sudo apt -y install parsnp

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

sudo aptitude install parsnp

Summary

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