ivar command not found

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

Introduction

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

ivar: command not found

or when using sudo you get the following error message

sudo: ivar: command not found

Solutions to ivar: command not found

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

In Ubuntu ivar is provided by ivar package.

ivar is:

iVar is a computational package that contains functions broadly useful for viral amplicon-based sequencing. Additional tools for metagenomic sequencing are actively being incorporated into iVar. While each of these functions can be accomplished using existing tools, iVar contains an intersection of functionality from multiple tools that are required to call iSNVs and consensus sequences from viral sequencing data across multiple replicates. iVar provided the following functions:

  1. trimming of primers and low-quality bases,
  2. consensus calling,
  3. variant calling - both iSNVs and insertions/deletions, and
  4. identifying mismatches to primer sequences and excluding the corresponding reads from alignment files.

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

sudo apt-get -y install ivar

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

You can also use apt command to install ivar.

sudo apt -y install ivar

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

sudo aptitude install ivar

Summary

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