| 1 | <HTML> |
| 2 | |
| 3 | <HEAD> |
| 4 | <TITLE> |
| 5 | EMBOSS: ontoisobsolete |
| 6 | </TITLE> |
| 7 | </HEAD> |
| 8 | <BODY BGCOLOR="#FFFFFF" text="#000000"> |
| 9 | |
| 10 | <table align=center border=0 cellspacing=0 cellpadding=0> |
| 11 | <tr><td valign=top> |
| 12 | <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> |
| 13 | </td> |
| 14 | <td align=left valign=middle> |
| 15 | <b><font size="+6"> |
| 16 | ontoisobsolete |
| 17 | </font></b> |
| 18 | </td></tr> |
| 19 | </table> |
| 20 | <br> |
| 21 | <p> |
| 22 | |
| 23 | |
| 24 | <H2> |
| 25 | Wiki |
| 26 | </H2> |
| 27 | |
| 28 | The master copies of EMBOSS documentation are available |
| 29 | at <a href="http://emboss.open-bio.org/wiki/Appdocs"> |
| 30 | http://emboss.open-bio.org/wiki/Appdocs</a> |
| 31 | on the EMBOSS Wiki. |
| 32 | |
| 33 | <p> |
| 34 | Please help by correcting and extending the Wiki pages. |
| 35 | |
| 36 | <H2> |
| 37 | Function |
| 38 | </H2> |
| 39 | Report whether an ontology term id is obsolete |
| 40 | <H2> |
| 41 | Description |
| 42 | </H2> |
| 43 | |
| 44 | <p><b>ontoisobsolete</b> tests and ontology term retrieved by a query and returns "Obsolete" if the term is obsoleted in the ontology. |
| 45 | |
| 46 | |
| 47 | <p>Ontologies from the EMBOSS data directory are used.</p> |
| 48 | |
| 49 | <H2> |
| 50 | Usage |
| 51 | </H2> |
| 52 | Here is a sample session with <b>ontoisobsolete</b> |
| 53 | <p> |
| 54 | |
| 55 | <p> |
| 56 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 57 | |
| 58 | % <b>ontoisobsolete edam:0195 </b> |
| 59 | Report whether an ontology term id is obsolete |
| 60 | Output file [stdout]: <b></b> |
| 61 | |
| 62 | Obsolete |
| 63 | |
| 64 | </pre></td></tr></table><p> |
| 65 | <p> |
| 66 | <a href="#input.1">Go to the input files for this example</a><br><p> |
| 67 | <p> |
| 68 | <b>Example 2</b> |
| 69 | <p> |
| 70 | |
| 71 | <p> |
| 72 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 73 | |
| 74 | % <b>ontoisobsolete edam:0575 </b> |
| 75 | Report whether an ontology term id is obsolete |
| 76 | Output file [stdout]: <b></b> |
| 77 | |
| 78 | EDAM_operation:0575 OK |
| 79 | |
| 80 | </pre></td></tr></table><p> |
| 81 | <p> |
| 82 | <a href="#input.2">Go to the input files for this example</a><br><p> |
| 83 | |
| 84 | <H2> |
| 85 | Command line arguments |
| 86 | </H2> |
| 87 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 88 | <pre> |
| 89 | Report whether an ontology term id is obsolete |
| 90 | Version: EMBOSS:6.6.0.0 |
| 91 | |
| 92 | Standard (Mandatory) qualifiers: |
| 93 | [-oboterms] obo Obo term filename and optional format, or |
| 94 | reference (input query) |
| 95 | [-outfile] outfile [stdout] Output file name |
| 96 | |
| 97 | Additional (Optional) qualifiers: (none) |
| 98 | Advanced (Unprompted) qualifiers: (none) |
| 99 | Associated qualifiers: |
| 100 | |
| 101 | "-oboterms" associated qualifiers |
| 102 | -iformat1 string Input obo format |
| 103 | -iquery1 string Input query fields or ID list |
| 104 | -ioffset1 integer Input start position offset |
| 105 | -idbname1 string User-provided database name |
| 106 | |
| 107 | "-outfile" associated qualifiers |
| 108 | -odirectory2 string Output directory |
| 109 | |
| 110 | General qualifiers: |
| 111 | -auto boolean Turn off prompts |
| 112 | -stdout boolean Write first file to standard output |
| 113 | -filter boolean Read first file from standard input, write |
| 114 | first file to standard output |
| 115 | -options boolean Prompt for standard and additional values |
| 116 | -debug boolean Write debug output to program.dbg |
| 117 | -verbose boolean Report some/full command line options |
| 118 | -help boolean Report command line options and exit. More |
| 119 | information on associated and general |
| 120 | qualifiers can be found with -help -verbose |
| 121 | -warning boolean Report warnings |
| 122 | -error boolean Report errors |
| 123 | -fatal boolean Report fatal errors |
| 124 | -die boolean Report dying program messages |
| 125 | -version boolean Report version number and exit |
| 126 | |
| 127 | </pre> |
| 128 | </td></tr></table> |
| 129 | <P> |
| 130 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 131 | <tr bgcolor="#FFFFCC"> |
| 132 | <th align="left">Qualifier</th> |
| 133 | <th align="left">Type</th> |
| 134 | <th align="left">Description</th> |
| 135 | <th align="left">Allowed values</th> |
| 136 | <th align="left">Default</th> |
| 137 | </tr> |
| 138 | |
| 139 | <tr bgcolor="#FFFFCC"> |
| 140 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 141 | </tr> |
| 142 | |
| 143 | <tr bgcolor="#FFFFCC"> |
| 144 | <td>[-oboterms]<br>(Parameter 1)</td> |
| 145 | <td>obo</td> |
| 146 | <td>Obo term filename and optional format, or reference (input query)</td> |
| 147 | <td>OBO bio-ontology term(s)</td> |
| 148 | <td> </td> |
| 149 | </tr> |
| 150 | |
| 151 | <tr bgcolor="#FFFFCC"> |
| 152 | <td>[-outfile]<br>(Parameter 2)</td> |
| 153 | <td>outfile</td> |
| 154 | <td>Output file name</td> |
| 155 | <td>Output file</td> |
| 156 | <td>stdout</td> |
| 157 | </tr> |
| 158 | |
| 159 | <tr bgcolor="#FFFFCC"> |
| 160 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 161 | </tr> |
| 162 | |
| 163 | <tr> |
| 164 | <td colspan=5>(none)</td> |
| 165 | </tr> |
| 166 | |
| 167 | <tr bgcolor="#FFFFCC"> |
| 168 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 169 | </tr> |
| 170 | |
| 171 | <tr> |
| 172 | <td colspan=5>(none)</td> |
| 173 | </tr> |
| 174 | |
| 175 | <tr bgcolor="#FFFFCC"> |
| 176 | <th align="left" colspan=5>Associated qualifiers</th> |
| 177 | </tr> |
| 178 | |
| 179 | <tr bgcolor="#FFFFCC"> |
| 180 | <td align="left" colspan=5>"-oboterms" associated obo qualifiers |
| 181 | </td> |
| 182 | </tr> |
| 183 | |
| 184 | <tr bgcolor="#FFFFCC"> |
| 185 | <td> -iformat1<br>-iformat_oboterms</td> |
| 186 | <td>string</td> |
| 187 | <td>Input obo format</td> |
| 188 | <td>Any string</td> |
| 189 | <td> </td> |
| 190 | </tr> |
| 191 | |
| 192 | <tr bgcolor="#FFFFCC"> |
| 193 | <td> -iquery1<br>-iquery_oboterms</td> |
| 194 | <td>string</td> |
| 195 | <td>Input query fields or ID list</td> |
| 196 | <td>Any string</td> |
| 197 | <td> </td> |
| 198 | </tr> |
| 199 | |
| 200 | <tr bgcolor="#FFFFCC"> |
| 201 | <td> -ioffset1<br>-ioffset_oboterms</td> |
| 202 | <td>integer</td> |
| 203 | <td>Input start position offset</td> |
| 204 | <td>Any integer value</td> |
| 205 | <td>0</td> |
| 206 | </tr> |
| 207 | |
| 208 | <tr bgcolor="#FFFFCC"> |
| 209 | <td> -idbname1<br>-idbname_oboterms</td> |
| 210 | <td>string</td> |
| 211 | <td>User-provided database name</td> |
| 212 | <td>Any string</td> |
| 213 | <td> </td> |
| 214 | </tr> |
| 215 | |
| 216 | <tr bgcolor="#FFFFCC"> |
| 217 | <td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 218 | </td> |
| 219 | </tr> |
| 220 | |
| 221 | <tr bgcolor="#FFFFCC"> |
| 222 | <td> -odirectory2<br>-odirectory_outfile</td> |
| 223 | <td>string</td> |
| 224 | <td>Output directory</td> |
| 225 | <td>Any string</td> |
| 226 | <td> </td> |
| 227 | </tr> |
| 228 | |
| 229 | <tr bgcolor="#FFFFCC"> |
| 230 | <th align="left" colspan=5>General qualifiers</th> |
| 231 | </tr> |
| 232 | |
| 233 | <tr bgcolor="#FFFFCC"> |
| 234 | <td> -auto</td> |
| 235 | <td>boolean</td> |
| 236 | <td>Turn off prompts</td> |
| 237 | <td>Boolean value Yes/No</td> |
| 238 | <td>N</td> |
| 239 | </tr> |
| 240 | |
| 241 | <tr bgcolor="#FFFFCC"> |
| 242 | <td> -stdout</td> |
| 243 | <td>boolean</td> |
| 244 | <td>Write first file to standard output</td> |
| 245 | <td>Boolean value Yes/No</td> |
| 246 | <td>N</td> |
| 247 | </tr> |
| 248 | |
| 249 | <tr bgcolor="#FFFFCC"> |
| 250 | <td> -filter</td> |
| 251 | <td>boolean</td> |
| 252 | <td>Read first file from standard input, write first file to standard output</td> |
| 253 | <td>Boolean value Yes/No</td> |
| 254 | <td>N</td> |
| 255 | </tr> |
| 256 | |
| 257 | <tr bgcolor="#FFFFCC"> |
| 258 | <td> -options</td> |
| 259 | <td>boolean</td> |
| 260 | <td>Prompt for standard and additional values</td> |
| 261 | <td>Boolean value Yes/No</td> |
| 262 | <td>N</td> |
| 263 | </tr> |
| 264 | |
| 265 | <tr bgcolor="#FFFFCC"> |
| 266 | <td> -debug</td> |
| 267 | <td>boolean</td> |
| 268 | <td>Write debug output to program.dbg</td> |
| 269 | <td>Boolean value Yes/No</td> |
| 270 | <td>N</td> |
| 271 | </tr> |
| 272 | |
| 273 | <tr bgcolor="#FFFFCC"> |
| 274 | <td> -verbose</td> |
| 275 | <td>boolean</td> |
| 276 | <td>Report some/full command line options</td> |
| 277 | <td>Boolean value Yes/No</td> |
| 278 | <td>Y</td> |
| 279 | </tr> |
| 280 | |
| 281 | <tr bgcolor="#FFFFCC"> |
| 282 | <td> -help</td> |
| 283 | <td>boolean</td> |
| 284 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 285 | <td>Boolean value Yes/No</td> |
| 286 | <td>N</td> |
| 287 | </tr> |
| 288 | |
| 289 | <tr bgcolor="#FFFFCC"> |
| 290 | <td> -warning</td> |
| 291 | <td>boolean</td> |
| 292 | <td>Report warnings</td> |
| 293 | <td>Boolean value Yes/No</td> |
| 294 | <td>Y</td> |
| 295 | </tr> |
| 296 | |
| 297 | <tr bgcolor="#FFFFCC"> |
| 298 | <td> -error</td> |
| 299 | <td>boolean</td> |
| 300 | <td>Report errors</td> |
| 301 | <td>Boolean value Yes/No</td> |
| 302 | <td>Y</td> |
| 303 | </tr> |
| 304 | |
| 305 | <tr bgcolor="#FFFFCC"> |
| 306 | <td> -fatal</td> |
| 307 | <td>boolean</td> |
| 308 | <td>Report fatal errors</td> |
| 309 | <td>Boolean value Yes/No</td> |
| 310 | <td>Y</td> |
| 311 | </tr> |
| 312 | |
| 313 | <tr bgcolor="#FFFFCC"> |
| 314 | <td> -die</td> |
| 315 | <td>boolean</td> |
| 316 | <td>Report dying program messages</td> |
| 317 | <td>Boolean value Yes/No</td> |
| 318 | <td>Y</td> |
| 319 | </tr> |
| 320 | |
| 321 | <tr bgcolor="#FFFFCC"> |
| 322 | <td> -version</td> |
| 323 | <td>boolean</td> |
| 324 | <td>Report version number and exit</td> |
| 325 | <td>Boolean value Yes/No</td> |
| 326 | <td>N</td> |
| 327 | </tr> |
| 328 | |
| 329 | </table> |
| 330 | |
| 331 | <H2> |
| 332 | Input file format |
| 333 | </H2> |
| 334 | |
| 335 | <p> |
| 336 | |
| 337 | <a name="input.1"></a> |
| 338 | <h3>Input files for usage example </h3> |
| 339 | <p><h3>Database entry: edam:0195</h3> |
| 340 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 341 | <pre> |
| 342 | [Term] |
| 343 | id: EDAM_topic:0195 |
| 344 | name: Virtual PCR |
| 345 | namespace: topic |
| 346 | def: Topic concerning simulated polymerase chain reaction (PCR). |
| 347 | subset: bioinformatics |
| 348 | subset: edam |
| 349 | subset: topics |
| 350 | synonym: "PCR" EXACT [] |
| 351 | synonym: "Polymerase chain reaction" EXACT [] |
| 352 | created_in: "beta12orEarlier" |
| 353 | obsolete_since: "beta13" |
| 354 | is_obsolete: true |
| 355 | consider: EDAM_topic:0077 ! Nucleic acid analysis |
| 356 | |
| 357 | </pre> |
| 358 | </td></tr></table><p> |
| 359 | |
| 360 | <a name="input.2"></a> |
| 361 | <h3>Input files for usage example 2</h3> |
| 362 | <p><h3>Database entry: edam:0575</h3> |
| 363 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 364 | <pre> |
| 365 | [Term] |
| 366 | id: EDAM_operation:0575 |
| 367 | name: Restriction map rendering |
| 368 | namespace: operation |
| 369 | def: Visualise restriction maps in DNA sequences. |
| 370 | subset: bioinformatics |
| 371 | subset: edam |
| 372 | subset: operations |
| 373 | created_in: "beta12orEarlier" |
| 374 | is_a: EDAM_operation:0431 ! Restriction site recognition |
| 375 | is_a: EDAM_operation:0573 ! Map rendering |
| 376 | relationship: has_output EDAM_data:1289 ! Restriction map |
| 377 | |
| 378 | </pre> |
| 379 | </td></tr></table><p> |
| 380 | |
| 381 | |
| 382 | <H2> |
| 383 | Output file format |
| 384 | </H2> |
| 385 | <p>A single line per term is is given, including the term id, namespace and name, and whether it is obsolete or not.</p> |
| 386 | |
| 387 | <p> |
| 388 | |
| 389 | <H2> |
| 390 | Data files |
| 391 | </H2> |
| 392 | <p>OBO-format ontologies must be installed in the EMBOSS data directory and indexed. This is done automatically for typical installations.</p> |
| 393 | |
| 394 | <H2> |
| 395 | Notes |
| 396 | </H2> |
| 397 | |
| 398 | |
| 399 | <H2> |
| 400 | References |
| 401 | </H2> |
| 402 | |
| 403 | |
| 404 | |
| 405 | <H2> |
| 406 | Warnings |
| 407 | </H2> |
| 408 | |
| 409 | None. |
| 410 | |
| 411 | <H2> |
| 412 | Diagnostic Error Messages |
| 413 | </H2> |
| 414 | |
| 415 | None. |
| 416 | |
| 417 | |
| 418 | <H2> |
| 419 | Exit status |
| 420 | </H2> |
| 421 | |
| 422 | It exits with a status of 0. |
| 423 | |
| 424 | <H2> |
| 425 | Known bugs |
| 426 | </H2> |
| 427 | |
| 428 | None. |
| 429 | |
| 430 | <h2><a name="See also">See also</a></h2> |
| 431 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 432 | <tr><th>Program name</th> |
| 433 | <th>Description</th></tr> |
| 434 | <tr> |
| 435 | <td><a href="edamdef.html">edamdef</a></td> |
| 436 | <td>Find EDAM ontology terms by definition</td> |
| 437 | </tr> |
| 438 | |
| 439 | <tr> |
| 440 | <td><a href="edamhasinput.html">edamhasinput</a></td> |
| 441 | <td>Find EDAM ontology terms by has_input relation</td> |
| 442 | </tr> |
| 443 | |
| 444 | <tr> |
| 445 | <td><a href="edamhasoutput.html">edamhasoutput</a></td> |
| 446 | <td>Find EDAM ontology terms by has_output relation</td> |
| 447 | </tr> |
| 448 | |
| 449 | <tr> |
| 450 | <td><a href="edamisformat.html">edamisformat</a></td> |
| 451 | <td>Find EDAM ontology terms by is_format_of relation</td> |
| 452 | </tr> |
| 453 | |
| 454 | <tr> |
| 455 | <td><a href="edamisid.html">edamisid</a></td> |
| 456 | <td>Find EDAM ontology terms by is_identifier_of relation</td> |
| 457 | </tr> |
| 458 | |
| 459 | <tr> |
| 460 | <td><a href="edamname.html">edamname</a></td> |
| 461 | <td>Find EDAM ontology terms by name</td> |
| 462 | </tr> |
| 463 | |
| 464 | <tr> |
| 465 | <td><a href="godef.html">godef</a></td> |
| 466 | <td>Find GO ontology terms by definition</td> |
| 467 | </tr> |
| 468 | |
| 469 | <tr> |
| 470 | <td><a href="goname.html">goname</a></td> |
| 471 | <td>Find GO ontology terms by name</td> |
| 472 | </tr> |
| 473 | |
| 474 | <tr> |
| 475 | <td><a href="ontocount.html">ontocount</a></td> |
| 476 | <td>Count ontology term(s)</td> |
| 477 | </tr> |
| 478 | |
| 479 | <tr> |
| 480 | <td><a href="ontoget.html">ontoget</a></td> |
| 481 | <td>Get ontology term(s)</td> |
| 482 | </tr> |
| 483 | |
| 484 | <tr> |
| 485 | <td><a href="ontogetcommon.html">ontogetcommon</a></td> |
| 486 | <td>Get common ancestor for terms</td> |
| 487 | </tr> |
| 488 | |
| 489 | <tr> |
| 490 | <td><a href="ontogetdown.html">ontogetdown</a></td> |
| 491 | <td>Get ontology term(s) by parent id</td> |
| 492 | </tr> |
| 493 | |
| 494 | <tr> |
| 495 | <td><a href="ontogetobsolete.html">ontogetobsolete</a></td> |
| 496 | <td>Get ontology ontology terms</td> |
| 497 | </tr> |
| 498 | |
| 499 | <tr> |
| 500 | <td><a href="ontogetroot.html">ontogetroot</a></td> |
| 501 | <td>Get ontology root terms by child identifier</td> |
| 502 | </tr> |
| 503 | |
| 504 | <tr> |
| 505 | <td><a href="ontogetsibs.html">ontogetsibs</a></td> |
| 506 | <td>Get ontology term(s) by id with common parent</td> |
| 507 | </tr> |
| 508 | |
| 509 | <tr> |
| 510 | <td><a href="ontogetup.html">ontogetup</a></td> |
| 511 | <td>Get ontology term(s) by id of child</td> |
| 512 | </tr> |
| 513 | |
| 514 | <tr> |
| 515 | <td><a href="ontotext.html">ontotext</a></td> |
| 516 | <td>Get ontology term(s) original full text</td> |
| 517 | </tr> |
| 518 | |
| 519 | </table> |
| 520 | |
| 521 | <H2> |
| 522 | Author(s) |
| 523 | </H2> |
| 524 | |
| 525 | Jon Ison |
| 526 | <br> |
| 527 | European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 528 | |
| 529 | <p> |
| 530 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 531 | |
| 532 | |
| 533 | |
| 534 | |
| 535 | <H2> |
| 536 | History |
| 537 | </H2> |
| 538 | |
| 539 | |
| 540 | |
| 541 | <H2> |
| 542 | Target users |
| 543 | </H2> |
| 544 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 545 | |
| 546 | <H2> |
| 547 | Comments |
| 548 | </H2> |
| 549 | None |
| 550 | |
| 551 | </BODY> |
| 552 | </HTML> |
| 553 |