| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <TITLE> |
| 4 | EMBOSS: distmat |
| 5 | </TITLE> |
| 6 | </HEAD> |
| 7 | <BODY BGCOLOR="#FFFFFF" text="#000000"> |
| 8 | |
| 9 | <table align=center border=0 cellspacing=0 cellpadding=0> |
| 10 | <tr><td valign=top> |
| 11 | <A HREF="/" ONMOUSEOVER="self.status='Go to the EMBOSS home page';return true"><img border=0 src="/images/emboss_icon.jpg" alt="" width=150 height=48></a> |
| 12 | </td> |
| 13 | <td align=left valign=middle> |
| 14 | <b><font size="+6"> |
| 15 | distmat |
| 16 | </font></b> |
| 17 | </td></tr> |
| 18 | </table> |
| 19 | <br> |
| 20 | <p> |
| 21 | |
| 22 | |
| 23 | <H2> |
| 24 | Wiki |
| 25 | </H2> |
| 26 | |
| 27 | The master copies of EMBOSS documentation are available |
| 28 | at <a href="http://emboss.open-bio.org/wiki/Appdocs"> |
| 29 | http://emboss.open-bio.org/wiki/Appdocs</a> |
| 30 | on the EMBOSS Wiki. |
| 31 | |
| 32 | <p> |
| 33 | Please help by correcting and extending the Wiki pages. |
| 34 | |
| 35 | <H2> |
| 36 | Function |
| 37 | </H2> |
| 38 | Create a distance matrix from a multiple sequence alignment |
| 39 | <H2> |
| 40 | Description |
| 41 | </H2> |
| 42 | |
| 43 | <p><b>distmat</b> calculates the evolutionary distance between every pair of sequences in a multiple sequence alignment. A variety of methods to estimate distance may be selected, and differ in how they correct the observed substitution rates to more accurately reflect the true evolutionary distance. An output file containing a distance matrix for the set of sequences is written. The distances are expressed in terms of the number of substitutions per 100 bases or amino acids.</p> |
| 44 | |
| 45 | <H2> |
| 46 | Algorithm |
| 47 | </H2> |
| 48 | |
| 49 | <p>For more divergent sequences, the probability of there being multiple substitutions at an alignment site increases. The distance will then be misestimate the true evolutionary distance between the sequences. A number of methods are available in <b>distmat</b> to correct the observed substitution rate to more accurately reflect the true evolutionary distance.</p> |
| 50 | |
| 51 | <h3>Uncorrected distances</h3> |
| 52 | |
| 53 | This method does not make any corrections for multiple substitutions. |
| 54 | Therefore, the score will be an underestimate of the distance between |
| 55 | the sequences. This will not be less significant for highly similar sets |
| 56 | of sequences. |
| 57 | |
| 58 | <p> |
| 59 | |
| 60 | <pre> |
| 61 | S = m/(npos + gaps*gap_penalty) (1) |
| 62 | |
| 63 | m - score of matches (1 for an exact match, a fraction for partial |
| 64 | matches and 0 for no match) |
| 65 | npos - number of positions included in m |
| 66 | gaps - number of gaps in the sequences |
| 67 | gap_penalty - the score given to a gapped position |
| 68 | </pre> |
| 69 | |
| 70 | <p> |
| 71 | |
| 72 | <pre> |
| 73 | D = uncorrected distance = p-distance = 1-S (2) |
| 74 | </pre> |
| 75 | |
| 76 | <p> |
| 77 | |
| 78 | The score of match includes all exact matches. For nucleotides, if the |
| 79 | flag "-ambiguous" is used then partial matches are included in the |
| 80 | score. For example, a match of M (A or C) with A will increment m by 0.5 |
| 81 | (0.5*1.0). Gaps are not included in the calculation unless a non zero |
| 82 | value is given with "-gapweight". It should be noted that end gaps and |
| 83 | internal gaps will be weighted by the same amount. So it is recommended |
| 84 | that this be used with "-sbegin"and "-send" to specify the start and end |
| 85 | of the region to calculate the distance from. |
| 86 | |
| 87 | |
| 88 | <h2>Multiple Substitution correction algorithms</h2> |
| 89 | |
| 90 | |
| 91 | <h3>Jukes-Cantor</h3> |
| 92 | |
| 93 | |
| 94 | This can be used for nucleotide and protein sequences. |
| 95 | |
| 96 | <p> |
| 97 | |
| 98 | <pre> |
| 99 | distance = -b ln (1-D/b) |
| 100 | |
| 101 | D - uncorrected distance |
| 102 | b - constant. b= 3/4 for nucleotides and 19/20 for proteins. |
| 103 | </pre> |
| 104 | |
| 105 | <p> |
| 106 | |
| 107 | Partial matches and gap positions can be taken into account in the |
| 108 | calculation of D, by setting the "-ambiguous" and "-gapweight" flags |
| 109 | (see "uncorrected distance" method). |
| 110 | |
| 111 | <p> |
| 112 | |
| 113 | |
| 114 | Reference: |
| 115 | <br> |
| 116 | "Phylogenetic Inference", Swofford, Olsen, Waddell, and |
| 117 | Hillis, in Molecular Systematics, 2nd ed., Sinauer Ass., Inc., 1996, Ch. 11. |
| 118 | |
| 119 | |
| 120 | <h3>Tajima-Nei</h3> |
| 121 | |
| 122 | This method is only for nucleotide sequences. It uses the same equation |
| 123 | as Jukes-Cantor, but the b-parameter is not constant. Also, only exact |
| 124 | matches are considered in the calculation of the match score and gap |
| 125 | positions are ignored. |
| 126 | |
| 127 | <p> |
| 128 | |
| 129 | <pre> |
| 130 | A = 1, T = 2, C = 3, G = 4 |
| 131 | |
| 132 | b = 0.5(1.- Sum(i=A,G)(fraction[i]^2 + D^2/h) |
| 133 | |
| 134 | h = Sum(i=A,C)Sum(k=T,G) (0.5 * pair_frequency[i,k]^2/(fraction[i]*fraction[k])) |
| 135 | |
| 136 | distance = -b ln(1.-D/b) |
| 137 | |
| 138 | pair_frequency[i,k] - frequency of the i and k base pair at sites in |
| 139 | the alignement of the pair of sequences. |
| 140 | fraction[i] - average content of the base i in both sequences |
| 141 | </pre> |
| 142 | |
| 143 | <p> |
| 144 | |
| 145 | Reference: |
| 146 | <br> |
| 147 | F. Tajima and M. Nei, Mol. Biol. Evol. 1984, 1, 269. |
| 148 | |
| 149 | |
| 150 | <h3>Kimura Two-Parameter distance</h3> |
| 151 | |
| 152 | This method is only for nucleotide sequences. This uses the principle |
| 153 | that transition substitutions (purine-purine and pyrimidine-purine) are |
| 154 | more likely than transversion substitutions (purine-pyprimidine). Purine |
| 155 | being the nucleic acid constituent of A and G, and pyrimidine being the |
| 156 | nucleic acid derivative of the bases C, T and U. Gaps are ignored and |
| 157 | abiguous symbols other than R (purine) and Y (pyrimidine) are ingnored. |
| 158 | |
| 159 | <p> |
| 160 | |
| 161 | <pre> |
| 162 | P = transitions/npos |
| 163 | Q = transversions/npos |
| 164 | |
| 165 | npos - number of positions scored |
| 166 | |
| 167 | distance = -0.5 ln[ (1-2P-Q)*sqrt(1-2Q)] |
| 168 | </pre> |
| 169 | |
| 170 | <p> |
| 171 | |
| 172 | Reference: |
| 173 | <br> |
| 174 | M. kimura, J. Mol. Evol. 1980, 16, 111. |
| 175 | |
| 176 | |
| 177 | <h3>Tamura</h3> |
| 178 | |
| 179 | |
| 180 | This method is only for nucleotide sequences. This method uses |
| 181 | transition and transversion rates and takes into account the deviation |
| 182 | of GC content from the expected value of 50 %. Gap and ambiguous |
| 183 | positions are ignored. |
| 184 | |
| 185 | <p> |
| 186 | |
| 187 | <pre> |
| 188 | P = transitions/npos |
| 189 | Q = transversions/npos |
| 190 | |
| 191 | npos - number of positions scored |
| 192 | |
| 193 | GC1 = GC fraction in sequence 1 |
| 194 | GC2 = GC fraction in sequence 2 |
| 195 | C = GC1 + GC2 - 2*GC1*GC2 |
| 196 | |
| 197 | distance = -C ln(1-P/C-Q) - 0.5(1-C) ln(1-2Q) |
| 198 | </pre> |
| 199 | |
| 200 | <p> |
| 201 | |
| 202 | Reference: |
| 203 | <br> |
| 204 | K. Tamura, Mol. Biol. Evol. 1992, 9, 678. |
| 205 | |
| 206 | |
| 207 | <h3>Jin-Nei Gamma distance</h3> |
| 208 | |
| 209 | This method applies to nucleotides only. This again uses transition and |
| 210 | transversion rates. As with the Kimura two parameter method, gaps and |
| 211 | ambiguous symbols other than R and Y are not oncluded in the score. The |
| 212 | shape parameter, i.e. "a", is the square of the inverse of the |
| 213 | coefficient of variation of the average substitution, |
| 214 | |
| 215 | <p> |
| 216 | |
| 217 | <pre> |
| 218 | L = average substituition = transition_rate + 2 * transversion_rate |
| 219 | a = (average L)^2/(variance of L) |
| 220 | |
| 221 | P = transitions/npos |
| 222 | Q = transversions/npos |
| 223 | |
| 224 | npos - number of positions scored |
| 225 | |
| 226 | distance = 0.5 * a ((1-2P-Q)^(-1/a) + 0.5 (1-2Q)^(-1/a) -3/2) |
| 227 | </pre> |
| 228 | |
| 229 | <p> |
| 230 | |
| 231 | It is suggested [Jin et al.], in general, that the distance be |
| 232 | calculated with an a-value of 1. However, the user can specify their own |
| 233 | value, using the "-parametera" option, or calculate for each pair of |
| 234 | sequence, using "-calculatea". |
| 235 | |
| 236 | <p> |
| 237 | |
| 238 | Reference: |
| 239 | <br> |
| 240 | L. Jin and M. Nei, Mol. Biol. Evol. 1990, 7, 82. |
| 241 | |
| 242 | |
| 243 | <h3>Kimura Protein distance</h3> |
| 244 | |
| 245 | This method is used for proteins only. Gaps are ignored and only exact |
| 246 | matches and ambiguity codes contribute to the match score. |
| 247 | |
| 248 | <p> |
| 249 | |
| 250 | <pre> |
| 251 | S = m/npos |
| 252 | |
| 253 | m - exact match |
| 254 | npos - number of positions scored |
| 255 | |
| 256 | D = 1-S |
| 257 | distance = -ln(1 - D - 0.2D^2) |
| 258 | </pre> |
| 259 | |
| 260 | <p> |
| 261 | |
| 262 | Reference: |
| 263 | <br> |
| 264 | M. Kimura, The Neutral Theory of Molecular Evolution, Camb. Uni. Press, |
| 265 | Camb., 1983. |
| 266 | |
| 267 | |
| 268 | |
| 269 | <H2> |
| 270 | Usage |
| 271 | </H2> |
| 272 | Here is a sample session with <b>distmat</b> |
| 273 | <p> |
| 274 | |
| 275 | <p> |
| 276 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 277 | |
| 278 | % <b>distmat pax.align </b> |
| 279 | Create a distance matrix from a multiple sequence alignment |
| 280 | Multiple substitution correction methods for proteins |
| 281 | 0 : Uncorrected |
| 282 | 1 : Jukes-Cantor |
| 283 | 2 : Kimura Protein |
| 284 | Method to use [0]: <b>2</b> |
| 285 | Phylip distance matrix output file [pax.distmat]: <b></b> |
| 286 | |
| 287 | </pre></td></tr></table><p> |
| 288 | <p> |
| 289 | <a href="#input.1">Go to the input files for this example</a><br><a href="#output.1">Go to the output files for this example</a><p><p> |
| 290 | |
| 291 | |
| 292 | <H2> |
| 293 | Command line arguments |
| 294 | </H2> |
| 295 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 296 | <pre> |
| 297 | Create a distance matrix from a multiple sequence alignment |
| 298 | Version: EMBOSS:6.6.0.0 |
| 299 | |
| 300 | Standard (Mandatory) qualifiers (* if not always prompted): |
| 301 | [-sequence] seqset File containing a sequence alignment. |
| 302 | * -nucmethod menu [0] Multiple substitution correction methods |
| 303 | for nucleotides. (Values: 0 (Uncorrected); |
| 304 | 1 (Jukes-Cantor); 2 (Kimura); 3 (Tamura); 4 |
| 305 | (Tajima-Nei); 5 (Jin-Nei Gamma)) |
| 306 | * -protmethod menu [0] Multiple substitution correction methods |
| 307 | for proteins. (Values: 0 (Uncorrected); 1 |
| 308 | (Jukes-Cantor); 2 (Kimura Protein)) |
| 309 | [-outfile] outfile [*.distmat] Phylip distance matrix output |
| 310 | file |
| 311 | |
| 312 | Additional (Optional) qualifiers (* if not always prompted): |
| 313 | * -ambiguous boolean [N] Option to use the ambiguous codes in the |
| 314 | calculation of the Jukes-Cantor method or |
| 315 | if the sequences are proteins. |
| 316 | * -gapweight float [0.] Option to weight gaps in the |
| 317 | uncorrected (nucleotide) and Jukes-Cantor |
| 318 | distance methods. (Any numeric value) |
| 319 | * -position integer [123] Choose base positions to analyse in |
| 320 | each codon i.e. 123 (all bases), 12 (the |
| 321 | first two bases), 1, 2, or 3 individual |
| 322 | bases. (Any integer value) |
| 323 | * -calculatea boolean [N] This will force the calculation of |
| 324 | parameter 'a' in the Jin-Nei Gamma distance |
| 325 | calculation, otherwise the default is 1.0 |
| 326 | (see -parametera option). |
| 327 | * -parametera float [1.0] User defined parameter 'a' to be use |
| 328 | in the Jin-Nei Gamma distance calculation. |
| 329 | The suggested value to be used is 1.0 (Jin |
| 330 | et al.) and this is the default. (Any |
| 331 | numeric value) |
| 332 | |
| 333 | Advanced (Unprompted) qualifiers: (none) |
| 334 | Associated qualifiers: |
| 335 | |
| 336 | "-sequence" associated qualifiers |
| 337 | -sbegin1 integer Start of each sequence to be used |
| 338 | -send1 integer End of each sequence to be used |
| 339 | -sreverse1 boolean Reverse (if DNA) |
| 340 | -sask1 boolean Ask for begin/end/reverse |
| 341 | -snucleotide1 boolean Sequence is nucleotide |
| 342 | -sprotein1 boolean Sequence is protein |
| 343 | -slower1 boolean Make lower case |
| 344 | -supper1 boolean Make upper case |
| 345 | -scircular1 boolean Sequence is circular |
| 346 | -squick1 boolean Read id and sequence only |
| 347 | -sformat1 string Input sequence format |
| 348 | -iquery1 string Input query fields or ID list |
| 349 | -ioffset1 integer Input start position offset |
| 350 | -sdbname1 string Database name |
| 351 | -sid1 string Entryname |
| 352 | -ufo1 string UFO features |
| 353 | -fformat1 string Features format |
| 354 | -fopenfile1 string Features file name |
| 355 | |
| 356 | "-outfile" associated qualifiers |
| 357 | -odirectory2 string Output directory |
| 358 | |
| 359 | General qualifiers: |
| 360 | -auto boolean Turn off prompts |
| 361 | -stdout boolean Write first file to standard output |
| 362 | -filter boolean Read first file from standard input, write |
| 363 | first file to standard output |
| 364 | -options boolean Prompt for standard and additional values |
| 365 | -debug boolean Write debug output to program.dbg |
| 366 | -verbose boolean Report some/full command line options |
| 367 | -help boolean Report command line options and exit. More |
| 368 | information on associated and general |
| 369 | qualifiers can be found with -help -verbose |
| 370 | -warning boolean Report warnings |
| 371 | -error boolean Report errors |
| 372 | -fatal boolean Report fatal errors |
| 373 | -die boolean Report dying program messages |
| 374 | -version boolean Report version number and exit |
| 375 | |
| 376 | </pre> |
| 377 | </td></tr></table> |
| 378 | <P> |
| 379 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 380 | <tr bgcolor="#FFFFCC"> |
| 381 | <th align="left">Qualifier</th> |
| 382 | <th align="left">Type</th> |
| 383 | <th align="left">Description</th> |
| 384 | <th align="left">Allowed values</th> |
| 385 | <th align="left">Default</th> |
| 386 | </tr> |
| 387 | |
| 388 | <tr bgcolor="#FFFFCC"> |
| 389 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 390 | </tr> |
| 391 | |
| 392 | <tr bgcolor="#FFFFCC"> |
| 393 | <td>[-sequence]<br>(Parameter 1)</td> |
| 394 | <td>seqset</td> |
| 395 | <td>File containing a sequence alignment.</td> |
| 396 | <td>Readable set of sequences</td> |
| 397 | <td><b>Required</b></td> |
| 398 | </tr> |
| 399 | |
| 400 | <tr bgcolor="#FFFFCC"> |
| 401 | <td>-nucmethod</td> |
| 402 | <td>list</td> |
| 403 | <td>Multiple substitution correction methods for nucleotides.</td> |
| 404 | <td><table><tr><td>0</td> <td><i>(Uncorrected)</i></td></tr><tr><td>1</td> <td><i>(Jukes-Cantor)</i></td></tr><tr><td>2</td> <td><i>(Kimura)</i></td></tr><tr><td>3</td> <td><i>(Tamura)</i></td></tr><tr><td>4</td> <td><i>(Tajima-Nei)</i></td></tr><tr><td>5</td> <td><i>(Jin-Nei Gamma)</i></td></tr></table></td> |
| 405 | <td>0</td> |
| 406 | </tr> |
| 407 | |
| 408 | <tr bgcolor="#FFFFCC"> |
| 409 | <td>-protmethod</td> |
| 410 | <td>list</td> |
| 411 | <td>Multiple substitution correction methods for proteins.</td> |
| 412 | <td><table><tr><td>0</td> <td><i>(Uncorrected)</i></td></tr><tr><td>1</td> <td><i>(Jukes-Cantor)</i></td></tr><tr><td>2</td> <td><i>(Kimura Protein)</i></td></tr></table></td> |
| 413 | <td>0</td> |
| 414 | </tr> |
| 415 | |
| 416 | <tr bgcolor="#FFFFCC"> |
| 417 | <td>[-outfile]<br>(Parameter 2)</td> |
| 418 | <td>outfile</td> |
| 419 | <td>Phylip distance matrix output file</td> |
| 420 | <td>Output file</td> |
| 421 | <td><i><*></i>.distmat</td> |
| 422 | </tr> |
| 423 | |
| 424 | <tr bgcolor="#FFFFCC"> |
| 425 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 426 | </tr> |
| 427 | |
| 428 | <tr bgcolor="#FFFFCC"> |
| 429 | <td>-ambiguous</td> |
| 430 | <td>boolean</td> |
| 431 | <td>Option to use the ambiguous codes in the calculation of the Jukes-Cantor method or if the sequences are proteins.</td> |
| 432 | <td>Boolean value Yes/No</td> |
| 433 | <td>No</td> |
| 434 | </tr> |
| 435 | |
| 436 | <tr bgcolor="#FFFFCC"> |
| 437 | <td>-gapweight</td> |
| 438 | <td>float</td> |
| 439 | <td>Option to weight gaps in the uncorrected (nucleotide) and Jukes-Cantor distance methods.</td> |
| 440 | <td>Any numeric value</td> |
| 441 | <td>0.</td> |
| 442 | </tr> |
| 443 | |
| 444 | <tr bgcolor="#FFFFCC"> |
| 445 | <td>-position</td> |
| 446 | <td>integer</td> |
| 447 | <td>Choose base positions to analyse in each codon i.e. 123 (all bases), 12 (the first two bases), 1, 2, or 3 individual bases.</td> |
| 448 | <td>Any integer value</td> |
| 449 | <td>123</td> |
| 450 | </tr> |
| 451 | |
| 452 | <tr bgcolor="#FFFFCC"> |
| 453 | <td>-calculatea</td> |
| 454 | <td>boolean</td> |
| 455 | <td>This will force the calculation of parameter 'a' in the Jin-Nei Gamma distance calculation, otherwise the default is 1.0 (see -parametera option).</td> |
| 456 | <td>Boolean value Yes/No</td> |
| 457 | <td>No</td> |
| 458 | </tr> |
| 459 | |
| 460 | <tr bgcolor="#FFFFCC"> |
| 461 | <td>-parametera</td> |
| 462 | <td>float</td> |
| 463 | <td>User defined parameter 'a' to be use in the Jin-Nei Gamma distance calculation. The suggested value to be used is 1.0 (Jin et al.) and this is the default.</td> |
| 464 | <td>Any numeric value</td> |
| 465 | <td>1.0</td> |
| 466 | </tr> |
| 467 | |
| 468 | <tr bgcolor="#FFFFCC"> |
| 469 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 470 | </tr> |
| 471 | |
| 472 | <tr> |
| 473 | <td colspan=5>(none)</td> |
| 474 | </tr> |
| 475 | |
| 476 | <tr bgcolor="#FFFFCC"> |
| 477 | <th align="left" colspan=5>Associated qualifiers</th> |
| 478 | </tr> |
| 479 | |
| 480 | <tr bgcolor="#FFFFCC"> |
| 481 | <td align="left" colspan=5>"-sequence" associated seqset qualifiers |
| 482 | </td> |
| 483 | </tr> |
| 484 | |
| 485 | <tr bgcolor="#FFFFCC"> |
| 486 | <td> -sbegin1<br>-sbegin_sequence</td> |
| 487 | <td>integer</td> |
| 488 | <td>Start of each sequence to be used</td> |
| 489 | <td>Any integer value</td> |
| 490 | <td>0</td> |
| 491 | </tr> |
| 492 | |
| 493 | <tr bgcolor="#FFFFCC"> |
| 494 | <td> -send1<br>-send_sequence</td> |
| 495 | <td>integer</td> |
| 496 | <td>End of each sequence to be used</td> |
| 497 | <td>Any integer value</td> |
| 498 | <td>0</td> |
| 499 | </tr> |
| 500 | |
| 501 | <tr bgcolor="#FFFFCC"> |
| 502 | <td> -sreverse1<br>-sreverse_sequence</td> |
| 503 | <td>boolean</td> |
| 504 | <td>Reverse (if DNA)</td> |
| 505 | <td>Boolean value Yes/No</td> |
| 506 | <td>N</td> |
| 507 | </tr> |
| 508 | |
| 509 | <tr bgcolor="#FFFFCC"> |
| 510 | <td> -sask1<br>-sask_sequence</td> |
| 511 | <td>boolean</td> |
| 512 | <td>Ask for begin/end/reverse</td> |
| 513 | <td>Boolean value Yes/No</td> |
| 514 | <td>N</td> |
| 515 | </tr> |
| 516 | |
| 517 | <tr bgcolor="#FFFFCC"> |
| 518 | <td> -snucleotide1<br>-snucleotide_sequence</td> |
| 519 | <td>boolean</td> |
| 520 | <td>Sequence is nucleotide</td> |
| 521 | <td>Boolean value Yes/No</td> |
| 522 | <td>N</td> |
| 523 | </tr> |
| 524 | |
| 525 | <tr bgcolor="#FFFFCC"> |
| 526 | <td> -sprotein1<br>-sprotein_sequence</td> |
| 527 | <td>boolean</td> |
| 528 | <td>Sequence is protein</td> |
| 529 | <td>Boolean value Yes/No</td> |
| 530 | <td>N</td> |
| 531 | </tr> |
| 532 | |
| 533 | <tr bgcolor="#FFFFCC"> |
| 534 | <td> -slower1<br>-slower_sequence</td> |
| 535 | <td>boolean</td> |
| 536 | <td>Make lower case</td> |
| 537 | <td>Boolean value Yes/No</td> |
| 538 | <td>N</td> |
| 539 | </tr> |
| 540 | |
| 541 | <tr bgcolor="#FFFFCC"> |
| 542 | <td> -supper1<br>-supper_sequence</td> |
| 543 | <td>boolean</td> |
| 544 | <td>Make upper case</td> |
| 545 | <td>Boolean value Yes/No</td> |
| 546 | <td>N</td> |
| 547 | </tr> |
| 548 | |
| 549 | <tr bgcolor="#FFFFCC"> |
| 550 | <td> -scircular1<br>-scircular_sequence</td> |
| 551 | <td>boolean</td> |
| 552 | <td>Sequence is circular</td> |
| 553 | <td>Boolean value Yes/No</td> |
| 554 | <td>N</td> |
| 555 | </tr> |
| 556 | |
| 557 | <tr bgcolor="#FFFFCC"> |
| 558 | <td> -squick1<br>-squick_sequence</td> |
| 559 | <td>boolean</td> |
| 560 | <td>Read id and sequence only</td> |
| 561 | <td>Boolean value Yes/No</td> |
| 562 | <td>N</td> |
| 563 | </tr> |
| 564 | |
| 565 | <tr bgcolor="#FFFFCC"> |
| 566 | <td> -sformat1<br>-sformat_sequence</td> |
| 567 | <td>string</td> |
| 568 | <td>Input sequence format</td> |
| 569 | <td>Any string</td> |
| 570 | <td> </td> |
| 571 | </tr> |
| 572 | |
| 573 | <tr bgcolor="#FFFFCC"> |
| 574 | <td> -iquery1<br>-iquery_sequence</td> |
| 575 | <td>string</td> |
| 576 | <td>Input query fields or ID list</td> |
| 577 | <td>Any string</td> |
| 578 | <td> </td> |
| 579 | </tr> |
| 580 | |
| 581 | <tr bgcolor="#FFFFCC"> |
| 582 | <td> -ioffset1<br>-ioffset_sequence</td> |
| 583 | <td>integer</td> |
| 584 | <td>Input start position offset</td> |
| 585 | <td>Any integer value</td> |
| 586 | <td>0</td> |
| 587 | </tr> |
| 588 | |
| 589 | <tr bgcolor="#FFFFCC"> |
| 590 | <td> -sdbname1<br>-sdbname_sequence</td> |
| 591 | <td>string</td> |
| 592 | <td>Database name</td> |
| 593 | <td>Any string</td> |
| 594 | <td> </td> |
| 595 | </tr> |
| 596 | |
| 597 | <tr bgcolor="#FFFFCC"> |
| 598 | <td> -sid1<br>-sid_sequence</td> |
| 599 | <td>string</td> |
| 600 | <td>Entryname</td> |
| 601 | <td>Any string</td> |
| 602 | <td> </td> |
| 603 | </tr> |
| 604 | |
| 605 | <tr bgcolor="#FFFFCC"> |
| 606 | <td> -ufo1<br>-ufo_sequence</td> |
| 607 | <td>string</td> |
| 608 | <td>UFO features</td> |
| 609 | <td>Any string</td> |
| 610 | <td> </td> |
| 611 | </tr> |
| 612 | |
| 613 | <tr bgcolor="#FFFFCC"> |
| 614 | <td> -fformat1<br>-fformat_sequence</td> |
| 615 | <td>string</td> |
| 616 | <td>Features format</td> |
| 617 | <td>Any string</td> |
| 618 | <td> </td> |
| 619 | </tr> |
| 620 | |
| 621 | <tr bgcolor="#FFFFCC"> |
| 622 | <td> -fopenfile1<br>-fopenfile_sequence</td> |
| 623 | <td>string</td> |
| 624 | <td>Features file name</td> |
| 625 | <td>Any string</td> |
| 626 | <td> </td> |
| 627 | </tr> |
| 628 | |
| 629 | <tr bgcolor="#FFFFCC"> |
| 630 | <td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 631 | </td> |
| 632 | </tr> |
| 633 | |
| 634 | <tr bgcolor="#FFFFCC"> |
| 635 | <td> -odirectory2<br>-odirectory_outfile</td> |
| 636 | <td>string</td> |
| 637 | <td>Output directory</td> |
| 638 | <td>Any string</td> |
| 639 | <td> </td> |
| 640 | </tr> |
| 641 | |
| 642 | <tr bgcolor="#FFFFCC"> |
| 643 | <th align="left" colspan=5>General qualifiers</th> |
| 644 | </tr> |
| 645 | |
| 646 | <tr bgcolor="#FFFFCC"> |
| 647 | <td> -auto</td> |
| 648 | <td>boolean</td> |
| 649 | <td>Turn off prompts</td> |
| 650 | <td>Boolean value Yes/No</td> |
| 651 | <td>N</td> |
| 652 | </tr> |
| 653 | |
| 654 | <tr bgcolor="#FFFFCC"> |
| 655 | <td> -stdout</td> |
| 656 | <td>boolean</td> |
| 657 | <td>Write first file to standard output</td> |
| 658 | <td>Boolean value Yes/No</td> |
| 659 | <td>N</td> |
| 660 | </tr> |
| 661 | |
| 662 | <tr bgcolor="#FFFFCC"> |
| 663 | <td> -filter</td> |
| 664 | <td>boolean</td> |
| 665 | <td>Read first file from standard input, write first file to standard output</td> |
| 666 | <td>Boolean value Yes/No</td> |
| 667 | <td>N</td> |
| 668 | </tr> |
| 669 | |
| 670 | <tr bgcolor="#FFFFCC"> |
| 671 | <td> -options</td> |
| 672 | <td>boolean</td> |
| 673 | <td>Prompt for standard and additional values</td> |
| 674 | <td>Boolean value Yes/No</td> |
| 675 | <td>N</td> |
| 676 | </tr> |
| 677 | |
| 678 | <tr bgcolor="#FFFFCC"> |
| 679 | <td> -debug</td> |
| 680 | <td>boolean</td> |
| 681 | <td>Write debug output to program.dbg</td> |
| 682 | <td>Boolean value Yes/No</td> |
| 683 | <td>N</td> |
| 684 | </tr> |
| 685 | |
| 686 | <tr bgcolor="#FFFFCC"> |
| 687 | <td> -verbose</td> |
| 688 | <td>boolean</td> |
| 689 | <td>Report some/full command line options</td> |
| 690 | <td>Boolean value Yes/No</td> |
| 691 | <td>Y</td> |
| 692 | </tr> |
| 693 | |
| 694 | <tr bgcolor="#FFFFCC"> |
| 695 | <td> -help</td> |
| 696 | <td>boolean</td> |
| 697 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 698 | <td>Boolean value Yes/No</td> |
| 699 | <td>N</td> |
| 700 | </tr> |
| 701 | |
| 702 | <tr bgcolor="#FFFFCC"> |
| 703 | <td> -warning</td> |
| 704 | <td>boolean</td> |
| 705 | <td>Report warnings</td> |
| 706 | <td>Boolean value Yes/No</td> |
| 707 | <td>Y</td> |
| 708 | </tr> |
| 709 | |
| 710 | <tr bgcolor="#FFFFCC"> |
| 711 | <td> -error</td> |
| 712 | <td>boolean</td> |
| 713 | <td>Report errors</td> |
| 714 | <td>Boolean value Yes/No</td> |
| 715 | <td>Y</td> |
| 716 | </tr> |
| 717 | |
| 718 | <tr bgcolor="#FFFFCC"> |
| 719 | <td> -fatal</td> |
| 720 | <td>boolean</td> |
| 721 | <td>Report fatal errors</td> |
| 722 | <td>Boolean value Yes/No</td> |
| 723 | <td>Y</td> |
| 724 | </tr> |
| 725 | |
| 726 | <tr bgcolor="#FFFFCC"> |
| 727 | <td> -die</td> |
| 728 | <td>boolean</td> |
| 729 | <td>Report dying program messages</td> |
| 730 | <td>Boolean value Yes/No</td> |
| 731 | <td>Y</td> |
| 732 | </tr> |
| 733 | |
| 734 | <tr bgcolor="#FFFFCC"> |
| 735 | <td> -version</td> |
| 736 | <td>boolean</td> |
| 737 | <td>Report version number and exit</td> |
| 738 | <td>Boolean value Yes/No</td> |
| 739 | <td>N</td> |
| 740 | </tr> |
| 741 | |
| 742 | </table> |
| 743 | |
| 744 | <H2> |
| 745 | Input file format |
| 746 | </H2> |
| 747 | |
| 748 | It reads in a normal multiple sequence alignment file. |
| 749 | |
| 750 | <p> |
| 751 | |
| 752 | The quality of the alignment is of paramount importance in obtaining |
| 753 | meaningful information from this analysis. |
| 754 | |
| 755 | <p> |
| 756 | |
| 757 | <a name="input.1"></a> |
| 758 | <h3>Input files for usage example </h3> |
| 759 | <p><h3>File: pax.align</h3> |
| 760 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 761 | <pre> |
| 762 | PileUp |
| 763 | |
| 764 | |
| 765 | |
| 766 | MSF: 603 Type: P Check: 9004 .. |
| 767 | |
| 768 | Name: PAX4_HUMAN oo Len: 603 Check: 6594 Weight: 11.2 |
| 769 | Name: PAX6_HUMAN oo Len: 603 Check: 7176 Weight: 9.1 |
| 770 | Name: PAX3_HUMAN oo Len: 603 Check: 7760 Weight: 9.5 |
| 771 | Name: PAX7_HUMAN oo Len: 603 Check: 4677 Weight: 13.7 |
| 772 | Name: PAX1_HUMAN oo Len: 603 Check: 9671 Weight: 8.7 |
| 773 | Name: PAX9_HUMAN oo Len: 603 Check: 565 Weight: 12.0 |
| 774 | Name: PAX2_HUMAN oo Len: 603 Check: 9553 Weight: 8.7 |
| 775 | Name: PAX5_HUMAN oo Len: 603 Check: 448 Weight: 11.2 |
| 776 | Name: PX8A_HUMAN oo Len: 603 Check: 6763 Weight: 7.5 |
| 777 | Name: PX8D_HUMAN oo Len: 603 Check: 5797 Weight: 7.9 |
| 778 | |
| 779 | // |
| 780 | |
| 781 | |
| 782 | |
| 783 | PAX4_HUMAN .......... .......... .........M HQDGISSMNQ LGGLFVNGRP |
| 784 | PAX6_HUMAN .......... .......... .......... MQNSHSGVNQ LGGVFVNGRP |
| 785 | PAX3_HUMAN MTTLAGAVPR MMRPGPGQNY PRSGFPLEVS TPLGQGRVNQ LGGVFINGRP |
| 786 | PAX7_HUMAN MAALPGTVPR MMRPAPGQNY PRTGFPLEVS TPLGQGRVNQ LGGVFINGRP |
| 787 | PAX1_HUMAN .......... .......... .......... MEQTYGEVNQ LGGVFVNGRP |
| 788 | PAX9_HUMAN .......... .......... .......... MEPAFGEVNQ LGGVFVNGRP |
| 789 | PAX2_HUMAN .......... ........MD MHCKADPFSA MHPGHGGVNQ LGGVFVNGRP |
| 790 | PAX5_HUMAN .......... ........MD LEKNYPTPRT SRTGHGGVNQ LGGVFVNGRP |
| 791 | PX8A_HUMAN .......... .......... .....MPHNS IRSGHGGLNQ LGGAFVNGRP |
| 792 | PX8D_HUMAN .......... .......... .....MPHNS IRSGHGGLNQ LGGAFVNGRP |
| 793 | |
| 794 | |
| 795 | PAX4_HUMAN LPLDTRQQIV RLAVSGMRPC DISRILKVSN GCVSKILGRY YRTGVLEPKG |
| 796 | PAX6_HUMAN LPDSTRQKIV ELAHSGARPC DISRILQVSN GCVSKILGRY YETGSIRPRA |
| 797 | PAX3_HUMAN LPNHIRHKIV EMAHHGIRPC VISRQLRVSH GCVSKILCRY QETGSIRPGA |
| 798 | PAX7_HUMAN LPNHIRHKIV EMAHHGIRPC VISRQLRVSH GCVSKILCRY QETGSIRPGA |
| 799 | PAX1_HUMAN LPNAIRLRIV ELAQLGIRPC DISRQLRVSH GCVSKILARY NETGSILPGA |
| 800 | PAX9_HUMAN LPNAIRLRIV ELAQLGIRPC DISRQLRVSH GCVSKILARY NETGSILPGA |
| 801 | PAX2_HUMAN LPDVVRQRIV ELAHQGVRPC DISRQLRVSH GCVSKILGRY YETGSIKPGV |
| 802 | PAX5_HUMAN LPDVVRQRIV ELAHQGVRPC DISRQLRVSH GCVSKILGRY YETGSIKPGV |
| 803 | PX8A_HUMAN LPEVVRQRIV DLAHQGVRPC DISRQLRVSH GCVSKILGRY YETGSIRPGV |
| 804 | PX8D_HUMAN LPEVVRQRIV DLAHQGVRPC DISRQLRVSH GCVSKILGRY YETGSIRPGV |
| 805 | |
| 806 | |
| 807 | PAX4_HUMAN IGGSKPR.LA TPPVVARIAQ LKGECPALFA WEIQRQLCAE GLCTQDKTPS |
| 808 | PAX6_HUMAN IGGSKPR.VA TPEVVSKIAQ YKRECPSIFA WEIRDRLLSE GVCTNDNIPS |
| 809 | PAX3_HUMAN IGGSKPKQVT TPDVEKKIEE YKRENPGMFS WEIRDKLLKD AVCDRNTVPS |
| 810 | PAX7_HUMAN IGGSKPRQVA TPDVEKKIEE YKRENPGMFS WEIRDRLLKD GHCDRSTVPS |
| 811 | PAX1_HUMAN IGGSKPR.VT TPNVVKHIRD YKQGDPGIFA WEIRDRLLAD GVCDKYNVPS |
| 812 | |
| 813 | |
| 814 | <font color=red> [Part of this file has been deleted for brevity]</font> |
| 815 | |
| 816 | PX8A_HUMAN VSSSSSTPSS LSSSAFLDLQ QVGSGVPPFN AFPHAASVYG QFTGQALLSG |
| 817 | PX8D_HUMAN ....KSAPGS RPS....... .....MP... .FPMLPPCTG SSRARPSSQG |
| 818 | |
| 819 | |
| 820 | PAX4_HUMAN .......... .......... .....ERCLS DTPPKACLKP CWDCGSFLLP |
| 821 | PAX6_HUMAN .......... .......... .SFTMANNLP MQPPVPSQTS SYSCMLPTSP |
| 822 | PAX3_HUMAN NGL.SPQVM. .......... GLLTNHGGVP HQPQTDYALS PLTGGLEPTT |
| 823 | PAX7_HUMAN NGL.SPQVM. .......... SILGNPSAVP PQPQADFSIS PLHGGLDSAT |
| 824 | PAX1_HUMAN .......... .......... GAGVAVHGGE LAAAMTFKHR EGTDRKPP.. |
| 825 | PAX9_HUMAN .......... .......... ......HNCD IPASLAFKGM QAARE..... |
| 826 | PAX2_HUMAN .......... .......... GSYPTSTLAG MVPGSEFSGN PYSHPQYTAY |
| 827 | PAX5_HUMAN .......... .......... GSYSAPTLTG MVPGSEFSGS PYSHPQYSSY |
| 828 | PX8A_HUMAN REMVGPTLPG YPPHIPTSGQ GSYASSAIAG MVAGSEYSGN AYGHTPYSSY |
| 829 | PX8D_HUMAN ERWWGPRCP. .......... DTHPTSPPAD RAAMPPLPSQ AWWQEVN... |
| 830 | |
| 831 | |
| 832 | PAX4_HUMAN VIAPSCVDVA WP.CLDASLA HHLIGGAGKA TPTHFS.... .......... |
| 833 | PAX6_HUMAN SVNGRSYDTY TPPHMQTHMN SQPMGTSGTT STGLISPGVS VPVQVPGSEP |
| 834 | PAX3_HUMAN TVSASCSQRL DHMKSLDSLP TSQSYCPPTY STTGYSMDPV TGYQYGQYGQ |
| 835 | PAX7_HUMAN SISASCSQRA DSIKPGDSLP TSQAYCPPTY STTGYSVDPV AGYQYGQYGQ |
| 836 | PAX1_HUMAN ..SSGSKAPD ALSSLH.... ....GLPIPA STS....... .......... |
| 837 | PAX9_HUMAN ..GSHSVTAS AL........ .......... .......... .......... |
| 838 | PAX2_HUMAN NEAWRFSNPA LLSSPYYYSA APR.SAPAAR AAAYDRH... .......... |
| 839 | PAX5_HUMAN NDSWRFPNPG LLGSPYYYSA AARGAAPPAA ATAYDRH... .......... |
| 840 | PX8A_HUMAN SEAWGFPNSS LLSSPYYYSS TSRPSAPPTT ATAFDHL... .......... |
| 841 | PX8D_HUMAN ..TLAMPMAT PPTPP..... TARPGASPTP AC........ .......... |
| 842 | |
| 843 | |
| 844 | PAX4_HUMAN .....HWP.. .......... .......... .......... .......... |
| 845 | PAX6_HUMAN DMS.QYWPRL Q......... .......... .......... .......... |
| 846 | PAX3_HUMAN S...KPWTF. .......... .......... .......... .......... |
| 847 | PAX7_HUMAN SECLVPWASP VPIPSPTPRA SCLFMESYKV VSGWGMSISQ MEKLKSSQME |
| 848 | PAX1_HUMAN .......... .......... .......... .......... .......... |
| 849 | PAX9_HUMAN .......... .......... .......... .......... .......... |
| 850 | PAX2_HUMAN .......... .......... .......... .......... .......... |
| 851 | PAX5_HUMAN .......... .......... .......... .......... .......... |
| 852 | PX8A_HUMAN .......... .......... .......... .......... .......... |
| 853 | PX8D_HUMAN .......... .......... .......... .......... .......... |
| 854 | |
| 855 | |
| 856 | PAX4_HUMAN ... |
| 857 | PAX6_HUMAN ... |
| 858 | PAX3_HUMAN ... |
| 859 | PAX7_HUMAN QFT |
| 860 | PAX1_HUMAN ... |
| 861 | PAX9_HUMAN ... |
| 862 | PAX2_HUMAN ... |
| 863 | PAX5_HUMAN ... |
| 864 | PX8A_HUMAN ... |
| 865 | PX8D_HUMAN ... |
| 866 | |
| 867 | </pre> |
| 868 | </td></tr></table><p> |
| 869 | |
| 870 | |
| 871 | <H2> |
| 872 | Output file format |
| 873 | </H2> |
| 874 | |
| 875 | The output from the program is a file containing a matrix of the |
| 876 | calculated distances between each of the input aligned sequences. The |
| 877 | distances are expressed in terms of the number of substitutions per 100 |
| 878 | bases or amino acids. |
| 879 | |
| 880 | <p> |
| 881 | |
| 882 | <a name="output.1"></a> |
| 883 | <h3>Output files for usage example </h3> |
| 884 | <p><h3>File: pax.distmat</h3> |
| 885 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 886 | <pre> |
| 887 | Distance Matrix |
| 888 | --------------- |
| 889 | |
| 890 | Using the Kimura correction method |
| 891 | Gap weighting is 0.000000 |
| 892 | |
| 893 | 1 2 3 4 5 6 7 8 9 10 |
| 894 | 0.00 96.15 137.48 128.72 161.14 160.37 157.55 154.23 164.32 152.68 PAX4_HUMAN 1 |
| 895 | 0.00 111.86 109.96 156.25 149.70 143.75 135.71 150.60 146.87 PAX6_HUMAN 2 |
| 896 | 0.00 26.21 131.54 143.54 162.95 151.39 163.56 159.78 PAX3_HUMAN 3 |
| 897 | 0.00 145.45 138.76 158.79 149.96 167.26 161.82 PAX7_HUMAN 4 |
| 898 | 0.00 44.29 120.84 123.00 131.69 130.22 PAX1_HUMAN 5 |
| 899 | 0.00 123.56 130.21 131.64 130.17 PAX9_HUMAN 6 |
| 900 | 0.00 36.43 53.12 64.32 PAX2_HUMAN 7 |
| 901 | 0.00 60.88 73.82 PAX5_HUMAN 8 |
| 902 | 0.00 20.37 PX8A_HUMAN 9 |
| 903 | 0.00 PX8D_HUMAN 10 |
| 904 | </pre> |
| 905 | </td></tr></table><p> |
| 906 | |
| 907 | <H2> |
| 908 | Data files |
| 909 | </H2> |
| 910 | |
| 911 | None. |
| 912 | |
| 913 | <H2> |
| 914 | Notes |
| 915 | </H2> |
| 916 | <p>The input sequences must of course be aligned before running this program. The quality of the alignment is of paramount importance in obtaining meaningful information from this analysis.</p> |
| 917 | |
| 918 | <p>For nucleotides, the <tt>-position</tt> flag selects base positions to analyse in each codon, i.e. 123 (all bases), 12 (the first two bases), 1, 2, or 3 individual bases.</p> |
| 919 | |
| 920 | |
| 921 | |
| 922 | <H2> |
| 923 | References |
| 924 | </H2> |
| 925 | |
| 926 | See the following for details of the methods used: |
| 927 | |
| 928 | <p> |
| 929 | |
| 930 | <ol> |
| 931 | |
| 932 | <li>"Phylogenetic Inference", Swofford, Olsen, Waddell, and Hillis, in |
| 933 | Molecular Systematics, 2nd ed., Sinauer Ass., Inc., 1996, Ch. 11. |
| 934 | |
| 935 | <li>F. Tajima and M. Nei, Mol. Biol. Evol. 1984, 1, 269. |
| 936 | |
| 937 | <li>M. Kimura, J. Mol. Evol. 1980, 16, 111. |
| 938 | |
| 939 | <li>K. Tamura, Mol. Biol. Evol. 1992, 9, 678. |
| 940 | |
| 941 | <li>L. Jin and M. Nei, Mol. Biol. Evol. 1990, 7, 82. |
| 942 | |
| 943 | <li>M. Kimura, The Neutral Theory of Molecular Evolution, |
| 944 | Camb. Uni. Press, Camb., 1983. |
| 945 | |
| 946 | </ol> |
| 947 | |
| 948 | <H2> |
| 949 | Warnings |
| 950 | </H2> |
| 951 | |
| 952 | The quality of the alignment is of paramount importance in obtaining |
| 953 | meaningful information from this analysis. |
| 954 | |
| 955 | <H2> |
| 956 | Diagnostic Error Messages |
| 957 | </H2> |
| 958 | |
| 959 | None. |
| 960 | |
| 961 | <H2> |
| 962 | Exit status |
| 963 | </H2> |
| 964 | |
| 965 | |
| 966 | It always exits with status 0. |
| 967 | |
| 968 | <H2> |
| 969 | Known bugs |
| 970 | </H2> |
| 971 | |
| 972 | None. |
| 973 | |
| 974 | <h2><a name="See also">See also</a></h2> |
| 975 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 976 | <tr><th>Program name</th> |
| 977 | <th>Description</th></tr> |
| 978 | </table> |
| 979 | |
| 980 | <H2> |
| 981 | Author(s) |
| 982 | </H2> |
| 983 | |
| 984 | Tim Carver formerly at: |
| 985 | <br> |
| 986 | MRC Rosalind Franklin Centre for Genomics Research |
| 987 | Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SB, UK |
| 988 | |
| 989 | <p> |
| 990 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 991 | <H2> |
| 992 | History |
| 993 | </H2> |
| 994 | |
| 995 | Written (March 2001) - Tim Carver |
| 996 | |
| 997 | <H2> |
| 998 | Target users |
| 999 | </H2> |
| 1000 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 1001 | |
| 1002 | <H2> |
| 1003 | Comments |
| 1004 | </H2> |
| 1005 | None |
| 1006 | |
| 1007 | |
| 1008 | </BODY> |
| 1009 | </HTML> |
| 1010 |