msSingleScan command not found

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

Introduction

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

msSingleScan: command not found

or when using sudo you get the following error message

sudo: msSingleScan: command not found

Solutions to msSingleScan: command not found

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

In Ubuntu msSingleScan is provided by libmstoolkit-tools package.

libmstoolkit-tools is:

The MSToolkit is a light-weight C++ library for reading, writing, and manipulating mass spectrometry data. The MSToolkit is easily linked to virtually any C++ algorithm for simple, fast file reading and analysis.

Supported File Formats:

  • read-only mzML including internal compression (zlib and numpress) and external compression (.mzML.gz) read-only;
  • read-only mzXML including internal compression (zlib) and external compression (.mzXML.gz)
  • read/write mgf, ms1, ms2, bms1, bms2, cms1, cms2

Simple Interface:

  • Open any file format from a single function call;
  • Store any spectrum in a simple, comprehensive data structure;
  • Sequential or random-access file reading.

This package ships a MS/MS spectrum loader tool.

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

sudo apt-get -y install libmstoolkit-tools

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

You can also use apt command to install libmstoolkit-tools.

sudo apt -y install libmstoolkit-tools

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

sudo aptitude install libmstoolkit-tools

Summary

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