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 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692
|
.TH "nhmmer" 1 "@HMMER_DATE@" "HMMER @HMMER_VERSION@" "HMMER Manual"
.SH NAME
nhmmer \- search DNA queries against a DNA sequence database
.SH SYNOPSIS
.B nhmmer
[\fIoptions\fR]
.I queryfile
.I seqdb
.SH DESCRIPTION
.PP
.B nhmmer
is used to search one or more nucleotide queries against a
nucleotide sequence database.
For each query in
.IR queryfile ,
use that query to search the target database of sequences in
.IR seqdb ,
and output a ranked list of the hits with the most significant
matches to the query. A query may be either a profile model
built using
.BR hmmbuild ,
a sequence alignment, or a single sequence. Sequence based
queries can be in a number of formats (see
.BR \-\-qformat ),
and can typically be autodetected. Note that only
Stockholm
format supports queries made up of more than one sequence
alignment.
.PP
Either the query
.I queryfile
or the target
.I seqdb
may be '\-' (a dash character), in which case
the query file or target database input will be read from a <stdin> pipe instead of from a
file. Only one input source can come through <stdin>, not both.
If the
.I queryfile
contains more than one query, then
.I seqdb
cannot come from stdin, because we can't rewind the
streaming target database to search it with another profile.
.PP
If the query is sequence-based (unaligned or aligned),
a new file containing the HMM(s) built from the input(s) in
.I queryfile
may optionally be produced, with the filename set using the
.B \-\-hmmout
flag.
.PP
The output format is designed to be human-readable, but is often so
voluminous that reading it is impractical, and parsing it is a pain. The
.B \-\-tblout
option saves output in a simple tabular format that is concise and
easier to parse.
The
.B \-o
option allows redirecting the main output, including throwing it away
in /dev/null.
.SH OPTIONS
.TP
.B \-h
Help; print a brief reminder of command line usage and all available
options.
.SH OPTIONS FOR CONTROLLING OUTPUT
.TP
.BI \-o " <f>"
Direct the main human-readable output to a file
.I <f>
instead of the default stdout.
.TP
.BI \-A " <f>"
Save a multiple alignment of all significant hits (those satisfying
"inclusion thresholds") to the file
.IR <f> .
.TP
.BI \-\-tblout " <f>"
Save a simple tabular (space-delimited) file summarizing the
per-target output, with one data line per homologous target sequence
found.
.TP
.BI \-\-dfamtblout " <f>"
Save a tabular (space-delimited) file summarizing the
per-hit output, similar to
.B \-\-tblout
but more succinct.
.TP
.BI \-\-aliscoresout " <f>"
Save to file a list of per-position scores for each hit.
This is useful, for example, in identifying regions of high
score density for use in resolving overlapping hits from
different models.
.TP
.BI \-\-hmmout " <f>"
If
.I queryfile
is sequence-based, write the internally-computed HMM(s) to file
.IR <f> .
.TP
.B \-\-acc
Use accessions instead of names in the main output, where available
for profiles and/or sequences.
.TP
.B \-\-noali
Omit the alignment section from the main output. This can greatly
reduce the output volume.
.TP
.B \-\-notextw
Unlimit the length of each line in the main output. The default
is a limit of 120 characters per line, which helps in displaying
the output cleanly on terminals and in editors, but can truncate
target profile description lines.
.TP
.BI \-\-textw " <n>"
Set the main output's line length limit to
.I <n>
characters per line. The default is 120.
.SH OPTIONS CONTROLLING SINGLE SEQUENCE SCORING
By default, if a query is a single sequence from a file in
fasta format,
.B nhmmer
uses a search model constructed from that sequence and a standard
20x20 substitution matrix for residue probabilities, along with two
additional parameters for position-independent gap open and gap extend
probabilities. These options allow the default single-sequence scoring
parameters to be changed, and for single-sequence scoring options to
be applied to a single sequence coming from an aligned format.
.TP
.BI \-\-singlemx
If a single sequence query comes from a multiple sequence alignment file,
such as in Stockholm format, the search model is by default constructed as is typically done
for multiple sequence alignments. This option forces
.B nhmmer
to use the single-sequence method with substitution score matrix.
.TP
.BI \-\-mxfile "<mxfile"
Obtain residue alignment probabilities from the substitution matrix
in file
.IR mxfile .
The default score matrix is DNA1 (this matrix is internal to
HMMER and does not have to be available as a file).
The format of a substitution matrix
.I mxfile
is the standard format accepted by BLAST, FASTA, and other sequence
analysis software.
See
.B ftp.ncbi.nlm.nih.gov/blast/matrices/
for example files. (The only
exception: we require matrices to be square, so for DNA, use files
like NCBI's NUC.4.4, not NUC.4.2.)
.TP
.BI \-\-popen " <x>"
Set the gap open probability for a single sequence query model to
.IR <x> .
The default is 0.02.
.I <x>
must be >= 0 and < 0.5.
.TP
.BI \-\-pextend " <x>"
Set the gap extend probability for a single sequence query model to
.IR <x> .
The default is 0.4.
.I <x>
must be >= 0 and < 1.0.
.SH OPTIONS CONTROLLING REPORTING THRESHOLDS
Reporting thresholds control which hits are reported in output files
(the main output,
.BR \-\-tblout ,
and
.BR \-\-dfamtblout ).
Hits are ranked by statistical significance (E-value).
.TP
.BI \-E " <x>"
Report target sequences with an E-value of <=
.IR <x> .
The default is 10.0, meaning that on average, about 10 false positives
will be reported per query, so you can see the top of the noise
and decide for yourself if it's really noise.
.TP
.BI \-T " <x>"
Instead of thresholding output on E-value, instead
report target sequences with a bit score of >=
.IR <x> .
.SH OPTIONS FOR INCLUSION THRESHOLDS
Inclusion thresholds are stricter than reporting thresholds.
Inclusion thresholds control which hits are considered to be reliable
enough to be included in an output alignment or a subsequent search
round, or marked as significant ("!") as opposed to questionable ("?")
in hit output.
.TP
.BI \-\-incE " <x>"
Use an E-value of <=
.I <x>
as the inclusion threshold.
The default is 0.01, meaning that on average, about 1 false positive
would be expected in every 100 searches with different query
sequences.
.TP
.BI \-\-incT " <x>"
Instead of using E-values for setting the inclusion threshold,
use a bit score of >=
.I <x>
as the inclusion threshold.
By default this option is unset.
.SH OPTIONS FOR MODEL-SPECIFIC SCORE THRESHOLDING
Curated profile databases may define specific bit score thresholds for
each profile, superseding any thresholding based on statistical
significance alone.
To use these options, the profile must contain the appropriate (GA,
TC, and/or NC) optional score threshold annotation; this is picked up
by
.B hmmbuild
from Stockholm format alignment files. For a nucleotide model, each
thresholding option has a single per-hit threshold <x>
This acts as if
.BI \-T " <x>"
.BI \-\-incT " <x>"
has been applied specifically using each model's curated thresholds.
.TP
.B \-\-cut_ga
Use the GA (gathering) bit score threshold in the model to set
per-hit reporting and inclusion
thresholds. GA thresholds are generally considered to be the
reliable curated thresholds defining family membership; for example,
in Dfam, these thresholds are applied when annotating a genome
with a model of a family known to be found in that organism. They
may allow for minimal expected false discovery rate.
.TP
.B \-\-cut_nc
Use the NC (noise cutoff) bit score threshold in the model to set
per-hit reporting and inclusion
thresholds. NC thresholds are less stringent than GA; in the context
of Pfam, they are generally used to store the score of the
highest-scoring known false positive.
.TP
.B \-\-cut_tc
Use the TC (trusted cutoff) bit score threshold in the model to set
per-hit reporting and inclusion
thresholds. TC thresholds are more stringent than GA, and are
generally considered to be the score of the lowest-scoring known
true positive that is above all known false positives; for example,
in Dfam, these thresholds are applied when annotating a genome
with a model of a family not known to be found in that organism.
.SH OPTIONS CONTROLLING THE ACCELERATION PIPELINE
HMMER3 searches are accelerated in a three-step filter pipeline: the
scanning-SSV filter, the Viterbi filter, and the Forward filter. The
first filter is the fastest and most approximate; the last is the full
Forward scoring algorithm. There is also a bias filter step between
SSV and Viterbi. Targets that pass all the steps in the acceleration
pipeline are then subjected to postprocessing -- domain
identification and scoring using the Forward/Backward algorithm.
Changing filter thresholds only removes or includes targets from
consideration; changing filter thresholds does not alter bit scores,
E-values, or alignments, all of which are determined solely in
postprocessing.
.TP
.B \-\-max
Turn off (nearly) all filters, including the bias filter, and run full
Forward/Backward postprocessing on most of the target sequence.
In contrast to
.B phmmer
and
.BR hmmsearch ,
where this flag really does turn off the filters entirely, the
.B \-\-max
flag in
.B nhmmer
sets the scanning-SSV filter threshold to 0.4, not 1.0. Use of this
flag increases sensitivity somewhat, at a large cost in speed.
.TP
.BI \-\-F1 " <x>"
Set the P-value threshold for the SSV filter step. The default is
0.02, meaning that roughly 2% of the highest scoring nonhomologous
targets are expected to pass the filter.
.TP
.BI \-\-F2 " <x>"
Set the P-value threshold for the Viterbi filter step.
The default is 0.001.
.TP
.BI \-\-F3 " <x>"
Set the P-value threshold for the Forward filter step.
The default is 1e-5.
.TP
.B \-\-nobias
Turn off the bias filter. This increases sensitivity somewhat, but can
come at a high cost in speed, especially if the query has biased
residue composition (such as a repetitive sequence region, or if it is
a membrane protein with large regions of hydrophobicity). Without the
bias filter, too many sequences may pass the filter with biased
queries, leading to slower than expected performance as the
computationally intensive Forward/Backward algorithms shoulder an
abnormally heavy load.
.SH OPTIONS FOR SPECIFYING THE ALPHABET
.TP
.B \-\-dna
Assert that sequences in
.I msafile
are DNA, bypassing alphabet autodetection.
.TP
.B \-\-rna
Assert that sequences in
.I msafile
are RNA, bypassing alphabet autodetection.
.SH OPTIONS CONTROLLING SEED SEARCH HEURISTIC
When searching with
.BR nhmmer ,
one may optionally precompute a binary version of the target database, using
.BR makehmmerdb ,
then search against that database. Using default settings, this yields a
roughly 10-fold acceleration with small loss of sensitivity on benchmarks.
This is achieved using a heuristic method that searches for seeds (ungapped
alignments) around which full processing is done. This is essentially
a replacement to the SSV stage. (This method has been extensively tested,
but should still be treated as somewhat experimental.)
The following options only impact
.B nhmmer
if the value of
.B \-\-tformat
is
.BR hmmerdb .
Changing parameters for this seed-finding step will impact both speed and
sensitivity - typically faster search leads to lower sensitivity.
.TP
.BI \-\-seed_max_depth " <n>"
The seed step requires that a seed reach a specified bit score in length
no longer than
.IR <n> .
By default, this value is 15. Longer seeds allow a greater chance of
meeting the bit score threshold, leading to diminished filtering
(greater sensitivity, slower run time).
.TP
.BI \-\-seed_sc_thresh " <x>"
The seed must reach score
.I <x>
(in bits). The default is 15.0 bits. A higher threshold increases
filtering stringency, leading to faster run times and lower
sensitivity.
.TP
.BI \-\-seed_sc_density " <x>"
Either all prefixes or all suffixes of a seed must have
bit density (bits per aligned position) of at least
.IR <x> .
The default is 0.8 bits/position. An increase in the density
requirement leads to increased filtering stringency, thus faster
run times and lower sensitivity.
.TP
.BI \-\-seed_drop_max_len " <n>"
A seed may not have a run of length
.I <n>
in which the score drops by
.B \-\-seed_drop_lim
or more. Basically, this prunes seeds that go through long
slightly-negative seed extensions. The default is 4. Increasing
the limit causes (slightly) diminished filtering efficiency, thus
slower run times and higher sensitivity. (minor tuning option)
.TP
.BI \-\-seed_drop_lim " <x>"
In a seed, there may be no run of length
.B \-\-seed_drop_max_len
in which the score drops by
.BR \-\-seed_drop_lim .
The default is 0.3 bits. Larger numbers mean less filtering.
(minor tuning option)
.TP
.BI \-\-seed_req_pos " <n>"
A seed must contain a run of at least
.I <n>
positive-scoring matches. The default is 5. Larger values mean
increased filtering.
(minor tuning option)
.TP
.BI \-\-seed_ssv_length " <n>"
After finding a short seed, an ungapped alignment is extended
in both directions in an attempt to meet the
.B \-\-F1
score threshold. The window through which this ungapped alignment
extends is length
.IR <n> .
The default is 70.
Decreasing this value slightly reduces run time, at a small risk of
reduced sensitivity. (minor tuning option)
.SH OTHER OPTIONS
.TP
.BI \-\-qformat " <s>"
Assert that input
.I queryfile
is a sequence file (unaligned or aligned), in format
.IR <s> ,
bypassing format autodetection.
Common choices for
.I <s>
include:
.BR fasta ,
.BR embl ,
.BR genbank.
Alignment formats also work, and will serve as the
basis for automatic creation of a profile HMM used for
searching;
common choices include:
.BR stockholm ,
.BR a2m ,
.BR afa ,
.BR psiblast ,
.BR clustal ,
.BR phylip .
For more information, and for codes for some less common formats,
see main documentation.
.TP
.BI \-\-qsingle_seqs
Force
.I queryfile
to be read as individual sequences, even if it is in
an msa format. For example, if the input is in aligned
.BR stockholm
format, the
.BR \-\-qsingle_seqs
flag will cause each sequence in that alignment to be used as a separate query sequence.
.TP
.BI \-\-tformat " <s>"
Assert that target sequence database
.I seqdb
is in format
.IR <s> ,
bypassing format autodetection.
Common choices for
.I <s>
include:
.BR fasta ,
.BR embl ,
.BR genbank ,
.BR ncbi ,
.BR fmindex .
Alignment formats also work;
common choices include:
.BR stockholm ,
.BR a2m ,
.BR afa ,
.BR psiblast ,
.BR clustal ,
.BR phylip .
For more information, and for codes for some less common formats,
see main documentation.
The string
.I <s>
is case-insensitive (\fBfasta\fR or \fBFASTA\fR both work).
The format
.B ncbi
indicates that the database file is a binary file produced using
.BR makeblastdb .
The format
.B fmindex
indicates that the database file is a binary file produced using
.BR makehmmerdb .
.TP
.B \-\-nonull2
Turn off the null2 score corrections for biased composition.
.TP
.BI \-Z " <x>"
For the purposes of per-hit E-value calculations,
Assert that the total size of the target database is
.I <x>
million nucleotides,
rather than the actual number of targets seen.
.TP
.BI \-\-seed " <n>"
Set the random number seed to
.IR <n> .
Some steps in postprocessing require Monte Carlo simulation. The
default is to use a fixed seed (42), so that results are exactly
reproducible. Any other positive integer will give different (but also
reproducible) results. A choice of 0 uses a randomly chosen seed.
.TP
.BI \-\-w_beta " <x>"
Window length tail mass.
The upper bound,
.IR W ,
on the length at which nhmmer expects to find an instance of the
model is set such that the fraction of all sequences generated
by the model with length >= W is less than
.IR <x> .
The default is 1e-7.
This flag may be used to override the value of
.I W
established for the model by
.BR hmmbuild ,
or when the query is sequence-based.
.TP
.BI \-\-w_length " <n>"
Override the model instance length upper bound, W,
which is otherwise controlled by
.BR \-\-w_beta .
It should be larger than the model length. The value of W
is used deep in the acceleration pipeline, and modest changes
are not expected to impact results (though larger values of W
do lead to longer run time).
This flag may be used to override the value of
W established for the model by
.BR hmmbuild ,
or when the query is sequence-based.
.TP
.B \-\-watson
Only search the top strand. By default both the query sequence
and its reverse-complement are searched.
.TP
.B \-\-crick
Only search the bottom (reverse-complement) strand. By
default both the query sequence and its reverse-complement are searched.
.TP
.BI \-\-cpu " <n>"
Set the number of parallel worker threads to
.IR <n> .
On multicore machines, the default is 2.
You can also control this number by setting an environment variable,
.IR HMMER_NCPU .
There is also a master thread, so the actual number of threads that
HMMER spawns is
.IR <n> +1.
This option is not available if HMMER was compiled with POSIX threads
support turned off.
.TP
.BI \-\-stall
For debugging the MPI master/worker version: pause after start, to
enable the developer to attach debuggers to the running master and
worker(s) processes. Send SIGCONT signal to release the pause.
(Under gdb:
.BR "(gdb) signal SIGCONT" )
(Only available if optional MPI support was enabled at compile-time.)
.TP
.BI \-\-mpi
Run under MPI control with master/worker parallelization (using
.BR mpirun ,
for example, or equivalent). Only available if optional MPI support
was enabled at compile-time.
.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
|