| 1 |
.TH "cmscan" 1 "@INFERNAL_DATE@" "Infernal @INFERNAL_VERSION@" "Infernal Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
cmscan - search sequence(s) against a covariance model database |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
.B cmscan |
| 8 |
.I [options] |
| 9 |
.I <cmdb> |
| 10 |
.I <seqfile> |
| 11 |
|
| 12 |
.SH DESCRIPTION |
| 13 |
|
| 14 |
.PP |
| 15 |
.B cmscan |
| 16 |
is used to search sequences against collections of covariance models. |
| 17 |
For each sequence in |
| 18 |
.I <seqfile>, |
| 19 |
use that query sequence to search the target database of |
| 20 |
CMs in |
| 21 |
.I <cmdb>, |
| 22 |
and output ranked lists of the CMs with the |
| 23 |
most significant matches to the sequence. |
| 24 |
|
| 25 |
.PP |
| 26 |
The |
| 27 |
.I <seqfile> |
| 28 |
may contain more than one query sequence. It can be in FASTA format, |
| 29 |
or several other common sequence file formats (genbank, embl, and |
| 30 |
among others), or in alignment file formats (stockholm, |
| 31 |
aligned fasta, and others). See the |
| 32 |
.I --qformat |
| 33 |
option for a complete list. |
| 34 |
|
| 35 |
.PP |
| 36 |
The |
| 37 |
.I <cmdb> |
| 38 |
needs to be press'ed using |
| 39 |
.B cmpress |
| 40 |
before it can be searched with |
| 41 |
.B cmscan. |
| 42 |
This creates four binary files, |
| 43 |
suffixed .i1{fimp}. |
| 44 |
Additionally, |
| 45 |
.I <cmdb> |
| 46 |
must have been calibrated for E-values with |
| 47 |
.B cmcalibrate |
| 48 |
before being press'ed with |
| 49 |
.B cmpress. |
| 50 |
|
| 51 |
.PP |
| 52 |
The query |
| 53 |
.I <seqfile> |
| 54 |
may be '-' (a dash character), in which case |
| 55 |
the query sequences are read from a <stdin> pipe instead of from a |
| 56 |
file. |
| 57 |
The |
| 58 |
.I <cmdb> |
| 59 |
cannot be read from a <stdin> stream, because it needs to have |
| 60 |
those four auxiliary binary files generated by |
| 61 |
.B cmpress. |
| 62 |
|
| 63 |
.PP |
| 64 |
The output format is designed to be human-readable, but is often so |
| 65 |
voluminous that reading it is impractical, and parsing it is a pain. The |
| 66 |
.B --tblout |
| 67 |
option saves output in a simple tabular format that is concise and |
| 68 |
easier to parse. The |
| 69 |
.BI --fmt " 2" |
| 70 |
option modifies the format of the tabular output by adding several |
| 71 |
fields, including markup of overlapping hits, as described in section |
| 72 |
6 of the Infernal user guide. |
| 73 |
The |
| 74 |
.B -o |
| 75 |
option allows redirecting the main output, including throwing it away |
| 76 |
in /dev/null. |
| 77 |
|
| 78 |
.PP |
| 79 |
.B cmscan |
| 80 |
reexamines the 5' and 3' termini of target sequences using |
| 81 |
specialized algorithms for detection of |
| 82 |
.I truncated |
| 83 |
hits, in which part of the 5' and/or 3' end of the actual full length |
| 84 |
homologous sequence is missing in the target sequence file. These |
| 85 |
types of hits will be most common in sequence files consisting of |
| 86 |
unassembled sequencing reads. By default, any 5' truncated hit is |
| 87 |
required to include the first residue of the target sequence it |
| 88 |
derives from in |
| 89 |
.I <seqfile>, |
| 90 |
and any 3' truncated hit is required to include the final residue of |
| 91 |
the target sequence it derives from. Any 5' and 3' truncated hit must |
| 92 |
include the first and final residue of the target sequence it derives |
| 93 |
from. The |
| 94 |
.B --anytrunc |
| 95 |
option will relax the requirements for hit inclusion of sequence |
| 96 |
endpoints, and truncated hits are allowed to start and stop at any |
| 97 |
positions of target sequences. |
| 98 |
Importantly though, with |
| 99 |
.B --anytrunc, |
| 100 |
hit E-values will be less accurate because model calibration does not |
| 101 |
consider the possibility of truncated hits, so use it with caution. |
| 102 |
The |
| 103 |
.B --notrunc |
| 104 |
option can be used to turn off truncated hit detection. |
| 105 |
.B --notrunc |
| 106 |
will reduce the running time of |
| 107 |
.B cmscan, |
| 108 |
most significantly for target |
| 109 |
.I <seqfile> |
| 110 |
files that include many short sequences. |
| 111 |
Truncated hit detection is automatically turned off when the |
| 112 |
.B --max, |
| 113 |
.B --nohmm, |
| 114 |
.B --qdb, |
| 115 |
or |
| 116 |
.B --nonbanded |
| 117 |
options are used because it relies on the use of an accelerated HMM |
| 118 |
banded alignment strategy that is turned off by any of those options. |
| 119 |
|
| 120 |
.SH OPTIONS |
| 121 |
|
| 122 |
.TP |
| 123 |
.B -h |
| 124 |
Help; print a brief reminder of command line usage and all available |
| 125 |
options. |
| 126 |
|
| 127 |
.TP |
| 128 |
.B -g |
| 129 |
Turn on the |
| 130 |
.I glocal |
| 131 |
alignment algorithm, global with respect to the query model and local |
| 132 |
with respect to the target database. By default, the local alignment |
| 133 |
algorithm is used which is local with respect to both the target |
| 134 |
sequence and the model. In local mode, the alignment to span two or |
| 135 |
more subsequences if necessary (e.g. if the structures of the query |
| 136 |
model and target sequence are only partially shared), allowing certain |
| 137 |
large insertions and deletions in the structure to be penalized |
| 138 |
differently than normal indels. Local mode performs better on |
| 139 |
empirical benchmarks and is significantly more sensitive for remote |
| 140 |
homology detection. Empirically, glocal searches return many fewer |
| 141 |
hits than local searches, so glocal may be desired for some |
| 142 |
applications. |
| 143 |
|
| 144 |
.TP |
| 145 |
.BI -Z " <x>" |
| 146 |
Calculate E-values as if the search space size was |
| 147 |
.I <x> |
| 148 |
megabases (Mb). Without the use of this option, the search space size |
| 149 |
changes for each query sequence, it is defined as the length of the |
| 150 |
current query sequence times 2 (because both strands of the sequence |
| 151 |
will be searched) times the number of CMs in |
| 152 |
.I <cmdb>. |
| 153 |
|
| 154 |
.TP |
| 155 |
.B --devhelp |
| 156 |
Print help, as with |
| 157 |
.B "-h", |
| 158 |
but also include expert options that are not displayed with |
| 159 |
.B "-h". |
| 160 |
These expert options are not expected to be relevant for the |
| 161 |
vast majority of users and so are not described in the manual page. |
| 162 |
The only resources for understanding what they actually do are the |
| 163 |
brief one-line descriptions output when |
| 164 |
.B "--devhelp" |
| 165 |
is enabled, and the source code. |
| 166 |
|
| 167 |
.SH OPTIONS FOR CONTROLLING OUTPUT |
| 168 |
|
| 169 |
.TP |
| 170 |
.BI -o " <f>" |
| 171 |
Direct the main human-readable output to a file |
| 172 |
.I <f> |
| 173 |
instead of the default stdout. |
| 174 |
|
| 175 |
.TP |
| 176 |
.BI --tblout " <f>" |
| 177 |
Save a simple tabular (space-delimited) file summarizing the |
| 178 |
hits found, with one data line per hit. |
| 179 |
The format of this file is described in section 6 of the Infernal user guide. |
| 180 |
|
| 181 |
.TP |
| 182 |
.BI --fmt " <n>" |
| 183 |
specify the format of the tabular output file specified with |
| 184 |
.BI --tblout " <f>" |
| 185 |
be in format |
| 186 |
.I <n>. |
| 187 |
Possible values for |
| 188 |
.I <n> |
| 189 |
are 1 or 2. By default |
| 190 |
.I <n> |
| 191 |
is 1 when |
| 192 |
.B --tblout |
| 193 |
is used without |
| 194 |
.B --fmt. |
| 195 |
With |
| 196 |
.BI --fmt " 2" |
| 197 |
nine additional fields are added to the tabular output file, most of |
| 198 |
which pertain to the annotation of overlapping hits. |
| 199 |
See section 6 the Infernal user guide for a description of both formats. |
| 200 |
|
| 201 |
.TP |
| 202 |
.B --acc |
| 203 |
Use accessions instead of names in the main output, where available |
| 204 |
for profiles and/or sequences. |
| 205 |
|
| 206 |
.TP |
| 207 |
.B --noali |
| 208 |
Omit the alignment section from the main output. This can greatly |
| 209 |
reduce the output volume. |
| 210 |
|
| 211 |
.TP |
| 212 |
.B --notextw |
| 213 |
Unlimit the length of each line in the main output. The default |
| 214 |
is a limit of 120 characters per line, which helps in displaying |
| 215 |
the output cleanly on terminals and in editors, but can truncate |
| 216 |
target profile description lines. |
| 217 |
|
| 218 |
.TP |
| 219 |
.BI --textw " <n>" |
| 220 |
Set the main output's line length limit to |
| 221 |
.I <n> |
| 222 |
characters per line. The default is 120. |
| 223 |
|
| 224 |
.TP |
| 225 |
.BI --verbose |
| 226 |
Include extra search pipeline statistics in the main output, including |
| 227 |
filter survival statistics for truncated hit detection and number of |
| 228 |
envelopes discarded due to matrix size overflows. |
| 229 |
|
| 230 |
.SH OPTIONS CONTROLLING REPORTING THRESHOLDS |
| 231 |
|
| 232 |
Reporting thresholds control which hits are reported in output files |
| 233 |
(the main output and |
| 234 |
.I --tblout) |
| 235 |
Hits are ranked by statistical significance (E-value). |
| 236 |
By default, all hits with an E-value <= 10 are reported. |
| 237 |
The following options allow you to change the default |
| 238 |
E-value reporting thresholds, or to use bit score thresholds instead. |
| 239 |
|
| 240 |
.TP |
| 241 |
.BI -E " <x>" |
| 242 |
In the per-target output, report target sequences with an E-value of <= |
| 243 |
.I <x>. |
| 244 |
The default is 10.0, meaning that on average, about 10 false positives |
| 245 |
will be reported per query, so you can see the top of the noise |
| 246 |
and decide for yourself if it's really noise. |
| 247 |
|
| 248 |
.TP |
| 249 |
.BI -T " <x>" |
| 250 |
Instead of thresholding per-CM output on E-value, |
| 251 |
report target sequences with a bit score of >= |
| 252 |
.I <x>. |
| 253 |
|
| 254 |
.SH OPTIONS FOR INCLUSION THRESHOLDS |
| 255 |
|
| 256 |
Inclusion thresholds are stricter than reporting thresholds. |
| 257 |
Inclusion thresholds control which hits are considered to be reliable |
| 258 |
enough to be included in a possible subsequent search round, |
| 259 |
or marked as significant ("!") as opposed to |
| 260 |
questionable ("?") in hit output. |
| 261 |
|
| 262 |
.TP |
| 263 |
.BI --incE " <x>" |
| 264 |
Use an E-value of <= |
| 265 |
.I <x> |
| 266 |
as the hit inclusion threshold. |
| 267 |
The default is 0.01, meaning that on average, about 1 false positive |
| 268 |
would be expected in every 100 searches with different query |
| 269 |
sequences. |
| 270 |
|
| 271 |
.TP |
| 272 |
.BI --incT " <x>" |
| 273 |
Instead of using E-values for setting the inclusion threshold, instead |
| 274 |
use a bit score of >= |
| 275 |
.I <x> |
| 276 |
as the hit inclusion threshold. |
| 277 |
By default this option is unset. |
| 278 |
|
| 279 |
.SH OPTIONS FOR MODEL-SPECIFIC SCORE THRESHOLDING |
| 280 |
|
| 281 |
Curated CM databases may define specific bit score thresholds for |
| 282 |
each CM, superseding any thresholding based on statistical |
| 283 |
significance alone. |
| 284 |
|
| 285 |
.PP |
| 286 |
To use these options, the profile must contain the appropriate (GA, |
| 287 |
TC, and/or NC) optional score threshold annotation; this is picked up |
| 288 |
by |
| 289 |
.B cmbuild |
| 290 |
from Stockholm format alignment files. Each thresholding option has a |
| 291 |
score of |
| 292 |
.I <x> |
| 293 |
bits, and acts |
| 294 |
as if |
| 295 |
.BI -T " <x>" |
| 296 |
.BI --incT " <x>" |
| 297 |
has been applied specifically using each model's curated thresholds. |
| 298 |
|
| 299 |
.TP |
| 300 |
.B --cut_ga |
| 301 |
Use the GA (gathering) bit scores in the model to set |
| 302 |
hit reporting and inclusion |
| 303 |
thresholds. GA thresholds are generally considered to be the |
| 304 |
reliable curated thresholds defining family membership; for example, |
| 305 |
in Rfam, these thresholds define what gets included in Rfam Full |
| 306 |
alignments based on searches with Rfam Seed models. |
| 307 |
|
| 308 |
.TP |
| 309 |
.B --cut_nc |
| 310 |
Use the NC (noise cutoff) bit score thresholds in the model to set |
| 311 |
hit reporting and inclusion thresholds. NC thresholds are generally |
| 312 |
considered to be the score of the highest-scoring known false positive. |
| 313 |
|
| 314 |
.TP |
| 315 |
.B --cut_tc |
| 316 |
Use the TC (trusted cutoff) bit score thresholds in the model to set |
| 317 |
hit reporting and inclusion thresholds. TC thresholds are generally |
| 318 |
considered to be the score of the lowest-scoring known true positive |
| 319 |
that is above all known false positives. |
| 320 |
|
| 321 |
.SH OPTIONS CONTROLLING THE ACCELERATION PIPELINE |
| 322 |
|
| 323 |
.PP |
| 324 |
Infernal searches are accelerated in a six-stage |
| 325 |
filter pipeline. The first five stages use a profile HMM to define |
| 326 |
envelopes that are passed to the stage six CM CYK filter. Any |
| 327 |
envelopes that survive all filters are assigned final scores using the |
| 328 |
the CM Inside algorithm. |
| 329 |
|
| 330 |
.PP |
| 331 |
The profile HMM filter is built by the |
| 332 |
.B cmbuild |
| 333 |
program and is stored in |
| 334 |
.I <cmfile>. |
| 335 |
|
| 336 |
.PP |
| 337 |
Each successive filter is slower than the previous one, but better |
| 338 |
than it at disciminating between subsequences that may contain |
| 339 |
high-scoring CM hits and those that do not. The first three HMM filter |
| 340 |
stages are the same as those used in HMMER3. Stage 1 (F1) is the |
| 341 |
local HMM SSV filter modified for long sequences. Stage 2 (F2) |
| 342 |
is the local HMM Viterbi filter. Stage 3 (F3) is the local HMM Forward |
| 343 |
filter. Each of the first three stages uses the profile HMM in local |
| 344 |
mode, which allows a target subsequence to align to any region of the |
| 345 |
HMM. Stage 4 (F4) is a glocal HMM filter, which requires a target |
| 346 |
subsequence to align to the full-length profile HMM. Stage 5 (F5) is |
| 347 |
the glocal HMM envelope definition filter, which uses HMMER3's domain |
| 348 |
identification heursitics to define envelope boundaries. After each |
| 349 |
stage from 2 to 5 a bias filter step (F2b, F3b, F4b, and F5b) is used |
| 350 |
to remove sequences that appear to have passed the filter due to |
| 351 |
biased composition alone. Any envelopes that survive stages F1 through |
| 352 |
F5b are then passed with the local CM CYK filter. The CYK filter uses |
| 353 |
constraints (bands) derived from an HMM alignment of the envelope to |
| 354 |
reduce the number of required calculations and save time. Any |
| 355 |
envelopes that pass CYK are scored with the local CM Inside algorithm, |
| 356 |
again using HMM bands for acceleration. |
| 357 |
|
| 358 |
.PP |
| 359 |
The default filter thresholds that define the minimum score required |
| 360 |
for a subsequence to survive each stage are defined based on the size of the |
| 361 |
search space (Z), which is defined as the length of the current query |
| 362 |
sequence times 2 (because both strands will be searched) times the |
| 363 |
number of profiles in |
| 364 |
.I <cmdb>. |
| 365 |
However, if either the |
| 366 |
.BI -Z " <x>" |
| 367 |
or |
| 368 |
.BI --FZ " <x>" |
| 369 |
options are used then the search space will be considered to be |
| 370 |
.I <x> |
| 371 |
for purposes of defining the filter thresholds. |
| 372 |
|
| 373 |
.PP |
| 374 |
For larger databases, the filters are more strict leading to more |
| 375 |
acceleration but potentially a greater loss of sensitivity. The |
| 376 |
rationale is that for larger databases, hits must have higher scores |
| 377 |
to achieve statistical significance, so stricter filtering that |
| 378 |
removes lower scoring insignificant hits is acceptable. |
| 379 |
|
| 380 |
.PP |
| 381 |
The P-value thresholds for all possible search space sizes and all filter |
| 382 |
stages are listed next. (A P-value threshold of 0.01 means that |
| 383 |
roughly 1% of the highest scoring nonhomologous subsequence are |
| 384 |
expected to pass the filter.) Z is defined as the number of |
| 385 |
nucleotides in the complete target sequence file times 2 because both |
| 386 |
strands will be searched with each model. |
| 387 |
|
| 388 |
.PP |
| 389 |
If Z is less than 2 Mb: F1 is 0.35; F2 and F2b are |
| 390 |
off; F3, F3b, F4, F4b and F5 are 0.02; F6 is 0.0001. |
| 391 |
|
| 392 |
.PP |
| 393 |
If Z is between 2 Mb and 20 Mb: F1 is 0.35; F2 and F2b are |
| 394 |
off; F3, F3b, F4, F4b and F5 are 0.005; F6 is 0.0001. |
| 395 |
|
| 396 |
.PP |
| 397 |
If Z is between 20 Mb and 200 Mb: F1 is 0.35; F2 and F2b are |
| 398 |
0.15; F3, F3b, F4, F4b and F5 are 0.003; F6 is 0.0001. |
| 399 |
|
| 400 |
.PP |
| 401 |
If Z is between 200 Mb and 2 Gb: F1 is 0.15; F2 and F2b are |
| 402 |
0.15; F3, F3b, F4, F4b, F5, and F5b are 0.0008; and F6 is 0.0001. |
| 403 |
|
| 404 |
.PP |
| 405 |
If Z is between 2 Gb and 20 Gb: F1 is 0.15; F2 and F2b are |
| 406 |
0.15; F3, F3b, F4, F4b, F5, and F5b are 0.0002; and F6 is 0.0001. |
| 407 |
|
| 408 |
.PP |
| 409 |
If Z is more than 20 Gb: F1 is 0.06; F2 and F2b are |
| 410 |
0.02; F3, F3b, F4, F4b, F5, and F5b are 0.0002; and F6 is 0.0001. |
| 411 |
|
| 412 |
.PP |
| 413 |
These thresholds were chosen based on performance on an internal |
| 414 |
benchmark testing many different possible settings. |
| 415 |
|
| 416 |
.PP |
| 417 |
There are five options for controlling the general filtering |
| 418 |
level. These options are, in order from least strict (slowest but most sensitive) to most |
| 419 |
strict (fastest but least sensitive): |
| 420 |
.B --max, |
| 421 |
.B --nohmm, |
| 422 |
.B --mid, |
| 423 |
.B --default, |
| 424 |
(this is the default setting) |
| 425 |
.B --rfam. |
| 426 |
and |
| 427 |
.B --hmmonly. |
| 428 |
With |
| 429 |
.B --default |
| 430 |
the filter thresholds will be database-size dependent. See the |
| 431 |
explanation of each of these individual options below for more information. |
| 432 |
|
| 433 |
.PP |
| 434 |
Additionally, an expert user can precisely control each filter stage |
| 435 |
score threshold with the |
| 436 |
.B --F1, |
| 437 |
.B --F1b, |
| 438 |
.B --F2, |
| 439 |
.B --F2b, |
| 440 |
.B --F3, |
| 441 |
.B --F3b, |
| 442 |
.B --F4, |
| 443 |
.B --F4b, |
| 444 |
.B --F5, |
| 445 |
.B --F5b, |
| 446 |
and |
| 447 |
.B --F6 |
| 448 |
options. As well as turn each stage on or off with the |
| 449 |
.B --noF1, |
| 450 |
.B --doF1b, |
| 451 |
.B --noF2, |
| 452 |
.B --noF2b, |
| 453 |
.B --noF3, |
| 454 |
.B --noF3b, |
| 455 |
.B --noF4, |
| 456 |
.B --noF4b, |
| 457 |
.B --noF5, |
| 458 |
and |
| 459 |
.B --noF6. |
| 460 |
options. |
| 461 |
These options are only displayed if the |
| 462 |
.B --devhelp |
| 463 |
option is used |
| 464 |
to keep the number of displayed options with |
| 465 |
.B -h |
| 466 |
reasonable, and because they are only expected to be useful to a |
| 467 |
small minority of users. |
| 468 |
|
| 469 |
.PP |
| 470 |
As a special case, for any models in |
| 471 |
.I <cmfile> |
| 472 |
which have zero basepairs, profile HMM searches are run instead of CM |
| 473 |
searches. HMM algorithms are more efficient than CM algorithms, and |
| 474 |
the benefit of CM algorithms is lost for models with no secondary |
| 475 |
structure (zero basepairs). These profile HMM searches will run |
| 476 |
significantly faster than the CM searches. You can force HMM-only |
| 477 |
searches with the |
| 478 |
.B --hmmonly |
| 479 |
option. For more information on HMM-only searches see the user guide. |
| 480 |
|
| 481 |
.TP |
| 482 |
.B --max |
| 483 |
Turn off all filters, and run non-banded Inside |
| 484 |
on every full-length target sequence. This increases |
| 485 |
sensitivity somewhat, at an extremely large cost in speed. |
| 486 |
|
| 487 |
.TP |
| 488 |
.B --nohmm |
| 489 |
Turn off all HMM filter stages (F1 through F5b). The CYK filter, using |
| 490 |
QDBs, will be run on every full-length target sequence and will |
| 491 |
enforce a P-value threshold of 0.0001. Each subsequence that survives |
| 492 |
CYK will be passed to Inside, which will also use QDBs (but a looser |
| 493 |
set). This increases sensitivity somewhat, at a very large cost in |
| 494 |
speed. |
| 495 |
|
| 496 |
.TP |
| 497 |
.B --mid |
| 498 |
Turn off the HMM SSV and Viterbi filter stages (F1 through F2b). |
| 499 |
Set remaining HMM filter thresholds (F3 through F5b) to 0.02 by |
| 500 |
default, but changeable to |
| 501 |
.I <x> |
| 502 |
with |
| 503 |
.BI --Fmid " <x>" |
| 504 |
sequence. This may increase sensitivity, at a significant cost in |
| 505 |
speed. |
| 506 |
|
| 507 |
.TP |
| 508 |
.B --default |
| 509 |
Use the default filtering strategy. This option is on by default. The |
| 510 |
filter thresholds are determined based on the database size. |
| 511 |
|
| 512 |
.TP |
| 513 |
.B --rfam |
| 514 |
Use a strict filtering strategy devised for large databases (more than |
| 515 |
20 Gb). This will accelerate the search at a potential cost to |
| 516 |
sensitivity. |
| 517 |
|
| 518 |
.TP |
| 519 |
.B --hmmonly |
| 520 |
Only use the filter profile HMM for searches, do not use the CM. |
| 521 |
Only filter stages F1 through F3 will be executed, using strict |
| 522 |
P-value thresholds (0.02 for F1, 0.001 for F2 and 0.00001 for F3). |
| 523 |
Additionally a bias composition filter is used after the F1 stage |
| 524 |
(with P=0.02 survival threshold). |
| 525 |
Any hit that survives all stages and has an HMM E-value or |
| 526 |
bit score above the reporting threshold will be output. |
| 527 |
The user can change the HMM-only filter thresholds and options with |
| 528 |
.B --hmmF1, |
| 529 |
.B --hmmF2, |
| 530 |
.B --hmmF3, |
| 531 |
.B --hmmnobias, |
| 532 |
.B --hmmnonull2, |
| 533 |
and |
| 534 |
.B --hmmmax. |
| 535 |
By default, searches for any model with zero basepairs will be run in |
| 536 |
HMM-only mode. This can be turned off, forcing CM searches for these |
| 537 |
models with the |
| 538 |
.B --nohmmonly |
| 539 |
option. |
| 540 |
|
| 541 |
.TP |
| 542 |
.BI --FZ " <x>" |
| 543 |
Set filter thresholds as the defaults used if the database were |
| 544 |
.B <x> |
| 545 |
megabases (Mb). If used with |
| 546 |
.B <x> |
| 547 |
greater than 20000 (20 Gb) this option has the same effect as |
| 548 |
.B --rfam. |
| 549 |
|
| 550 |
.TP |
| 551 |
.BI --Fmid " <x>" |
| 552 |
With the |
| 553 |
.B --mid |
| 554 |
option set the HMM filter thresholds (F3 through F5b) to |
| 555 |
.I <x>. |
| 556 |
By default, |
| 557 |
.I <x> |
| 558 |
is 0.02. |
| 559 |
|
| 560 |
.SH OTHER OPTIONS |
| 561 |
|
| 562 |
.TP |
| 563 |
.B --notrunc |
| 564 |
Turn off truncated hit detection. |
| 565 |
|
| 566 |
.TP |
| 567 |
.B --anytrunc |
| 568 |
Allow truncated hits to begin and end at any position in a target |
| 569 |
sequence. By default, 5' truncated hits must include the first residue of |
| 570 |
their target sequence and 3' truncated hits must include the final |
| 571 |
residue of their target sequence. With this option you may observe |
| 572 |
fewer full length hits that extend to the beginning and end of the |
| 573 |
query CM. As of version 1.1.5, truncated hits that end at sequence terminii |
| 574 |
with a lower score penalty than internally truncated hits are also |
| 575 |
considered (these were not considered in 1.1x versions prior to 1.1.5). |
| 576 |
To reproduce the behavior of this option from v1.1.4, use the |
| 577 |
.B --inttrunc |
| 578 |
option instead. |
| 579 |
|
| 580 |
.TP |
| 581 |
.B --nonull3 |
| 582 |
Turn off the null3 CM score corrections for biased composition. This |
| 583 |
correction is not used during the HMM filter stages. |
| 584 |
|
| 585 |
.TP |
| 586 |
.BI --mxsize " <x>" |
| 587 |
Set the maximum allowable CM DP matrix size to |
| 588 |
.I <x> |
| 589 |
megabytes. By default this size is 128 Mb. |
| 590 |
This should be large enough for the vast majority of searches, |
| 591 |
especially with smaller models. |
| 592 |
If |
| 593 |
.B cmscan |
| 594 |
encounters an envelope in the CYK or Inside stage that requires a |
| 595 |
larger matrix, the envelope will be discounted from |
| 596 |
consideration. This behavior is like an additional filter that |
| 597 |
prevents expensive (slow) CM DP calculations, but at a potential cost |
| 598 |
to sensitivity. |
| 599 |
Note that if |
| 600 |
.B cmscan |
| 601 |
is being run in |
| 602 |
.I <n> |
| 603 |
multiple threads on a multicore machine then each thread may |
| 604 |
have an allocated |
| 605 |
matrix of up to size |
| 606 |
.I <x> |
| 607 |
Mb at any given time. |
| 608 |
|
| 609 |
.TP |
| 610 |
.BI --smxsize " <x>" |
| 611 |
Set the maximum allowable CM search DP matrix size to |
| 612 |
.I <x> |
| 613 |
megabytes. By default this size is 128 Mb. |
| 614 |
This option is only relevant if the CM will not use HMM banded |
| 615 |
matrices, i.e. if the |
| 616 |
.B --max, |
| 617 |
.B --nohmm, |
| 618 |
.B --qdb, |
| 619 |
.B --fqdb, |
| 620 |
.B --nonbanded, |
| 621 |
or |
| 622 |
.B --fnonbanded |
| 623 |
options are also used. Note that if |
| 624 |
.B cmsearch |
| 625 |
is being run in |
| 626 |
.I <n> |
| 627 |
multiple threads on a multicore machine then each thread may |
| 628 |
have an allocated |
| 629 |
matrix of up to size |
| 630 |
.I <x> |
| 631 |
Mb at any given time. |
| 632 |
|
| 633 |
.TP |
| 634 |
.B --cyk |
| 635 |
Use the CYK algorithm, not Inside, to determine the final score of all |
| 636 |
hits. |
| 637 |
|
| 638 |
.TP |
| 639 |
.B --acyk |
| 640 |
Use the CYK algorithm to align hits. By default, the Durbin/Holmes |
| 641 |
optimal accuracy algorithm is used, which finds the alignment that |
| 642 |
maximizes the expected accuracy of all aligned residues. |
| 643 |
|
| 644 |
.TP |
| 645 |
.BI --wcx " <x>" |
| 646 |
For each CM, set the W parameter, the expected maximum length of a hit, to |
| 647 |
.I <x> |
| 648 |
times the consensus length of the model. By default, the W parameter is |
| 649 |
read from the CM file and was calculated based on the transition |
| 650 |
probabilities of the model by |
| 651 |
.B cmbuild. |
| 652 |
You can find out what the default W is for a model using |
| 653 |
.B cmstat. |
| 654 |
This option should be used with caution as it impacts the filtering |
| 655 |
pipeline at several different stages in nonobvious ways. It |
| 656 |
is only recommended for expert users searching for hits that are much |
| 657 |
longer than any of the homologs used to build the model in |
| 658 |
.B cmbuild, |
| 659 |
e.g. ones with large introns or other large insertions. |
| 660 |
It cannot be used in combination with the |
| 661 |
.B --nohmm, |
| 662 |
.B --fqdb |
| 663 |
or |
| 664 |
.B --qdb |
| 665 |
options because in those cases W is limited by |
| 666 |
query-dependent bands. |
| 667 |
|
| 668 |
.TP |
| 669 |
.B --toponly |
| 670 |
Only search the top (Watson) strand of target sequences in |
| 671 |
.I <seqfile>. |
| 672 |
By default, both strands are searched. This will halve the search |
| 673 |
space size (Z). |
| 674 |
|
| 675 |
.TP |
| 676 |
.B --bottomonly |
| 677 |
Only search the bottom (Crick) strand of target sequences in |
| 678 |
.I <seqfile>. |
| 679 |
By default, both strands are searched. This will halve the search |
| 680 |
space size (Z). |
| 681 |
|
| 682 |
.TP |
| 683 |
.BI --qformat " <s>" |
| 684 |
Assert that the query sequence database file is in format |
| 685 |
.I <s>. |
| 686 |
Accepted formats include |
| 687 |
.I fasta, |
| 688 |
.I embl, |
| 689 |
.I genbank, |
| 690 |
.I ddbj, |
| 691 |
.I stockholm, |
| 692 |
.I pfam, |
| 693 |
.I a2m, |
| 694 |
.I afa, |
| 695 |
.I clustal, |
| 696 |
and |
| 697 |
.I phylip |
| 698 |
The default is to autodetect the format of the file. |
| 699 |
|
| 700 |
.TP |
| 701 |
.BI --glist " <f>" |
| 702 |
Configure a subset of models from |
| 703 |
.I <cmfile> |
| 704 |
in glocal alignment mode, instead of local mode, namely the models |
| 705 |
listed in file |
| 706 |
.I <f>. |
| 707 |
Configure all other |
| 708 |
models (those not listed in |
| 709 |
.I <f>) |
| 710 |
in local mode. |
| 711 |
This option is incompatible with |
| 712 |
.I -g. |
| 713 |
File |
| 714 |
.I <f> |
| 715 |
must list valid names of models from |
| 716 |
.I <cmfile>, |
| 717 |
each separated by any whitespace character (e.g. a newline character). |
| 718 |
|
| 719 |
.TP |
| 720 |
.BI --clanin " <f>" |
| 721 |
Read clan information on the models in |
| 722 |
.I <cmfile> |
| 723 |
from file |
| 724 |
.I <f>. |
| 725 |
Not all models in |
| 726 |
.I <cmfile> |
| 727 |
need to be a member of a clan. |
| 728 |
This option must be used in combination with |
| 729 |
.BI --fmt " 2" |
| 730 |
and |
| 731 |
.B --tblout |
| 732 |
because clan annotation is only output in format 2 of the tabular |
| 733 |
output file. |
| 734 |
See section 9 of the Infernal user guide for specifications on the format of the |
| 735 |
clan input file |
| 736 |
.I <f>. |
| 737 |
|
| 738 |
.TP |
| 739 |
.B --oclan |
| 740 |
Only mark overlaps between models in the same clan. |
| 741 |
This option must be used in combination with |
| 742 |
.BI --fmt " 2" |
| 743 |
, |
| 744 |
.B --tblout |
| 745 |
and |
| 746 |
.B --clanin |
| 747 |
because clan annotation is only output in format 2 of the tabular |
| 748 |
output file, and clan information can only be input using the |
| 749 |
.B --clanin |
| 750 |
option. |
| 751 |
|
| 752 |
.TP |
| 753 |
.B --oskip |
| 754 |
Omit any hit h from the tabular output file that satisfies the |
| 755 |
following: another hit h2 overlaps with h and the E-value of h2 is |
| 756 |
lower than that of h, and h2 is itself not omitted. Hit h will not |
| 757 |
appear in the tabular output file, although it will still exist in the |
| 758 |
standard output. This option must be used in combination with |
| 759 |
.BI --fmt " 2" |
| 760 |
.B --tblout |
| 761 |
because overlap annotation is only output in format 2 of the tabular |
| 762 |
output file. |
| 763 |
When used in combination with |
| 764 |
.B "--oclan" |
| 765 |
only hits h that satisfy the following are omitted: |
| 766 |
another hit h2 overlaps with h, the E-value of h2 is lower than that |
| 767 |
of h, and both h and h2 are hits to models that are in the same clan. |
| 768 |
|
| 769 |
.TP |
| 770 |
.BI --cpu " <n>" |
| 771 |
Set the number of parallel worker threads to |
| 772 |
.IR <n> . |
| 773 |
On multicore machines, the default is 4. |
| 774 |
You can also control this number by setting an environment variable, |
| 775 |
.IR INFERNAL_NCPU . |
| 776 |
There is also a master thread, so the actual number of threads that |
| 777 |
Infernal spawns is |
| 778 |
.IR <n> +1. |
| 779 |
This option is not available if Infernal was compiled with POSIX threads |
| 780 |
support turned off. |
| 781 |
|
| 782 |
.TP |
| 783 |
.BI --stall |
| 784 |
For debugging the MPI master/worker version: pause after start, to |
| 785 |
enable the developer to attach debuggers to the running master and |
| 786 |
worker(s) processes. Send SIGCONT signal to release the pause. |
| 787 |
(Under gdb: |
| 788 |
.I (gdb) signal SIGCONT) |
| 789 |
(Only available if optional MPI support was enabled at compile-time.) |
| 790 |
|
| 791 |
.TP |
| 792 |
.BI --mpi |
| 793 |
Run in MPI master/worker mode, using |
| 794 |
.I mpirun. |
| 795 |
(Only available if optional MPI support was enabled at compile-time.) |
| 796 |
|
| 797 |
.SH SEE ALSO |
| 798 |
|
| 799 |
See |
| 800 |
.B infernal(1) |
| 801 |
for a master man page with a list of all the individual man pages |
| 802 |
for programs in the Infernal package. |
| 803 |
|
| 804 |
.PP |
| 805 |
For complete documentation, see the user guide that came with your |
| 806 |
Infernal distribution (Userguide.pdf); or see the Infernal web page |
| 807 |
(@INFERNAL_URL@). |
| 808 |
|
| 809 |
.SH COPYRIGHT |
| 810 |
|
| 811 |
.nf |
| 812 |
@INFERNAL_COPYRIGHT@ |
| 813 |
@INFERNAL_LICENSE@ |
| 814 |
.fi |
| 815 |
|
| 816 |
For additional information on copyright and licensing, see the file |
| 817 |
called COPYRIGHT in your Infernal source distribution, or see the Infernal |
| 818 |
web page |
| 819 |
(@INFERNAL_URL@). |
| 820 |
|
| 821 |
.SH AUTHOR |
| 822 |
|
| 823 |
.nf |
| 824 |
http://eddylab.org |
| 825 |
.fi |