Overview
HH-suite tools share many common parameters while also providing tool-specific options. This guide covers the most important parameters acrosshhblits, hhsearch, and hhalign.
Core Parameters
Input/Output
Input file containing query sequence or alignment in FASTA, A2M, or A3M format
Output file for search results in HHR format
Database basename (without file extensions)
Alignment Output Formats
Output alignment in A3M format (MSA with query)
Output alignment in PSI-BLAST format
Output HMM file
Output in BLAST tab format (M8)
Output alignment in tabular format with residue indices
Search Control
E-value and Probability Thresholds
Maximum E-value threshold for inclusion in hit list
Maximum E-value threshold for inclusion in output alignment and HMM
Minimum probability threshold (0-100) for inclusion in hit list
Number of Hits
Maximum number of lines in hit list
Minimum number of lines in hit list
Maximum number of alignments in alignment list
Minimum number of alignments in alignment list
Gap Penalties
Gap Opening and Extension
Gap penalties are specified as positive numbers but applied as penalties (negative scores).
Gap open penalty factor for deletions (query gaps)
Gap extension penalty factor
Factor for increasing gap opening penalty for deletions
Factor for increasing gap opening penalty for insertions (template gaps)
Factor for increasing gap extension penalty for deletions
Factor for increasing gap extension penalty for insertions
End Gap Penalties
Penalty for end gaps when query not fully covered
Penalty for end gaps when template not fully covered
Pseudocounts
Pseudocounts prevent overfitting to the query alignment.Admixture Parameters
Admixture mode:
1: Constant admixture2: HHsearch admixture (default)3: CSBlast admixture
Pseudocount mode for HMM:
0: Default (context-dependent if available)1: Constant admixture2: HHsearch admixture3: CSBlast admixture
Pseudocount admixture parameter a
Pseudocount admixture parameter b
Pseudocount admixture parameter c (HHsearch mode only)
Context-Specific Pseudocounts
Context-specific pseudocount parameter b
Context-specific pseudocount weight
Path to context library for context-specific pseudocounts
Secondary Structure Scoring
Secondary structure scoring mode:
0: No SS scoring1: SS scoring after alignment2: SS scoring during alignment (default)
Weight of secondary structure score
SS state evolution matrix: M1 = (1-ssa)I + ssaM0
Alignment Mode
- Local Alignment
- Global Alignment
Local (default)
Local alignment (Smith-Waterman) finds the best matching subsequences.
Local alignment mode (default)
Global alignment mode
Realignment and MAC Algorithm
Realign hits using MAC (Maximum Accuracy) algorithm
MAC alignment threshold (controls greediness at alignment ends)
Maximum number of hits to realign
Number of alternative alignments to find
Filtering Parameters
Query MSA Filtering
Maximum sequence identity with all other sequences (0-100)
Minimum sequence identity with query sequence (0-100)
Minimum score per column with query sequence
Minimum coverage threshold (0-100)
Filter most different sequences that pass other thresholds
Match State Assignment
Match state assignment:
a2m: By upper/lower case (default)first: By first sequence[0-100]: By percentage rule (e.g.,-M 50)
Maximum percentage of gaps in match states
HHblits-Specific Parameters
Iterative Search
Number of search iterations
Three iterations
E-value threshold for inclusion in next iteration
Prefiltering
Use prefiltering to speed up search (enabled by default)
Disable prefiltering
E-value threshold for prefilter
Minimum number of hits to pass prefilter
Diversity Control
Maximum Neff (diversity) for MSA after iteration
Performance Parameters
Multi-threading
Number of CPU threads to use
Using 8 threads
Memory Management
Maximum number of HMM states (match states)
Maximum number of sequences in input alignment
Maximum memory (GB) for realignment
Output Customization
Alignment Display
Maximum number of query/template sequences to show in alignment
Alignment width (characters per line)
Show consensus sequence in alignment
Show DSSP secondary structure in alignment
Show predicted secondary structure in alignment
Verbosity
Verbosity level:
0: Errors only1: Warnings2: Info (default)3: Debug
Advanced Scoring Parameters
Score Offset and Correlation
Score offset for match-match states
Adjusts the scoring to balance sensitivity and specificity
Weight of correlations between scores with |i-j| <= 4
Column score mode:
0: No amino acid composition correction1: 1/2(query_avg + template_avg) (default)2: Template average frequencies3: Query average frequencies
Minimum Overlap
Minimum overlap between query and template
Require 30-residue overlap
Practical Examples
Parameter Files
Save frequently used parameters in a file:hhblits.params
@ syntax:
Next Steps
Algorithms
Understand how parameters affect algorithms
Compilation
Build HH-suite from source