seqmagick command not found

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

Introduction

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

seqmagick: command not found

or when using sudo you get the following error message

sudo: seqmagick: command not found

Solutions to seqmagick: command not found

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

In Ubuntu seqmagick is provided by seqmagick package.

seqmagick is:

Seqmagick is a little utility to expose the file format conversion in BioPython in a convenient way.

Features include:

  • Modifying sequences:
    • Remove gaps
    • Reverse & reverse complement
    • Trim to a range of residues
    • Change case
    • Sort by length or ID
  • Displaying information about sequence files
  • Subsetting sequence files by:
    • Position
    • ID
    • Deduplication
  • Filtering sequences by quality score
  • Trimming alignments to a region of interest defined by the forward and reverse primers

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

sudo apt-get -y install seqmagick

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

You can also use apt command to install seqmagick.

sudo apt -y install seqmagick

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

sudo aptitude install seqmagick

Summary

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