cmstat(1)
okay bestie so this is the manual page for cmstat(1), straight out of the Infernal Manual π it's a whole mood and also extremely useful, so let's get into it π«Ά
β¨ NAME β¨
cmstat β summary statistics for a covariance model file π
πΈ SYNOPSIS πΈ
cmstat [options] <cmfile>
π¦ DESCRIPTION π¦
so what does cmstat actually do? it prints out a tabular file of summary statistics for every single covariance model chilling inside <cmfile> β¨ one line per model, no cap.
and here's a cute little trick: <cmfile> can be - (yes, literally just a dash character), and if you do that, the CMs get read from a <stdin> pipe instead of from an actual file π iconic behavior honestly.
by default, cmstat prints general statistics about the model and the alignment it was built from, one line per model, in a tabular format. the columns are:
idxβ the index of this profile, numbering each one in the file starting from 1.nameβ the name of the profile.accessionβ the optional accession of the profile, or-if there isn't one. (not me being optional π)nseqβ the number of sequences that the profile was estimated from.eff_nseqβ the effective number of sequences that the profile was estimated from, after Infernal applied an effective sequence number calculation, like the default entropy weighting β¨clenβ the length of the model in consensus residues (a.k.a. match states).Wβ the expected maximum length of a hit to the model.bpsβ the number of basepairs in the model.bifsβ the number of bifurcations in the model.modelβ what type of model will be used by default incmsearchandcmscanfor this profile, either"cm"or"hmm". for profiles with 0 basepairs, this will be"hmm"(unless the--nohmmonlyoption is used, bestie). for all other profiles, this will be"cm".rel entropy, cm:β mean relative entropy per match state, in bits. this is the expected (mean) score per consensus position π and it's literally what the default entropy-weighting method for effective sequence number estimation focuses on, so for default Infernal, this value will often reflect the default target for entropy-weighting. but if the"model"field for this profile is"hmm", this field will be"-".rel entropy, hmm:β mean relative entropy per match state, in bits, if the CM were transformed into an HMM (information from structure is ignored). the larger the difference between the CM and HMM relative entropy, the more the model will rely on structural conservation relative sequence conservation when identifying homologs. it's giving structural girlie vs sequence girlie π
now, if the model(s) in <cmfile> have been calibrated with cmcalibrate, the -E, -T, and -Z <n> options can be used to invoke an alternative output mode, reporting E-values and corresponding bit scores for a specified database size of <n> megabases (Mb) β¨
and if the model(s) have been calibrated and include Rfam GA, TC, and/or NC bit score thresholds, then the --cut_ga, --cut_tc, and/or --cut_nc options can be used to display E-values that correspond to those bit score thresholds π
separate bit scores or E-values will be displayed for each of the four possible CM search algorithm and model configuration pairs: local Inside, local CYK, glocal Inside and glocal CYK. periodt.
for profiles with zero basepairs (those with"hmm"in the"model"field), any E-value and bit score statistics will pertain to the profile HMM filter, instead of to the CM. this is also true for all profiles if the--hmmonlyoption is used π
π OPTIONS π
-hβ help; print a brief reminder of command line usage and all available options π-E <x1>β report bit scores that correspond to an E-value of<x1>in a database of<x>megabases (Mb), where<x>is10by default but settable with the-Z <x>option.-T <x1>β report E-values that correspond to a bit score of<x1>in a database of<x>megabases (Mb), where<x>is10by default but settable with the-Z <x>option.-Z <x>β with the-E,-T,--cut_ga,--cut_nc, and--cut_tcoptions, calculate E-values as if the target database size was<x>megabases (Mb). by default,<x>is10.--cut_gaβ report E-values that correspond to theGA(Rfam gathering threshold) bit score in a database of<x>megabases (Mb), where<x>is10by default but settable with the-Z <x>option.--cut_tcβ report E-values that correspond to theTC(Rfam trusted cutoff) bit score in a database of<x>megabases (Mb), where<x>is10by default but settable with the-Z <x>option.--cut_ncβ report E-values that correspond to theNC(Rfam noise cutoff) bit score in a database of<x>megabases (Mb), where<x>is10by default but settable with the-Z <x>option.--key <s>β only print statistics for CM with name or accession<s>, skip all other models in<cmfile>. very "just my fave, everyone else go home" energy π--hmmonlyβ print statistics on the profile HMM filters for all profiles, instead of the CMs. this can be useful if you plan to use the--hmmonlyoption tocmsearchorcmscanπ--nohmmonlyβ always print statistics on the CM for each profile, even for those with zero basepairs πͺ
π«Ά SEE ALSO π«Ά
- see
infernal(1)for a master man page with a list of all the individual man pages for programs in the Infernal package β¨ - for complete documentation, see the user guide that came with your Infernal distribution (
Userguide.pdf); or see the Infernal web page (http://eddylab.org/infernal/) πΈ
π COPYRIGHT π
copyright (C) 2023 Howard Hughes Medical Institute. freely distributed under the BSD open source license π
for additional information on copyright and licensing, see the file called COPYRIGHT in your Infernal source distribution, or see the Infernal web page (http://eddylab.org/infernal/) π
β AUTHOR β
http://eddylab.org π¦
and that's the whole page bestie π this was Infernal 1.1.5, dated Sep 2023 β go forth and summarize those covariance models, you absolute icon πβ¨
π¦ where this page comes from
- debian trixie: infernal 1.1.5-3 Β· GPL-3.0-only
- ubuntu noble: infernal 1.1.5-2 Β· GPL-3.0-only
- ubuntu questing: infernal 1.1.5-3
- ubuntu resolute: infernal 1.1.5-3build1 Β· GPL-3.0-only
- ubuntu stonking: infernal 1.1.5-4 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms