Debian Codegraph @

doc/programs/html/ontocount.html

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