hmm2align(1)
π hmm2align(1) β HMMER Manual, section 1 π
okay so bestie, welcome to hmm2align(1) from the HMMER manual, section 1. this is the one that takes your profile HMM and your sequences and β¨ makes them a multiple sequence alignment β¨. no cap.
πΈ SYNOPSIS πΈ
hmm2align [options] hmm2file seqfile
π¦ DESCRIPTION π¦
so here's the vibe: hmm2align reads an HMM file (it's called hmmfile down in the prose, hmm2file up in the synopsis β she contains multitudes π
) and a set of sequences from seqfile, aligns those sequences to the profile HMM, and outputs a multiple sequence alignment. that's the whole job. main character behavior.
seqfile can be in any unaligned or aligned file format that HMMER accepts. and listen β if it is in a multiple alignment format (think Stockholm, MSF, SELEX, ClustalW), the existing alignment gets ignored. like, the sequences are read as if they were unaligned, and hmm2align will align them the way it wants. it's giving "i'm the one in charge here." periodt.
β¨ OPTIONS β¨
-hβ print brief help, and bestie it includes the version number plus a summary of all the options, even the expert ones. so you never have to guess.-mβ only include in the alignment those symbols that are aligned to match states. symbols assigned to insert states? not shown. they're not on the guest list. π-o <f>β save the alignment to file<f>instead of to standard output.-qβ quiet mode: suppress all output except the alignment itself. super useful for piping or redirecting the output. chef's kiss for scripts. π₯
π EXPERT OPTIONS π
--informat <s>β assert that the inputseqfileis in format<s>, and do not run Babelfish format autodection (yep, "autodection," that's how it's spelled, we don't fix the source code, we respect it π). this makes the program a little more reliable, because the Babelfish can make mistakes. highly recommended for unattended, high-throughput runs of HMMER. valid format strings includeFASTA,GENBANK,EMBL,GCG,PIR,STOCKHOLM,SELEX,MSF,CLUSTAL, andPHYLIP. see the User's Guide for a complete list.--mapali <f>β reads an alignment from file<f>and aligns it as a single object to the HMM; i.e. the alignment in<f>is held fixed. this lets you align sequences to a model withhmm2alignand view them in the context of an existing trusted multiple alignment. the alignment-to-the-alignment is defined by a "map" kept in the HMM, so it's fast and guaranteed to be consistent with the way the HMM was constructed from the alignment. the alignment in the file<f>must be exactly the alignment that the HMM was built from. compare the--withalioption.--onelineβ output the alignment with one line per sequence instead of interleaving the sequence alignment blocks. only affects Stockholm format output. lowkey a glow-up for readability.--outformat <s>β output the alignment in format<s>. the default is Stockholm format. valid formats includeStockholm,SELEX,MSF,Clustal,Phylip, andA2M.--withali <f>β reads an alignment from file<f>and aligns it as a single object to the HMM; i.e. the alignment in<f>is held fixed. same deal as above: align sequences to a model withhmm2alignand view them in the context of an existing trusted multiple alignment. but β the alignment to the alignment is done with a heuristic (nonoptimal) dynamic programming procedure, which may be somewhat slow and is not guaranteed to be completely consistent with the way the HMM was constructed (though it should be quite close). the tradeoff? any alignment can be used, not just the alignment that the HMM was built from. compare the--mapalioption. choose your fighter. π
π SEE ALSO π
Master man page, with full list of and guide to the individual man pages: see hmmer2(1).
For complete documentation, see the user guide (ftp://selab.janelia.org/pub/software/hmmer/2.3.2/Userguide.pdf); or see the HMMER web page, http://hmmer.janelia.org/.
π COPYRIGHT π
Copyright (C) 1992-2003 HHMI/Washington University School of Medicine.
Freely distributed under the GNU General Public License (GPL). See the file COPYING in your distribution for details on redistribution conditions.
π«Ά AUTHOR π«Ά
Sean Eddy HHMI/Dept. of Genetics Washington Univ. School of Medicine 4566 Scott Ave. St Louis, MO 63110 USA http://www.genetics.wustl.edu/eddy/
and that's the whole page bestie, every flag, every file, every address, nothing skipped, iykyk π
okay so final sign-off: this was HMMER 2.3.2, dated Oct 2003, page hmm2align(1). iconic, legendary, aligned. slay π
β¨πΈ
π¦ where this page comes from
- debian bookworm: hmmer2 2.3.2+dfsg-8 Β· GPL-2.0-or-later
- debian trixie: hmmer2 2.3.2+dfsg-12+b2 Β· GPL-2.0-or-later
- ubuntu jammy: hmmer2 2.3.2+dfsg-7 Β· GPL-2.0-or-later
- ubuntu noble: hmmer2 2.3.2+dfsg-12 Β· GPL-2.0-or-later
- ubuntu questing: hmmer2 2.3.2+dfsg-12
- ubuntu resolute: hmmer2 2.3.2+dfsg-12build1 Β· GPL-2.0-or-later
- ubuntu stonking: hmmer2 2.3.2+dfsg-12build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms