- Introduced by
- Sean Eddy
- Year
- 1994
- Type
- Probabilistic sequence search pipeline
- Family
- Sequence homology search
What does it do?
HMMER profile search identifies distant protein sequence homologs by scoring sequences against profile hidden Markov models (HMMs), which represent the position-specific residue variation in a multiple sequence alignment of a protein family.
Profile HMMs were applied to protein sequence families by Krogh and colleagues (1994), and Eddy's review of profile HMM methods (1998) describes how they complement pairwise comparison for remote homology detection. The HMMER software suite implements these searches.
The intuition behind the method
The core idea is that residues at functionally important positions in a protein family follow characteristic substitution patterns, and these patterns can be encoded probabilistically. A profile HMM represents a multiple sequence alignment as a chain of match, insert and delete states, where each match state has its own emission probabilities for the twenty amino acids. A query sequence is scored by how well it fits this model, so the search is sensitive to conservation at specific positions rather than only to overall pairwise identity. Because the score depends on position-specific information, a query can match a family even when its overall sequence identity to any single member is low.
History
Krogh and colleagues applied profile hidden Markov models to protein sequence modelling in 1994 (Krogh et al., 1994). Eddy's 1998 review describes the profile HMM methods and software that followed, and notes that two large libraries of profile HMMs of common protein domains were available. Sean Eddy headed the development of HMMER, while Krogh headed the development of SAM, a separate hidden Markov model package for protein sequence analysis. Finn, Clements and Eddy (2011) describe the HMMER web server and the HMMER3 software, whose faster algorithms made interactive searches practical. Profile HMM libraries of common domains, such as Pfam, are used as reference annotation resources; InterPro integrates signatures from several databases, including Pfam.
When to use it
Use HMMER when the question is whether a protein belongs to a family or contains a known domain, especially when sequence identity to known members is low and pairwise tools such as BLAST return weak or no hits. It suits genome-scale annotation and domain assignment, where a curated family profile exists. Do not use it when no alignment of related sequences is available to build or select a profile, because the search then has no position-specific model to score against. For a protein with a close, well-characterised relative, a pairwise similarity search is usually simpler and sufficient.
Limitations and considerations
- Search quality depends directly on the quality and completeness of the reference alignment; a poor or sparse alignment yields a poor profile
- Earlier HMMER versions were mainly available as computationally intensive UNIX command-line tools, which restricted their use. The HMMER3 algorithms gave about a 100-fold speed gain, which made efficient web-based searches feasible (Finn et al., 2011)
- Profiles built from a small or redundant set of sequences can overfit those sequences and give false positives or missed family members
- Matches near the significance threshold are hard to interpret, because they may reflect true remote homology or chance similarity to a profile
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Detects remote homologs that pairwise sequence similarity searches often miss, because the score reflects position-specific conservation rather than overall identity
- Position-specific emission and gap-state probabilities allow insertions and deletions in a family to be modelled explicitly
- Reports a statistical significance estimate for each hit, which allows matches to be ranked and filtered for a given search size
- Curated profile libraries of common protein domains, such as Pfam, provide ready-made models for many well-studied families, and InterPro integrates signatures from several databases, including Pfam
Applications
- Genome annotation: identifying protein domains and functional elements across complete genomes
- Protein classification: assigning newly discovered proteins to known functional families
- Gene discovery: detecting genes encoding proteins with functional domains of interest
- Evolutionary studies: detecting distant members of a protein family across taxa, which supports comparative analysis of how the family has evolved
How it works
How it works
Assemble a multiple sequence alignment of known members of a protein family or functional domain. The quality of this alignment sets the upper limit on the quality of the profile.
Build a profile HMM from the alignment by estimating position-specific emission probabilities and state transition probabilities. Sequence sets that are redundant or narrow in taxonomic range shape these estimates strongly.
Check the profile against benchmark or held-out sequences to set score thresholds that balance sensitivity against false positives for the intended use. Thresholds are family-specific: where a curated profile library supplies cut-offs, start from those, and verify them against known members and non-members of the family before applying them to new data. Do not transfer numeric cut-offs from one family to another without this check.
Score the target protein sequence against the profile database using dynamic programming, which finds the best-scoring alignment of the sequence to each model. Because a profile HMM turns a multiple sequence alignment into a position-specific scoring system, the score reflects how well the sequence fits the conservation pattern of the family. Each score is compared with a null model of chance similarity and converted into an E-value, the expected number of hits with that score or better that would arise by chance in a database of the size searched. For a fixed score, the E-value therefore grows with database size.
Retain hits that pass the chosen significance threshold, check whether their domain positions and order are consistent with the protein's architecture, and assign family or functional annotation only where the match is strong and biologically plausible.
Common pitfalls
- Accepting weak matches without checking the domain's position, length and architecture within the query protein
- Building a profile from a biased or redundant set of sequences, so that the model reflects that sample rather than the whole family
- Treating a significant domain match as proof of identical function; similarity to a family indicates shared ancestry or structure, not necessarily the same activity
Frequently asked questions
How should I choose a significance threshold for calling an HMM match?
Set the E-value or score cut-off before the search, and choose it according to the purpose: a stricter cut-off for confident domain assignment, a looser one for exploratory work where follow-up is planned. Thresholds should be family-specific: start from any cut-off supplied with the profile library, and check it against known members and non-members of your family, because appropriate values depend on the profile and the database searched.
How do I interpret overlapping domain matches on the same protein?
Overlapping matches may indicate a multidomain protein with complex architecture, or a spurious overlap. Examine each case against the domain architecture of known orthologs, check whether domain order is conserved, and judge whether the overlap is biologically meaningful. When matches compete for the same residues, compare their scores and their fit to the expected architecture rather than applying a fixed priority rule.
Can HMMER detect novel protein folds not in existing databases?
No. HMMER searches rely on reference HMM profiles, so a protein without a related family profile will not be detected by it. Detecting a novel fold may require structure-based or other approaches. HMMER can still identify conserved elements within novel proteins if they share domain homology with known families.
Related methods
Sources
Krogh, A., Brown, M., Mian, I. S., Sjölander, K., & Haussler, D. (1994). Hidden Markov models in computational biology: applications to protein modeling. Journal of Molecular Biology, 235(5), 1501-1531.
Open DOI referenceEddy, S. R. (1998). Profile hidden Markov models. Bioinformatics, 14(9), 755-763.
Open DOI referenceFinn, R. D., Clements, J., & Eddy, S. R. (2011). HMMER web server: interactive sequence similarity searching. Nucleic Acids Research, 39(Web Server issue), W29-W37.
Open DOI reference07-sequential pattern mining, p. ?