codonw-dinuc command not found

In this troubleshooting guide we learn how to fix codonw-dinuc command not found error message

Introduction

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

codonw-dinuc: command not found

or when using sudo you get the following error message

sudo: codonw-dinuc: command not found

Solutions to codonw-dinuc: command not found

How To Fix codonw-dinuc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu codonw-dinuc is provided by codonw package.

codonw is:

CodonW is a package for codon usage analysis. It was designed to simplify Multivariate Analysis (MVA) of codon usage. The MVA method employed in CodonW is correspondence analysis (COA) (the most popular MVA method for codon usage analysis). CodonW can generate a COA for codon usage, relative synonymous codon usage or amino acid usage. Additional analyses of codon usage include investigation of optimal codons, codon and dinucleotide bias, and/or base composition. CodonW analyses sequences encoded by genetic codes other than the universal code.

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

sudo apt-get -y install codonw

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

You can also use apt command to install codonw.

sudo apt -y install codonw

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

sudo aptitude install codonw

Summary

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