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