| 1 |
.TH "phmmer" 1 "@HMMER_DATE@" "HMMER @HMMER_VERSION@" "HMMER Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
phmmer \- search protein sequence(s) against a protein sequence database |
| 5 |
|
| 6 |
|
| 7 |
.SH SYNOPSIS |
| 8 |
.B phmmer |
| 9 |
[\fIoptions\fR] |
| 10 |
.I seqfile |
| 11 |
.I seqdb |
| 12 |
|
| 13 |
|
| 14 |
.SH DESCRIPTION |
| 15 |
|
| 16 |
.PP |
| 17 |
.B phmmer |
| 18 |
is used to search one or more query protein sequences against a protein sequence database. |
| 19 |
For each query sequence in |
| 20 |
.IR seqfile , |
| 21 |
use that sequence 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 query. |
| 25 |
|
| 26 |
.PP |
| 27 |
Either the query |
| 28 |
.I seqfile |
| 29 |
or the target |
| 30 |
.I seqdb |
| 31 |
may be '\-' (a dash character), in which case |
| 32 |
the query sequences or target database input will be read from a <stdin> pipe instead of from a |
| 33 |
file. Only one input source can come through <stdin>, not both. |
| 34 |
An exception is that if the |
| 35 |
.I seqfile |
| 36 |
contains more than one query sequence, then |
| 37 |
.I seqdb |
| 38 |
cannot come from <stdin>, because we can't rewind the |
| 39 |
streaming target database to search it with another query. |
| 40 |
|
| 41 |
|
| 42 |
.PP |
| 43 |
The output format is designed to be human-readable, but is often so |
| 44 |
voluminous that reading it is impractical, and parsing it is a pain. The |
| 45 |
.B \-\-tblout |
| 46 |
and |
| 47 |
.B \-\-domtblout |
| 48 |
options save output in simple tabular formats that are concise and |
| 49 |
easier to parse. |
| 50 |
The |
| 51 |
.B \-o |
| 52 |
option allows redirecting the main output, including throwing it away |
| 53 |
in /dev/null. |
| 54 |
|
| 55 |
.SH OPTIONS |
| 56 |
|
| 57 |
.TP |
| 58 |
.B \-h |
| 59 |
Help; print a brief reminder of command line usage and all available |
| 60 |
options. |
| 61 |
|
| 62 |
|
| 63 |
.SH OPTIONS FOR CONTROLLING OUTPUT |
| 64 |
|
| 65 |
.TP |
| 66 |
.BI \-o " <f>" |
| 67 |
Direct the main human-readable output to a file |
| 68 |
.I <f> |
| 69 |
instead of the default stdout. |
| 70 |
|
| 71 |
.TP |
| 72 |
.BI \-A " <f>" |
| 73 |
Save a multiple alignment of all significant hits (those satisfying |
| 74 |
inclusion thresholds) |
| 75 |
to the file |
| 76 |
.I <f> |
| 77 |
in Stockholm format. |
| 78 |
|
| 79 |
.TP |
| 80 |
.BI \-\-tblout " <f>" |
| 81 |
Save a simple tabular (space-delimited) file summarizing the |
| 82 |
per-target output, with one data line per homologous target sequence |
| 83 |
found. |
| 84 |
|
| 85 |
.TP |
| 86 |
.BI \-\-domtblout " <f>" |
| 87 |
Save a simple tabular (space-delimited) file summarizing the |
| 88 |
per-domain output, with one data line per homologous domain |
| 89 |
detected in a query sequence for each homologous model. |
| 90 |
|
| 91 |
.TP |
| 92 |
.B \-\-acc |
| 93 |
Use accessions instead of names in the main output, where available |
| 94 |
for profiles and/or sequences. |
| 95 |
|
| 96 |
.TP |
| 97 |
.B \-\-noali |
| 98 |
Omit the alignment section from the main output. This can greatly |
| 99 |
reduce the output volume. |
| 100 |
|
| 101 |
.TP |
| 102 |
.B \-\-notextw |
| 103 |
Unlimit the length of each line in the main output. The default |
| 104 |
is a limit of 120 characters per line, which helps in displaying |
| 105 |
the output cleanly on terminals and in editors, but can truncate |
| 106 |
target profile description lines. |
| 107 |
|
| 108 |
.TP |
| 109 |
.BI \-\-textw " <n>" |
| 110 |
Set the main output's line length limit to |
| 111 |
.I <n> |
| 112 |
characters per line. The default is 120. |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
.SH OPTIONS CONTROLLING SCORING SYSTEM |
| 117 |
|
| 118 |
The probability model in |
| 119 |
.B phmmer |
| 120 |
is constructed by inferring residue probabilities from a standard |
| 121 |
20x20 substitution score matrix, plus two additional parameters for |
| 122 |
position-independent gap open and gap extend probabilities. |
| 123 |
|
| 124 |
.TP |
| 125 |
.BI \-\-popen " <x>" |
| 126 |
Set the gap open probability for a single sequence query model to |
| 127 |
.IR <x> . |
| 128 |
The default is 0.02. |
| 129 |
.I <x> |
| 130 |
must be >= 0 and < 0.5. |
| 131 |
|
| 132 |
.TP |
| 133 |
.BI \-\-pextend " <x>" |
| 134 |
Set the gap extend probability for a single sequence query model to |
| 135 |
.IR <x> . |
| 136 |
The default is 0.4. |
| 137 |
.I <x> |
| 138 |
must be >= 0 and < 1.0. |
| 139 |
|
| 140 |
.TP |
| 141 |
.BI \-\-mx " <s>" |
| 142 |
Obtain residue alignment probabilities from the built-in |
| 143 |
substitution matrix named |
| 144 |
.IR <s> . |
| 145 |
Several standard matrices are built-in, and do not need to be |
| 146 |
read from files. |
| 147 |
The matrix name |
| 148 |
.I <s> |
| 149 |
can be |
| 150 |
PAM30, PAM70, PAM120, PAM240, BLOSUM45, BLOSUM50, BLOSUM62, BLOSUM80, |
| 151 |
or BLOSUM90. |
| 152 |
Only one of the |
| 153 |
.B \-\-mx |
| 154 |
and |
| 155 |
.B \-\-mxfile |
| 156 |
options may be used. |
| 157 |
|
| 158 |
.TP |
| 159 |
.BI \-\-mxfile " mxfile" |
| 160 |
Obtain residue alignment probabilities from the substitution matrix |
| 161 |
in file |
| 162 |
.IR mxfile . |
| 163 |
The default score matrix is BLOSUM62 (this matrix is internal to |
| 164 |
HMMER and does not have to be available as a file). |
| 165 |
The format of a substitution matrix |
| 166 |
.I mxfile |
| 167 |
is the standard format accepted by BLAST, FASTA, and other sequence |
| 168 |
analysis software. |
| 169 |
See ftp.ncbi.nlm.nih.gov/blast/matrices/ for example files. (The only |
| 170 |
exception: we require matrices to be square, so for DNA, use files |
| 171 |
like NCBI's NUC.4.4, not NUC.4.2.) |
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
.SH OPTIONS CONTROLLING REPORTING THRESHOLDS |
| 176 |
|
| 177 |
Reporting thresholds control which hits are reported in output files |
| 178 |
(the main output, |
| 179 |
.BR \-\-tblout , |
| 180 |
and |
| 181 |
.BR \-\-domtblout ). |
| 182 |
Sequence hits and domain hits are ranked by statistical significance |
| 183 |
(E-value) and output is generated in two sections called per-target |
| 184 |
and per-domain output. In per-target output, by default, all |
| 185 |
sequence hits with an E-value <= 10 are reported. In the per-domain |
| 186 |
output, for each target that has passed per-target reporting |
| 187 |
thresholds, all domains satisfying per-domain reporting thresholds are |
| 188 |
reported. By default, these are domains with conditional E-values of |
| 189 |
<= 10. The following options allow you to change the default |
| 190 |
E-value reporting thresholds, or to use bit score thresholds instead. |
| 191 |
|
| 192 |
|
| 193 |
.TP |
| 194 |
.BI \-E " <x>" |
| 195 |
In the per-target output, report target sequences with an E-value of <= |
| 196 |
.IR <x> . |
| 197 |
The default is 10.0, meaning that on average, about 10 false positives |
| 198 |
will be reported per query, so you can see the top of the noise |
| 199 |
and decide for yourself if it's really noise. |
| 200 |
|
| 201 |
.TP |
| 202 |
.BI \-T " <x>" |
| 203 |
Instead of thresholding per-profile output on E-value, instead |
| 204 |
report target sequences with a bit score of >= |
| 205 |
.IR <x> . |
| 206 |
|
| 207 |
.TP |
| 208 |
.BI \-\-domE " <x>" |
| 209 |
In the per-domain output, for target sequences that have already satisfied |
| 210 |
the per-profile reporting threshold, report individual domains |
| 211 |
with a conditional E-value of <= |
| 212 |
.IR <x> . |
| 213 |
The default is 10.0. |
| 214 |
A conditional E-value means the expected number of additional false |
| 215 |
positive domains in the smaller search space of those comparisons that |
| 216 |
already satisfied the per-target reporting threshold (and thus must |
| 217 |
have at least one homologous domain already). |
| 218 |
|
| 219 |
.TP |
| 220 |
.BI \-\-domT " <x>" |
| 221 |
Instead of thresholding per-domain output on E-value, instead |
| 222 |
report domains with a bit score of >= |
| 223 |
.IR <x> . |
| 224 |
|
| 225 |
.SH OPTIONS CONTROLLING INCLUSION THRESHOLDS |
| 226 |
|
| 227 |
Inclusion thresholds are stricter than reporting thresholds. They |
| 228 |
control which hits are included in any output multiple alignment (the |
| 229 |
.B \-A |
| 230 |
option) and which domains are marked as significant ("!") as opposed |
| 231 |
to questionable ("?") in domain output. |
| 232 |
|
| 233 |
.TP |
| 234 |
.BI \-\-incE " <x>" |
| 235 |
Use an E-value of <= |
| 236 |
.I <x> |
| 237 |
as the per-target inclusion threshold. |
| 238 |
The default is 0.01, meaning that on average, about 1 false positive |
| 239 |
would be expected in every 100 searches with different query |
| 240 |
sequences. |
| 241 |
|
| 242 |
.TP |
| 243 |
.BI \-\-incT " <x>" |
| 244 |
Instead of using E-values for setting the inclusion threshold, instead |
| 245 |
use a bit score of >= |
| 246 |
.I <x> |
| 247 |
as the per-target inclusion threshold. |
| 248 |
By default this option is unset. |
| 249 |
|
| 250 |
.TP |
| 251 |
.BI \-\-incdomE " <x>" |
| 252 |
Use a conditional E-value of <= |
| 253 |
.I <x> |
| 254 |
as the per-domain inclusion threshold, in targets that have already |
| 255 |
satisfied the overall per-target inclusion threshold. |
| 256 |
The default is 0.01. |
| 257 |
|
| 258 |
.TP |
| 259 |
.BI \-\-incdomT " <x>" |
| 260 |
Instead of using E-values, |
| 261 |
use a bit score of >= |
| 262 |
.I <x> |
| 263 |
as the per-domain inclusion threshold. |
| 264 |
By default this option is unset. |
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
|
| 269 |
.SH OPTIONS CONTROLLING THE ACCELERATION PIPELINE |
| 270 |
|
| 271 |
HMMER3 searches are accelerated in a three-step filter pipeline: the |
| 272 |
MSV filter, the Viterbi filter, and the Forward filter. The first |
| 273 |
filter is the fastest and most approximate; the last is the full |
| 274 |
Forward scoring algorithm, slowest but most accurate. There is also a |
| 275 |
bias filter step between MSV and Viterbi. Targets that pass all the |
| 276 |
steps in the acceleration pipeline are then subjected to |
| 277 |
postprocessing -- domain identification and scoring using the |
| 278 |
Forward/Backward algorithm. |
| 279 |
|
| 280 |
Essentially the only free parameters that control HMMER's heuristic |
| 281 |
filters are the P-value thresholds controlling the expected fraction |
| 282 |
of nonhomologous sequences that pass the filters. Setting the default |
| 283 |
thresholds higher will pass a higher proportion of nonhomologous |
| 284 |
sequence, increasing sensitivity at the expense of speed; conversely, |
| 285 |
setting lower P-value thresholds will pass a smaller proportion, |
| 286 |
decreasing sensitivity and increasing speed. Setting a filter's |
| 287 |
P-value threshold to 1.0 means it will passing all sequences, and |
| 288 |
effectively disables the filter. |
| 289 |
|
| 290 |
Changing filter thresholds only removes or includes targets from |
| 291 |
consideration; changing filter thresholds does not alter bit scores, |
| 292 |
E-values, or alignments, all of which are determined solely in |
| 293 |
postprocessing. |
| 294 |
|
| 295 |
.TP |
| 296 |
.B \-\-max |
| 297 |
Maximum sensitivity. Turn off all filters, including the bias filter, |
| 298 |
and run full Forward/Backward postprocessing on every target. This |
| 299 |
increases sensitivity slightly, at a large cost in speed. |
| 300 |
|
| 301 |
.TP |
| 302 |
.BI \-\-F1 " <x>" |
| 303 |
First filter threshold; set the P-value threshold for the MSV filter |
| 304 |
step. The default is 0.02, meaning that roughly 2% of the highest |
| 305 |
scoring nonhomologous targets are expected to pass the filter. |
| 306 |
|
| 307 |
.TP |
| 308 |
.BI \-\-F2 " <x>" |
| 309 |
Second filter threshold; set the P-value threshold for the Viterbi |
| 310 |
filter step. The default is 0.001. |
| 311 |
|
| 312 |
.TP |
| 313 |
.BI \-\-F3 " <x>" |
| 314 |
Third filter threshold; set the P-value threshold for the Forward |
| 315 |
filter step. The default is 1e-5. |
| 316 |
|
| 317 |
.TP |
| 318 |
.B \-\-nobias |
| 319 |
Turn off the bias filter. This increases sensitivity somewhat, but can |
| 320 |
come at a high cost in speed, especially if the query has biased |
| 321 |
residue composition (such as a repetitive sequence region, or if it is |
| 322 |
a membrane protein with large regions of hydrophobicity). Without the |
| 323 |
bias filter, too many sequences may pass the filter with biased |
| 324 |
queries, leading to slower than expected performance as the |
| 325 |
computationally intensive Forward/Backward algorithms shoulder an |
| 326 |
abnormally heavy load. |
| 327 |
|
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
.SH OPTIONS CONTROLLING E-VALUE CALIBRATION |
| 332 |
|
| 333 |
Estimating the location parameters for the expected score |
| 334 |
distributions for MSV filter scores, Viterbi filter scores, and |
| 335 |
Forward scores requires three short random sequence simulations. |
| 336 |
|
| 337 |
.TP |
| 338 |
.BI \-\-EmL " <n>" |
| 339 |
Sets the sequence length in simulation that estimates the location |
| 340 |
parameter mu for MSV filter E-values. Default is 200. |
| 341 |
|
| 342 |
.TP |
| 343 |
.BI \-\-EmN " <n>" |
| 344 |
Sets the number of sequences in simulation that estimates the location |
| 345 |
parameter mu for MSV filter E-values. Default is 200. |
| 346 |
|
| 347 |
.TP |
| 348 |
.BI \-\-EvL " <n>" |
| 349 |
Sets the sequence length in simulation that estimates the location |
| 350 |
parameter mu for Viterbi filter E-values. Default is 200. |
| 351 |
|
| 352 |
.TP |
| 353 |
.BI \-\-EvN " <n>" |
| 354 |
Sets the number of sequences in simulation that estimates the location |
| 355 |
parameter mu for Viterbi filter E-values. Default is 200. |
| 356 |
|
| 357 |
.TP |
| 358 |
.BI \-\-EfL " <n>" |
| 359 |
Sets the sequence length in simulation that estimates the location |
| 360 |
parameter tau for Forward E-values. Default is 100. |
| 361 |
|
| 362 |
.TP |
| 363 |
.BI \-\-EfN " <n>" |
| 364 |
Sets the number of sequences in simulation that estimates the location |
| 365 |
parameter tau for Forward E-values. Default is 200. |
| 366 |
|
| 367 |
.TP |
| 368 |
.BI \-\-Eft " <x>" |
| 369 |
Sets the tail mass fraction to fit in the simulation that estimates |
| 370 |
the location parameter tau for Forward evalues. Default is 0.04. |
| 371 |
|
| 372 |
|
| 373 |
|
| 374 |
|
| 375 |
.SH OTHER OPTIONS |
| 376 |
|
| 377 |
.TP |
| 378 |
.B \-\-nonull2 |
| 379 |
Turn off the null2 score corrections for biased composition. |
| 380 |
|
| 381 |
.TP |
| 382 |
.BI \-Z " <x>" |
| 383 |
Assert that the total number of targets in your searches is |
| 384 |
.IR <x> , |
| 385 |
for the purposes of per-sequence E-value calculations, |
| 386 |
rather than the actual number of targets seen. |
| 387 |
|
| 388 |
.TP |
| 389 |
.BI \-\-domZ " <x>" |
| 390 |
Assert that the total number of targets in your searches is |
| 391 |
.IR <x> , |
| 392 |
for the purposes of per-domain conditional E-value calculations, |
| 393 |
rather than the number of targets that passed the reporting thresholds. |
| 394 |
|
| 395 |
.TP |
| 396 |
.BI \-\-seed " <n>" |
| 397 |
Seed the random number generator with |
| 398 |
.IR <n> , |
| 399 |
an integer >= 0. |
| 400 |
If |
| 401 |
.I <n> |
| 402 |
is >0, any stochastic simulations will be reproducible; the same |
| 403 |
command will give the same results. |
| 404 |
If |
| 405 |
.I <n> |
| 406 |
is 0, the random number generator is seeded arbitrarily, and |
| 407 |
stochastic simulations will vary from run to run of the same command. |
| 408 |
The default seed is 42. |
| 409 |
|
| 410 |
.TP |
| 411 |
.BI \-\-qformat " <s>" |
| 412 |
Assert that input |
| 413 |
.I seqfile |
| 414 |
is in format |
| 415 |
.IR <s> , |
| 416 |
bypassing format autodetection. |
| 417 |
Common choices for |
| 418 |
.I <s> |
| 419 |
include: |
| 420 |
.BR fasta , |
| 421 |
.BR embl , |
| 422 |
.BR genbank. |
| 423 |
Alignment formats also work; |
| 424 |
common choices include: |
| 425 |
.BR stockholm , |
| 426 |
.BR a2m , |
| 427 |
.BR afa , |
| 428 |
.BR psiblast , |
| 429 |
.BR clustal , |
| 430 |
.BR phylip . |
| 431 |
.B phmmer |
| 432 |
always uses a single sequence query to start its search, so when the input |
| 433 |
.I seqfile |
| 434 |
is an alignment, |
| 435 |
.B phmmer |
| 436 |
reads it one unaligned query sequence at a time, not as an alignment. |
| 437 |
For more information, and for codes for some less common formats, |
| 438 |
see main documentation. |
| 439 |
The string |
| 440 |
.I <s> |
| 441 |
is case-insensitive (\fBfasta\fR or \fBFASTA\fR both work). |
| 442 |
|
| 443 |
.BI \-\-tformat " <s>" |
| 444 |
Assert that target sequence database |
| 445 |
.I seqdb |
| 446 |
is in format |
| 447 |
.IR <s> , |
| 448 |
bypassing format autodetection. |
| 449 |
See |
| 450 |
.B \-\-qformat |
| 451 |
above for list of accepted format codes for |
| 452 |
.IR <s> . |
| 453 |
|
| 454 |
|
| 455 |
.TP |
| 456 |
.BI \-\-cpu " <n>" |
| 457 |
Set the number of parallel worker threads to |
| 458 |
.IR <n> . |
| 459 |
On multicore machines, the default is 2. |
| 460 |
You can also control this number by setting an environment variable, |
| 461 |
.IR HMMER_NCPU . |
| 462 |
There is also a master thread, so the actual number of threads that |
| 463 |
HMMER spawns is |
| 464 |
.IR <n> +1. |
| 465 |
|
| 466 |
This option is not available if HMMER was compiled with POSIX threads |
| 467 |
support turned off. |
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
.TP |
| 472 |
.BI \-\-stall |
| 473 |
For debugging the MPI master/worker version: pause after start, to |
| 474 |
enable the developer to attach debuggers to the running master and |
| 475 |
worker(s) processes. Send SIGCONT signal to release the pause. |
| 476 |
(Under gdb: |
| 477 |
.BR "(gdb) signal SIGCONT" ) |
| 478 |
(Only available if optional MPI support was enabled at compile-time.) |
| 479 |
|
| 480 |
.TP |
| 481 |
.BI \-\-mpi |
| 482 |
Run under MPI control with master/worker parallelization (using |
| 483 |
.BR mpirun , |
| 484 |
for example, or equivalent). Only available if optional MPI support |
| 485 |
was enabled at compile-time. |
| 486 |
|
| 487 |
|
| 488 |
|
| 489 |
|
| 490 |
|
| 491 |
.SH SEE ALSO |
| 492 |
|
| 493 |
See |
| 494 |
.BR hmmer (1) |
| 495 |
for a master man page with a list of all the individual man pages |
| 496 |
for programs in the HMMER package. |
| 497 |
|
| 498 |
.PP |
| 499 |
For complete documentation, see the user guide that came with your |
| 500 |
HMMER distribution (Userguide.pdf); or see the HMMER web page |
| 501 |
(@HMMER_URL@). |
| 502 |
|
| 503 |
|
| 504 |
|
| 505 |
.SH COPYRIGHT |
| 506 |
|
| 507 |
.nf |
| 508 |
@HMMER_COPYRIGHT@ |
| 509 |
@HMMER_LICENSE@ |
| 510 |
.fi |
| 511 |
|
| 512 |
For additional information on copyright and licensing, see the file |
| 513 |
called COPYRIGHT in your HMMER source distribution, or see the HMMER |
| 514 |
web page |
| 515 |
(@HMMER_URL@). |
| 516 |
|
| 517 |
|
| 518 |
.SH AUTHOR |
| 519 |
|
| 520 |
.nf |
| 521 |
http://eddylab.org |
| 522 |
.fi |
| 523 |
|