DOKK / manpages / debian 11 / hhsuite / hhalign.1.en
HHALIGN(1) User Commands HHALIGN(1)

hhalign - align a query alignment/HMM to a template alignment/HMM

hhalign -i query -t template [options]

HHalign 3.3.0 Align a query alignment/HMM to a template alignment/HMM by HMM-HMM alignment If only one alignment/HMM is given it is compared to itself and the best off-diagonal alignment plus all further non-overlapping alignments above significance threshold are shown. Steinegger M, Meier M, Mirdita M, V??hringer H, Haunsberger S J, and S??ding J (2019) HH-suite3 for fast remote homology detection and deep protein annotation. BMC Bioinformatics, doi:10.1186/s12859-019-3019-7 (c) The HH-suite development team

input/query: single sequence or multiple sequence alignment (MSA) in a3m, a2m, or FASTA format, or HMM in hhm format
input/template: single sequence or multiple sequence alignment (MSA) in a3m, a2m, or FASTA format, or HMM in hhm format

<file> may be 'stdin' or 'stdout' throughout.

use A2M/A3M (default): upper case = Match; lower case = Insert;
'-' = Delete; '.' = gaps aligned to inserts (may be omitted)
use FASTA: columns with residue in 1st sequence are match states
use FASTA: columns with fewer than X% gaps are match states
do NOT / do neutralize His-, C-myc-, FLAG-tags, and trypsin recognition sequence to background distribution (def=-notags)

write results in standard format to file (default=<infile.hhr>)
write query alignment in a3m or PSI-BLAST format (-opsi) to file (default=none)
append query alignment in a3m (-aa3m) or PSI-BLAST format (-apsi )to file (default=none)
write pairwise alignments in FASTA xor A2M (-Oa2m) xor A3M (-Oa3m) format
generate consensus sequence as master sequence of query MSA (default=don't)
don't show consensus sequence in alignments (default=show)
don't show predicted 2ndary structure in alignments (default=show)
don't show DSSP 2ndary structure in alignments (default=show)
show confidences for predicted 2ndary structure in alignments
max. number of query/template sequences displayed (default=1)
number of columns per line in alignment list (default=80)
minimum probability in summary and alignment list (default=0)
maximum E-value in summary and alignment list (default=1E+06)
maximum number of lines in summary hit list (default=100)
minimum number of lines in summary hit list (default=1)
maximum number of alignments in alignment list (default=100)
minimum number of alignments in alignment list (default=1)

Filter options applied to query MSA, template MSA, and result MSA

[0,100] maximum pairwise sequence identity (def=90)
filter MSAs by selecting most diverse set of sequences, keeping at least this many seqs in each MSA block of length 50 Zero and non-numerical values turn off the filtering. (def=100)
[0,100] minimum coverage with master sequence (%) (def=0)
[0,100] minimum sequence identity with master sequence (%) (def=0)
[0,100] minimum score per column with master sequence (default=-20.0)
do not filter out sequences marked by ">@"in their name line

do NOT realign displayed hits with MAC algorithm (def=realign)
posterior prob threshold for MAC realignment controlling greediness at alignment ends: 0:global >0.1:local (default=0.35)
use global/local alignment mode for searching/ranking (def=local)
realign displayed hits with max. accuracy (MAC) algorithm
exclude query positions from the alignment, e.g. '1-33,97-168'
exclude template positions from the alignment, e.g. '1-33,97-168'
banded alignment: forbid <ovlp> largest diagonals |i-j| of DP matrix (def=0)
show up to this many alternative alignments with raw score > smin(def=1)
minimum raw score for alternative alignments (def=20.0)
profile-profile score offset (def=-0.03)
weight of term for pair correlations (def=0.10)
<int> amino acid score (tja: template HMM at column j) (def=1)
0
= log2 Sum(tja*qia/pa) (pa: aa background frequencies)
1
= log2 Sum(tja*qia/pqa) (pqa = 1/2*(pa+ta) )
2
= log2 Sum(tja*qia/ta) (ta: av. aa freqs in template)
3
= log2 Sum(tja*qia/qa) (qa: av. aa freqs in query)
5
local amino acid composition correction
secondary structure scoring [default=2]
0:
= no ss scoring
1,2:
= ss scoring after or during alignment
3,4:
= ss scoring after or during alignment, predicted vs. predicted
weight of ss score (def=0.11)
ss confusion matrix = (1-ssa)*I + ssa*psipred-confusion-matrix [def=1.00)
use global sequence weighting for realignment!

Transition pseudocount admixture (def=1.00)
Transition pseudocount admixture for open gap (default=0.15)
Transition pseudocount admixture for open gap (default=0.15)
Transition pseudocount admixture for extend gap (def=1.00)
factor to increase/reduce the gap open penalty for deletes (def=0.60)
factor to increase/reduce the gap open penalty for inserts (def=0.60)
factor to increase/reduce the gap extend penalty for deletes(def=0.60)
factor to increase/reduce the gap extend penalty for inserts(def=0.60)
[0,inf[ penalty (bits) for end gaps aligned to query residues (def=0.00)
[0,inf[ penalty (bits) for end gaps aligned to template residues (def=0.00)

Context specific hhm pseudocounts:
position dependence of pc admixture 'tau' (pc mode, default=2)
0: no pseudo counts:
tau = 0
1: constant
tau = a
2: diversity-dependent: tau = a/(1+((Neff[i]-1)/b)^c) 3: CSBlast admixture: tau = a(1+b)/(Neff[i]+b) (Neff[i]: number of effective seqs in local MSA around column i)
[0,1] overall pseudocount admixture (def=0.9)
[1,inf[ Neff threshold value for mode 2 (def=4.0)
[0,3] extinction exponent c for mode 2 (def=1.0)
Context independent hhm pseudocounts (used for templates; used for query if contxt file is not available):
position dependence of pc admixture 'tau' (pc mode, default=2)
0: no pseudo counts:
tau = 0
1: constant
tau = a
2: diversity-dependent: tau = a/(1+((Neff[i]-1)/b)^c) (Neff[i]: number of effective seqs in local MSA around column i)
[0,1] overall pseudocount admixture (def=1.0)
[1,inf[ Neff threshold value for mode 2 (def=1.5)
[0,3] extinction exponent c for mode 2 (def=1.0)
Context-specific pseudo-counts:
use substitution-matrix instead of context-specific pseudocounts

-contxt <file> context file for computing context-specific pseudocounts (default=)

[0,inf] weight of central position in cs pseudocount mode (def=1.6)
[0,1] weight decay parameter for positions in cs pc mode (def=0.9)

verbose mode: 0:no screen output 1:only warings 2: verbose (def=2)
<file> write all alignments in tabular layout to file
max number of input rows (def=65535)
max number of HMM columns (def=20001)

-maxmem [1,inf[ limit memory for realignment (in GB) (def=3.0)

Example: hhalign -i T0187.a3m -t d1hz4a_.hhm -o result.hhr

March 2021 hhalign 3.3.0+ds