Overview
HHsearch is optimized for searching databases of profile HMMs, such as PDB, Pfam, or SCOP. It uses HMM-HMM comparison to detect remote homologies with high sensitivity.Key Features
- Single-round search: No iterative profile building
- Database search: Designed for pre-built HMM databases
- High sensitivity: Detects remote homologs through HMM-HMM comparison
- Fast: No prefilter overhead or iteration steps
When to Use HHsearch
Use HHsearch when you need to:- Search structure databases: Find proteins with similar structures in PDB70
- Identify protein families: Search against Pfam or other family databases
- Compare to known folds: Search SCOP or ECOD databases
- Perform single-round searches: When you have a pre-built query HMM or MSA
For building deep MSAs through iterative searching, use hhblits instead.
Basic Usage
Common Use Cases
Finding Structural Homologs
Search the PDB database to find proteins with similar structures:Identifying Protein Family Membership
Search Pfam to classify your protein:Generating Tabular Output
Create BLAST-compatible output format:Output Multiple Sequence Alignment
Merge significant matches into an MSA:Key Parameters
Input/Output Options
Input/Output Options
-i <file>- Input query (FASTA, A2M, A3M, or HMM)-o <file>- Output file in HHR format (default:<infile>.hhr)-d <name>- Database name (can specify multiple with multiple-dflags)-oa3m <file>- Write result MSA in A3M format-blasttab <file>- Write results in BLAST tabular format
Search Thresholds
Search Thresholds
-e [0,1]- E-value cutoff for inclusion in result alignment (default: 0.001)-E [0,inf]- Maximum E-value in result list (default: 1E+06)-p [0,100]- Minimum probability in result list (default: 20)-Z <int>- Maximum number of hits in result list (default: 500)-z <int>- Minimum number of hits in result list (default: 10)
Alignment Mode
Alignment Mode
-glob- Use global alignment mode (align full query and template)-loc- Use local alignment mode (default, find best local match)-mact [0,1]- Threshold for MAC realignment greediness (default: 0.35)
Filtering Options
Filtering Options
-id [0,100]- Maximum pairwise sequence identity % (default: 90)-cov [0,100]- Minimum coverage with master sequence % (default: 0)-qid [0,100]- Minimum sequence identity with query % (default: 0)-qsc [-inf,100]- Minimum score per column (default: -20.0)
Output Format
Tips and Best Practices
Advanced Options
Realignment Control
Control the Maximum Accuracy (MAC) realignment:Secondary Structure Scoring
Include secondary structure in the scoring:Excluding Query Regions
Exclude specific query positions from alignment:Multiple Database Search
Search multiple databases in one run:Comparison with HHblits
| Feature | HHsearch | HHblits |
|---|---|---|
| Iterations | Single round | Multiple rounds (default 2) |
| Prefilter | No | Yes (ungapped alignment) |
| Best for | Searching HMM databases | Building MSAs, sequence searches |
| Speed | Fast | Fast with prefilter |
| Sensitivity | High | Very high (iterative) |
| Database type | HMM databases | Sequence databases |
Related Tools
- hhblits - Iterative sequence searching and MSA building
- hhmake - Build HMM from alignment
- hhalign - Pairwise HMM-HMM alignment
- hhfilter - Filter MSAs by sequence identity