| 1 | <HTML> |
| 2 | |
| 3 | <HEAD> |
| 4 | <TITLE> |
| 5 | EMBOSS: dbtell |
| 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 | dbtell |
| 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 | Display information about a public database |
| 40 | <H2> |
| 41 | Description |
| 42 | </H2> |
| 43 | |
| 44 | <p><b>dbtell</b> displays on-screen information on a database with the specific ID. Optionally, the information may be written to an output file in plain text or HTML.</p> |
| 45 | |
| 46 | <H2> |
| 47 | Usage |
| 48 | </H2> |
| 49 | Here is a sample session with <b>dbtell</b> |
| 50 | <p> |
| 51 | |
| 52 | <p> |
| 53 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 54 | |
| 55 | % <b>dbtell tsw </b> |
| 56 | Display information about a public database |
| 57 | |
| 58 | # tsw is defined in special |
| 59 | # access levels id: Yes query: Yes all: Yes |
| 60 | |
| 61 | DBNAME tsw [ |
| 62 | format: "swiss" |
| 63 | method: "emblcd" |
| 64 | type: "Protein protfeatures text" |
| 65 | comment: "Swissprot native format with EMBL CD-ROM index" |
| 66 | directory: "/homes/user/local/share/EMBOSS/test/swiss" |
| 67 | example: "hba_human" |
| 68 | field: "id" |
| 69 | field: "acc" |
| 70 | field: "sv" |
| 71 | field: "des" |
| 72 | field: "org" |
| 73 | field: "key" |
| 74 | release: "36" |
| 75 | edamdat: "1230 UniProt protein sequence record" |
| 76 | taxon: "1 all" |
| 77 | ] |
| 78 | |
| 79 | </pre></td></tr></table><p> |
| 80 | <p> |
| 81 | <a href="#input.1">Go to the input files for this example</a><br><p> |
| 82 | |
| 83 | <H2> |
| 84 | Command line arguments |
| 85 | </H2> |
| 86 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 87 | <pre> |
| 88 | Display information about a public database |
| 89 | Version: EMBOSS:6.6.0.0 |
| 90 | |
| 91 | Standard (Mandatory) qualifiers: |
| 92 | [-database] string The name of the database defined locally for |
| 93 | use by EMBOSS. (Any string) |
| 94 | |
| 95 | Additional (Optional) qualifiers: |
| 96 | -full boolean [N] The default behaviour is to report for |
| 97 | relevant databases only basic information |
| 98 | from the EMBOSS database definition |
| 99 | -outfile outfile [stdout] Output file name |
| 100 | |
| 101 | Advanced (Unprompted) qualifiers: |
| 102 | -server string The name of the server defined locally for |
| 103 | use by EMBOSS. (Any string) |
| 104 | |
| 105 | Associated qualifiers: |
| 106 | |
| 107 | "-outfile" associated qualifiers |
| 108 | -odirectory 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>[-database]<br>(Parameter 1)</td> |
| 145 | <td>string</td> |
| 146 | <td>The name of the database defined locally for use by EMBOSS.</td> |
| 147 | <td>Any string</td> |
| 148 | <td> </td> |
| 149 | </tr> |
| 150 | |
| 151 | <tr bgcolor="#FFFFCC"> |
| 152 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 153 | </tr> |
| 154 | |
| 155 | <tr bgcolor="#FFFFCC"> |
| 156 | <td>-full</td> |
| 157 | <td>boolean</td> |
| 158 | <td>The default behaviour is to report for relevant databases only basic information from the EMBOSS database definition</td> |
| 159 | <td>Boolean value Yes/No</td> |
| 160 | <td>No</td> |
| 161 | </tr> |
| 162 | |
| 163 | <tr bgcolor="#FFFFCC"> |
| 164 | <td>-outfile</td> |
| 165 | <td>outfile</td> |
| 166 | <td>Output file name</td> |
| 167 | <td>Output file</td> |
| 168 | <td>stdout</td> |
| 169 | </tr> |
| 170 | |
| 171 | <tr bgcolor="#FFFFCC"> |
| 172 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 173 | </tr> |
| 174 | |
| 175 | <tr bgcolor="#FFFFCC"> |
| 176 | <td>-server</td> |
| 177 | <td>string</td> |
| 178 | <td>The name of the server defined locally for use by EMBOSS.</td> |
| 179 | <td>Any string</td> |
| 180 | <td> </td> |
| 181 | </tr> |
| 182 | |
| 183 | <tr bgcolor="#FFFFCC"> |
| 184 | <th align="left" colspan=5>Associated qualifiers</th> |
| 185 | </tr> |
| 186 | |
| 187 | <tr bgcolor="#FFFFCC"> |
| 188 | <td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 189 | </td> |
| 190 | </tr> |
| 191 | |
| 192 | <tr bgcolor="#FFFFCC"> |
| 193 | <td> -odirectory</td> |
| 194 | <td>string</td> |
| 195 | <td>Output directory</td> |
| 196 | <td>Any string</td> |
| 197 | <td> </td> |
| 198 | </tr> |
| 199 | |
| 200 | <tr bgcolor="#FFFFCC"> |
| 201 | <th align="left" colspan=5>General qualifiers</th> |
| 202 | </tr> |
| 203 | |
| 204 | <tr bgcolor="#FFFFCC"> |
| 205 | <td> -auto</td> |
| 206 | <td>boolean</td> |
| 207 | <td>Turn off prompts</td> |
| 208 | <td>Boolean value Yes/No</td> |
| 209 | <td>N</td> |
| 210 | </tr> |
| 211 | |
| 212 | <tr bgcolor="#FFFFCC"> |
| 213 | <td> -stdout</td> |
| 214 | <td>boolean</td> |
| 215 | <td>Write first file to standard output</td> |
| 216 | <td>Boolean value Yes/No</td> |
| 217 | <td>N</td> |
| 218 | </tr> |
| 219 | |
| 220 | <tr bgcolor="#FFFFCC"> |
| 221 | <td> -filter</td> |
| 222 | <td>boolean</td> |
| 223 | <td>Read first file from standard input, write first file to standard output</td> |
| 224 | <td>Boolean value Yes/No</td> |
| 225 | <td>N</td> |
| 226 | </tr> |
| 227 | |
| 228 | <tr bgcolor="#FFFFCC"> |
| 229 | <td> -options</td> |
| 230 | <td>boolean</td> |
| 231 | <td>Prompt for standard and additional values</td> |
| 232 | <td>Boolean value Yes/No</td> |
| 233 | <td>N</td> |
| 234 | </tr> |
| 235 | |
| 236 | <tr bgcolor="#FFFFCC"> |
| 237 | <td> -debug</td> |
| 238 | <td>boolean</td> |
| 239 | <td>Write debug output to program.dbg</td> |
| 240 | <td>Boolean value Yes/No</td> |
| 241 | <td>N</td> |
| 242 | </tr> |
| 243 | |
| 244 | <tr bgcolor="#FFFFCC"> |
| 245 | <td> -verbose</td> |
| 246 | <td>boolean</td> |
| 247 | <td>Report some/full command line options</td> |
| 248 | <td>Boolean value Yes/No</td> |
| 249 | <td>Y</td> |
| 250 | </tr> |
| 251 | |
| 252 | <tr bgcolor="#FFFFCC"> |
| 253 | <td> -help</td> |
| 254 | <td>boolean</td> |
| 255 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 256 | <td>Boolean value Yes/No</td> |
| 257 | <td>N</td> |
| 258 | </tr> |
| 259 | |
| 260 | <tr bgcolor="#FFFFCC"> |
| 261 | <td> -warning</td> |
| 262 | <td>boolean</td> |
| 263 | <td>Report warnings</td> |
| 264 | <td>Boolean value Yes/No</td> |
| 265 | <td>Y</td> |
| 266 | </tr> |
| 267 | |
| 268 | <tr bgcolor="#FFFFCC"> |
| 269 | <td> -error</td> |
| 270 | <td>boolean</td> |
| 271 | <td>Report errors</td> |
| 272 | <td>Boolean value Yes/No</td> |
| 273 | <td>Y</td> |
| 274 | </tr> |
| 275 | |
| 276 | <tr bgcolor="#FFFFCC"> |
| 277 | <td> -fatal</td> |
| 278 | <td>boolean</td> |
| 279 | <td>Report fatal errors</td> |
| 280 | <td>Boolean value Yes/No</td> |
| 281 | <td>Y</td> |
| 282 | </tr> |
| 283 | |
| 284 | <tr bgcolor="#FFFFCC"> |
| 285 | <td> -die</td> |
| 286 | <td>boolean</td> |
| 287 | <td>Report dying program messages</td> |
| 288 | <td>Boolean value Yes/No</td> |
| 289 | <td>Y</td> |
| 290 | </tr> |
| 291 | |
| 292 | <tr bgcolor="#FFFFCC"> |
| 293 | <td> -version</td> |
| 294 | <td>boolean</td> |
| 295 | <td>Report version number and exit</td> |
| 296 | <td>Boolean value Yes/No</td> |
| 297 | <td>N</td> |
| 298 | </tr> |
| 299 | |
| 300 | </table> |
| 301 | |
| 302 | <H2> |
| 303 | Input file format |
| 304 | </H2> |
| 305 | |
| 306 | <p> |
| 307 | |
| 308 | <a name="input.1"></a> |
| 309 | <h3>Input files for usage example </h3> |
| 310 | |
| 311 | 'tsw' is a sequence entry in the example protein database 'tsw' |
| 312 | <p> |
| 313 | |
| 314 | |
| 315 | <H2> |
| 316 | Output file format |
| 317 | </H2> |
| 318 | <p>The output file (plain text format) is an excerpt of and (by default) in the same format as the EMBOSS data file <kbd>db.dat</kbd>. The format of the file is explained in comments at the top of that file. Optionally, the data can be tabulated.</p> |
| 319 | |
| 320 | <p>If the -html qualifier is specified, then the output will be a web page suitable for viewing in any browser.</p> |
| 321 | |
| 322 | |
| 323 | <p> |
| 324 | |
| 325 | <H2> |
| 326 | Data files |
| 327 | </H2> |
| 328 | <p>The EMBOSS database information file (<kbd>db.dat</kbd>) must be installed in the EMBOSS data directory and indexed. This is done automatically for typical installations.</p> |
| 329 | |
| 330 | <H2> |
| 331 | Notes |
| 332 | </H2> |
| 333 | |
| 334 | None. |
| 335 | |
| 336 | <H2> |
| 337 | References |
| 338 | </H2> |
| 339 | |
| 340 | |
| 341 | |
| 342 | <H2> |
| 343 | Warnings |
| 344 | </H2> |
| 345 | |
| 346 | None. |
| 347 | |
| 348 | <H2> |
| 349 | Diagnostic Error Messages |
| 350 | </H2> |
| 351 | |
| 352 | None. |
| 353 | |
| 354 | |
| 355 | <H2> |
| 356 | Exit status |
| 357 | </H2> |
| 358 | |
| 359 | It exits with a status of 0. |
| 360 | |
| 361 | <H2> |
| 362 | Known bugs |
| 363 | </H2> |
| 364 | |
| 365 | None. |
| 366 | |
| 367 | <h2><a name="See also">See also</a></h2> |
| 368 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 369 | <tr><th>Program name</th> |
| 370 | <th>Description</th></tr> |
| 371 | <tr> |
| 372 | <td><a href="cachedas.html">cachedas</a></td> |
| 373 | <td>Generate server cache file for DAS servers or for the DAS registry</td> |
| 374 | </tr> |
| 375 | |
| 376 | <tr> |
| 377 | <td><a href="cachedbfetch.html">cachedbfetch</a></td> |
| 378 | <td>Generate server cache file for Dbfetch/WSDbfetch data sources</td> |
| 379 | </tr> |
| 380 | |
| 381 | <tr> |
| 382 | <td><a href="cacheebeyesearch.html">cacheebeyesearch</a></td> |
| 383 | <td>Generate server cache file for EB-eye search domains</td> |
| 384 | </tr> |
| 385 | |
| 386 | <tr> |
| 387 | <td><a href="cacheensembl.html">cacheensembl</a></td> |
| 388 | <td>Generate server cache file for an Ensembl server</td> |
| 389 | </tr> |
| 390 | |
| 391 | <tr> |
| 392 | <td><a href="servertell.html">servertell</a></td> |
| 393 | <td>Display information about a public server</td> |
| 394 | </tr> |
| 395 | |
| 396 | <tr> |
| 397 | <td><a href="showdb.html">showdb</a></td> |
| 398 | <td>Display information on configured databases</td> |
| 399 | </tr> |
| 400 | |
| 401 | <tr> |
| 402 | <td><a href="showserver.html">showserver</a></td> |
| 403 | <td>Display information on configured servers</td> |
| 404 | </tr> |
| 405 | |
| 406 | </table> |
| 407 | |
| 408 | <H2> |
| 409 | Author(s) |
| 410 | </H2> |
| 411 | |
| 412 | Jon Ison |
| 413 | <br> |
| 414 | European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 415 | |
| 416 | <p> |
| 417 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 418 | |
| 419 | |
| 420 | |
| 421 | <p> |
| 422 | |
| 423 | This application was modified by |
| 424 | Jon Ison |
| 425 | <br> |
| 426 | European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 427 | |
| 428 | <p> |
| 429 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 430 | |
| 431 | <H2> |
| 432 | History |
| 433 | </H2> |
| 434 | |
| 435 | |
| 436 | |
| 437 | <H2> |
| 438 | Target users |
| 439 | </H2> |
| 440 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 441 | |
| 442 | <H2> |
| 443 | Comments |
| 444 | </H2> |
| 445 | None |
| 446 | |
| 447 | </BODY> |
| 448 | </HTML> |
| 449 |