tandem command not found

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

Introduction

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

tandem: command not found

or when using sudo you get the following error message

sudo: tandem: command not found

Solutions to tandem: command not found

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

In Ubuntu tandem is provided by tandem-mass package.

tandem-mass is:

X! Tandem can match tandem mass spectra with peptide sequences, in a process that is commonly used to perform protein identification.

This software has a very simple, unsophisticated application programming interface (API): it simply takes an XML file of instructions on its command line, and outputs the results into an XML file, which has been specified in the input XML file. The output file format is described at http://www.thegpm.org/docs/X_series_output_form.pdf.

Unlike some earlier generation search engines, all of the X! Series search engines calculate statistical confidence (expectation values) for all of the individual spectrum-to-sequence assignments. They also reassemble all of the peptide assignments in a data set onto the known protein sequences and assign the statistical confidence that this assembly and alignment is non-random. The formula for which can be found here. Therefore, separate assembly and statistical analysis software, e.g. PeptideProphet and ProteinProphet, do not need to be used.

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

sudo apt-get -y install tandem-mass

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

You can also use apt command to install tandem-mass.

sudo apt -y install tandem-mass

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

sudo aptitude install tandem-mass

Summary

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