density-fitness command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
density-fitness: command not found
or when using sudo you get the following error message
sudo: density-fitness: command not found
Solutions to density-fitness: command not found
How To Fix density-fitness: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu density-fitness is provided by density-fitness package.
density-fitness is:
The program density-fitness calculates electron density metrics, for main- (includes Cβ atom) and side-chain atoms of individual residues.
For this calculation, the program uses the structure model in either PDB or mmCIF format and the electron density from the 2mFo-DFc and mFo-DFc maps. If these maps are not readily available, the MTZ file and model can be used to calculate maps clipper. Density-fitness support both X-ray and electron diffraction data.
This program is essentially a reimplementation of edstats, a program available from the CCP4 suite. However, the output now contains only the RSR, SRSR and RSCC fields as in edstats with the addition of EDIAm and OPIA and no longer requires pre-calculated map coefficients.
To fix this problem, we can install more using the command below.
sudo apt-get -y install density-fitness
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install density-fitness.
sudo apt -y install density-fitness
Or if you have aptitude installed you can use the following command.
sudo aptitude install density-fitness
Summary
In this tutorial we learn how to fix density-fitness command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.