vcfstreamsort command not found

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

Introduction

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

vcfstreamsort: command not found

or when using sudo you get the following error message

sudo: vcfstreamsort: command not found

Solutions to vcfstreamsort: command not found

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

In Ubuntu vcfstreamsort is provided by libvcflib-tools package.

libvcflib-tools is:

The Variant Call Format (VCF) is a flat-file, tab-delimited textual format intended to concisely describe reference-indexed variations between individuals. VCF provides a common interchange format for the description of variation in individuals and populations of samples, and has become the defacto standard reporting format for a wide array of genomic variant detectors.

vcflib provides methods to manipulate and interpret sequence variation as it can be described by VCF. It is both:

  • an API for parsing and operating on records of genomic variation as it can be described by the VCF format,
  • and a collection of command-line utilities for executing complex manipulations on VCF files.

This package contains several tools using the library.

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

sudo apt-get -y install libvcflib-tools

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

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

sudo apt -y install libvcflib-tools

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

sudo aptitude install libvcflib-tools

Summary

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