| 1 |
.TH "hmmsearch" 1 "@HMMER_DATE@" "HMMER @HMMER_VERSION@" "HMMER Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
hmmsearch \- search profile(s) against a sequence database |
| 5 |
|
| 6 |
|
| 7 |
.SH SYNOPSIS |
| 8 |
.B hmmsearch |
| 9 |
[\fIoptions\fR] |
| 10 |
.I hmmfile |
| 11 |
.I seqdb |
| 12 |
|
| 13 |
|
| 14 |
.SH DESCRIPTION |
| 15 |
|
| 16 |
.PP |
| 17 |
.B hmmsearch |
| 18 |
is used to search one or more profiles against a sequence database. |
| 19 |
For each profile in |
| 20 |
.IR hmmfile , |
| 21 |
use that query profile to search the target database of sequences in |
| 22 |
.IR seqdb , |
| 23 |
and output ranked lists of the sequences with the most significant |
| 24 |
matches to the profile. |
| 25 |
To build profiles from multiple alignments, see |
| 26 |
.BR hmmbuild . |
| 27 |
|
| 28 |
.PP |
| 29 |
Either the query |
| 30 |
.I hmmfile |
| 31 |
or the target |
| 32 |
.I seqdb |
| 33 |
may be '\-' (a dash character), in which case |
| 34 |
the query profile or target database input will be read from a |
| 35 |
stdin |
| 36 |
pipe instead of from a |
| 37 |
file. Only one input source can come through |
| 38 |
stdin, |
| 39 |
not both. |
| 40 |
An exception is that if the |
| 41 |
.I hmmfile |
| 42 |
contains more than one profile query, then |
| 43 |
.I seqdb |
| 44 |
cannot come from stdin, because we can't rewind the |
| 45 |
streaming target database to search it with another profile. |
| 46 |
|
| 47 |
.PP |
| 48 |
The output format is designed to be human-readable, but is often so |
| 49 |
voluminous that reading it is impractical, and parsing it is a pain. The |
| 50 |
.B \-\-tblout |
| 51 |
and |
| 52 |
.B \-\-domtblout |
| 53 |
options save output in simple tabular formats that are concise and |
| 54 |
easier to parse. |
| 55 |
The |
| 56 |
.B \-o |
| 57 |
option allows redirecting the main output, including throwing it away |
| 58 |
in /dev/null. |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
.SH OPTIONS |
| 63 |
|
| 64 |
.TP |
| 65 |
.B \-h |
| 66 |
Help; print a brief reminder of command line usage and all available |
| 67 |
options. |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
.SH OPTIONS FOR CONTROLLING OUTPUT |
| 72 |
|
| 73 |
.TP |
| 74 |
.BI \-o " <f>" |
| 75 |
Direct the main human-readable output to a file |
| 76 |
.I <f> |
| 77 |
instead of the default stdout. |
| 78 |
|
| 79 |
.TP |
| 80 |
.BI \-A " <f>" |
| 81 |
Save a multiple alignment of all significant hits (those satisfying |
| 82 |
.IR "inclusion thresholds" ) |
| 83 |
to the file |
| 84 |
.IR <f> . |
| 85 |
|
| 86 |
.TP |
| 87 |
.BI \-\-tblout " <f>" |
| 88 |
Save a simple tabular (space-delimited) file summarizing the |
| 89 |
per-target output, with one data line per homologous target sequence |
| 90 |
found. |
| 91 |
|
| 92 |
.TP |
| 93 |
.BI \-\-domtblout " <f>" |
| 94 |
Save a simple tabular (space-delimited) file summarizing the |
| 95 |
per-domain output, with one data line per homologous domain |
| 96 |
detected in a query sequence for each homologous model. |
| 97 |
|
| 98 |
.TP |
| 99 |
.B \-\-acc |
| 100 |
Use accessions instead of names in the main output, where available |
| 101 |
for profiles and/or sequences. |
| 102 |
|
| 103 |
.TP |
| 104 |
.B \-\-noali |
| 105 |
Omit the alignment section from the main output. This can greatly |
| 106 |
reduce the output volume. |
| 107 |
|
| 108 |
.TP |
| 109 |
.B \-\-notextw |
| 110 |
Unlimit the length of each line in the main output. The default |
| 111 |
is a limit of 120 characters per line, which helps in displaying |
| 112 |
the output cleanly on terminals and in editors, but can truncate |
| 113 |
target profile description lines. |
| 114 |
|
| 115 |
.TP |
| 116 |
.BI \-\-textw " <n>" |
| 117 |
Set the main output's line length limit to |
| 118 |
.I <n> |
| 119 |
characters per line. The default is 120. |
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
.SH OPTIONS CONTROLLING REPORTING THRESHOLDS |
| 124 |
|
| 125 |
Reporting thresholds control which hits are reported in output files |
| 126 |
(the main output, |
| 127 |
.BR \-\-tblout , |
| 128 |
and |
| 129 |
.BR \-\-domtblout ). |
| 130 |
Sequence hits and domain hits are ranked by statistical significance |
| 131 |
(E-value) and output is generated in two sections called per-target |
| 132 |
and per-domain output. In per-target output, by default, all |
| 133 |
sequence hits with an E-value <= 10 are reported. In the per-domain |
| 134 |
output, for each target that has passed per-target reporting |
| 135 |
thresholds, all domains satisfying per-domain reporting thresholds are |
| 136 |
reported. By default, these are domains with conditional E-values of |
| 137 |
<= 10. The following options allow you to change the default |
| 138 |
E-value reporting thresholds, or to use bit score thresholds instead. |
| 139 |
|
| 140 |
|
| 141 |
.TP |
| 142 |
.BI \-E " <x>" |
| 143 |
In the per-target output, report target sequences with an E-value of <= |
| 144 |
.IR <x> . |
| 145 |
The default is 10.0, meaning that on average, about 10 false positives |
| 146 |
will be reported per query, so you can see the top of the noise |
| 147 |
and decide for yourself if it's really noise. |
| 148 |
|
| 149 |
.TP |
| 150 |
.BI \-T " <x>" |
| 151 |
Instead of thresholding per-profile output on E-value, instead |
| 152 |
report target sequences with a bit score of >= |
| 153 |
.IR <x> . |
| 154 |
|
| 155 |
.TP |
| 156 |
.BI \-\-domE " <x>" |
| 157 |
In the per-domain output, for target sequences that have already satisfied |
| 158 |
the per-profile reporting threshold, report individual domains |
| 159 |
with a conditional E-value of <= |
| 160 |
.IR <x> . |
| 161 |
The default is 10.0. |
| 162 |
A conditional E-value means the expected number of additional false |
| 163 |
positive domains in the smaller search space of those comparisons that |
| 164 |
already satisfied the per-target reporting threshold (and thus must |
| 165 |
have at least one homologous domain already). |
| 166 |
|
| 167 |
|
| 168 |
.TP |
| 169 |
.BI \-\-domT " <x>" |
| 170 |
Instead of thresholding per-domain output on E-value, instead |
| 171 |
report domains with a bit score of >= |
| 172 |
.IR <x> . |
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
.SH OPTIONS FOR INCLUSION THRESHOLDS |
| 178 |
|
| 179 |
Inclusion thresholds are stricter than reporting thresholds. |
| 180 |
Inclusion thresholds control which hits are considered to be reliable |
| 181 |
enough to be included in an output alignment or a subsequent search |
| 182 |
round, or marked as significant ("!") as opposed to questionable ("?") |
| 183 |
in domain output. |
| 184 |
|
| 185 |
.TP |
| 186 |
.BI \-\-incE " <x>" |
| 187 |
Use an E-value of <= |
| 188 |
.I <x> |
| 189 |
as the per-target inclusion threshold. |
| 190 |
The default is 0.01, meaning that on average, about 1 false positive |
| 191 |
would be expected in every 100 searches with different query |
| 192 |
sequences. |
| 193 |
|
| 194 |
.TP |
| 195 |
.BI \-\-incT " <x>" |
| 196 |
Instead of using E-values for setting the inclusion threshold, instead |
| 197 |
use a bit score of >= |
| 198 |
.I <x> |
| 199 |
as the per-target inclusion threshold. |
| 200 |
By default this option is unset. |
| 201 |
|
| 202 |
.TP |
| 203 |
.BI \-\-incdomE " <x>" |
| 204 |
Use a conditional E-value of <= |
| 205 |
.I <x> |
| 206 |
as the per-domain inclusion threshold, in targets that have already |
| 207 |
satisfied the overall per-target inclusion threshold. |
| 208 |
The default is 0.01. |
| 209 |
|
| 210 |
.TP |
| 211 |
.BI \-\-incdomT " <x>" |
| 212 |
Instead of using E-values, |
| 213 |
use a bit score of >= |
| 214 |
.I <x> |
| 215 |
as the per-domain inclusion threshold. |
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
.SH OPTIONS FOR MODEL-SPECIFIC SCORE THRESHOLDING |
| 220 |
|
| 221 |
Curated profile databases may define specific bit score thresholds for |
| 222 |
each profile, superseding any thresholding based on statistical |
| 223 |
significance alone. |
| 224 |
|
| 225 |
To use these options, the profile must contain the appropriate (GA, |
| 226 |
TC, and/or NC) optional score threshold annotation; this is picked up |
| 227 |
by |
| 228 |
.B hmmbuild |
| 229 |
from Stockholm format alignment files. Each thresholding option has |
| 230 |
two scores: the per-sequence threshold <x1> and the per-domain |
| 231 |
threshold <x2> |
| 232 |
These act as if |
| 233 |
.BI \-T " <x1>" |
| 234 |
.BI \-\-incT " <x1>" |
| 235 |
.BI \-\-domT " <x2>" |
| 236 |
.BI \-\-incdomT " <x2>" |
| 237 |
has been applied specifically using each model's curated thresholds. |
| 238 |
|
| 239 |
.TP |
| 240 |
.B \-\-cut_ga |
| 241 |
Use the GA (gathering) bit scores in the model to set |
| 242 |
per-sequence (GA1) and per-domain (GA2) reporting and inclusion |
| 243 |
thresholds. GA thresholds are generally considered to be the |
| 244 |
reliable curated thresholds defining family membership; for example, |
| 245 |
in Pfam, these thresholds define what gets included in Pfam Full |
| 246 |
alignments based on searches with Pfam Seed models. |
| 247 |
|
| 248 |
.TP |
| 249 |
.B \-\-cut_nc |
| 250 |
Use the NC (noise cutoff) bit score thresholds in the model to set |
| 251 |
per-sequence (NC1) and per-domain (NC2) reporting and inclusion |
| 252 |
thresholds. NC thresholds are generally considered to be the score of |
| 253 |
the highest-scoring known false positive. |
| 254 |
|
| 255 |
.TP |
| 256 |
.B \-\-cut_tc |
| 257 |
Use the TC (trusted cutoff) bit score thresholds in the model to set |
| 258 |
per-sequence (TC1) and per-domain (TC2) reporting and inclusion |
| 259 |
thresholds. TC thresholds are generally considered to be the score of |
| 260 |
the lowest-scoring known true positive that is above all known false |
| 261 |
positives. |
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
|
| 266 |
.SH OPTIONS CONTROLLING THE ACCELERATION PIPELINE |
| 267 |
|
| 268 |
HMMER3 searches are accelerated in a three-step filter pipeline: the |
| 269 |
MSV filter, the Viterbi filter, and the Forward filter. The first |
| 270 |
filter is the fastest and most approximate; the last is the full |
| 271 |
Forward scoring algorithm. There is also a bias filter step between |
| 272 |
MSV and Viterbi. Targets that pass all the steps in the acceleration |
| 273 |
pipeline are then subjected to postprocessing -- domain |
| 274 |
identification and scoring using the Forward/Backward algorithm. |
| 275 |
|
| 276 |
Changing filter thresholds only removes or includes targets from |
| 277 |
consideration; changing filter thresholds does not alter bit scores, |
| 278 |
E-values, or alignments, all of which are determined solely in |
| 279 |
postprocessing. |
| 280 |
|
| 281 |
.TP |
| 282 |
.B \-\-max |
| 283 |
Turn off all filters, including the bias filter, and run full |
| 284 |
Forward/Backward postprocessing on every target. This increases |
| 285 |
sensitivity somewhat, at a large cost in speed. |
| 286 |
|
| 287 |
.TP |
| 288 |
.BI \-\-F1 " <x>" |
| 289 |
Set the P-value threshold for the MSV filter step. The default is |
| 290 |
0.02, meaning that roughly 2% of the highest scoring nonhomologous |
| 291 |
targets are expected to pass the filter. |
| 292 |
|
| 293 |
.TP |
| 294 |
.BI \-\-F2 " <x>" |
| 295 |
Set the P-value threshold for the Viterbi filter step. |
| 296 |
The default is 0.001. |
| 297 |
|
| 298 |
.TP |
| 299 |
.BI \-\-F3 " <x>" |
| 300 |
Set the P-value threshold for the Forward filter step. |
| 301 |
The default is 1e-5. |
| 302 |
|
| 303 |
.TP |
| 304 |
.B \-\-nobias |
| 305 |
Turn off the bias filter. This increases sensitivity somewhat, but can |
| 306 |
come at a high cost in speed, especially if the query has biased |
| 307 |
residue composition (such as a repetitive sequence region, or if it is |
| 308 |
a membrane protein with large regions of hydrophobicity). Without the |
| 309 |
bias filter, too many sequences may pass the filter with biased |
| 310 |
queries, leading to slower than expected performance as the |
| 311 |
computationally intensive Forward/Backward algorithms shoulder an |
| 312 |
abnormally heavy load. |
| 313 |
|
| 314 |
|
| 315 |
|
| 316 |
.SH OTHER OPTIONS |
| 317 |
|
| 318 |
.TP |
| 319 |
.B \-\-nonull2 |
| 320 |
Turn off the null2 score corrections for biased composition. |
| 321 |
|
| 322 |
.TP |
| 323 |
.BI \-Z " <x>" |
| 324 |
Assert that the total number of targets in your searches is |
| 325 |
.IR <x> , |
| 326 |
for the purposes of per-sequence E-value calculations, |
| 327 |
rather than the actual number of targets seen. |
| 328 |
|
| 329 |
.TP |
| 330 |
.BI \-\-domZ " <x>" |
| 331 |
Assert that the total number of targets in your searches is |
| 332 |
.IR <x> , |
| 333 |
for the purposes of per-domain conditional E-value calculations, |
| 334 |
rather than the number of targets that passed the reporting thresholds. |
| 335 |
|
| 336 |
.TP |
| 337 |
.BI \-\-seed " <n>" |
| 338 |
Set the random number seed to |
| 339 |
.IR <n> . |
| 340 |
Some steps in postprocessing require Monte Carlo simulation. The |
| 341 |
default is to use a fixed seed (42), so that results are exactly |
| 342 |
reproducible. Any other positive integer will give different (but also |
| 343 |
reproducible) results. A choice of 0 uses a randomly chosen seed. |
| 344 |
|
| 345 |
.TP |
| 346 |
.BI \-\-tformat " <s>" |
| 347 |
Assert that target sequence file |
| 348 |
.I seqfile |
| 349 |
is in format |
| 350 |
.IR <s> , |
| 351 |
bypassing format autodetection. |
| 352 |
Common choices for |
| 353 |
.I <s> |
| 354 |
include: |
| 355 |
.BR fasta , |
| 356 |
.BR embl , |
| 357 |
.BR genbank. |
| 358 |
Alignment formats also work; |
| 359 |
common choices include: |
| 360 |
.BR stockholm , |
| 361 |
.BR a2m , |
| 362 |
.BR afa , |
| 363 |
.BR psiblast , |
| 364 |
.BR clustal , |
| 365 |
.BR phylip . |
| 366 |
For more information, and for codes for some less common formats, |
| 367 |
see main documentation. |
| 368 |
The string |
| 369 |
.I <s> |
| 370 |
is case-insensitive (\fBfasta\fR or \fBFASTA\fR both work). |
| 371 |
|
| 372 |
.TP |
| 373 |
.BI \-\-cpu " <n>" |
| 374 |
Set the number of parallel worker threads to |
| 375 |
.IR <n> . |
| 376 |
On multicore machines, the default is 2. |
| 377 |
You can also control this number by setting an environment variable, |
| 378 |
.IR HMMER_NCPU . |
| 379 |
There is also a master thread, so the actual number of threads that |
| 380 |
HMMER spawns is |
| 381 |
.IR <n> +1. |
| 382 |
|
| 383 |
This option is not available if HMMER was compiled with POSIX threads |
| 384 |
support turned off. |
| 385 |
|
| 386 |
|
| 387 |
.TP |
| 388 |
.BI \-\-stall |
| 389 |
For debugging the MPI master/worker version: pause after start, to |
| 390 |
enable the developer to attach debuggers to the running master and |
| 391 |
worker(s) processes. Send SIGCONT signal to release the pause. |
| 392 |
(Under gdb: |
| 393 |
.BR "(gdb) signal SIGCONT" ) |
| 394 |
(Only available if optional MPI support was enabled at compile-time.) |
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
.TP |
| 399 |
.B \-\-mpi |
| 400 |
Run under MPI control with master/worker parallelization (using |
| 401 |
.BR mpirun , |
| 402 |
for example, or equivalent). Only available if optional MPI support |
| 403 |
was enabled at compile-time. |
| 404 |
|
| 405 |
|
| 406 |
|
| 407 |
|
| 408 |
|
| 409 |
|
| 410 |
.SH SEE ALSO |
| 411 |
|
| 412 |
See |
| 413 |
.BR hmmer (1) |
| 414 |
for a master man page with a list of all the individual man pages |
| 415 |
for programs in the HMMER package. |
| 416 |
|
| 417 |
.PP |
| 418 |
For complete documentation, see the user guide that came with your |
| 419 |
HMMER distribution (Userguide.pdf); or see the HMMER web page |
| 420 |
(@HMMER_URL@). |
| 421 |
|
| 422 |
|
| 423 |
|
| 424 |
.SH COPYRIGHT |
| 425 |
|
| 426 |
.nf |
| 427 |
@HMMER_COPYRIGHT@ |
| 428 |
@HMMER_LICENSE@ |
| 429 |
.fi |
| 430 |
|
| 431 |
For additional information on copyright and licensing, see the file |
| 432 |
called COPYRIGHT in your HMMER source distribution, or see the HMMER |
| 433 |
web page |
| 434 |
(@HMMER_URL@). |
| 435 |
|
| 436 |
|
| 437 |
.SH AUTHOR |
| 438 |
|
| 439 |
.nf |
| 440 |
http://eddylab.org |
| 441 |
.fi |
| 442 |
|
| 443 |
|
| 444 |
|