seq-gen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
seq-gen: command not found
or when using sudo you get the following error message
sudo: seq-gen: command not found
Solutions to seq-gen: command not found
How To Fix seq-gen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu seq-gen is provided by seq-gen package.
seq-gen is:
Seq-Gen is a program that will simulate the evolution of nucleotide or amino acid sequences along a phylogeny, using common models of the substitution process. A range of models of molecular evolution are implemented including the general reversible model. State frequencies and other parameters of the model may be given and site-specific rate heterogeneity may also be incorporated in a number of ways. Any number of trees may be read in and the program will produce any number of data sets for each tree. Thus large sets of replicate simulations can be easily created. It has been designed to be a general purpose simulator that incorporates most of the commonly used (and computationally tractable) models of molecular sequence evolution.
To fix this problem, we can install more using the command below.
sudo apt-get -y install seq-gen
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install seq-gen.
sudo apt -y install seq-gen
Or if you have aptitude installed you can use the following command.
sudo aptitude install seq-gen
Summary
In this tutorial we learn how to fix seq-gen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.