| 1 |
.TH "cmalign" 1 "@INFERNAL_DATE@" "Infernal @INFERNAL_VERSION@" "Infernal Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
cmalign - align sequences to a covariance model |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
|
| 8 |
.TP |
| 9 |
.B cmalign |
| 10 |
.I [options] |
| 11 |
.I <cmfile> |
| 12 |
.I <seqfile> |
| 13 |
|
| 14 |
.SH DESCRIPTION |
| 15 |
|
| 16 |
.B cmalign |
| 17 |
aligns the RNA sequences in |
| 18 |
.I <seqfile> |
| 19 |
to the covariance model (CM) in |
| 20 |
.I <cmfile>. |
| 21 |
The new alignment is output to |
| 22 |
.I stdout |
| 23 |
in Stockholm format, but can be redirected to a file |
| 24 |
.I <f> |
| 25 |
with the |
| 26 |
.BI -o " <f>" |
| 27 |
option. |
| 28 |
|
| 29 |
.PP |
| 30 |
Either |
| 31 |
.I <cmfile> |
| 32 |
or |
| 33 |
.I <seqfile> |
| 34 |
(but not both) may be '-' (dash), which |
| 35 |
means reading this input from |
| 36 |
.I stdin |
| 37 |
rather than a file. |
| 38 |
|
| 39 |
.PP |
| 40 |
The sequence file |
| 41 |
.I <seqfile> |
| 42 |
must be in FASTA or Genbank format. |
| 43 |
|
| 44 |
.PP |
| 45 |
.B cmalign |
| 46 |
uses an HMM banding technique to accelerate alignment by default as |
| 47 |
described below for the |
| 48 |
.B --hbanded |
| 49 |
option. HMM banding can be turned off with the |
| 50 |
.B --nonbanded |
| 51 |
option. |
| 52 |
|
| 53 |
.PP |
| 54 |
By default, |
| 55 |
.B cmalign |
| 56 |
computes the alignment with maximum |
| 57 |
expected accuracy that is consistent with constraints (bands) derived |
| 58 |
from an HMM, using a banded version of the Durbin/Holmes optimal accuracy algorithm. |
| 59 |
This behavior can be changed with the |
| 60 |
.B --cyk |
| 61 |
or |
| 62 |
.B --sample |
| 63 |
options. |
| 64 |
|
| 65 |
.PP |
| 66 |
.B cmalign |
| 67 |
takes special care to correctly align truncated sequences, where some |
| 68 |
nucleotides from the beginning (5') and/or end (3') of the actual full |
| 69 |
length biological sequence are not present in the input sequence |
| 70 |
(see DL Kolbe and SR Eddy, Bioinformatics, 25:1236-1243, 2009). This |
| 71 |
behavior is on by default, but can be turned off with |
| 72 |
.B --notrunc. |
| 73 |
In previous versions of |
| 74 |
.B cmalign |
| 75 |
the |
| 76 |
.B --sub |
| 77 |
option was required to appropriately handle truncated sequences. The |
| 78 |
.B --sub |
| 79 |
option is still available in this version, but the new default method |
| 80 |
for handling truncated sequences should be as good or superior to the |
| 81 |
sub method in nearly all cases. |
| 82 |
|
| 83 |
.PP |
| 84 |
The |
| 85 |
.BI --mapali " <s>" |
| 86 |
option allows inclusion of the fixed training alignment used to build |
| 87 |
the CM from file |
| 88 |
.I <s> |
| 89 |
within the output alignment of |
| 90 |
.B cmalign. |
| 91 |
|
| 92 |
.PP |
| 93 |
It is possible to merge two or more alignments created by the |
| 94 |
same CM using the Easel miniapp |
| 95 |
.B esl-alimerge |
| 96 |
(included in the easel/miniapps/ subdirectory of Infernal). Previous |
| 97 |
versions of |
| 98 |
.B cmalign |
| 99 |
included options to merge alignments but they were deprecated upon development |
| 100 |
of |
| 101 |
.B esl-alimerge, |
| 102 |
which is significantly more memory efficient. |
| 103 |
|
| 104 |
.PP |
| 105 |
By default, |
| 106 |
.B cmalign |
| 107 |
will output the alignment to stdout. |
| 108 |
The alignment can be redirected to an output file |
| 109 |
.I <f> |
| 110 |
with the |
| 111 |
.BI -o " <f>" |
| 112 |
option. With |
| 113 |
.B -o, |
| 114 |
information on each aligned sequence, including score and model |
| 115 |
alignment boundaries will be printed to stdout (more on this below). |
| 116 |
|
| 117 |
.PP |
| 118 |
The output alignment will be in Stockholm format by default. This can |
| 119 |
be changed to Pfam, aligned FASTA (AFA), A2M, Clustal, or Phylip |
| 120 |
format using the |
| 121 |
.BI --outformat " <s>" |
| 122 |
option, where |
| 123 |
.I <s> |
| 124 |
is the name of the desired format. As a special case, if the output |
| 125 |
alignment is large (more than 10,000 sequences or more than 10,000,000 |
| 126 |
total nucleotides) than the output format will be Pfam format, with |
| 127 |
each sequence appearing on a single line, for reasons of memory |
| 128 |
efficiency. For alignments larger than this, using |
| 129 |
.B --ileaved |
| 130 |
will force interleaved Stockholm format, but the user should be aware |
| 131 |
that this may require a lot of memory. |
| 132 |
.B --ileaved |
| 133 |
will only work for alignments up to 100,000 sequences or 100,000,000 |
| 134 |
total nucleotides. |
| 135 |
|
| 136 |
.PP |
| 137 |
If the output alignment format is Stockholm or Pfam, the output |
| 138 |
alignment will be annotated with posterior probabilities which |
| 139 |
estimate the confidence level of each aligned nucleotide. This |
| 140 |
annotation appears as lines beginning with "#=GR <seq name> PP", one |
| 141 |
per sequence, each immediately below the corresponding aligned |
| 142 |
sequence "<seq name>". Characters in PP lines have 12 possible values: |
| 143 |
"0-9", "*", or ".". If ".", the position corresponds to a gap in the |
| 144 |
sequence. A value of "0" indicates a posterior probability of between |
| 145 |
0.0 and 0.05, "1" indicates between 0.05 and 0.15, "2" indicates |
| 146 |
between 0.15 and 0.25 and so on up to "9" which indicates between 0.85 |
| 147 |
and 0.95. A value of "*" indicates a posterior probability of between |
| 148 |
0.95 and 1.0. Higher posterior probabilities correspond to greater |
| 149 |
confidence that the aligned nucleotide belongs where it appears in the |
| 150 |
alignment. With |
| 151 |
.B --nonbanded, |
| 152 |
the calculation of the posterior probabilities |
| 153 |
considers all possible alignments of the target sequence to the |
| 154 |
CM. Without |
| 155 |
.B --nonbanded |
| 156 |
(i.e. in default mode), the calculation considers only possible |
| 157 |
alignments within the HMM bands. Further, the posterior probabilities |
| 158 |
are conditional on the truncation mode of the alignment. For example, if |
| 159 |
the sequence alignment is truncated 5', a PP value of "9" indicates between |
| 160 |
0.85 and 0.95 of all 5' truncated alignments include the given |
| 161 |
nucleotide at the given position. |
| 162 |
The posterior annotation can be turned off with the |
| 163 |
.B --noprob |
| 164 |
option. If |
| 165 |
.B --small |
| 166 |
is enabled, posterior annotation must also be turned off using |
| 167 |
.B --noprob. |
| 168 |
|
| 169 |
.PP |
| 170 |
The tabular output that is printed to stdout if the |
| 171 |
.B -o |
| 172 |
option is used includes one line per sequence and twelve fields per |
| 173 |
line: "idx": the index of the sequence in the input file, "seq name": |
| 174 |
the sequence name; "length": the length of the sequence; "cm from" and |
| 175 |
"cm to": the model start and end positions of the alignment; "trunc": |
| 176 |
"no" if the sequence is not truncated, "5'" if the beginning of the |
| 177 |
sequence truncated 5', "3'" if the end of the sequence is truncated, |
| 178 |
and "5'&3'" if both the beginning and the end are truncated; "bit sc": |
| 179 |
the bit score of the alignment, "avg pp" the average posterior |
| 180 |
probability of all aligned nucleotides in the alignment; "band calc", |
| 181 |
"alignment" and "total": the time in seconds required for calculating |
| 182 |
HMM bands, computing the alignment, and complete processing of the |
| 183 |
sequence, respectively; "mem (Mb)": the size in Mb of all dynamic |
| 184 |
programming matrices required for aligning the sequence. This tabular |
| 185 |
data can be saved to file |
| 186 |
.I <f> |
| 187 |
with the |
| 188 |
.BI --sfile " <f>" |
| 189 |
option. |
| 190 |
|
| 191 |
.SH OPTIONS |
| 192 |
|
| 193 |
.TP |
| 194 |
.B -h |
| 195 |
Help; print a brief reminder of command line usage and available |
| 196 |
options. |
| 197 |
|
| 198 |
.TP |
| 199 |
.BI -o " <f>" |
| 200 |
Save the alignment in Stockholm format to a file |
| 201 |
.I <f>. |
| 202 |
The default is to write it to standard output. |
| 203 |
|
| 204 |
.TP |
| 205 |
.B -g |
| 206 |
Configure the model for global alignment of the query model to the |
| 207 |
target sequences. By default, the model is configured for local |
| 208 |
alignment. Local alignments can contain large insertions and deletions |
| 209 |
called "local ends" in the structure to be penalized differently than |
| 210 |
normal indels. These are annotated as "~" |
| 211 |
columns in the RF line of the output alignment. The |
| 212 |
.B -g |
| 213 |
option can be used to disallow these local ends. |
| 214 |
The |
| 215 |
.B -g |
| 216 |
option is required if the |
| 217 |
.B --sub |
| 218 |
option is also used. |
| 219 |
|
| 220 |
.SH OPTIONS FOR CONTROLLING THE ALIGNMENT ALGORITHM |
| 221 |
|
| 222 |
.TP |
| 223 |
.B --optacc |
| 224 |
Align sequences using the Durbin/Holmes optimal accuracy |
| 225 |
algorithm. This is the default. |
| 226 |
The optimal accuracy alignment will be constrained by HMM bands for acceleration |
| 227 |
unless the |
| 228 |
.B --nonbanded |
| 229 |
option is enabled. |
| 230 |
The optimal accuracy algorithm determines the alignment that |
| 231 |
maximizes the posterior probabilities of the aligned nucleotides within it. |
| 232 |
The posterior probabilites are determined using (possibly HMM banded) |
| 233 |
variants of the Inside and Outside algorithms. |
| 234 |
|
| 235 |
.TP |
| 236 |
.B --cyk |
| 237 |
Do not use the Durbin/Holmes optimal accuracy alignment to align the |
| 238 |
sequences, instead use the CYK algorithm which determines the |
| 239 |
optimally scoring (maximum likelihood) alignment of the sequence to |
| 240 |
the model, given the HMM bands (unless |
| 241 |
.B --nonbanded |
| 242 |
is also enabled). |
| 243 |
|
| 244 |
.TP |
| 245 |
.B --sample |
| 246 |
Sample an alignment from the posterior distribution of alignments. |
| 247 |
The posterior distribution is determined using an HMM banded (unless |
| 248 |
.B --nonbanded) |
| 249 |
variant of the Inside algorithm. |
| 250 |
|
| 251 |
.TP |
| 252 |
.BI --seed " <n>" |
| 253 |
Seed the random number generator with |
| 254 |
.I <n>, |
| 255 |
an integer >= 0. |
| 256 |
This option can only be used in combination with |
| 257 |
.B --sample. |
| 258 |
If |
| 259 |
.I <n> |
| 260 |
is nonzero, stochastic sampling of alignments will be reproducible; the same |
| 261 |
command will give the same results. |
| 262 |
If |
| 263 |
.I <n> |
| 264 |
is 0, the random number generator is seeded arbitrarily, and |
| 265 |
stochastic samplings may vary from run to run of the same command. |
| 266 |
The default seed is 181. |
| 267 |
|
| 268 |
.TP |
| 269 |
.B --notrunc |
| 270 |
Turn off truncated alignment algorithms. |
| 271 |
All sequences in the input file will be assumed to be full length, |
| 272 |
unless |
| 273 |
.B --sub |
| 274 |
is also used, in which case the program can still handle truncated |
| 275 |
sequences but will use an alternative strategy for their alignment. |
| 276 |
|
| 277 |
.TP |
| 278 |
.B --sub |
| 279 |
Turn on the sub model construction and alignment procedure. For each |
| 280 |
sequence, an HMM is first used to predict the model start and end |
| 281 |
consensus columns, and a new sub CM is constructed that only models |
| 282 |
consensus columns from start to end. The sequence is then aligned to |
| 283 |
this sub CM. Sub alignment is an older method than the default one for aligning sequences |
| 284 |
that are possibly truncated. By default, |
| 285 |
.B cmalign |
| 286 |
uses special DP algorithms to handle truncated sequences which should |
| 287 |
be more accurate than the sub method in most cases. |
| 288 |
.B --sub |
| 289 |
is still included as an option mainly for testing against this default |
| 290 |
truncated sequence handling. This "sub CM" procedure is not the same |
| 291 |
as the "sub CMs" described by Weinberg and Ruzzo. |
| 292 |
|
| 293 |
.SH OPTIONS FOR CONTROLLING SPEED AND MEMORY REQUIREMENTS |
| 294 |
|
| 295 |
.TP |
| 296 |
.B --hbanded |
| 297 |
This option is turned on by default. Accelerate alignment by pruning |
| 298 |
away regions of the CM DP matrix that are deemed negligible by an HMM. |
| 299 |
First, each sequence is scored with a CM plan 9 HMM derived from the |
| 300 |
CM using the Forward and Backward HMM algorithms to calculate |
| 301 |
posterior probabilities that each nucleotide aligns to each state of |
| 302 |
the HMM. These posterior probabilities are used to derive constraints |
| 303 |
(bands) on the CM DP matrix. Finally, the target sequence is aligned |
| 304 |
to the CM using the banded DP matrix, during which cells outside the |
| 305 |
bands are ignored. Usually most of the full DP matrix lies outside the |
| 306 |
bands (often more than 95%), making this technique faster because |
| 307 |
fewer DP calculations are required, and more memory efficient because |
| 308 |
only cells within the bands need be allocated. |
| 309 |
|
| 310 |
Importantly, HMM banding sacrifices the guarantee of determining the |
| 311 |
optimally accurarte or optimal alignment, which will be missed if it |
| 312 |
lies outside the bands. The tau parameter is the amount of probability |
| 313 |
mass considered negligible during HMM band calculation; lower values |
| 314 |
of tau yield greater speedups but also a greater chance of missing the |
| 315 |
optimal alignment. The default tau is 1E-7, determined empirically as |
| 316 |
a good tradeoff between sensitivity and speed, though this value can |
| 317 |
be changed with the |
| 318 |
.B --tau " <x>" |
| 319 |
option. The level of acceleration increases with both the length and |
| 320 |
primary sequence conservation level of the family. For example, with |
| 321 |
the default tau of 1E-7, tRNA models (low primary sequence |
| 322 |
conservation with length of about 75 nucleotides) show about 10X |
| 323 |
acceleration, and SSU bacterial rRNA models (high primary sequence |
| 324 |
conservation with length of about 1500 nucleotides) show about 700X. |
| 325 |
HMM banding can be turned off with the |
| 326 |
.B --nonbanded |
| 327 |
option. |
| 328 |
|
| 329 |
.TP |
| 330 |
.BI --tau " <x>" |
| 331 |
Set the tail loss probability used during HMM band calculation to |
| 332 |
.I <x>. |
| 333 |
This is the amount of probability mass within the HMM posterior |
| 334 |
probabilities that is considered negligible. The default value is 1E-7. |
| 335 |
In general, higher values will result in greater acceleration, but |
| 336 |
increase the chance of missing the optimal alignment due to the HMM |
| 337 |
bands. |
| 338 |
|
| 339 |
.TP |
| 340 |
.BI --mxsize " <x>" |
| 341 |
Set the maximum allowable total DP matrix size to |
| 342 |
.I <x> |
| 343 |
megabytes. By default this size is 1024 Mb. |
| 344 |
This should be large enough for the vast majority of alignments, |
| 345 |
however if it is not |
| 346 |
.B cmalign |
| 347 |
will attempt to iteratively tighten the HMM bands it uses to constrain the |
| 348 |
alignment by raising the tau parameter and recalculating the bands |
| 349 |
until the total matrix size needed falls below |
| 350 |
.I <x> |
| 351 |
megabytes or the maximum allowable tau value (0.05 by default, but |
| 352 |
changeable with |
| 353 |
.B --maxtau) |
| 354 |
is reached. At each iteration of band tightening, tau is multiplied by |
| 355 |
a 2.0. The band tightening strategy can be turned off with the |
| 356 |
.B --fixedtau |
| 357 |
option. |
| 358 |
If the maximum tau is reached and the required matrix size still exceeds |
| 359 |
.I <x> |
| 360 |
or if HMM banding is not being used and the required matrix size exceeds |
| 361 |
.I <x> |
| 362 |
then |
| 363 |
.B cmalign |
| 364 |
will exit prematurely and report an error message that |
| 365 |
the matrix exceeded its maximum allowable size. In this case, the |
| 366 |
.B --mxsize |
| 367 |
can be used to raise the size limit or the maximum tau |
| 368 |
can be raised with |
| 369 |
.B --maxtau. |
| 370 |
The limit will commonly be exceeded when the |
| 371 |
.B --nonbanded |
| 372 |
option is used without the |
| 373 |
.B --small |
| 374 |
option, but can still occur when |
| 375 |
.B --nonbanded |
| 376 |
is not used. Note that if |
| 377 |
.B cmalign |
| 378 |
is being run in |
| 379 |
.I <n> |
| 380 |
multiple threads on a multicore machine then each thread may |
| 381 |
have an allocated |
| 382 |
matrix of up to size |
| 383 |
.I <x> |
| 384 |
Mb at any given time. |
| 385 |
|
| 386 |
.TP |
| 387 |
.B --fixedtau |
| 388 |
Turn off the HMM band tightening strategy described in the explanation |
| 389 |
of the |
| 390 |
.B --mxsize |
| 391 |
option above. |
| 392 |
|
| 393 |
.TP |
| 394 |
.BI --maxtau " <x>" |
| 395 |
Set the maximum allowed value for tau during band |
| 396 |
tightening, described in the explanation of |
| 397 |
.B --mxsize |
| 398 |
above, to |
| 399 |
.I <x>. |
| 400 |
By default this value is 0.05. |
| 401 |
|
| 402 |
.TP |
| 403 |
.B --nonbanded |
| 404 |
Turns off HMM banding. The returned alignment is guaranteed to be the |
| 405 |
globally optimally accurate one (by default) or the globally optimally |
| 406 |
scoring one (if |
| 407 |
.B --cyk |
| 408 |
is enabled). |
| 409 |
The |
| 410 |
.B --small |
| 411 |
option is recommended in combination with this option, because |
| 412 |
standard alignment without HMM banding requires a lot of memory (see |
| 413 |
.B --small |
| 414 |
). |
| 415 |
|
| 416 |
.TP |
| 417 |
.B --small |
| 418 |
Use the divide and conquer CYK alignment algorithm described in SR |
| 419 |
Eddy, BMC Bioinformatics 3:18, 2002. The |
| 420 |
.B --nonbanded |
| 421 |
option must be used in combination with this options. |
| 422 |
Also, it is recommended whenever |
| 423 |
.B --nonbanded |
| 424 |
is used that |
| 425 |
.B --small |
| 426 |
is also used because standard CM alignment without HMM banding requires a lot of |
| 427 |
memory, especially for large RNAs. |
| 428 |
.B --small |
| 429 |
allows CM alignment within practical memory limits, |
| 430 |
reducing the memory required for alignment LSU rRNA, the largest known |
| 431 |
RNAs, from 150 Gb to less than 300 Mb. |
| 432 |
This option can only be used in combination with |
| 433 |
.B --noprob, |
| 434 |
.B --nonbanded, |
| 435 |
.B --notrunc, |
| 436 |
and |
| 437 |
.B --cyk. |
| 438 |
|
| 439 |
.SH OPTIONAL OUTPUT FILES |
| 440 |
|
| 441 |
.TP |
| 442 |
.BI --sfile " <f>" |
| 443 |
Dump per-sequence alignment score and timig information to file |
| 444 |
.I <f>. |
| 445 |
The format of this file is described above (it's the same data in the |
| 446 |
same format as the tabular stdout output when the |
| 447 |
.B -o |
| 448 |
option is used). |
| 449 |
|
| 450 |
.TP |
| 451 |
.BI --tfile " <f>" |
| 452 |
Dump tabular sequence tracebacks for each individual |
| 453 |
sequence to a file |
| 454 |
.I <f>. |
| 455 |
Primarily useful for debugging. |
| 456 |
|
| 457 |
.TP |
| 458 |
.BI --ifile " <f>" |
| 459 |
Dump per-sequence insert information to file |
| 460 |
.I <f>. |
| 461 |
The format of the file is described by "#"-prefixed comment lines |
| 462 |
included at the top of the file |
| 463 |
.I <f>. |
| 464 |
The insert information is valid even when the |
| 465 |
.B --matchonly |
| 466 |
option is used. |
| 467 |
|
| 468 |
.TP |
| 469 |
.BI --elfile " <f>" |
| 470 |
Dump per-sequence EL state (local end) insert information to file |
| 471 |
.I <f>. |
| 472 |
The format of the file is described by "#"-prefixed comment lines |
| 473 |
included at the top of the file |
| 474 |
.I <f>. |
| 475 |
The EL insert information is valid even when the |
| 476 |
.B --matchonly |
| 477 |
option is used. |
| 478 |
|
| 479 |
.SH OTHER OPTIONS |
| 480 |
|
| 481 |
.TP |
| 482 |
.BI --mapali " <f>" |
| 483 |
Reads the alignment from file |
| 484 |
.I <f> |
| 485 |
used to build the model aligns it as a single object to the CM; e.g. the alignment in |
| 486 |
.I <f> |
| 487 |
is held fixed. |
| 488 |
This allows you to align sequences to a model with |
| 489 |
.B cmalign |
| 490 |
and view them in the context of an existing trusted multiple alignment. |
| 491 |
.I <f> |
| 492 |
must be the alignment file that the CM was built |
| 493 |
from. The program verifies that the checksum of the file matches that |
| 494 |
of the file used to construct the CM. A similar option to this one was |
| 495 |
called |
| 496 |
.B --withali |
| 497 |
in previous versions of |
| 498 |
.B cmalign. |
| 499 |
|
| 500 |
.TP |
| 501 |
.B --mapstr |
| 502 |
Must be used in combination with |
| 503 |
.BI --mapali " <f>". |
| 504 |
Propagate structural information for any pseudoknots that exist in |
| 505 |
.I <f> |
| 506 |
to the output alignment. A similar option to this one was called |
| 507 |
.B --withstr |
| 508 |
in previous versions of |
| 509 |
.B cmalign. |
| 510 |
|
| 511 |
.TP |
| 512 |
.BI --informat " <s>" |
| 513 |
Assert that the input |
| 514 |
.I <seqfile> |
| 515 |
is in format |
| 516 |
.I <s>. |
| 517 |
Do not run Babelfish format autodection. This increases |
| 518 |
the reliability of the program somewhat, because |
| 519 |
the Babelfish can make mistakes; particularly |
| 520 |
recommended for unattended, high-throughput runs |
| 521 |
of Infernal. |
| 522 |
Acceptable formats are: FASTA, GENBANK, and DDBJ. |
| 523 |
.I <s> |
| 524 |
is case-insensitive. |
| 525 |
|
| 526 |
.TP |
| 527 |
.BI --outformat " <s>" |
| 528 |
Specify the output alignment format as |
| 529 |
.I <s>. |
| 530 |
Acceptable formats are: Pfam, AFA, A2M, Clustal, and Phylip. |
| 531 |
AFA is aligned fasta. Only Pfam and Stockholm alignment formats will |
| 532 |
include consensus structure annotation and posterior probability |
| 533 |
annotation of aligned residues. |
| 534 |
|
| 535 |
.TP |
| 536 |
.B --dnaout |
| 537 |
Output the alignments as DNA sequence alignments, instead of RNA ones. |
| 538 |
|
| 539 |
.TP |
| 540 |
.BI --noprob |
| 541 |
Do not annotate the output alignment with posterior probabilities. |
| 542 |
|
| 543 |
.TP |
| 544 |
.B --matchonly |
| 545 |
Only include match columns in the output alignment, do not include |
| 546 |
any insertions relative to the consensus model. This option may |
| 547 |
be useful when creating very large alignments that require a lot of |
| 548 |
memory and disk space, most of which is necessary only to deal with insert |
| 549 |
columns that are gaps in most sequences. |
| 550 |
|
| 551 |
.TP |
| 552 |
.B --miss |
| 553 |
In the output alignment, use missing data characters ('~') before the |
| 554 |
first residue and after the final residue of each sequence to indicate |
| 555 |
the sequence was aligned with a truncated alignment algorithm. The |
| 556 |
aligned sequences would be considered fragments if the alignment was |
| 557 |
used subsequently as input to |
| 558 |
.B cmbuild |
| 559 |
with the |
| 560 |
.B --fraggiven |
| 561 |
option. This option has no effect if |
| 562 |
.B --notrunc |
| 563 |
is also used. |
| 564 |
|
| 565 |
.TP |
| 566 |
.B --ileaved |
| 567 |
Output the alignment in interleaved Stockholm format of a fixed width |
| 568 |
that may be more convenient for examination. This was the default output |
| 569 |
alignment format of previous versions of |
| 570 |
.B cmalign. |
| 571 |
Note that |
| 572 |
.B cmalign |
| 573 |
requires more memory when this option is used. |
| 574 |
For this reason, |
| 575 |
.B --ileaved |
| 576 |
will only work for alignments of up to 100,000 sequences or a |
| 577 |
total of 100,000,000 aligned nucleotides. |
| 578 |
|
| 579 |
.TP |
| 580 |
.BI --flanktoins " <x1>" |
| 581 |
Change the transition probabilities from the ROOT_S state to the |
| 582 |
ROOT_IL and ROOT_IR states, and from the ROOT_IL to the ROOT_IR state |
| 583 |
to |
| 584 |
.I <x1>. |
| 585 |
This option is meant to be helpful only when aligning sequences that |
| 586 |
include extra sequence at the 5' and/or 3' ends. Without using this |
| 587 |
option |
| 588 |
.B cmalign |
| 589 |
tends to mess up alignments at the end, especially for models with |
| 590 |
zero basepairs. This option should not be necessary when aligning |
| 591 |
sequences identified by |
| 592 |
.B cmsearch |
| 593 |
or |
| 594 |
.B cmscan |
| 595 |
because they should not include extra sequence at the ends. |
| 596 |
This option must be used in combination with the |
| 597 |
.BI --flankselfins " <x2>" |
| 598 |
option. Recommended values to use are 0.1 for |
| 599 |
.I <x1> |
| 600 |
and 0.8 for |
| 601 |
.I <x2> |
| 602 |
, but the best performing pair of values may vary for |
| 603 |
different models. |
| 604 |
.I <x1> |
| 605 |
must be greater than 0.0 and less than 0.4, and the sum of |
| 606 |
.I <x1> |
| 607 |
and |
| 608 |
.I <x2> |
| 609 |
must be less than 0.95. |
| 610 |
|
| 611 |
.TP |
| 612 |
.BI --flankselfins " <x2>" |
| 613 |
Change the self-transition probabilities for the ROOT_IL and ROOT_IR |
| 614 |
states to |
| 615 |
.I <x2>. |
| 616 |
This option must be used in combination with the |
| 617 |
.BI --flanktoins " <x1>" |
| 618 |
option. See the explanation of that option above for more information. |
| 619 |
|
| 620 |
.TP |
| 621 |
.BI --regress " <s>" |
| 622 |
Save an additional copy of the output alignment with no author |
| 623 |
information to file |
| 624 |
.I <s>. |
| 625 |
|
| 626 |
.TP |
| 627 |
.B --verbose |
| 628 |
Output additional information in the tabular scores output (output to |
| 629 |
stdout if |
| 630 |
.B -o |
| 631 |
is used, or to |
| 632 |
.I <f> |
| 633 |
if |
| 634 |
.BI --sfile " <f>" |
| 635 |
is used). These are mainly useful for testing and debugging. |
| 636 |
|
| 637 |
.TP |
| 638 |
.BI --cpu " <n>" |
| 639 |
Set the number of parallel worker threads to |
| 640 |
.IR <n> . |
| 641 |
On multicore machines, the default is 4. |
| 642 |
You can also control this number by setting an environment variable, |
| 643 |
.IR INFERNAL_NCPU . |
| 644 |
There is also a master thread, so the actual number of threads that |
| 645 |
Infernal spawns is |
| 646 |
.IR <n> +1. |
| 647 |
This option is not available if Infernal was compiled with POSIX threads |
| 648 |
support turned off. |
| 649 |
|
| 650 |
.TP |
| 651 |
.B --mpi |
| 652 |
Run as an MPI parallel program. This option will only be available if |
| 653 |
Infernal has been configured and built with the "--enable-mpi" flag |
| 654 |
(see the Installation section of the user guide for more information). |
| 655 |
|
| 656 |
|
| 657 |
.SH SEE ALSO |
| 658 |
|
| 659 |
See |
| 660 |
.B infernal(1) |
| 661 |
for a master man page with a list of all the individual man pages |
| 662 |
for programs in the Infernal package. |
| 663 |
|
| 664 |
.PP |
| 665 |
For complete documentation, see the user guide that came with your |
| 666 |
Infernal distribution (Userguide.pdf); or see the Infernal web page |
| 667 |
(@INFERNAL_URL@). |
| 668 |
|
| 669 |
|
| 670 |
.SH COPYRIGHT |
| 671 |
|
| 672 |
.nf |
| 673 |
@INFERNAL_COPYRIGHT@ |
| 674 |
@INFERNAL_LICENSE@ |
| 675 |
.fi |
| 676 |
|
| 677 |
For additional information on copyright and licensing, see the file |
| 678 |
called COPYRIGHT in your Infernal source distribution, or see the Infernal |
| 679 |
web page |
| 680 |
(@INFERNAL_URL@). |
| 681 |
|
| 682 |
.SH AUTHOR |
| 683 |
|
| 684 |
.nf |
| 685 |
http://eddylab.org |
| 686 |
.fi |