| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE> |
| 4 |
EMBOSS: taxgetdown |
| 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 |
taxgetdown |
| 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 |
Get descendants of taxon(s) |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
<H2> |
| 48 |
Description |
| 49 |
</H2> |
| 50 |
|
| 51 |
<b>taxgetdown</b> reads in one or more taxons, finds all taxons below in tyhe hierarchy, and writes them out. The taxon input may be a literal sequence or read from a database, file, file of taxon names, or even the command-line or the output of another programs. The taxon output can be written to screen, to file, or passed to another program. A wide range of standard taxon formats may be specified for input and output. |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
<H2> |
| 56 |
Algorithm |
| 57 |
</H2> |
| 58 |
|
| 59 |
The NCBI taxonomy records the parent of each taxon, up to a known top level 1. |
| 60 |
|
| 61 |
<H2> |
| 62 |
Usage |
| 63 |
</H2> |
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
Here is a sample session with <b>taxgetdown</b> |
| 71 |
<p> |
| 72 |
|
| 73 |
<p> |
| 74 |
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 75 |
|
| 76 |
% <b>taxgetdown ttax:9605 -oformat excel </b> |
| 77 |
Get descendants of taxon(s) |
| 78 |
Taxon output file [9605.excel]: <b></b> |
| 79 |
|
| 80 |
</pre></td></tr></table><p> |
| 81 |
<p> |
| 82 |
<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> |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
<H2> |
| 87 |
Command line arguments |
| 88 |
</H2> |
| 89 |
|
| 90 |
<table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 91 |
<pre> |
| 92 |
Get descendants of taxon(s) |
| 93 |
Version: EMBOSS:6.6.0.0 |
| 94 |
|
| 95 |
Standard (Mandatory) qualifiers: |
| 96 |
[-taxons] taxon Taxon filename and optional format, or |
| 97 |
reference (input query) |
| 98 |
[-outfile] outtaxon (no help text) outtaxon value |
| 99 |
|
| 100 |
Additional (Optional) qualifiers: (none) |
| 101 |
Advanced (Unprompted) qualifiers: (none) |
| 102 |
Associated qualifiers: |
| 103 |
|
| 104 |
"-taxons" associated qualifiers |
| 105 |
-iformat1 string Input taxonomy format |
| 106 |
-iquery1 string Input query fields or ID list |
| 107 |
-ioffset1 integer Input start position offset |
| 108 |
-idbname1 string User-provided database name |
| 109 |
|
| 110 |
"-outfile" associated qualifiers |
| 111 |
-odirectory2 string Output directory |
| 112 |
-oformat2 string Taxonomy output format |
| 113 |
|
| 114 |
General qualifiers: |
| 115 |
-auto boolean Turn off prompts |
| 116 |
-stdout boolean Write first file to standard output |
| 117 |
-filter boolean Read first file from standard input, write |
| 118 |
first file to standard output |
| 119 |
-options boolean Prompt for standard and additional values |
| 120 |
-debug boolean Write debug output to program.dbg |
| 121 |
-verbose boolean Report some/full command line options |
| 122 |
-help boolean Report command line options and exit. More |
| 123 |
information on associated and general |
| 124 |
qualifiers can be found with -help -verbose |
| 125 |
-warning boolean Report warnings |
| 126 |
-error boolean Report errors |
| 127 |
-fatal boolean Report fatal errors |
| 128 |
-die boolean Report dying program messages |
| 129 |
-version boolean Report version number and exit |
| 130 |
|
| 131 |
</pre> |
| 132 |
</td></tr></table> |
| 133 |
<P> |
| 134 |
<table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 135 |
<tr bgcolor="#FFFFCC"> |
| 136 |
<th align="left">Qualifier</th> |
| 137 |
<th align="left">Type</th> |
| 138 |
<th align="left">Description</th> |
| 139 |
<th align="left">Allowed values</th> |
| 140 |
<th align="left">Default</th> |
| 141 |
</tr> |
| 142 |
|
| 143 |
<tr bgcolor="#FFFFCC"> |
| 144 |
<th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 145 |
</tr> |
| 146 |
|
| 147 |
<tr bgcolor="#FFFFCC"> |
| 148 |
<td>[-taxons]<br>(Parameter 1)</td> |
| 149 |
<td>taxon</td> |
| 150 |
<td>Taxon filename and optional format, or reference (input query)</td> |
| 151 |
<td>NCBI taxonomy entries</td> |
| 152 |
<td> </td> |
| 153 |
</tr> |
| 154 |
|
| 155 |
<tr bgcolor="#FFFFCC"> |
| 156 |
<td>[-outfile]<br>(Parameter 2)</td> |
| 157 |
<td>outtaxon</td> |
| 158 |
<td>(no help text) outtaxon value</td> |
| 159 |
<td>NCBI taxonomy entries</td> |
| 160 |
<td> </td> |
| 161 |
</tr> |
| 162 |
|
| 163 |
<tr bgcolor="#FFFFCC"> |
| 164 |
<th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 165 |
</tr> |
| 166 |
|
| 167 |
<tr> |
| 168 |
<td colspan=5>(none)</td> |
| 169 |
</tr> |
| 170 |
|
| 171 |
<tr bgcolor="#FFFFCC"> |
| 172 |
<th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 173 |
</tr> |
| 174 |
|
| 175 |
<tr> |
| 176 |
<td colspan=5>(none)</td> |
| 177 |
</tr> |
| 178 |
|
| 179 |
<tr bgcolor="#FFFFCC"> |
| 180 |
<th align="left" colspan=5>Associated qualifiers</th> |
| 181 |
</tr> |
| 182 |
|
| 183 |
<tr bgcolor="#FFFFCC"> |
| 184 |
<td align="left" colspan=5>"-taxons" associated taxon qualifiers |
| 185 |
</td> |
| 186 |
</tr> |
| 187 |
|
| 188 |
<tr bgcolor="#FFFFCC"> |
| 189 |
<td> -iformat1<br>-iformat_taxons</td> |
| 190 |
<td>string</td> |
| 191 |
<td>Input taxonomy format</td> |
| 192 |
<td>Any string</td> |
| 193 |
<td> </td> |
| 194 |
</tr> |
| 195 |
|
| 196 |
<tr bgcolor="#FFFFCC"> |
| 197 |
<td> -iquery1<br>-iquery_taxons</td> |
| 198 |
<td>string</td> |
| 199 |
<td>Input query fields or ID list</td> |
| 200 |
<td>Any string</td> |
| 201 |
<td> </td> |
| 202 |
</tr> |
| 203 |
|
| 204 |
<tr bgcolor="#FFFFCC"> |
| 205 |
<td> -ioffset1<br>-ioffset_taxons</td> |
| 206 |
<td>integer</td> |
| 207 |
<td>Input start position offset</td> |
| 208 |
<td>Any integer value</td> |
| 209 |
<td>0</td> |
| 210 |
</tr> |
| 211 |
|
| 212 |
<tr bgcolor="#FFFFCC"> |
| 213 |
<td> -idbname1<br>-idbname_taxons</td> |
| 214 |
<td>string</td> |
| 215 |
<td>User-provided database name</td> |
| 216 |
<td>Any string</td> |
| 217 |
<td> </td> |
| 218 |
</tr> |
| 219 |
|
| 220 |
<tr bgcolor="#FFFFCC"> |
| 221 |
<td align="left" colspan=5>"-outfile" associated outtaxon qualifiers |
| 222 |
</td> |
| 223 |
</tr> |
| 224 |
|
| 225 |
<tr bgcolor="#FFFFCC"> |
| 226 |
<td> -odirectory2<br>-odirectory_outfile</td> |
| 227 |
<td>string</td> |
| 228 |
<td>Output directory</td> |
| 229 |
<td>Any string</td> |
| 230 |
<td> </td> |
| 231 |
</tr> |
| 232 |
|
| 233 |
<tr bgcolor="#FFFFCC"> |
| 234 |
<td> -oformat2<br>-oformat_outfile</td> |
| 235 |
<td>string</td> |
| 236 |
<td>Taxonomy output format</td> |
| 237 |
<td>Any string</td> |
| 238 |
<td> </td> |
| 239 |
</tr> |
| 240 |
|
| 241 |
<tr bgcolor="#FFFFCC"> |
| 242 |
<th align="left" colspan=5>General qualifiers</th> |
| 243 |
</tr> |
| 244 |
|
| 245 |
<tr bgcolor="#FFFFCC"> |
| 246 |
<td> -auto</td> |
| 247 |
<td>boolean</td> |
| 248 |
<td>Turn off prompts</td> |
| 249 |
<td>Boolean value Yes/No</td> |
| 250 |
<td>N</td> |
| 251 |
</tr> |
| 252 |
|
| 253 |
<tr bgcolor="#FFFFCC"> |
| 254 |
<td> -stdout</td> |
| 255 |
<td>boolean</td> |
| 256 |
<td>Write first file to standard output</td> |
| 257 |
<td>Boolean value Yes/No</td> |
| 258 |
<td>N</td> |
| 259 |
</tr> |
| 260 |
|
| 261 |
<tr bgcolor="#FFFFCC"> |
| 262 |
<td> -filter</td> |
| 263 |
<td>boolean</td> |
| 264 |
<td>Read first file from standard input, write first file to standard output</td> |
| 265 |
<td>Boolean value Yes/No</td> |
| 266 |
<td>N</td> |
| 267 |
</tr> |
| 268 |
|
| 269 |
<tr bgcolor="#FFFFCC"> |
| 270 |
<td> -options</td> |
| 271 |
<td>boolean</td> |
| 272 |
<td>Prompt for standard and additional values</td> |
| 273 |
<td>Boolean value Yes/No</td> |
| 274 |
<td>N</td> |
| 275 |
</tr> |
| 276 |
|
| 277 |
<tr bgcolor="#FFFFCC"> |
| 278 |
<td> -debug</td> |
| 279 |
<td>boolean</td> |
| 280 |
<td>Write debug output to program.dbg</td> |
| 281 |
<td>Boolean value Yes/No</td> |
| 282 |
<td>N</td> |
| 283 |
</tr> |
| 284 |
|
| 285 |
<tr bgcolor="#FFFFCC"> |
| 286 |
<td> -verbose</td> |
| 287 |
<td>boolean</td> |
| 288 |
<td>Report some/full command line options</td> |
| 289 |
<td>Boolean value Yes/No</td> |
| 290 |
<td>Y</td> |
| 291 |
</tr> |
| 292 |
|
| 293 |
<tr bgcolor="#FFFFCC"> |
| 294 |
<td> -help</td> |
| 295 |
<td>boolean</td> |
| 296 |
<td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 297 |
<td>Boolean value Yes/No</td> |
| 298 |
<td>N</td> |
| 299 |
</tr> |
| 300 |
|
| 301 |
<tr bgcolor="#FFFFCC"> |
| 302 |
<td> -warning</td> |
| 303 |
<td>boolean</td> |
| 304 |
<td>Report warnings</td> |
| 305 |
<td>Boolean value Yes/No</td> |
| 306 |
<td>Y</td> |
| 307 |
</tr> |
| 308 |
|
| 309 |
<tr bgcolor="#FFFFCC"> |
| 310 |
<td> -error</td> |
| 311 |
<td>boolean</td> |
| 312 |
<td>Report errors</td> |
| 313 |
<td>Boolean value Yes/No</td> |
| 314 |
<td>Y</td> |
| 315 |
</tr> |
| 316 |
|
| 317 |
<tr bgcolor="#FFFFCC"> |
| 318 |
<td> -fatal</td> |
| 319 |
<td>boolean</td> |
| 320 |
<td>Report fatal errors</td> |
| 321 |
<td>Boolean value Yes/No</td> |
| 322 |
<td>Y</td> |
| 323 |
</tr> |
| 324 |
|
| 325 |
<tr bgcolor="#FFFFCC"> |
| 326 |
<td> -die</td> |
| 327 |
<td>boolean</td> |
| 328 |
<td>Report dying program messages</td> |
| 329 |
<td>Boolean value Yes/No</td> |
| 330 |
<td>Y</td> |
| 331 |
</tr> |
| 332 |
|
| 333 |
<tr bgcolor="#FFFFCC"> |
| 334 |
<td> -version</td> |
| 335 |
<td>boolean</td> |
| 336 |
<td>Report version number and exit</td> |
| 337 |
<td>Boolean value Yes/No</td> |
| 338 |
<td>N</td> |
| 339 |
</tr> |
| 340 |
|
| 341 |
</table> |
| 342 |
|
| 343 |
|
| 344 |
|
| 345 |
|
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
|
| 353 |
|
| 354 |
|
| 355 |
<H2> |
| 356 |
Input file format |
| 357 |
</H2> |
| 358 |
|
| 359 |
<p> |
| 360 |
|
| 361 |
The input is a standard EMBOSS taxonomy query. |
| 362 |
|
| 363 |
<p> |
| 364 |
|
| 365 |
The expected source of taxonomy information is the NCBI Taxonomy |
| 366 |
database "taxon" which is available as a standard database in all |
| 367 |
EMBOSS installations. |
| 368 |
|
| 369 |
<p> |
| 370 |
|
| 371 |
Data can also be read from taxonomy output in "ncbi" format written by an |
| 372 |
EMBOSS application. |
| 373 |
|
| 374 |
<p> |
| 375 |
See: |
| 376 |
<A href="http://emboss.sf.net/docs/themes/TaxonFormats.html"> |
| 377 |
http://emboss.sf.net/docs/themes/TaxonFormats.html</A> |
| 378 |
for further information on taxon formats. |
| 379 |
|
| 380 |
<p> |
| 381 |
|
| 382 |
|
| 383 |
<a name="input.1"></a> |
| 384 |
<h3>Input files for usage example </h3> |
| 385 |
|
| 386 |
'ttax:9605' is a sequence entry in the example taxonomy database 'ttax' |
| 387 |
<p> |
| 388 |
<p><h3>Database entry: ttax:9605</h3> |
| 389 |
<table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 390 |
<pre> |
| 391 |
id: 9605 |
| 392 |
parent: 207598 |
| 393 |
rank: genus |
| 394 |
emblprefix: |
| 395 |
division: 5 |
| 396 |
divflag: 1 |
| 397 |
gencode: 1 |
| 398 |
gcflag: 1 |
| 399 |
mitocode: 2 |
| 400 |
mgcflag 1 |
| 401 |
hidden: 1 |
| 402 |
nosequence: 1 |
| 403 |
scientific name: Homo |
| 404 |
authority: Homo Linnaeus, 1758 |
| 405 |
|
| 406 |
</pre> |
| 407 |
</td></tr></table><p> |
| 408 |
|
| 409 |
<H2> |
| 410 |
Output file format |
| 411 |
</H2> |
| 412 |
|
| 413 |
The output is a standard EMBOSS taxon file. |
| 414 |
|
| 415 |
<p> |
| 416 |
|
| 417 |
The results can be output in one of several styles by using the |
| 418 |
command-line qualifier <tt>-oformat xxx</tt>, where 'xxx' is replaced by |
| 419 |
the name of the required format. The available format names are: |
| 420 |
ncbi, ebi, tax, excel. |
| 421 |
<p> |
| 422 |
|
| 423 |
See: |
| 424 |
<A href="http://emboss.sf.net/docs/themes/TaxonFormats.html"> |
| 425 |
http://emboss.sf.net/docs/themes/TaxonFormats.html</A> |
| 426 |
for further information on taxon formats. |
| 427 |
|
| 428 |
<p> |
| 429 |
|
| 430 |
|
| 431 |
<p> |
| 432 |
|
| 433 |
|
| 434 |
<a name="output.1"></a> |
| 435 |
<h3>Output files for usage example </h3> |
| 436 |
<p><h3>File: 9605.excel</h3> |
| 437 |
<table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 438 |
<pre> |
| 439 |
9606 9605 species Y Homo sapiens |
| 440 |
741158 9605 species Y Homo sp. Altai |
| 441 |
</pre> |
| 442 |
</td></tr></table><p> |
| 443 |
|
| 444 |
|
| 445 |
|
| 446 |
<H2> |
| 447 |
Data files |
| 448 |
</H2> |
| 449 |
|
| 450 |
The NCBI Taxonomy Ontology is included in EMBOSS as local |
| 451 |
database <b>taxon</b>. |
| 452 |
|
| 453 |
|
| 454 |
|
| 455 |
<H2> |
| 456 |
Notes |
| 457 |
</H2> |
| 458 |
|
| 459 |
|
| 460 |
|
| 461 |
|
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
None. |
| 466 |
|
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
<H2> |
| 474 |
References |
| 475 |
</H2> |
| 476 |
|
| 477 |
|
| 478 |
|
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
|
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
|
| 487 |
None. |
| 488 |
|
| 489 |
|
| 490 |
|
| 491 |
|
| 492 |
|
| 493 |
|
| 494 |
|
| 495 |
|
| 496 |
<H2> |
| 497 |
Warnings |
| 498 |
</H2> |
| 499 |
|
| 500 |
|
| 501 |
|
| 502 |
|
| 503 |
|
| 504 |
None. |
| 505 |
|
| 506 |
|
| 507 |
|
| 508 |
|
| 509 |
|
| 510 |
|
| 511 |
|
| 512 |
<H2> |
| 513 |
Diagnostic Error Messages |
| 514 |
</H2> |
| 515 |
|
| 516 |
|
| 517 |
|
| 518 |
|
| 519 |
|
| 520 |
|
| 521 |
None. |
| 522 |
|
| 523 |
|
| 524 |
|
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
|
| 529 |
<H2> |
| 530 |
Exit status |
| 531 |
</H2> |
| 532 |
|
| 533 |
|
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
It always exits with status 0. |
| 538 |
|
| 539 |
|
| 540 |
|
| 541 |
|
| 542 |
|
| 543 |
|
| 544 |
|
| 545 |
|
| 546 |
<H2> |
| 547 |
Known bugs |
| 548 |
</H2> |
| 549 |
|
| 550 |
|
| 551 |
|
| 552 |
|
| 553 |
|
| 554 |
|
| 555 |
None. |
| 556 |
|
| 557 |
|
| 558 |
|
| 559 |
|
| 560 |
|
| 561 |
|
| 562 |
|
| 563 |
|
| 564 |
|
| 565 |
|
| 566 |
|
| 567 |
|
| 568 |
|
| 569 |
<h2><a name="See also">See also</a></h2> |
| 570 |
<table border cellpadding=4 bgcolor="#FFFFF0"> |
| 571 |
<tr><th>Program name</th> |
| 572 |
<th>Description</th></tr> |
| 573 |
<tr> |
| 574 |
<td><a href="taxget.html">taxget</a></td> |
| 575 |
<td>Get taxon(s)</td> |
| 576 |
</tr> |
| 577 |
|
| 578 |
<tr> |
| 579 |
<td><a href="taxgetrank.html">taxgetrank</a></td> |
| 580 |
<td>Get parents of taxon(s)</td> |
| 581 |
</tr> |
| 582 |
|
| 583 |
<tr> |
| 584 |
<td><a href="taxgetspecies.html">taxgetspecies</a></td> |
| 585 |
<td>Get all species under taxon(s)</td> |
| 586 |
</tr> |
| 587 |
|
| 588 |
<tr> |
| 589 |
<td><a href="taxgetup.html">taxgetup</a></td> |
| 590 |
<td>Get parents of taxon(s)</td> |
| 591 |
</tr> |
| 592 |
|
| 593 |
</table> |
| 594 |
|
| 595 |
|
| 596 |
|
| 597 |
|
| 598 |
|
| 599 |
|
| 600 |
|
| 601 |
|
| 602 |
|
| 603 |
|
| 604 |
|
| 605 |
|
| 606 |
|
| 607 |
|
| 608 |
<H2> |
| 609 |
Author(s) |
| 610 |
</H2> |
| 611 |
|
| 612 |
Peter Rice |
| 613 |
<br> |
| 614 |
European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 615 |
|
| 616 |
<p> |
| 617 |
Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 618 |
<H2> |
| 619 |
History |
| 620 |
</H2> |
| 621 |
|
| 622 |
|
| 623 |
|
| 624 |
|
| 625 |
|
| 626 |
|
| 627 |
|
| 628 |
<H2> |
| 629 |
Target users |
| 630 |
</H2> |
| 631 |
|
| 632 |
|
| 633 |
|
| 634 |
This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 635 |
|
| 636 |
<H2> |
| 637 |
Comments |
| 638 |
</H2> |
| 639 |
|
| 640 |
|
| 641 |
|
| 642 |
None |
| 643 |
|
| 644 |
|
| 645 |
</BODY> |
| 646 |
</HTML> |
| 647 |
|