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