HMM_TRAIN(1)
β¨ HMM_TRAIN β¨
okay bestie, pull up a chair, because we're about to talk about hmm_train β that's the User Commands girlie from the HMM family, and she's here to help you estimate transition probabilities. π
πΈ NAME πΈ
hmm_train β Estimate the transition probabilities of an HMM, based on multiple
-g <gff_fname_list> [OPTIONS] > out.hmm
like, that's the whole vibe. you feed her stuff, she spits out an HMM to stdout. no cap. π
π¦ DESCRIPTION π¦
So what does she actually do? She estimates the transition probabilities of an HMM. And she does it based on:
- multiple alignments
- sequence annotations
- and a category map
that's it, that's the girl. three ingredients, one iconic output. β¨
π OPTIONS π
π required options
these are not optional, bestie. you literally cannot skip these. it's giving "mandatory main character energy."
-m <msa_fname_list>β the list of multiple sequence alignment files. π§ heads up though: currently, in testing mode, this list must be of length one. so like, one file. just the one. don't get cute with it.-c <category_map_fname>β the file that defines the mapping of feature types to category numbers. it's the translator, the middleman, the one who knows everybody. π«Ά-g <gff_fname_list>β your files in GFF, defining the sequence features that get used when labeling sites. the frame of reference of the feature indices is determined feature-by-feature, according to the'seqname'attribute. and!!! the filenames must correspond in number and order to the elements of<msa_fname_list>. so like, keep them lined up. matching sets. a coordinated outfit. π
π alignment options
-M <msa_length_list>β mutually exclusive with-m, so pick a lane. this one assumes alignments of the specified lengths (that's a comma-separated list, bestie) and does not attempt to map the coordinates in the specified GFFs β it just assumes they're already in the desired coordinate frame. the slay here is that it lets an HMM be trained directly from GFFs, without alignments. not permitted with-Ithough, so don't try it. π-i PHYLIP|FASTA|MPM|SSβ the alignment format. default isSS. pick your fighter. π-R <tag>β before estimating those transition probabilities, this groups features by<tag>(think"transcript_id"or"exon_id", iykyk) and then reverse complements the segments of the alignment corresponding to groups on the reverse strand. β οΈ the groups must be non-overlapping β seerefeature --unique. no overlap, no chaos.
π indel options
-I <indel_cat_list>β model indels for the specified categories. okay so listen: for there to be nonzero probability for the states corresponding to a specified category range, the indels must be:- "clean" (nonoverlapping) π§Ό
- assignable by parsimony to a single branch in the phylogenetic tree π³
- and have lengths that are exact multiples of the category range size π
Avoid-Gwith this option. and if you're using it in training mode, it requires-T. don't forget, bestie, I'm serious. π
-t <tree_fname>β use the specified tree topology when training for indels. give her a tree, she'll give you the whole forest. π²β¨-n <nseqs>β train an indel model for<nseqs>sequences, even though the training alignment has a different number. bold. iconic. all (non-trivial) gap patterns are assumed to be equally frequent. periodt.
π other options
-qβ proceed quietly, with no updates tostderr. she's not gonna text you the whole time. π€«-hβ print this help message and exit. the classic "actually, tell me the rules" move. π«Ά
fr fr, that's every flag, every default, every warning. nothing skipped, nothing merged, nothing invented. the vibe is mine, the facts are hers. π
hmm_train 1.4 Β· May 2016
and that's the whole page, bestie β version 1.4, dated May 2016, brought to you by the User Commands girlies. go train that HMM, you absolute legend. π β¨π
π¦ where this page comes from
- debian bookworm: phast 1.6+dfsg-3+b1 Β· BSD-3-Clause
- debian trixie: phast 1.7+dfsg-2 Β· BSD-3-Clause
- ubuntu jammy: phast 1.6+dfsg-3 Β· BSD-3-Clause
- ubuntu noble: phast 1.6+dfsg-4 Β· BSD-3-Clause
- ubuntu questing: phast 1.7+dfsg-3
- ubuntu resolute: phast 1.8+dfsg-1 Β· BSD-3-Clause
- ubuntu stonking: phast 1.8+dfsg-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms