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