subread-buildindex command not found

In this troubleshooting guide we learn how to fix subread-buildindex command not found error message

Introduction

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

subread-buildindex: command not found

or when using sudo you get the following error message

sudo: subread-buildindex: command not found

Solutions to subread-buildindex: command not found

How To Fix subread-buildindex: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu subread-buildindex is provided by subread package.

subread is:

Subread aligner can be used to align both gDNA-seq and RNA-seq reads. Subjunc aligner was specified designed for the detection of exon-exon junction. For the mapping of RNA-seq reads, Subread performs local alignments and Subjunc performs global alignments.

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

sudo apt-get -y install subread

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

You can also use apt command to install subread.

sudo apt -y install subread

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

sudo aptitude install subread

Summary

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