Debian Codegraph @

doc/programs/html/cachedbfetch.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: cachedbfetch
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 cachedbfetch
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 Generate server cache file for Dbfetch/WSDbfetch data sources
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
60
61 Contacts the EBI dbfetch service to find the available databases and
62 saves definitions for them to a server cache file.
63
64
65
66
67
68
69
70 <H2>
71 Usage
72 </H2>
73
74 <!--
75 Example usage, as run from the command-line.
76 Many examples illustrating different behaviours is good.
77 -->
78
79 Here is a sample session with <b>cachedbfetch</b>
80 <p>
81
82 <p>
83 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
84
85 % <b>cachedbfetch -servername tdbfetch -auto -cachefile ~/.embossdata/qatests.server.tdbfetch </b>
86 Warning: EMBL-Bank : No dbtype found supporting format emblxml-1.0
87 Warning: EMBL-Bank : No dbtype found supporting format emblxml-1.1
88 Warning: EMBLCDS : No dbtype found supporting format emblxml-1.1
89 Warning: EMBLCON : No dbtype found supporting format emblxml-1.0
90 Warning: EMBLCON : No dbtype found supporting format emblxml-1.1
91 Warning: EMBLCONEXP : No dbtype found supporting format emblxml-1.0
92 Warning: EMBLCONEXP : No dbtype found supporting format emblxml-1.1
93 Warning: Gene Ontology : No dbtype found supporting format oboxml
94 Warning: Gene Ontology : No dbtype found supporting format gordfxml
95 Warning: MEDLINE : No dbtype found supporting format pubmedxml
96 Warning: Patent Equivalents : No dbtype found supporting format patent_equivalents
97 Warning: No dbtype found for db Patent Equivalents
98 Warning: Taxonomy : No dbtype found supporting format emboss_tax
99 Warning: Taxonomy : No dbtype found supporting format ncbi_taxon
100 Warning: UniParc : No dbtype found supporting format uniparcflat
101
102 </pre></td></tr></table><p>
103 <p>
104 <a href="#output.1">Go to the output files for this example</a><p><p>
105
106
107
108 <H2>
109 Command line arguments
110 </H2>
111
112 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
113 <pre>
114 Generate server cache file for Dbfetch/WSDbfetch data sources
115 Version: EMBOSS:6.6.0.0
116
117 Standard (Mandatory) qualifiers:
118 [-servername] string [dbfetch] Name of the ws/dbfetch server
119 defined in EMBOSS resource files (Any
120 string)
121 [-cachefile] outfile [server.$(servername)] Server cache output
122 file
123
124 Additional (Optional) qualifiers:
125 -outfile outfile [stdout] Output file name
126
127 Advanced (Unprompted) qualifiers: (none)
128 Associated qualifiers:
129
130 "-outfile" associated qualifiers
131 -odirectory string Output directory
132
133 "-cachefile" associated qualifiers
134 -odirectory2 string Output directory
135
136 General qualifiers:
137 -auto boolean Turn off prompts
138 -stdout boolean Write first file to standard output
139 -filter boolean Read first file from standard input, write
140 first file to standard output
141 -options boolean Prompt for standard and additional values
142 -debug boolean Write debug output to program.dbg
143 -verbose boolean Report some/full command line options
144 -help boolean Report command line options and exit. More
145 information on associated and general
146 qualifiers can be found with -help -verbose
147 -warning boolean Report warnings
148 -error boolean Report errors
149 -fatal boolean Report fatal errors
150 -die boolean Report dying program messages
151 -version boolean Report version number and exit
152
153 </pre>
154 </td></tr></table>
155 <P>
156 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
157 <tr bgcolor="#FFFFCC">
158 <th align="left">Qualifier</th>
159 <th align="left">Type</th>
160 <th align="left">Description</th>
161 <th align="left">Allowed values</th>
162 <th align="left">Default</th>
163 </tr>
164
165 <tr bgcolor="#FFFFCC">
166 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
167 </tr>
168
169 <tr bgcolor="#FFFFCC">
170 <td>[-servername]<br>(Parameter 1)</td>
171 <td>string</td>
172 <td>Name of the ws/dbfetch server defined in EMBOSS resource files</td>
173 <td>Any string</td>
174 <td>dbfetch</td>
175 </tr>
176
177 <tr bgcolor="#FFFFCC">
178 <td>[-cachefile]<br>(Parameter 2)</td>
179 <td>outfile</td>
180 <td>Server cache output file</td>
181 <td>Output file</td>
182 <td>server.$(servername)</td>
183 </tr>
184
185 <tr bgcolor="#FFFFCC">
186 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
187 </tr>
188
189 <tr bgcolor="#FFFFCC">
190 <td>-outfile</td>
191 <td>outfile</td>
192 <td>Output file name</td>
193 <td>Output file</td>
194 <td>stdout</td>
195 </tr>
196
197 <tr bgcolor="#FFFFCC">
198 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
199 </tr>
200
201 <tr>
202 <td colspan=5>(none)</td>
203 </tr>
204
205 <tr bgcolor="#FFFFCC">
206 <th align="left" colspan=5>Associated qualifiers</th>
207 </tr>
208
209 <tr bgcolor="#FFFFCC">
210 <td align="left" colspan=5>"-outfile" associated outfile qualifiers
211 </td>
212 </tr>
213
214 <tr bgcolor="#FFFFCC">
215 <td> -odirectory</td>
216 <td>string</td>
217 <td>Output directory</td>
218 <td>Any string</td>
219 <td>&nbsp;</td>
220 </tr>
221
222 <tr bgcolor="#FFFFCC">
223 <td align="left" colspan=5>"-cachefile" associated outfile qualifiers
224 </td>
225 </tr>
226
227 <tr bgcolor="#FFFFCC">
228 <td> -odirectory2<br>-odirectory_cachefile</td>
229 <td>string</td>
230 <td>Output directory</td>
231 <td>Any string</td>
232 <td>&nbsp;</td>
233 </tr>
234
235 <tr bgcolor="#FFFFCC">
236 <th align="left" colspan=5>General qualifiers</th>
237 </tr>
238
239 <tr bgcolor="#FFFFCC">
240 <td> -auto</td>
241 <td>boolean</td>
242 <td>Turn off prompts</td>
243 <td>Boolean value Yes/No</td>
244 <td>N</td>
245 </tr>
246
247 <tr bgcolor="#FFFFCC">
248 <td> -stdout</td>
249 <td>boolean</td>
250 <td>Write first file to standard output</td>
251 <td>Boolean value Yes/No</td>
252 <td>N</td>
253 </tr>
254
255 <tr bgcolor="#FFFFCC">
256 <td> -filter</td>
257 <td>boolean</td>
258 <td>Read first file from standard input, write first file to standard output</td>
259 <td>Boolean value Yes/No</td>
260 <td>N</td>
261 </tr>
262
263 <tr bgcolor="#FFFFCC">
264 <td> -options</td>
265 <td>boolean</td>
266 <td>Prompt for standard and additional values</td>
267 <td>Boolean value Yes/No</td>
268 <td>N</td>
269 </tr>
270
271 <tr bgcolor="#FFFFCC">
272 <td> -debug</td>
273 <td>boolean</td>
274 <td>Write debug output to program.dbg</td>
275 <td>Boolean value Yes/No</td>
276 <td>N</td>
277 </tr>
278
279 <tr bgcolor="#FFFFCC">
280 <td> -verbose</td>
281 <td>boolean</td>
282 <td>Report some/full command line options</td>
283 <td>Boolean value Yes/No</td>
284 <td>Y</td>
285 </tr>
286
287 <tr bgcolor="#FFFFCC">
288 <td> -help</td>
289 <td>boolean</td>
290 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
291 <td>Boolean value Yes/No</td>
292 <td>N</td>
293 </tr>
294
295 <tr bgcolor="#FFFFCC">
296 <td> -warning</td>
297 <td>boolean</td>
298 <td>Report warnings</td>
299 <td>Boolean value Yes/No</td>
300 <td>Y</td>
301 </tr>
302
303 <tr bgcolor="#FFFFCC">
304 <td> -error</td>
305 <td>boolean</td>
306 <td>Report errors</td>
307 <td>Boolean value Yes/No</td>
308 <td>Y</td>
309 </tr>
310
311 <tr bgcolor="#FFFFCC">
312 <td> -fatal</td>
313 <td>boolean</td>
314 <td>Report fatal errors</td>
315 <td>Boolean value Yes/No</td>
316 <td>Y</td>
317 </tr>
318
319 <tr bgcolor="#FFFFCC">
320 <td> -die</td>
321 <td>boolean</td>
322 <td>Report dying program messages</td>
323 <td>Boolean value Yes/No</td>
324 <td>Y</td>
325 </tr>
326
327 <tr bgcolor="#FFFFCC">
328 <td> -version</td>
329 <td>boolean</td>
330 <td>Report version number and exit</td>
331 <td>Boolean value Yes/No</td>
332 <td>N</td>
333 </tr>
334
335 </table>
336
337 <!--
338 DON'T WRITE ANYTHING HERE.
339 IT IS DONE FOR YOU.
340 -->
341
342
343
344
345
346
347
348
349 <H2>
350 Input file format
351 </H2>
352
353 <!--
354 This includes example input file formats.
355 This should be a detailed description and example - assume
356 someone will want to parse this file and will want to know what
357 happens in unusual cases - null input, etc.
358 -->
359
360 <b>cachedbfetch</b> contacts the EBI dbfetch server for details of
361 available databases.
362
363 <p>
364
365
366
367
368
369
370 <H2>
371 Output file format
372 </H2>
373
374 <!--
375 This includes example output file formats.
376 This should be a detailed description and example - assume
377 someone will want to parse this file and will want to know what
378 happens in unusual cases - null output, errors etc.
379
380 If you wish to include the standard description of the avalable
381 report formats, use:
382 #include file="inc/reportformats.ihtml"
383 -->
384
385 <b>cachedbfetch</b> writes a server cache file which can be saved in the
386 user's .embossdata directory or, for a system administrator, stored in
387 the site-wide share/EMBOSS/ directory.
388
389 <p>
390
391
392 <a name="output.1"></a>
393 <h3>Output files for usage example </h3>
394 <p><h3>File: qatests.server.tdbfetch</h3>
395 <table width="90%"><tr><td bgcolor="#CCFFCC">
396 <pre>
397 # qatests.server.tdbfetch 2013-07-15 12:00:00
398
399 DBNAME edam [
400 method: dbfetch
401 hasacc: N
402 format: "obo"
403 edamfmt: "2549 ! OBO"
404 edamdat: "2858 ! Ontology concept"
405 edamtpc: "0091 ! Data handling"
406 type: "text, obo"
407 comment: "EMBRACE Data and Methods (EDAM) Ontology."
408 example: "0338"
409 example: "1929"
410 example: "EDAM_operation:0338"
411 example: "EDAM_format:1929"
412 example: "0000338"
413 example: "0001929"
414 ]
415
416 ALIAS edam_ontology edam
417 ALIAS EDAM_data edam
418 ALIAS EDAM_format edam
419 ALIAS EDAM_identifier edam
420 ALIAS EDAM_operation edam
421 ALIAS EDAM_topic edam
422 ALIAS MIR:00000189 edam
423
424 DBNAME embl [
425 method: dbfetch
426 hasacc: N
427 format: "annot, embl, emblxml-1.2, entrysize, fasta, insdxml, seqxml"
428 edamfmt: "1927 ! EMBL format"
429 edamfmt: "2183 ! EMBLXML"
430 edamfmt: "2330 ! Textual format"
431 edamfmt: "1954 ! Pearson format"
432 edamfmt: "2185 ! insdxml"
433 edamfmt: "2332 ! XML"
434 edamdat: "0855 ! Sequence metadata"
435 edamdat: "2889 ! Sequence record full (nucleic acid)"
436 edamdat: "1255 ! Feature record"
437 edamdat: "2046 ! Sequence record lite (nucleic acid)"
438 edamtpc: "3042 ! Nucleic acid sequences"
439 type: "text, xml, sequence, features"
440 comment: "EMBL Nucleotide Sequence Database, Europe's primary nucleotide sequence resource. The main sources of the DNA and RNA sequences in the database are submissions from individual researchers, genome sequencing projects and patent applications."
441 example: "M10051"
442 example: "K00650"
443 example: "D87894"
444 example: "AJ242600"
445 example: "J00231.1"
446 example: "K00650.1"
447
448
449 <font color=red> [Part of this file has been deleted for brevity]</font>
450
451
452 DBNAME unisave [
453 method: dbfetch
454 hasacc: N
455 format: "annot, entrysize, fasta, uniprot"
456 edamfmt: "1963 ! UniProtKB format"
457 edamfmt: "2330 ! Textual format"
458 edamfmt: "1954 ! Pearson format"
459 edamdat: "0855 ! Sequence metadata"
460 edamdat: "1255 ! Feature record"
461 edamdat: "2047 ! Sequence record lite (protein)"
462 edamdat: "2888 ! Sequence record full (protein)"
463 edamtpc: "3043 ! Protein sequences"
464 type: "text, features, sequence"
465 comment: "The UniProtKB Sequence/Annotation Version Archive (UniSave) is a repository of UniProtKB/Swiss-Prot and UniProtKB/TrEMBL entry versions."
466 example: "P06213"
467 example: "P06213.157"
468 example: "P06213.3"
469 example: "INSR_HUMAN"
470 ]
471
472 ALIAS uniprotkb_sequence_annotation_version_archive unisave
473 ALIAS DRCAT:UniSave unisave
474
475 DBNAME uspto_prt [
476 method: dbfetch
477 hasacc: N
478 format: "annot, embl, entrysize, fasta, seqxml"
479 edamfmt: "1927 ! EMBL format"
480 edamfmt: "2330 ! Textual format"
481 edamfmt: "1954 ! Pearson format"
482 edamfmt: "2332 ! XML"
483 edamdat: "0855 ! Sequence metadata"
484 edamdat: "2888 ! Sequence record full (protein)"
485 edamdat: "1255 ! Feature record"
486 edamdat: "2047 ! Sequence record lite (protein)"
487 edamtpc: "3043 ! Protein sequences"
488 type: "text, xml, sequence, features"
489 comment: "Protein sequences appearing in patents from the United States Patent and Trademark Office (USPTO)."
490 example: "AAA00053"
491 example: "I02590"
492 example: "AAA00053.1"
493 ]
494
495 ALIAS uspto_patent_proteins uspto_prt
496 ALIAS uspto_proteins uspto_prt
497 ALIAS usptoprt uspto_prt
498 ALIAS uspop uspto_prt
499 ALIAS uspo_prt uspto_prt
500 ALIAS uspto uspto_prt
501
502 </pre>
503 </td></tr></table><p>
504
505
506
507
508
509 <H2>
510 Data files
511 </H2>
512
513 <!--
514 Any data files used (e.g. translation table file)
515 This includes example data file formats if they are
516 not obvious.
517
518 If you wish to include the standard description of what data
519 files are and how to use embossdata to inspect and retrieve
520 them, use:
521
522 #include file="inc/localfiles.ihtml"
523 -->
524
525 None.
526
527
528 <H2>
529 Notes
530 </H2>
531
532 <!--
533 Restrictions.
534 Interesting behaviour.
535 Useful things you can do with this program.
536 -->
537
538 None.
539
540
541
542
543
544
545
546 <H2>
547 References
548 </H2>
549
550 <!--
551 Bibliography for methods used.
552 <ol>
553
554 <li>
555
556 </ol>
557
558 -->
559
560 None.
561
562
563
564
565
566
567
568
569 <H2>
570 Warnings
571 </H2>
572
573 <!--
574 Potentially stupid things the program will let you do.
575 -->
576
577 None.
578
579
580
581
582
583
584
585 <H2>
586 Diagnostic Error Messages
587 </H2>
588
589 <!--
590 Error messages specific to this program, eg:
591 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
592 -->
593
594 None.
595
596
597
598
599
600
601
602 <H2>
603 Exit status
604 </H2>
605
606 <!--
607 Description of the exit status for various error conditions
608 -->
609
610 It always exits with status 0.
611
612
613
614
615
616
617
618
619 <H2>
620 Known bugs
621 </H2>
622
623
624 <!--
625 Bugs noted but not yet fixed.
626 -->
627
628 None.
629
630
631
632
633
634
635
636
637 <!--
638 <H2>
639 See also
640 </H2>
641 -->
642 <h2><a name="See also">See also</a></h2>
643 <table border cellpadding=4 bgcolor="#FFFFF0">
644 <tr><th>Program name</th>
645 <th>Description</th></tr>
646 <tr>
647 <td><a href="cachedas.html">cachedas</a></td>
648 <td>Generate server cache file for DAS servers or for the DAS registry</td>
649 </tr>
650
651 <tr>
652 <td><a href="cacheebeyesearch.html">cacheebeyesearch</a></td>
653 <td>Generate server cache file for EB-eye search domains</td>
654 </tr>
655
656 <tr>
657 <td><a href="cacheensembl.html">cacheensembl</a></td>
658 <td>Generate server cache file for an Ensembl server</td>
659 </tr>
660
661 <tr>
662 <td><a href="dbtell.html">dbtell</a></td>
663 <td>Display information about a public database</td>
664 </tr>
665
666 <tr>
667 <td><a href="servertell.html">servertell</a></td>
668 <td>Display information about a public server</td>
669 </tr>
670
671 <tr>
672 <td><a href="showdb.html">showdb</a></td>
673 <td>Display information on configured databases</td>
674 </tr>
675
676 <tr>
677 <td><a href="showserver.html">showserver</a></td>
678 <td>Display information on configured servers</td>
679 </tr>
680
681 </table>
682 <!--
683 Add any comments about other associated programs (to prepare
684 data files?) that seealso doesn't find.
685 -->
686
687
688
689
690
691
692
693
694
695
696 <H2>
697 Author(s)
698 </H2>
699 Peter Rice
700 <br>
701 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
702
703 <p>
704 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
705
706 <H2>
707 History
708 </H2>
709 <!--
710 Date written and what changes have been made go in this file.
711 -->
712
713
714
715
716 <H2>
717 Target users
718 </H2>
719 <!--
720 For general users, use this text
721 -->
722 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
723
724 <H2>
725 Comments
726 </H2>
727 <!--
728 User/developer/other comments go in this file.
729 -->
730 None
731
732
733 </BODY>
734 </HTML>
735