Debian Codegraph @

doc/programs/html/ontogetup.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: ontogetup
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 ontogetup
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 ontology term(s) by id of child
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>ontogetup</b> finds ontology terms matching a query. All parents of the term, related to the term by 'is_a' (class/subclass) relationships, are returned. The information may be written to an output file in various formats.
52
53
54
55
56 <H2>
57 Usage
58 </H2>
59
60 <!--
61 Example usage, as run from the command-line.
62 Many examples illustrating different behaviours is good.
63 -->
64
65 Here is a sample session with <b>ontogetup</b>
66 <p>
67
68 <p>
69 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
70
71 % <b>ontogetup edam:1234 </b>
72 Get ontology term(s) by id of child
73 Obo output file [1234.obo]: <b></b>
74
75 </pre></td></tr></table><p>
76 <p>
77 <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>
78
79
80
81 <H2>
82 Command line arguments
83 </H2>
84
85 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
86 <pre>
87 Get ontology term(s) by id of child
88 Version: EMBOSS:6.6.0.0
89
90 Standard (Mandatory) qualifiers:
91 [-oboterms] obo Obo term filename and optional format, or
92 reference (input query)
93 [-outfile] outobo [*.ontogetup] Output ontology term file name
94
95 Additional (Optional) qualifiers:
96 -obsolete boolean [N] The default behaviour is to not use or
97 return obsolete terms. This option if set
98 will include all terms.
99
100 Advanced (Unprompted) qualifiers: (none)
101 Associated qualifiers:
102
103 "-oboterms" associated qualifiers
104 -iformat1 string Input obo format
105 -iquery1 string Input query fields or ID list
106 -ioffset1 integer Input start position offset
107 -idbname1 string User-provided database name
108
109 "-outfile" associated qualifiers
110 -odirectory2 string Output directory
111 -oformat2 string Ontology term output format
112
113 General qualifiers:
114 -auto boolean Turn off prompts
115 -stdout boolean Write first file to standard output
116 -filter boolean Read first file from standard input, write
117 first file to standard output
118 -options boolean Prompt for standard and additional values
119 -debug boolean Write debug output to program.dbg
120 -verbose boolean Report some/full command line options
121 -help boolean Report command line options and exit. More
122 information on associated and general
123 qualifiers can be found with -help -verbose
124 -warning boolean Report warnings
125 -error boolean Report errors
126 -fatal boolean Report fatal errors
127 -die boolean Report dying program messages
128 -version boolean Report version number and exit
129
130 </pre>
131 </td></tr></table>
132 <P>
133 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
134 <tr bgcolor="#FFFFCC">
135 <th align="left">Qualifier</th>
136 <th align="left">Type</th>
137 <th align="left">Description</th>
138 <th align="left">Allowed values</th>
139 <th align="left">Default</th>
140 </tr>
141
142 <tr bgcolor="#FFFFCC">
143 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
144 </tr>
145
146 <tr bgcolor="#FFFFCC">
147 <td>[-oboterms]<br>(Parameter 1)</td>
148 <td>obo</td>
149 <td>Obo term filename and optional format, or reference (input query)</td>
150 <td>OBO bio-ontology term(s)</td>
151 <td>&nbsp;</td>
152 </tr>
153
154 <tr bgcolor="#FFFFCC">
155 <td>[-outfile]<br>(Parameter 2)</td>
156 <td>outobo</td>
157 <td>Output ontology term file name</td>
158 <td>OBO ontology term(s)</td>
159 <td><i>&lt;*&gt;</i>.ontogetup</td>
160 </tr>
161
162 <tr bgcolor="#FFFFCC">
163 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
164 </tr>
165
166 <tr bgcolor="#FFFFCC">
167 <td>-obsolete</td>
168 <td>boolean</td>
169 <td>The default behaviour is to not use or return obsolete terms. This option if set will include all terms.</td>
170 <td>Boolean value Yes/No</td>
171 <td>No</td>
172 </tr>
173
174 <tr bgcolor="#FFFFCC">
175 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
176 </tr>
177
178 <tr>
179 <td colspan=5>(none)</td>
180 </tr>
181
182 <tr bgcolor="#FFFFCC">
183 <th align="left" colspan=5>Associated qualifiers</th>
184 </tr>
185
186 <tr bgcolor="#FFFFCC">
187 <td align="left" colspan=5>"-oboterms" associated obo qualifiers
188 </td>
189 </tr>
190
191 <tr bgcolor="#FFFFCC">
192 <td> -iformat1<br>-iformat_oboterms</td>
193 <td>string</td>
194 <td>Input obo format</td>
195 <td>Any string</td>
196 <td>&nbsp;</td>
197 </tr>
198
199 <tr bgcolor="#FFFFCC">
200 <td> -iquery1<br>-iquery_oboterms</td>
201 <td>string</td>
202 <td>Input query fields or ID list</td>
203 <td>Any string</td>
204 <td>&nbsp;</td>
205 </tr>
206
207 <tr bgcolor="#FFFFCC">
208 <td> -ioffset1<br>-ioffset_oboterms</td>
209 <td>integer</td>
210 <td>Input start position offset</td>
211 <td>Any integer value</td>
212 <td>0</td>
213 </tr>
214
215 <tr bgcolor="#FFFFCC">
216 <td> -idbname1<br>-idbname_oboterms</td>
217 <td>string</td>
218 <td>User-provided database name</td>
219 <td>Any string</td>
220 <td>&nbsp;</td>
221 </tr>
222
223 <tr bgcolor="#FFFFCC">
224 <td align="left" colspan=5>"-outfile" associated outobo qualifiers
225 </td>
226 </tr>
227
228 <tr bgcolor="#FFFFCC">
229 <td> -odirectory2<br>-odirectory_outfile</td>
230 <td>string</td>
231 <td>Output directory</td>
232 <td>Any string</td>
233 <td>&nbsp;</td>
234 </tr>
235
236 <tr bgcolor="#FFFFCC">
237 <td> -oformat2<br>-oformat_outfile</td>
238 <td>string</td>
239 <td>Ontology term output format</td>
240 <td>Any string</td>
241 <td>&nbsp;</td>
242 </tr>
243
244 <tr bgcolor="#FFFFCC">
245 <th align="left" colspan=5>General qualifiers</th>
246 </tr>
247
248 <tr bgcolor="#FFFFCC">
249 <td> -auto</td>
250 <td>boolean</td>
251 <td>Turn off prompts</td>
252 <td>Boolean value Yes/No</td>
253 <td>N</td>
254 </tr>
255
256 <tr bgcolor="#FFFFCC">
257 <td> -stdout</td>
258 <td>boolean</td>
259 <td>Write first file to standard output</td>
260 <td>Boolean value Yes/No</td>
261 <td>N</td>
262 </tr>
263
264 <tr bgcolor="#FFFFCC">
265 <td> -filter</td>
266 <td>boolean</td>
267 <td>Read first file from standard input, write first file to standard output</td>
268 <td>Boolean value Yes/No</td>
269 <td>N</td>
270 </tr>
271
272 <tr bgcolor="#FFFFCC">
273 <td> -options</td>
274 <td>boolean</td>
275 <td>Prompt for standard and additional values</td>
276 <td>Boolean value Yes/No</td>
277 <td>N</td>
278 </tr>
279
280 <tr bgcolor="#FFFFCC">
281 <td> -debug</td>
282 <td>boolean</td>
283 <td>Write debug output to program.dbg</td>
284 <td>Boolean value Yes/No</td>
285 <td>N</td>
286 </tr>
287
288 <tr bgcolor="#FFFFCC">
289 <td> -verbose</td>
290 <td>boolean</td>
291 <td>Report some/full command line options</td>
292 <td>Boolean value Yes/No</td>
293 <td>Y</td>
294 </tr>
295
296 <tr bgcolor="#FFFFCC">
297 <td> -help</td>
298 <td>boolean</td>
299 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
300 <td>Boolean value Yes/No</td>
301 <td>N</td>
302 </tr>
303
304 <tr bgcolor="#FFFFCC">
305 <td> -warning</td>
306 <td>boolean</td>
307 <td>Report warnings</td>
308 <td>Boolean value Yes/No</td>
309 <td>Y</td>
310 </tr>
311
312 <tr bgcolor="#FFFFCC">
313 <td> -error</td>
314 <td>boolean</td>
315 <td>Report errors</td>
316 <td>Boolean value Yes/No</td>
317 <td>Y</td>
318 </tr>
319
320 <tr bgcolor="#FFFFCC">
321 <td> -fatal</td>
322 <td>boolean</td>
323 <td>Report fatal errors</td>
324 <td>Boolean value Yes/No</td>
325 <td>Y</td>
326 </tr>
327
328 <tr bgcolor="#FFFFCC">
329 <td> -die</td>
330 <td>boolean</td>
331 <td>Report dying program messages</td>
332 <td>Boolean value Yes/No</td>
333 <td>Y</td>
334 </tr>
335
336 <tr bgcolor="#FFFFCC">
337 <td> -version</td>
338 <td>boolean</td>
339 <td>Report version number and exit</td>
340 <td>Boolean value Yes/No</td>
341 <td>N</td>
342 </tr>
343
344 </table>
345
346 <!--
347 DON'T WRITE ANYTHING HERE.
348 IT IS DONE FOR YOU.
349 -->
350
351
352
353
354
355
356
357
358 <H2>
359 Input file format
360 </H2>
361
362 <p>
363
364 The input is a standard EMBOSS ontology query.
365
366 <p> The major ontology sources defined as standard in EMBOSS
367 installations are EDAM, GO (gene Ontology) and SO (Sequence Ontology).
368
369 <p>
370
371 Data can also be read from ontology output in "obo" format written by an
372 EMBOSS application.
373
374 <p>
375
376
377 <a name="input.1"></a>
378 <h3>Input files for usage example </h3>
379 <p><h3>Database entry: edam:1234</h3>
380 <table width="90%"><tr><td bgcolor="#FFCCFF">
381 <pre>
382 [Term]
383 id: EDAM_data:1234
384 name: Sequence set (nucleic acid)
385 namespace: data
386 def: Any collection of multiple nucleotide sequences and associated metadata that do not (typically) correspond to common sequence database records or database entries.
387 subset: bioinformatics
388 subset: data
389 subset: edam
390 created_in: "beta12orEarlier"
391 is_a: EDAM_data:0850 ! Sequence set
392 is_a: EDAM_data:2977 ! Nucleic acid sequence
393
394 </pre>
395 </td></tr></table><p>
396
397
398 <H2>
399 Output file format
400 </H2>
401
402 <p>
403
404 The output is a standard EMBOSS ontology term file.
405
406 <p>
407
408 The results can be output in one of several styles by using the
409 command-line qualifier <tt>-oformat xxx</tt>, where 'xxx' is replaced by
410 the name of the required format. The available format names are: obo,
411 brief, list, html, xml, json, excel.
412 <p>
413
414 See:
415 <A href="http://emboss.sf.net/docs/themes/OntologyFormats.html">
416 http://emboss.sf.net/docs/themes/OntologyFormats.html</A>
417 for further information on ontology formats.
418
419 <p>
420
421 <p>
422
423
424 <a name="output.1"></a>
425 <h3>Output files for usage example </h3>
426 <p><h3>File: 1234.obo</h3>
427 <table width="90%"><tr><td bgcolor="#CCFFCC">
428 <pre>
429 [Term]
430 id: EDAM_data:0850
431 name: Sequence set
432 namespace: data
433 def: A collection of multiple molecular sequences and associated metadata that do not (typically) correspond to molecular sequence database records or entries and which (typically) are derived from some analytical method.
434 comment: This concept may be used for arbitrary sequence sets and associated data arising from processing.
435 subset: bioinformatics
436 subset: data
437 subset: edam
438 synonym: "SO:0001260" RELATED []
439 created_in: "beta12orEarlier"
440 is_a: EDAM_data:2955 ! Sequence report
441
442 [Term]
443 id: EDAM_data:2977
444 name: Nucleic acid sequence
445 namespace: data
446 def: One or more nucleic acid sequences, possibly with associated annotation.
447 subset: bioinformatics
448 subset: data
449 subset: edam
450 synonym: "NucleotideSequenceInformation" RELATED []
451 created_in: "beta12orEarlier"
452 is_a: EDAM_data:2044 ! Sequence
453
454 </pre>
455 </td></tr></table><p>
456
457
458
459
460
461 <H2>
462 Data files
463 </H2>
464
465 The EDAM Ontology is included in EMBOSS as local
466 database <b>edam</b>.
467
468
469
470
471 <H2>
472 Notes
473 </H2>
474
475 <!--
476 Restrictions.
477 Interesting behaviour.
478 Useful things you can do with this program.
479 -->
480
481 None.
482
483
484
485
486
487
488
489 <H2>
490 References
491 </H2>
492
493 <!--
494 Bibliography for methods used.
495 <ol>
496
497 <li>
498
499 </ol>
500
501 -->
502
503 None.
504
505
506
507
508
509
510
511
512 <H2>
513 Warnings
514 </H2>
515
516 <!--
517 Potentially stupid things the program will let you do.
518 -->
519
520 None.
521
522
523
524
525
526
527
528 <H2>
529 Diagnostic Error Messages
530 </H2>
531
532 <!--
533 Error messages specific to this program, eg:
534 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
535 -->
536
537 None.
538
539
540
541
542
543
544
545 <H2>
546 Exit status
547 </H2>
548
549 <!--
550 Description of the exit status for various error conditions
551 -->
552
553 It always exits with status 0.
554
555
556
557
558
559
560
561
562 <H2>
563 Known bugs
564 </H2>
565
566
567 <!--
568 Bugs noted but not yet fixed.
569 -->
570
571 None.
572
573
574
575
576
577
578
579
580 <!--
581 <H2>
582 See also
583 </H2>
584 -->
585 <h2><a name="See also">See also</a></h2>
586 <table border cellpadding=4 bgcolor="#FFFFF0">
587 <tr><th>Program name</th>
588 <th>Description</th></tr>
589 <tr>
590 <td><a href="edamdef.html">edamdef</a></td>
591 <td>Find EDAM ontology terms by definition</td>
592 </tr>
593
594 <tr>
595 <td><a href="edamhasinput.html">edamhasinput</a></td>
596 <td>Find EDAM ontology terms by has_input relation</td>
597 </tr>
598
599 <tr>
600 <td><a href="edamhasoutput.html">edamhasoutput</a></td>
601 <td>Find EDAM ontology terms by has_output relation</td>
602 </tr>
603
604 <tr>
605 <td><a href="edamisformat.html">edamisformat</a></td>
606 <td>Find EDAM ontology terms by is_format_of relation</td>
607 </tr>
608
609 <tr>
610 <td><a href="edamisid.html">edamisid</a></td>
611 <td>Find EDAM ontology terms by is_identifier_of relation</td>
612 </tr>
613
614 <tr>
615 <td><a href="edamname.html">edamname</a></td>
616 <td>Find EDAM ontology terms by name</td>
617 </tr>
618
619 <tr>
620 <td><a href="godef.html">godef</a></td>
621 <td>Find GO ontology terms by definition</td>
622 </tr>
623
624 <tr>
625 <td><a href="goname.html">goname</a></td>
626 <td>Find GO ontology terms by name</td>
627 </tr>
628
629 <tr>
630 <td><a href="ontocount.html">ontocount</a></td>
631 <td>Count ontology term(s)</td>
632 </tr>
633
634 <tr>
635 <td><a href="ontoget.html">ontoget</a></td>
636 <td>Get ontology term(s)</td>
637 </tr>
638
639 <tr>
640 <td><a href="ontogetcommon.html">ontogetcommon</a></td>
641 <td>Get common ancestor for terms</td>
642 </tr>
643
644 <tr>
645 <td><a href="ontogetdown.html">ontogetdown</a></td>
646 <td>Get ontology term(s) by parent id</td>
647 </tr>
648
649 <tr>
650 <td><a href="ontogetobsolete.html">ontogetobsolete</a></td>
651 <td>Get ontology ontology terms</td>
652 </tr>
653
654 <tr>
655 <td><a href="ontogetroot.html">ontogetroot</a></td>
656 <td>Get ontology root terms by child identifier</td>
657 </tr>
658
659 <tr>
660 <td><a href="ontogetsibs.html">ontogetsibs</a></td>
661 <td>Get ontology term(s) by id with common parent</td>
662 </tr>
663
664 <tr>
665 <td><a href="ontoisobsolete.html">ontoisobsolete</a></td>
666 <td>Report whether an ontology term id is obsolete</td>
667 </tr>
668
669 <tr>
670 <td><a href="ontotext.html">ontotext</a></td>
671 <td>Get ontology term(s) original full text</td>
672 </tr>
673
674 </table>
675 <!--
676 Add any comments about other associated programs (to prepare
677 data files?) that seealso doesn't find.
678 -->
679
680
681
682
683
684
685
686
687
688
689 <H2>
690 Author(s)
691 </H2>
692
693 Peter Rice
694 <br>
695 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
696
697 <p>
698 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
699 <H2>
700 History
701 </H2>
702 <!--
703 Date written and what changes have been made go in this file.
704 -->
705
706
707
708
709 <H2>
710 Target users
711 </H2>
712 <!--
713 For general users, use this text
714 -->
715 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
716
717 <H2>
718 Comments
719 </H2>
720 <!--
721 User/developer/other comments go in this file.
722 -->
723 None
724
725
726 </BODY>
727 </HTML>
728