| 1 |
.TH "hmmemit" 1 "@HMMER_DATE@" "HMMER @HMMER_VERSION@" "HMMER Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
hmmemit \- sample sequences from a profile |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
.B hmmemit |
| 8 |
[\fIoptions\fR] |
| 9 |
.I hmmfile |
| 10 |
|
| 11 |
|
| 12 |
.SH DESCRIPTION |
| 13 |
|
| 14 |
.PP |
| 15 |
The |
| 16 |
.B hmmemit |
| 17 |
program |
| 18 |
samples (emits) sequences from the profile HMM(s) in |
| 19 |
.IR hmmfile , |
| 20 |
and writes them to output. |
| 21 |
Sampling sequences may be useful for a variety of purposes, including |
| 22 |
creating synthetic true positives for benchmarks or tests. |
| 23 |
|
| 24 |
.PP |
| 25 |
The default is to sample one unaligned sequence from the core |
| 26 |
probability model, which means that each sequence consists of one |
| 27 |
full-length domain. Alternatively, with the |
| 28 |
.B \-c |
| 29 |
option, you can emit a simple majority-rule consensus sequence; |
| 30 |
or with the |
| 31 |
.B \-a |
| 32 |
option, you can emit an alignment (in which case, you probably |
| 33 |
also want to set |
| 34 |
.B \-N |
| 35 |
to something other than its default of 1 sequence per model). |
| 36 |
|
| 37 |
.PP |
| 38 |
As another option, with the |
| 39 |
.B \-p |
| 40 |
option you can sample a sequence from a fully configured HMMER search |
| 41 |
profile. This means sampling a `homologous sequence' by HMMER's |
| 42 |
definition, including nonhomologous flanking sequences, local |
| 43 |
alignments, and multiple domains per sequence, depending on the length |
| 44 |
model and alignment mode chosen for the profile. |
| 45 |
|
| 46 |
.PP |
| 47 |
The |
| 48 |
.I hmmfile |
| 49 |
may contain a library of HMMs, in which case |
| 50 |
each HMM will be used in turn. |
| 51 |
|
| 52 |
.PP |
| 53 |
.I hmmfile |
| 54 |
may be '\-' (dash), which |
| 55 |
means reading this input from stdin rather than a file. |
| 56 |
|
| 57 |
|
| 58 |
.SH COMMON OPTIONS |
| 59 |
|
| 60 |
.TP |
| 61 |
.B \-h |
| 62 |
Help; print a brief reminder of command line usage and all available |
| 63 |
options. |
| 64 |
|
| 65 |
|
| 66 |
.TP |
| 67 |
.BI \-o " <f>" |
| 68 |
Direct the output sequences to file |
| 69 |
.IR <f> , |
| 70 |
rather than to stdout. |
| 71 |
|
| 72 |
.TP |
| 73 |
.BI \-N " <n>" |
| 74 |
Sample |
| 75 |
.I <n> |
| 76 |
sequences per model, rather than just one. |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
.SH OPTIONS CONTROLLING WHAT TO EMIT |
| 81 |
|
| 82 |
The default is to sample |
| 83 |
.B N |
| 84 |
sequences from the core model. Alternatively, |
| 85 |
you may choose one (and only one) of the following alternatives. |
| 86 |
|
| 87 |
|
| 88 |
.TP |
| 89 |
.B \-a |
| 90 |
Emit an alignment for each HMM in the |
| 91 |
.I hmmfile |
| 92 |
rather than sampling unaligned sequences one at a time. |
| 93 |
|
| 94 |
.TP |
| 95 |
.B \-c |
| 96 |
Emit a plurality-rule consensus sequence, instead of sampling a |
| 97 |
sequence from the profile HMM's probability distribution. The |
| 98 |
consensus sequence is formed by selecting the maximum probability |
| 99 |
residue at each match state. |
| 100 |
|
| 101 |
.TP |
| 102 |
.B \-C |
| 103 |
Emit a fancier plurality-rule consensus sequence than the |
| 104 |
.B \-c |
| 105 |
option. If the maximum probability residue has p < |
| 106 |
.B minl |
| 107 |
show it as a lower case 'any' residue (n or x); if p >= |
| 108 |
.B minl |
| 109 |
and < |
| 110 |
.B minu |
| 111 |
show it as a lower case residue; and if p >= |
| 112 |
.B minu |
| 113 |
show it as an upper case residue. |
| 114 |
The default settings of |
| 115 |
.B minu |
| 116 |
and |
| 117 |
.B minl |
| 118 |
are both 0.0, which means |
| 119 |
.B \-C |
| 120 |
gives the same output as |
| 121 |
.B \-c |
| 122 |
unless you also set |
| 123 |
.B minu |
| 124 |
and |
| 125 |
.B minl |
| 126 |
to what you want. |
| 127 |
|
| 128 |
.TP |
| 129 |
.B \-p |
| 130 |
Sample unaligned sequences from the implicit search profile, not from |
| 131 |
the core model. The core model consists only of the homologous states |
| 132 |
(between the begin and end states of a HMMER Plan7 model). The profile |
| 133 |
includes the nonhomologous N, C, and J states, local/glocal and |
| 134 |
uni/multihit algorithm configuration, and the target length model. |
| 135 |
Therefore sequences sampled from a profile may include nonhomologous |
| 136 |
as well as homologous sequences, and may contain more than one |
| 137 |
homologous sequence segment. By default, the profile is in multihit |
| 138 |
local mode, and the target sequence length is configured for L=400. |
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
.SH OPTIONS CONTROLLING EMISSION FROM PROFILES |
| 144 |
|
| 145 |
These options require that you have set the |
| 146 |
.B \-p |
| 147 |
option. |
| 148 |
|
| 149 |
.TP |
| 150 |
.BI \-L " <n>" |
| 151 |
Configure the profile's target sequence length model to generate a |
| 152 |
mean length of approximately <n> rather than the default of 400. |
| 153 |
|
| 154 |
.TP |
| 155 |
.B \-\-local |
| 156 |
Configure the profile for multihit local alignment. |
| 157 |
|
| 158 |
.TP |
| 159 |
.B \-\-unilocal |
| 160 |
Configure the profile for unihit local alignment (Smith/Waterman). |
| 161 |
|
| 162 |
.TP |
| 163 |
.B \-\-glocal |
| 164 |
Configure the profile for multihit glocal alignment. |
| 165 |
|
| 166 |
.TP |
| 167 |
.B \-\-uniglocal |
| 168 |
Configure the profile for unihit glocal alignment. |
| 169 |
|
| 170 |
|
| 171 |
.SH OPTIONS CONTROLLING FANCY CONSENSUS EMISSION |
| 172 |
|
| 173 |
These options require that you have set the |
| 174 |
.B \-C |
| 175 |
option. |
| 176 |
|
| 177 |
.TP |
| 178 |
.BI \-\-minl " <x>" |
| 179 |
Sets the |
| 180 |
.B minl |
| 181 |
threshold for showing weakly conserved residues as lower case. |
| 182 |
(0 <= x <= 1) |
| 183 |
|
| 184 |
.TP |
| 185 |
.BI \-\-minu " <x>" |
| 186 |
Sets the |
| 187 |
.B minu |
| 188 |
threshold for showing strongly conserved residues as upper case. |
| 189 |
(0 <= x <= 1) |
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
.SH OTHER OPTIONS |
| 194 |
|
| 195 |
.TP |
| 196 |
.BI \-\-seed " <n>" |
| 197 |
Seed the random number generator with |
| 198 |
.IR <n> , |
| 199 |
an integer >= 0. |
| 200 |
If |
| 201 |
.I <n> |
| 202 |
is nonzero, any stochastic simulations will be reproducible; the same |
| 203 |
command will give the same results. |
| 204 |
If |
| 205 |
.I <n> |
| 206 |
is 0, the random number generator is seeded arbitrarily, and |
| 207 |
stochastic simulations will vary from run to run of the same command. |
| 208 |
The default is 0: use an arbitrary seed, so different |
| 209 |
.B hmmemit |
| 210 |
runs will generate different samples. |
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
.SH SEE ALSO |
| 217 |
|
| 218 |
See |
| 219 |
.BR hmmer (1) |
| 220 |
for a master man page with a list of all the individual man pages |
| 221 |
for programs in the HMMER package. |
| 222 |
|
| 223 |
.PP |
| 224 |
For complete documentation, see the user guide that came with your |
| 225 |
HMMER distribution (Userguide.pdf); or see the HMMER web page |
| 226 |
(@HMMER_URL@). |
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
.SH COPYRIGHT |
| 231 |
|
| 232 |
.nf |
| 233 |
@HMMER_COPYRIGHT@ |
| 234 |
@HMMER_LICENSE@ |
| 235 |
.fi |
| 236 |
|
| 237 |
For additional information on copyright and licensing, see the file |
| 238 |
called COPYRIGHT in your HMMER source distribution, or see the HMMER |
| 239 |
web page |
| 240 |
(@HMMER_URL@). |
| 241 |
|
| 242 |
|
| 243 |
.SH AUTHOR |
| 244 |
|
| 245 |
.nf |
| 246 |
http://eddylab.org |
| 247 |
.fi |
| 248 |
|
| 249 |
|
| 250 |
|