hmmscan
Quick Start
- Command:
hmmscan [-options] <hmmdb> <seqfile> - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/hmmscan - Version: HMMER 3.4
- Full reference: See references/help.md for detailed options
When To Use This Tool
- Annotate protein sequences against an HMM database such as Pfam.
- Find domains or families for many query proteins at once.
- Prefer
hmmscanwhen the query is sequence and the target is the HMM database. - Press the HMM database first with
hmmpressfor faster repeated scans.
Common Patterns
# 1) Scan proteins against a pressed HMM database
hmmscan \
--tblout hits.tbl \
--domtblout domains.tbl \
--cpu 8 \
Pfam-A.hmm \
proteins.fa
# 2) Use curated gathering thresholds from the database
hmmscan \
--cut_ga \
--domtblout domains.tbl \
Pfam-A.hmm \
proteins.fa
# 3) Produce smaller text output while keeping parseable tables
hmmscan \
--noali \
--tblout hits.tbl \
--domtblout domains.tbl \
Pfam-A.hmm \
proteins.fa
Recommended Workflow
- Press the HMM database once with
hmmpressif you will reuse it. - Scan the sequence FASTA and save both sequence-level and domain-level tables.
- Use curated thresholds when available; otherwise set E-value thresholds explicitly.
- Review domain architecture, not just best-hit name, before functional labeling.
Guardrails
- Positional argument order matters: HMM database first, query sequence file second.
- Use
-hfor help;--helpand--versionare not valid here. --cut_ga,--cut_tc, and--cut_nconly make sense if the HMMs actually carry curated thresholds.- Use
--domtbloutwhen domain boundaries matter;--tbloutalone is not enough.