Debian Codegraph @

doc/programs/html/drget.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: drget
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 drget
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 data resource entries
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 Searches a database of data resources and returns matching entries.
52
53
54
55 <H2>
56 Usage
57 </H2>
58
59 <!--
60 Example usage, as run from the command-line.
61 Many examples illustrating different behaviours is good.
62 -->
63
64 Here is a sample session with <b>drget</b>
65 <p>
66
67 <p>
68 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
69
70 % <b>drget drcat:uniprot </b>
71 Get data resource entries
72 Data resource output file [uniprot.drcat]: <b></b>
73
74 </pre></td></tr></table><p>
75 <p>
76 <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>
77
78
79
80 <H2>
81 Command line arguments
82 </H2>
83
84 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
85 <pre>
86 Get data resource entries
87 Version: EMBOSS:6.6.0.0
88
89 Standard (Mandatory) qualifiers:
90 [-resources] resource Data resource filename and optional format,
91 or reference (input query)
92 [-outfile] outresource [*.drget] Output data resource file name
93
94 Additional (Optional) qualifiers: (none)
95 Advanced (Unprompted) qualifiers: (none)
96 Associated qualifiers:
97
98 "-resources" associated qualifiers
99 -iformat1 string Input resource format
100 -iquery1 string Input query fields or ID list
101 -ioffset1 integer Input start position offset
102 -idbname1 string User-provided database name
103
104 "-outfile" associated qualifiers
105 -odirectory2 string Output directory
106 -oformat2 string Data resource output format
107
108 General qualifiers:
109 -auto boolean Turn off prompts
110 -stdout boolean Write first file to standard output
111 -filter boolean Read first file from standard input, write
112 first file to standard output
113 -options boolean Prompt for standard and additional values
114 -debug boolean Write debug output to program.dbg
115 -verbose boolean Report some/full command line options
116 -help boolean Report command line options and exit. More
117 information on associated and general
118 qualifiers can be found with -help -verbose
119 -warning boolean Report warnings
120 -error boolean Report errors
121 -fatal boolean Report fatal errors
122 -die boolean Report dying program messages
123 -version boolean Report version number and exit
124
125 </pre>
126 </td></tr></table>
127 <P>
128 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
129 <tr bgcolor="#FFFFCC">
130 <th align="left">Qualifier</th>
131 <th align="left">Type</th>
132 <th align="left">Description</th>
133 <th align="left">Allowed values</th>
134 <th align="left">Default</th>
135 </tr>
136
137 <tr bgcolor="#FFFFCC">
138 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
139 </tr>
140
141 <tr bgcolor="#FFFFCC">
142 <td>[-resources]<br>(Parameter 1)</td>
143 <td>resource</td>
144 <td>Data resource filename and optional format, or reference (input query)</td>
145 <td>Data resource catalogue entry(s)</td>
146 <td>&nbsp;</td>
147 </tr>
148
149 <tr bgcolor="#FFFFCC">
150 <td>[-outfile]<br>(Parameter 2)</td>
151 <td>outresource</td>
152 <td>Output data resource file name</td>
153 <td>Data resource entry</td>
154 <td><i>&lt;*&gt;</i>.drget</td>
155 </tr>
156
157 <tr bgcolor="#FFFFCC">
158 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
159 </tr>
160
161 <tr>
162 <td colspan=5>(none)</td>
163 </tr>
164
165 <tr bgcolor="#FFFFCC">
166 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
167 </tr>
168
169 <tr>
170 <td colspan=5>(none)</td>
171 </tr>
172
173 <tr bgcolor="#FFFFCC">
174 <th align="left" colspan=5>Associated qualifiers</th>
175 </tr>
176
177 <tr bgcolor="#FFFFCC">
178 <td align="left" colspan=5>"-resources" associated resource qualifiers
179 </td>
180 </tr>
181
182 <tr bgcolor="#FFFFCC">
183 <td> -iformat1<br>-iformat_resources</td>
184 <td>string</td>
185 <td>Input resource format</td>
186 <td>Any string</td>
187 <td>&nbsp;</td>
188 </tr>
189
190 <tr bgcolor="#FFFFCC">
191 <td> -iquery1<br>-iquery_resources</td>
192 <td>string</td>
193 <td>Input query fields or ID list</td>
194 <td>Any string</td>
195 <td>&nbsp;</td>
196 </tr>
197
198 <tr bgcolor="#FFFFCC">
199 <td> -ioffset1<br>-ioffset_resources</td>
200 <td>integer</td>
201 <td>Input start position offset</td>
202 <td>Any integer value</td>
203 <td>0</td>
204 </tr>
205
206 <tr bgcolor="#FFFFCC">
207 <td> -idbname1<br>-idbname_resources</td>
208 <td>string</td>
209 <td>User-provided database name</td>
210 <td>Any string</td>
211 <td>&nbsp;</td>
212 </tr>
213
214 <tr bgcolor="#FFFFCC">
215 <td align="left" colspan=5>"-outfile" associated outresource qualifiers
216 </td>
217 </tr>
218
219 <tr bgcolor="#FFFFCC">
220 <td> -odirectory2<br>-odirectory_outfile</td>
221 <td>string</td>
222 <td>Output directory</td>
223 <td>Any string</td>
224 <td>&nbsp;</td>
225 </tr>
226
227 <tr bgcolor="#FFFFCC">
228 <td> -oformat2<br>-oformat_outfile</td>
229 <td>string</td>
230 <td>Data resource output format</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 <b>drget</b> reads any data resource query.
355
356 <p>
357
358
359 <a name="input.1"></a>
360 <h3>Input files for usage example </h3>
361 <p><h3>Database entry: drcat:uniprot</h3>
362 <table width="90%"><tr><td bgcolor="#FFCCFF">
363 <pre>
364 ID UniProt
365 IDalt UniProtKB
366 Name Universal protein resource
367 Desc A comprehensive, high-quality and freely accessible resource of protein sequence and functional information.
368 URL http://www.uniprot.org/
369 Taxon 1 | all
370 EDAMtpc 0639 | Protein sequence analysis
371 EDAMdat 2201 | Sequence record full
372 EDAMid 3021 | UniProt accession
373 EDAMfmt 1929 | FASTA format
374 EDAMfmt 2376 | RDF
375 EDAMfmt 2188 | uniprot
376 EDAMfmt 2331 | HTML
377 EDAMfmt 2332 | XML
378 Xref SP_FT | None
379 Query Sequence record full | HTML | UniProt accession | http://www.uniprot.org/uniprot/%s
380 Query Sequence record full | uniprot | UniProt accession | http://www.uniprot.org/uniprot/%s.txt
381 Query Sequence record full | XML | UniProt accession | http://www.uniprot.org/uniprot/%s.xml
382 Query Sequence record full | RDF | UniProt accession | http://www.uniprot.org/uniprot/%s.rdf
383 Query Sequence record full | FASTA format | UniProt accession | http://www.uniprot.org/uniprot/%s.fasta
384 Example UniProt accession | P12345
385
386 </pre>
387 </td></tr></table><p>
388
389
390
391
392
393 <H2>
394 Output file format
395 </H2>
396
397 <p>
398
399 The output is a standard EMBOSS resource file.
400
401 <p>
402
403 The results can be output in one of several styles by using the
404 command-line qualifier <tt>-oformat xxx</tt>, where 'xxx' is replaced by
405 the name of the required format. The available format names are:
406 drcat, basic, wsbasic, list.
407 <p>
408
409 See:
410 <A href="http://emboss.sf.net/docs/themes/ResourceFormats.html">
411 http://emboss.sf.net/docs/themes/ResourceFormats.html</A>
412 for further information on resource formats.
413
414 <p>
415
416 <p>
417
418
419 <a name="output.1"></a>
420 <h3>Output files for usage example </h3>
421 <p><h3>File: uniprot.drcat</h3>
422 <table width="90%"><tr><td bgcolor="#CCFFCC">
423 <pre>
424 ID UniProt
425 IDalt UniProtKB
426 Name Universal protein resource
427 Desc A comprehensive, high-quality and freely accessible resource of protein sequence and functional information.
428 URL http://www.uniprot.org/
429 Taxon 1 | all
430 EDAMtpc 0639 | Protein sequence analysis
431 EDAMdat 2201 | Sequence record full
432 EDAMid 3021 | UniProt accession
433 EDAMfmt 1929 | FASTA format
434 EDAMfmt 2376 | RDF
435 EDAMfmt 2188 | uniprot
436 EDAMfmt 2331 | HTML
437 EDAMfmt 2332 | XML
438 Xref SP_FT | None
439 Query Sequence record full | HTML | UniProt accession | http://www.uniprot.org/uniprot/%s
440 Query Sequence record full | uniprot | UniProt accession | http://www.uniprot.org/uniprot/%s.txt
441 Query Sequence record full | XML | UniProt accession | http://www.uniprot.org/uniprot/%s.xml
442 Query Sequence record full | RDF | UniProt accession | http://www.uniprot.org/uniprot/%s.rdf
443 Query Sequence record full | FASTA format | UniProt accession | http://www.uniprot.org/uniprot/%s.fasta
444 Example UniProt accession | P12345
445
446 </pre>
447 </td></tr></table><p>
448
449
450
451
452
453 <H2>
454 Data files
455 </H2>
456
457
458 The Data Resource Catalogue is included in EMBOSS as local
459 database <b>drcat</b>.
460
461
462
463
464 <H2>
465 Notes
466 </H2>
467
468 <!--
469 Restrictions.
470 Interesting behaviour.
471 Useful things you can do with this program.
472 -->
473
474 None.
475
476
477
478
479
480
481
482 <H2>
483 References
484 </H2>
485
486 <!--
487 Bibliography for methods used.
488 <ol>
489
490 <li>
491
492 </ol>
493
494 -->
495
496 None.
497
498
499
500
501
502
503
504
505 <H2>
506 Warnings
507 </H2>
508
509 <!--
510 Potentially stupid things the program will let you do.
511 -->
512
513 None.
514
515
516
517
518
519
520
521 <H2>
522 Diagnostic Error Messages
523 </H2>
524
525 <!--
526 Error messages specific to this program, eg:
527 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
528 -->
529
530 None.
531
532
533
534
535
536
537
538 <H2>
539 Exit status
540 </H2>
541
542 <!--
543 Description of the exit status for various error conditions
544 -->
545
546 It always exits with status 0.
547
548
549
550
551
552
553
554
555 <H2>
556 Known bugs
557 </H2>
558
559
560 <!--
561 Bugs noted but not yet fixed.
562 -->
563
564 None.
565
566
567
568
569
570
571
572
573 <!--
574 <H2>
575 See also
576 </H2>
577 -->
578 <h2><a name="See also">See also</a></h2>
579 <table border cellpadding=4 bgcolor="#FFFFF0">
580 <tr><th>Program name</th>
581 <th>Description</th></tr>
582 <tr>
583 <td><a href="drfinddata.html">drfinddata</a></td>
584 <td>Find public databases by data type</td>
585 </tr>
586
587 <tr>
588 <td><a href="drfindformat.html">drfindformat</a></td>
589 <td>Find public databases by format</td>
590 </tr>
591
592 <tr>
593 <td><a href="drfindid.html">drfindid</a></td>
594 <td>Find public databases by identifier</td>
595 </tr>
596
597 <tr>
598 <td><a href="drfindresource.html">drfindresource</a></td>
599 <td>Find public databases by resource</td>
600 </tr>
601
602 <tr>
603 <td><a href="drtext.html">drtext</a></td>
604 <td>Get data resource entries complete text</td>
605 </tr>
606
607 </table>
608 <!--
609 Add any comments about other associated programs (to prepare
610 data files?) that seealso doesn't find.
611 -->
612
613
614
615
616
617
618
619
620
621
622 <H2>
623 Author(s)
624 </H2>
625
626 Peter Rice
627 <br>
628 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
629
630 <p>
631 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
632 <H2>
633 History
634 </H2>
635 <!--
636 Date written and what changes have been made go in this file.
637 -->
638
639
640
641
642 <H2>
643 Target users
644 </H2>
645 <!--
646 For general users, use this text
647 -->
648 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
649
650 <H2>
651 Comments
652 </H2>
653 <!--
654 User/developer/other comments go in this file.
655 -->
656 None
657
658
659 </BODY>
660 </HTML>
661