Debian Codegraph @

hmmer/documentation/man/hmmscan.man.in

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