Debian Codegraph @

doc/programs/html/taxgetup.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: taxgetup
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 taxgetup
16 </font></b>
17 </td></tr>
18 </table>
19 <br>&nbsp;
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 parents of taxon(s)
39 <!--
40 DON'T WRITE ANYTHING HERE.
41 IT IS DONE FOR YOU.
42 -->
43
44
45
46
47 <H2>
48 Description
49 </H2>
50
51 <b>taxgetup</b> reads in one or more taxons, and reports the parent taxon. 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 Algorithm
56 </H2>
57
58 The NCBI taxonomy records the parent of each taxon, up to a known top level 1.
59
60
61 <H2>
62 Usage
63 </H2>
64
65 <!--
66 Example usage, as run from the command-line.
67 Many examples illustrating different behaviours is good.
68 -->
69
70 Here is a sample session with <b>taxgetup</b>
71 <p>
72
73 <p>
74 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
75
76 % <b>taxgetup ttax:9606 -oformat excel </b>
77 Get parents of taxon(s)
78 Taxon output file [9606.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 <p>
84 <b>Example 2</b>
85 <p>
86
87 <p>
88 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
89
90 % <b>taxgetup ttax:9606 -hidden -oformat excel </b>
91 Get parents of taxon(s)
92 Taxon output file [9606.excel]: <b></b>
93
94 </pre></td></tr></table><p>
95 <p>
96 <a href="#output.2">Go to the output files for this example</a><p><p>
97
98
99
100 <H2>
101 Command line arguments
102 </H2>
103
104 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
105 <pre>
106 Get parents of taxon(s)
107 Version: EMBOSS:6.6.0.0
108
109 Standard (Mandatory) qualifiers:
110 [-taxons] taxon Taxon filename and optional format, or
111 reference (input query)
112 [-outfile] outtaxon (no help text) outtaxon value
113
114 Additional (Optional) qualifiers: (none)
115 Advanced (Unprompted) qualifiers:
116 -hidden boolean [N] Show taxons hidden in GenBank
117
118 Associated qualifiers:
119
120 "-taxons" associated qualifiers
121 -iformat1 string Input taxonomy format
122 -iquery1 string Input query fields or ID list
123 -ioffset1 integer Input start position offset
124 -idbname1 string User-provided database name
125
126 "-outfile" associated qualifiers
127 -odirectory2 string Output directory
128 -oformat2 string Taxonomy output format
129
130 General qualifiers:
131 -auto boolean Turn off prompts
132 -stdout boolean Write first file to standard output
133 -filter boolean Read first file from standard input, write
134 first file to standard output
135 -options boolean Prompt for standard and additional values
136 -debug boolean Write debug output to program.dbg
137 -verbose boolean Report some/full command line options
138 -help boolean Report command line options and exit. More
139 information on associated and general
140 qualifiers can be found with -help -verbose
141 -warning boolean Report warnings
142 -error boolean Report errors
143 -fatal boolean Report fatal errors
144 -die boolean Report dying program messages
145 -version boolean Report version number and exit
146
147 </pre>
148 </td></tr></table>
149 <P>
150 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
151 <tr bgcolor="#FFFFCC">
152 <th align="left">Qualifier</th>
153 <th align="left">Type</th>
154 <th align="left">Description</th>
155 <th align="left">Allowed values</th>
156 <th align="left">Default</th>
157 </tr>
158
159 <tr bgcolor="#FFFFCC">
160 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
161 </tr>
162
163 <tr bgcolor="#FFFFCC">
164 <td>[-taxons]<br>(Parameter 1)</td>
165 <td>taxon</td>
166 <td>Taxon filename and optional format, or reference (input query)</td>
167 <td>NCBI taxonomy entries</td>
168 <td>&nbsp;</td>
169 </tr>
170
171 <tr bgcolor="#FFFFCC">
172 <td>[-outfile]<br>(Parameter 2)</td>
173 <td>outtaxon</td>
174 <td>(no help text) outtaxon value</td>
175 <td>NCBI taxonomy entries</td>
176 <td>&nbsp;</td>
177 </tr>
178
179 <tr bgcolor="#FFFFCC">
180 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
181 </tr>
182
183 <tr>
184 <td colspan=5>(none)</td>
185 </tr>
186
187 <tr bgcolor="#FFFFCC">
188 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
189 </tr>
190
191 <tr bgcolor="#FFFFCC">
192 <td>-hidden</td>
193 <td>boolean</td>
194 <td>Show taxons hidden in GenBank</td>
195 <td>Boolean value Yes/No</td>
196 <td>No</td>
197 </tr>
198
199 <tr bgcolor="#FFFFCC">
200 <th align="left" colspan=5>Associated qualifiers</th>
201 </tr>
202
203 <tr bgcolor="#FFFFCC">
204 <td align="left" colspan=5>"-taxons" associated taxon qualifiers
205 </td>
206 </tr>
207
208 <tr bgcolor="#FFFFCC">
209 <td> -iformat1<br>-iformat_taxons</td>
210 <td>string</td>
211 <td>Input taxonomy format</td>
212 <td>Any string</td>
213 <td>&nbsp;</td>
214 </tr>
215
216 <tr bgcolor="#FFFFCC">
217 <td> -iquery1<br>-iquery_taxons</td>
218 <td>string</td>
219 <td>Input query fields or ID list</td>
220 <td>Any string</td>
221 <td>&nbsp;</td>
222 </tr>
223
224 <tr bgcolor="#FFFFCC">
225 <td> -ioffset1<br>-ioffset_taxons</td>
226 <td>integer</td>
227 <td>Input start position offset</td>
228 <td>Any integer value</td>
229 <td>0</td>
230 </tr>
231
232 <tr bgcolor="#FFFFCC">
233 <td> -idbname1<br>-idbname_taxons</td>
234 <td>string</td>
235 <td>User-provided database name</td>
236 <td>Any string</td>
237 <td>&nbsp;</td>
238 </tr>
239
240 <tr bgcolor="#FFFFCC">
241 <td align="left" colspan=5>"-outfile" associated outtaxon qualifiers
242 </td>
243 </tr>
244
245 <tr bgcolor="#FFFFCC">
246 <td> -odirectory2<br>-odirectory_outfile</td>
247 <td>string</td>
248 <td>Output directory</td>
249 <td>Any string</td>
250 <td>&nbsp;</td>
251 </tr>
252
253 <tr bgcolor="#FFFFCC">
254 <td> -oformat2<br>-oformat_outfile</td>
255 <td>string</td>
256 <td>Taxonomy output format</td>
257 <td>Any string</td>
258 <td>&nbsp;</td>
259 </tr>
260
261 <tr bgcolor="#FFFFCC">
262 <th align="left" colspan=5>General qualifiers</th>
263 </tr>
264
265 <tr bgcolor="#FFFFCC">
266 <td> -auto</td>
267 <td>boolean</td>
268 <td>Turn off prompts</td>
269 <td>Boolean value Yes/No</td>
270 <td>N</td>
271 </tr>
272
273 <tr bgcolor="#FFFFCC">
274 <td> -stdout</td>
275 <td>boolean</td>
276 <td>Write first file to standard output</td>
277 <td>Boolean value Yes/No</td>
278 <td>N</td>
279 </tr>
280
281 <tr bgcolor="#FFFFCC">
282 <td> -filter</td>
283 <td>boolean</td>
284 <td>Read first file from standard input, write first file to standard output</td>
285 <td>Boolean value Yes/No</td>
286 <td>N</td>
287 </tr>
288
289 <tr bgcolor="#FFFFCC">
290 <td> -options</td>
291 <td>boolean</td>
292 <td>Prompt for standard and additional values</td>
293 <td>Boolean value Yes/No</td>
294 <td>N</td>
295 </tr>
296
297 <tr bgcolor="#FFFFCC">
298 <td> -debug</td>
299 <td>boolean</td>
300 <td>Write debug output to program.dbg</td>
301 <td>Boolean value Yes/No</td>
302 <td>N</td>
303 </tr>
304
305 <tr bgcolor="#FFFFCC">
306 <td> -verbose</td>
307 <td>boolean</td>
308 <td>Report some/full command line options</td>
309 <td>Boolean value Yes/No</td>
310 <td>Y</td>
311 </tr>
312
313 <tr bgcolor="#FFFFCC">
314 <td> -help</td>
315 <td>boolean</td>
316 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
317 <td>Boolean value Yes/No</td>
318 <td>N</td>
319 </tr>
320
321 <tr bgcolor="#FFFFCC">
322 <td> -warning</td>
323 <td>boolean</td>
324 <td>Report warnings</td>
325 <td>Boolean value Yes/No</td>
326 <td>Y</td>
327 </tr>
328
329 <tr bgcolor="#FFFFCC">
330 <td> -error</td>
331 <td>boolean</td>
332 <td>Report errors</td>
333 <td>Boolean value Yes/No</td>
334 <td>Y</td>
335 </tr>
336
337 <tr bgcolor="#FFFFCC">
338 <td> -fatal</td>
339 <td>boolean</td>
340 <td>Report fatal errors</td>
341 <td>Boolean value Yes/No</td>
342 <td>Y</td>
343 </tr>
344
345 <tr bgcolor="#FFFFCC">
346 <td> -die</td>
347 <td>boolean</td>
348 <td>Report dying program messages</td>
349 <td>Boolean value Yes/No</td>
350 <td>Y</td>
351 </tr>
352
353 <tr bgcolor="#FFFFCC">
354 <td> -version</td>
355 <td>boolean</td>
356 <td>Report version number and exit</td>
357 <td>Boolean value Yes/No</td>
358 <td>N</td>
359 </tr>
360
361 </table>
362
363 <!--
364 DON'T WRITE ANYTHING HERE.
365 IT IS DONE FOR YOU.
366 -->
367
368
369
370
371
372
373
374
375 <H2>
376 Input file format
377 </H2>
378
379 <p>
380
381 The input is a standard EMBOSS taxonomy query.
382
383 <p>
384
385 The expected source of taxonomy information is the NCBI Taxonomy
386 database "taxon" which is available as a standard database in all
387 EMBOSS installations.
388
389 <p>
390
391 Data can also be read from taxonomy output in "ncbi" format written by an
392 EMBOSS application.
393
394 <p>
395 See:
396 <A href="http://emboss.sf.net/docs/themes/TaxonFormats.html">
397 http://emboss.sf.net/docs/themes/TaxonFormats.html</A>
398 for further information on taxon formats.
399
400 <p>
401
402
403 <a name="input.1"></a>
404 <h3>Input files for usage example </h3>
405
406 'ttax:9606' is a sequence entry in the example taxonomy database 'ttax'
407 <p>
408 <p><h3>Database entry: ttax:9606</h3>
409 <table width="90%"><tr><td bgcolor="#FFCCFF">
410 <pre>
411 id: 9606
412 parent: 9605
413 rank: species
414 emblprefix: HS
415 division: 5
416 divflag: 1
417 gencode: 1
418 gcflag: 1
419 mitocode: 2
420 mgcflag 1
421 hidden: 1
422 nosequence: 1
423 scientific name: Homo sapiens
424 authority: Homo sapiens Linnaeus, 1758
425 genbank common name: human
426 common name: man
427
428 </pre>
429 </td></tr></table><p>
430
431
432 <H2>
433 Output file format
434 </H2>
435
436 The output is a standard EMBOSS taxon file.
437
438 <p>
439
440 The results can be output in one of several styles by using the
441 command-line qualifier <tt>-oformat xxx</tt>, where 'xxx' is replaced by
442 the name of the required format. The available format names are:
443 ncbi, ebi, tax, excel.
444 <p>
445
446 See:
447 <A href="http://emboss.sf.net/docs/themes/TaxonFormats.html">
448 http://emboss.sf.net/docs/themes/TaxonFormats.html</A>
449 for further information on taxon formats.
450
451 <p>
452
453 <p>
454
455
456 <a name="output.1"></a>
457 <h3>Output files for usage example </h3>
458 <p><h3>File: 9606.excel</h3>
459 <table width="90%"><tr><td bgcolor="#CCFFCC">
460 <pre>
461 9605 207598 genus N Homo
462 9604 314295 family N Hominidae
463 9526 314293 parvorder N Catarrhini
464 376913 9443 suborder N Haplorrhini
465 9443 314146 order N Primates
466 314146 9347 superorder N Euarchontoglires
467 9347 32525 no rank N Eutheria
468 40674 32524 class N Mammalia
469 117571 117570 no rank N Euteleostomi
470 7742 89593 no rank N Vertebrata
471 89593 7711 subphylum N Craniata
472 7711 33511 phylum N Chordata
473 33208 33154 kingdom N Metazoa
474 2759 131567 superkingdom N Eukaryota
475 </pre>
476 </td></tr></table><p>
477
478 <a name="output.2"></a>
479 <h3>Output files for usage example 2</h3>
480 <p><h3>File: 9606.excel</h3>
481 <table width="90%"><tr><td bgcolor="#CCFFCC">
482 <pre>
483 9605 207598 genus N Homo
484 207598 9604 subfamily Y Homininae
485 9604 314295 family N Hominidae
486 314295 9526 superfamily Y Hominoidea
487 9526 314293 parvorder N Catarrhini
488 314293 376913 infraorder Y Simiiformes
489 376913 9443 suborder N Haplorrhini
490 9443 314146 order N Primates
491 314146 9347 superorder N Euarchontoglires
492 9347 32525 no rank N Eutheria
493 32525 40674 no rank Y Theria
494 40674 32524 class N Mammalia
495 32524 32523 no rank Y Amniota
496 32523 8287 no rank Y Tetrapoda
497 8287 117571 no rank Y Sarcopterygii
498 117571 117570 no rank N Euteleostomi
499 117570 7776 no rank Y Teleostomi
500 7776 7742 superclass Y Gnathostomata
501 7742 89593 no rank N Vertebrata
502 89593 7711 subphylum N Craniata
503 7711 33511 phylum N Chordata
504 33511 33316 no rank Y Deuterostomia
505 33316 33213 no rank Y Coelomata
506 33213 6072 no rank Y Bilateria
507 6072 33208 no rank Y Eumetazoa
508 33208 33154 kingdom N Metazoa
509 33154 2759 no rank Y Fungi/Metazoa group
510 2759 131567 superkingdom N Eukaryota
511 131567 1 no rank Y cellular organisms
512 </pre>
513 </td></tr></table><p>
514
515
516
517
518
519 <H2>
520 Data files
521 </H2>
522
523 The NCBI Taxonomy Ontology is included in EMBOSS as local
524 database <b>taxon</b>.
525
526
527 <H2>
528 Notes
529 </H2>
530
531 <!--
532 Restrictions.
533 Interesting behaviour.
534 Useful things you can do with this program.
535 -->
536
537 None.
538
539
540
541
542
543
544
545 <H2>
546 References
547 </H2>
548
549 <!--
550 Bibliography for methods used.
551 <ol>
552
553 <li>
554
555 </ol>
556
557 -->
558
559 None.
560
561
562
563
564
565
566
567
568 <H2>
569 Warnings
570 </H2>
571
572 <!--
573 Potentially stupid things the program will let you do.
574 -->
575
576 None.
577
578
579
580
581
582
583
584 <H2>
585 Diagnostic Error Messages
586 </H2>
587
588 <!--
589 Error messages specific to this program, eg:
590 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
591 -->
592
593 None.
594
595
596
597
598
599
600
601 <H2>
602 Exit status
603 </H2>
604
605 <!--
606 Description of the exit status for various error conditions
607 -->
608
609 It always exits with status 0.
610
611
612
613
614
615
616
617
618 <H2>
619 Known bugs
620 </H2>
621
622
623 <!--
624 Bugs noted but not yet fixed.
625 -->
626
627 None.
628
629
630
631
632
633
634
635
636 <!--
637 <H2>
638 See also
639 </H2>
640 -->
641 <h2><a name="See also">See also</a></h2>
642 <table border cellpadding=4 bgcolor="#FFFFF0">
643 <tr><th>Program name</th>
644 <th>Description</th></tr>
645 <tr>
646 <td><a href="taxget.html">taxget</a></td>
647 <td>Get taxon(s)</td>
648 </tr>
649
650 <tr>
651 <td><a href="taxgetdown.html">taxgetdown</a></td>
652 <td>Get descendants of taxon(s)</td>
653 </tr>
654
655 <tr>
656 <td><a href="taxgetrank.html">taxgetrank</a></td>
657 <td>Get parents of taxon(s)</td>
658 </tr>
659
660 <tr>
661 <td><a href="taxgetspecies.html">taxgetspecies</a></td>
662 <td>Get all species under taxon(s)</td>
663 </tr>
664
665 </table>
666 <!--
667 Add any comments about other associated programs (to prepare
668 data files?) that seealso doesn't find.
669 -->
670
671
672
673
674
675
676
677
678
679
680 <H2>
681 Author(s)
682 </H2>
683
684 Peter Rice
685 <br>
686 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
687
688 <p>
689 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
690 <H2>
691 History
692 </H2>
693 <!--
694 Date written and what changes have been made go in this file.
695 -->
696
697
698
699
700 <H2>
701 Target users
702 </H2>
703 <!--
704 For general users, use this text
705 -->
706 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
707
708 <H2>
709 Comments
710 </H2>
711 <!--
712 User/developer/other comments go in this file.
713 -->
714 None
715
716
717 </BODY>
718 </HTML>
719