Skip to main content
Texas Tech University

HMMER

Introduction

HMMER is a popular open-source implementation of profile Hidden Markov Models (HMM), widely used for sequence analysis of biomolecules. It is often used together with profile databases such as Pfam (protein families), Rfam (non-coding RNA families), and Dfam (repetitive DNA families). HMMER is developed and maintained by Prof. Sean Eddy (Harvard University).

Running HMMER in HPCC

Create a job submission script with the following content as a reference:

#!/bin/bash 
#SBATCH --job-name=hmmer_nocona
#SBATCH --output=%x.o%j 
#SBATCB --error=%x.e%j 
#SBATCH --partition=nocona 
#SBATCH --nodes=1 
#SBATCH --ntasks-per-node=4 
#SBATCH --time=10:00:00

module load aocc/4.2.0 openmpi/5.0.5 hmmer/3.4-mpi

# OpenMP setting:
export OMP_NUM_THREADS=1

# Run command to carry out search using hmmsearch binary
mpirun --bind-to core hmmsearch --mpi --cpu 0 -o output.out model.hmm sequence.fasta

Then submit this job using the sbatch command. Please make sure to edit the following Slurm parameters as needed:

Number of nodes (--nodes): If you want to scale out your job to run across multiple worker nodes.

Number of MPI tasks (--ntasks-per-node): We recommend setting this parameter to the maximum number of available CPU cores per node on each partition.

Wall time (--time): If your job won’t take longer than 10 hours, leave it as it is. Adjust the wall time based on how long you estimate your job will take.


Please contact HPCC support at hpccsupport@ttu.edu if you have any questions.