Debian Codegraph @

doc/programs/html/urlget.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: urlget
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 urlget
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 URLs of data resources
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 Retrieves one or more URLs for further information about an identifier
52 in a data resource.
53
54 <p>
55 EMBOSS can retrieve specific data types (sequences, features,
56 taxonomy, resources, ontology terms) as defined ACD types.
57
58 <p>
59 Where there is no defined ACD inpu type, EMBOSS can retrieve the text
60 of a database entry where the information is provided in a
61 human-readable text format.
62
63 <p>
64 For many data resources there is no retrievable data format. In these
65 cases EMBOSS can use the Data Resource Catalogue to construct URLs
66 that can be viewed in the user's preferred browser which should be
67 able to render them in a meaningful way.
68
69
70
71
72
73 <H2>
74 Algorithm
75 </H2>
76
77 <b>urlget</b> constructs the URL using the information in the Data
78 Resource Catalogue entry which can be retrieved in its original format
79 using <b>drget</b>.
80
81 <p>
82 The Query records are searched to find a query that returns HTML data
83 (not parseable as text). The user-supplied identifier is inserted in
84 the query to construct a URL.
85
86 <p>
87 If the identifier is specified as a swissprot (<i>-swiss</i>) or EMBL
88 (<i>-embl</i>) cross-reference the defiitions of swissprot or EMBL
89 cross-references in the DRCAT entry are used to select queries
90 matching the identifier type.
91
92 <p>
93 Alternatively, the EDAM term name describing the identifier can be
94 provided by the user to resolve the selection from multiple queries.
95
96 <H2>
97 Usage
98 </H2>
99
100 <!--
101 Example usage, as run from the command-line.
102 Many examples illustrating different behaviours is good.
103 -->
104
105 Here is a sample session with <b>urlget</b>
106 <p>
107
108 <p>
109 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
110
111 % <b>urlget pseudocap:PA3363 -swiss </b>
112 Get URLs of data resources
113 Url output file [pa3363.url]: <b></b>
114
115 </pre></td></tr></table><p>
116 <p>
117 <a href="#output.1">Go to the output files for this example</a><p><p>
118
119
120
121 <H2>
122 Command line arguments
123 </H2>
124
125 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
126 <pre>
127 Get URLs of data resources
128 Version: EMBOSS:6.6.0.0
129
130 Standard (Mandatory) qualifiers:
131 [-url] url Url filename and optional format, or
132 reference (input query)
133 [-outfile] outurl (no help text) outurl value
134
135 Additional (Optional) qualifiers: (none)
136 Advanced (Unprompted) qualifiers: (none)
137 Associated qualifiers:
138
139 "-url" associated qualifiers
140 -iformat1 string Input URL format
141 -idbname1 string User-provided database name
142 -swiss1 boolean Swissprot cross-reference
143 -embl1 boolean EMBL/GenBank/DDBJ cross-reference
144 -accession1 string Primary accession for source data
145 -identifier1 string Identifier term name in EDAM
146
147 "-outfile" associated qualifiers
148 -odirectory2 string Output directory
149 -oformat2 string URL output format
150
151 General qualifiers:
152 -auto boolean Turn off prompts
153 -stdout boolean Write first file to standard output
154 -filter boolean Read first file from standard input, write
155 first file to standard output
156 -options boolean Prompt for standard and additional values
157 -debug boolean Write debug output to program.dbg
158 -verbose boolean Report some/full command line options
159 -help boolean Report command line options and exit. More
160 information on associated and general
161 qualifiers can be found with -help -verbose
162 -warning boolean Report warnings
163 -error boolean Report errors
164 -fatal boolean Report fatal errors
165 -die boolean Report dying program messages
166 -version boolean Report version number and exit
167
168 </pre>
169 </td></tr></table>
170 <P>
171 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
172 <tr bgcolor="#FFFFCC">
173 <th align="left">Qualifier</th>
174 <th align="left">Type</th>
175 <th align="left">Description</th>
176 <th align="left">Allowed values</th>
177 <th align="left">Default</th>
178 </tr>
179
180 <tr bgcolor="#FFFFCC">
181 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
182 </tr>
183
184 <tr bgcolor="#FFFFCC">
185 <td>[-url]<br>(Parameter 1)</td>
186 <td>url</td>
187 <td>Url filename and optional format, or reference (input query)</td>
188 <td>URL entries</td>
189 <td>&nbsp;</td>
190 </tr>
191
192 <tr bgcolor="#FFFFCC">
193 <td>[-outfile]<br>(Parameter 2)</td>
194 <td>outurl</td>
195 <td>(no help text) outurl value</td>
196 <td>URL entries</td>
197 <td>&nbsp;</td>
198 </tr>
199
200 <tr bgcolor="#FFFFCC">
201 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
202 </tr>
203
204 <tr>
205 <td colspan=5>(none)</td>
206 </tr>
207
208 <tr bgcolor="#FFFFCC">
209 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
210 </tr>
211
212 <tr>
213 <td colspan=5>(none)</td>
214 </tr>
215
216 <tr bgcolor="#FFFFCC">
217 <th align="left" colspan=5>Associated qualifiers</th>
218 </tr>
219
220 <tr bgcolor="#FFFFCC">
221 <td align="left" colspan=5>"-url" associated url qualifiers
222 </td>
223 </tr>
224
225 <tr bgcolor="#FFFFCC">
226 <td> -iformat1<br>-iformat_url</td>
227 <td>string</td>
228 <td>Input URL format</td>
229 <td>Any string</td>
230 <td>&nbsp;</td>
231 </tr>
232
233 <tr bgcolor="#FFFFCC">
234 <td> -idbname1<br>-idbname_url</td>
235 <td>string</td>
236 <td>User-provided database name</td>
237 <td>Any string</td>
238 <td>&nbsp;</td>
239 </tr>
240
241 <tr bgcolor="#FFFFCC">
242 <td> -swiss1<br>-swiss_url</td>
243 <td>boolean</td>
244 <td>Swissprot cross-reference</td>
245 <td>Boolean value Yes/No</td>
246 <td>N</td>
247 </tr>
248
249 <tr bgcolor="#FFFFCC">
250 <td> -embl1<br>-embl_url</td>
251 <td>boolean</td>
252 <td>EMBL/GenBank/DDBJ cross-reference</td>
253 <td>Boolean value Yes/No</td>
254 <td>N</td>
255 </tr>
256
257 <tr bgcolor="#FFFFCC">
258 <td> -accession1<br>-accession_url</td>
259 <td>string</td>
260 <td>Primary accession for source data</td>
261 <td>Any string</td>
262 <td>&nbsp;</td>
263 </tr>
264
265 <tr bgcolor="#FFFFCC">
266 <td> -identifier1<br>-identifier_url</td>
267 <td>string</td>
268 <td>Identifier term name in EDAM</td>
269 <td>Any string</td>
270 <td>&nbsp;</td>
271 </tr>
272
273 <tr bgcolor="#FFFFCC">
274 <td align="left" colspan=5>"-outfile" associated outurl qualifiers
275 </td>
276 </tr>
277
278 <tr bgcolor="#FFFFCC">
279 <td> -odirectory2<br>-odirectory_outfile</td>
280 <td>string</td>
281 <td>Output directory</td>
282 <td>Any string</td>
283 <td>&nbsp;</td>
284 </tr>
285
286 <tr bgcolor="#FFFFCC">
287 <td> -oformat2<br>-oformat_outfile</td>
288 <td>string</td>
289 <td>URL output format</td>
290 <td>Any string</td>
291 <td>&nbsp;</td>
292 </tr>
293
294 <tr bgcolor="#FFFFCC">
295 <th align="left" colspan=5>General qualifiers</th>
296 </tr>
297
298 <tr bgcolor="#FFFFCC">
299 <td> -auto</td>
300 <td>boolean</td>
301 <td>Turn off prompts</td>
302 <td>Boolean value Yes/No</td>
303 <td>N</td>
304 </tr>
305
306 <tr bgcolor="#FFFFCC">
307 <td> -stdout</td>
308 <td>boolean</td>
309 <td>Write first file to standard output</td>
310 <td>Boolean value Yes/No</td>
311 <td>N</td>
312 </tr>
313
314 <tr bgcolor="#FFFFCC">
315 <td> -filter</td>
316 <td>boolean</td>
317 <td>Read first file from standard input, write first file to standard output</td>
318 <td>Boolean value Yes/No</td>
319 <td>N</td>
320 </tr>
321
322 <tr bgcolor="#FFFFCC">
323 <td> -options</td>
324 <td>boolean</td>
325 <td>Prompt for standard and additional values</td>
326 <td>Boolean value Yes/No</td>
327 <td>N</td>
328 </tr>
329
330 <tr bgcolor="#FFFFCC">
331 <td> -debug</td>
332 <td>boolean</td>
333 <td>Write debug output to program.dbg</td>
334 <td>Boolean value Yes/No</td>
335 <td>N</td>
336 </tr>
337
338 <tr bgcolor="#FFFFCC">
339 <td> -verbose</td>
340 <td>boolean</td>
341 <td>Report some/full command line options</td>
342 <td>Boolean value Yes/No</td>
343 <td>Y</td>
344 </tr>
345
346 <tr bgcolor="#FFFFCC">
347 <td> -help</td>
348 <td>boolean</td>
349 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
350 <td>Boolean value Yes/No</td>
351 <td>N</td>
352 </tr>
353
354 <tr bgcolor="#FFFFCC">
355 <td> -warning</td>
356 <td>boolean</td>
357 <td>Report warnings</td>
358 <td>Boolean value Yes/No</td>
359 <td>Y</td>
360 </tr>
361
362 <tr bgcolor="#FFFFCC">
363 <td> -error</td>
364 <td>boolean</td>
365 <td>Report errors</td>
366 <td>Boolean value Yes/No</td>
367 <td>Y</td>
368 </tr>
369
370 <tr bgcolor="#FFFFCC">
371 <td> -fatal</td>
372 <td>boolean</td>
373 <td>Report fatal errors</td>
374 <td>Boolean value Yes/No</td>
375 <td>Y</td>
376 </tr>
377
378 <tr bgcolor="#FFFFCC">
379 <td> -die</td>
380 <td>boolean</td>
381 <td>Report dying program messages</td>
382 <td>Boolean value Yes/No</td>
383 <td>Y</td>
384 </tr>
385
386 <tr bgcolor="#FFFFCC">
387 <td> -version</td>
388 <td>boolean</td>
389 <td>Report version number and exit</td>
390 <td>Boolean value Yes/No</td>
391 <td>N</td>
392 </tr>
393
394 </table>
395
396 <!--
397 DON'T WRITE ANYTHING HERE.
398 IT IS DONE FOR YOU.
399 -->
400
401
402
403
404
405
406
407
408 <H2>
409 Input file format
410 </H2>
411
412 <!--
413 This includes example input file formats.
414 This should be a detailed description and example - assume
415 someone will want to parse this file and will want to know what
416 happens in unusual cases - null input, etc.
417 -->
418
419 <b>urlget</b> reads a query containing a database name from DRCAT and
420 an identifier.
421
422
423 <p>
424
425
426
427
428
429
430 <H2>
431 Output file format
432 </H2>
433
434 <!--
435 This includes example output file formats.
436 This should be a detailed description and example - assume
437 someone will want to parse this file and will want to know what
438 happens in unusual cases - null output, errors etc.
439
440 If you wish to include the standard description of the avalable
441 report formats, use:
442 #include file="inc/reportformats.ihtml"
443 -->
444
445 <b>urlget</b> returns a file containing one or more URLs with a description.
446
447 <p>
448 The <i>-oformat</i> qualifier provides a choice of formats which may
449 be extended in future releases.
450
451 <p>
452
453
454 <a name="output.1"></a>
455 <h3>Output files for usage example </h3>
456 <p><h3>File: pa3363.url</h3>
457 <table width="90%"><tr><td bgcolor="#CCFFCC">
458 <pre>
459 http://www.pseudomonas.com/getAnnotation.do?locusID=PA3363 Locus ID (PseudoCAP): PA3363
460 </pre>
461 </td></tr></table><p>
462
463
464
465
466
467 <H2>
468 Data files
469 </H2>
470
471 <b>urlget</b> uses the Data Resource Catalogue to retrieve information
472 on URLs for the specified database name.
473
474
475 <H2>
476 Notes
477 </H2>
478
479 <!--
480 Restrictions.
481 Interesting behaviour.
482 Useful things you can do with this program.
483 -->
484
485 None.
486
487
488
489
490
491
492
493 <H2>
494 References
495 </H2>
496
497 <!--
498 Bibliography for methods used.
499 <ol>
500
501 <li>
502
503 </ol>
504
505 -->
506
507 None.
508
509
510
511
512
513
514
515
516 <H2>
517 Warnings
518 </H2>
519
520 <!--
521 Potentially stupid things the program will let you do.
522 -->
523
524 None.
525
526
527
528
529
530
531
532 <H2>
533 Diagnostic Error Messages
534 </H2>
535
536 <!--
537 Error messages specific to this program, eg:
538 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
539 -->
540
541 None.
542
543
544
545
546
547
548
549 <H2>
550 Exit status
551 </H2>
552
553 <!--
554 Description of the exit status for various error conditions
555 -->
556
557 It always exits with status 0.
558
559
560
561
562
563
564
565
566 <H2>
567 Known bugs
568 </H2>
569
570
571 <!--
572 Bugs noted but not yet fixed.
573 -->
574
575 None.
576
577
578
579
580
581
582
583
584 <!--
585 <H2>
586 See also
587 </H2>
588 -->
589 <h2><a name="See also">See also</a></h2>
590 <table border cellpadding=4 bgcolor="#FFFFF0">
591 <tr><th>Program name</th>
592 <th>Description</th></tr>
593 </table>
594 <!--
595 Add any comments about other associated programs (to prepare
596 data files?) that seealso doesn't find.
597 -->
598
599
600
601
602
603
604
605
606
607
608 <H2>
609 Author(s)
610 </H2>
611 Peter Rice
612 <br>
613 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
614
615 <p>
616 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
617
618
619 <H2>
620 History
621 </H2>
622 <!--
623 Date written and what changes have been made go in this file.
624 -->
625
626
627
628
629 <H2>
630 Target users
631 </H2>
632 <!--
633 For general users, use this text
634 -->
635 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
636
637 <H2>
638 Comments
639 </H2>
640 <!--
641 User/developer/other comments go in this file.
642 -->
643 None
644
645
646 </BODY>
647 </HTML>
648