fastahack command not found

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

Introduction

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

fastahack: command not found

or when using sudo you get the following error message

sudo: fastahack: command not found

Solutions to fastahack: command not found

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

In Ubuntu fastahack is provided by fastahack package.

fastahack is:

fastahack is a small application for indexing and extracting sequences and subsequences from FASTA files. The included Fasta.cpp library provides a FASTA reader and indexer that can be embedded into applications which would benefit from directly reading subsequences from FASTA files. The library automatically handles index file generation and use.

Features:

  • FASTA index (.fai) generation for FASTA files
  • Sequence extraction
  • Subsequence extraction
  • Sequence statistics (currently only entropy is provided)

Sequence and subsequence extraction use fseek64 to provide fastest-possible extraction without RAM-intensive file loading operations. This makes fastahack a useful tool for bioinformaticists who need to quickly extract many subsequences from a reference FASTA sequence.

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

sudo apt-get -y install fastahack

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

You can also use apt command to install fastahack.

sudo apt -y install fastahack

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

sudo aptitude install fastahack

Summary

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