Debian Codegraph @

doc/programs/html/drtext.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: drtext
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 drtext
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 complete text
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 <p><b>drtext</b> reads one or more complete data resource entries from a database or a file and writes them to a text file. Optionally, the first data resourcefrom the input stream only can be retrieved. The complete entry, including heading annotation, is retrieved and written and the data is not altered or reformatted in any way.</p>
53
54
55
56 <H2>
57 Usage
58 </H2>
59
60 <!--
61 Example usage, as run from the command-line.
62 Many examples illustrating different behaviours is good.
63 -->
64
65 Here is a sample session with <b>drtext</b>
66 <p>
67
68 <p>
69 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
70
71 % <b>drtext drcat:uniprot </b>
72 Get data resource entries complete text
73 Full text output file [uniprot.drtext]: <b></b>
74
75 </pre></td></tr></table><p>
76 <p>
77 <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>
78
79
80
81 <H2>
82 Command line arguments
83 </H2>
84
85 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
86 <pre>
87 Get data resource entries complete text
88 Version: EMBOSS:6.6.0.0
89
90 Standard (Mandatory) qualifiers:
91 [-resources] resource Data resource filename and optional format,
92 or reference (input query)
93 [-outfile] outfile [*.drtext] Full text output file
94
95 Additional (Optional) qualifiers: (none)
96 Advanced (Unprompted) qualifiers: (none)
97 Associated qualifiers:
98
99 "-resources" associated qualifiers
100 -iformat1 string Input resource format
101 -iquery1 string Input query fields or ID list
102 -ioffset1 integer Input start position offset
103 -idbname1 string User-provided database name
104
105 "-outfile" associated qualifiers
106 -odirectory2 string Output directory
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>outfile</td>
152 <td>Full text output file</td>
153 <td>Output file</td>
154 <td><i>&lt;*&gt;</i>.drtext</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 outfile 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 <th align="left" colspan=5>General qualifiers</th>
229 </tr>
230
231 <tr bgcolor="#FFFFCC">
232 <td> -auto</td>
233 <td>boolean</td>
234 <td>Turn off prompts</td>
235 <td>Boolean value Yes/No</td>
236 <td>N</td>
237 </tr>
238
239 <tr bgcolor="#FFFFCC">
240 <td> -stdout</td>
241 <td>boolean</td>
242 <td>Write first file to standard output</td>
243 <td>Boolean value Yes/No</td>
244 <td>N</td>
245 </tr>
246
247 <tr bgcolor="#FFFFCC">
248 <td> -filter</td>
249 <td>boolean</td>
250 <td>Read first file from standard input, 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> -options</td>
257 <td>boolean</td>
258 <td>Prompt for standard and additional values</td>
259 <td>Boolean value Yes/No</td>
260 <td>N</td>
261 </tr>
262
263 <tr bgcolor="#FFFFCC">
264 <td> -debug</td>
265 <td>boolean</td>
266 <td>Write debug output to program.dbg</td>
267 <td>Boolean value Yes/No</td>
268 <td>N</td>
269 </tr>
270
271 <tr bgcolor="#FFFFCC">
272 <td> -verbose</td>
273 <td>boolean</td>
274 <td>Report some/full command line options</td>
275 <td>Boolean value Yes/No</td>
276 <td>Y</td>
277 </tr>
278
279 <tr bgcolor="#FFFFCC">
280 <td> -help</td>
281 <td>boolean</td>
282 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
283 <td>Boolean value Yes/No</td>
284 <td>N</td>
285 </tr>
286
287 <tr bgcolor="#FFFFCC">
288 <td> -warning</td>
289 <td>boolean</td>
290 <td>Report warnings</td>
291 <td>Boolean value Yes/No</td>
292 <td>Y</td>
293 </tr>
294
295 <tr bgcolor="#FFFFCC">
296 <td> -error</td>
297 <td>boolean</td>
298 <td>Report errors</td>
299 <td>Boolean value Yes/No</td>
300 <td>Y</td>
301 </tr>
302
303 <tr bgcolor="#FFFFCC">
304 <td> -fatal</td>
305 <td>boolean</td>
306 <td>Report fatal errors</td>
307 <td>Boolean value Yes/No</td>
308 <td>Y</td>
309 </tr>
310
311 <tr bgcolor="#FFFFCC">
312 <td> -die</td>
313 <td>boolean</td>
314 <td>Report dying program messages</td>
315 <td>Boolean value Yes/No</td>
316 <td>Y</td>
317 </tr>
318
319 <tr bgcolor="#FFFFCC">
320 <td> -version</td>
321 <td>boolean</td>
322 <td>Report version number and exit</td>
323 <td>Boolean value Yes/No</td>
324 <td>N</td>
325 </tr>
326
327 </table>
328
329 <!--
330 DON'T WRITE ANYTHING HERE.
331 IT IS DONE FOR YOU.
332 -->
333
334
335
336
337
338
339
340
341 <H2>
342 Input file format
343 </H2>
344
345 <p>
346
347 The input is a standard EMBOSS resource query.
348
349 <p>
350
351 The expected source of data resource information is the Data
352 Resource Catalogue database "drcat" which is available as a standard
353 database in all EMBOSS installations.
354
355 <p>
356
357 Data can also be read from resource output in "drcat" format written by an
358 EMBOSS application.
359
360
361 <p>
362
363
364 <a name="input.1"></a>
365 <h3>Input files for usage example </h3>
366 <p><h3>Database entry: drcat:uniprot</h3>
367 <table width="90%"><tr><td bgcolor="#FFCCFF">
368 <pre>
369 ID UniProt
370 IDalt UniProtKB
371 Name Universal protein resource
372 Desc A comprehensive, high-quality and freely accessible resource of protein sequence and functional information.
373 URL http://www.uniprot.org/
374 Taxon 1 | all
375 EDAMtpc 0639 | Protein sequence analysis
376 EDAMdat 2201 | Sequence record full
377 EDAMid 3021 | UniProt accession
378 EDAMfmt 1929 | FASTA format
379 EDAMfmt 2376 | RDF
380 EDAMfmt 2188 | uniprot
381 EDAMfmt 2331 | HTML
382 EDAMfmt 2332 | XML
383 Xref SP_FT | None
384 Query Sequence record full | HTML | UniProt accession | http://www.uniprot.org/uniprot/%s
385 Query Sequence record full | uniprot | UniProt accession | http://www.uniprot.org/uniprot/%s.txt
386 Query Sequence record full | XML | UniProt accession | http://www.uniprot.org/uniprot/%s.xml
387 Query Sequence record full | RDF | UniProt accession | http://www.uniprot.org/uniprot/%s.rdf
388 Query Sequence record full | FASTA format | UniProt accession | http://www.uniprot.org/uniprot/%s.fasta
389 Example UniProt accession | P12345
390
391 </pre>
392 </td></tr></table><p>
393
394
395
396
397
398 <H2>
399 Output file format
400 </H2>
401
402 <b>drtext</b> reports the full text of the input resources.
403
404
405
406 <p>
407
408
409 <a name="output.1"></a>
410 <h3>Output files for usage example </h3>
411 <p><h3>File: uniprot.drtext</h3>
412 <table width="90%"><tr><td bgcolor="#CCFFCC">
413 <pre>
414 ID UniProt
415 IDalt UniProtKB
416 Name Universal protein resource
417 Desc A comprehensive, high-quality and freely accessible resource of protein sequence and functional information.
418 URL http://www.uniprot.org/
419 Taxon 1 | all
420 EDAMtpc 0639 | Protein sequence analysis
421 EDAMdat 2201 | Sequence record full
422 EDAMid 3021 | UniProt accession
423 EDAMfmt 1929 | FASTA format
424 EDAMfmt 2376 | RDF
425 EDAMfmt 2188 | uniprot
426 EDAMfmt 2331 | HTML
427 EDAMfmt 2332 | XML
428 Xref SP_FT | None
429 Query Sequence record full | HTML | UniProt accession | http://www.uniprot.org/uniprot/%s
430 Query Sequence record full | uniprot | UniProt accession | http://www.uniprot.org/uniprot/%s.txt
431 Query Sequence record full | XML | UniProt accession | http://www.uniprot.org/uniprot/%s.xml
432 Query Sequence record full | RDF | UniProt accession | http://www.uniprot.org/uniprot/%s.rdf
433 Query Sequence record full | FASTA format | UniProt accession | http://www.uniprot.org/uniprot/%s.fasta
434 Example UniProt accession | P12345
435 </pre>
436 </td></tr></table><p>
437
438
439
440
441
442 <H2>
443 Data files
444 </H2>
445
446 The Data Resource Catalogue is included in EMBOSS as local
447 database <b>drcat</b>.
448
449
450
451
452 <H2>
453 Notes
454 </H2>
455
456 <!--
457 Restrictions.
458 Interesting behaviour.
459 Useful things you can do with this program.
460 -->
461
462 None.
463
464
465
466
467
468
469
470 <H2>
471 References
472 </H2>
473
474 <!--
475 Bibliography for methods used.
476 <ol>
477
478 <li>
479
480 </ol>
481
482 -->
483
484 None.
485
486
487
488
489
490
491
492
493 <H2>
494 Warnings
495 </H2>
496
497 <!--
498 Potentially stupid things the program will let you do.
499 -->
500
501 None.
502
503
504
505
506
507
508
509 <H2>
510 Diagnostic Error Messages
511 </H2>
512
513 <!--
514 Error messages specific to this program, eg:
515 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
516 -->
517
518 None.
519
520
521
522
523
524
525
526 <H2>
527 Exit status
528 </H2>
529
530 <!--
531 Description of the exit status for various error conditions
532 -->
533
534 It always exits with status 0.
535
536
537
538
539
540
541
542
543 <H2>
544 Known bugs
545 </H2>
546
547
548 <!--
549 Bugs noted but not yet fixed.
550 -->
551
552 None.
553
554
555
556
557
558
559
560
561 <!--
562 <H2>
563 See also
564 </H2>
565 -->
566 <h2><a name="See also">See also</a></h2>
567 <table border cellpadding=4 bgcolor="#FFFFF0">
568 <tr><th>Program name</th>
569 <th>Description</th></tr>
570 <tr>
571 <td><a href="drfinddata.html">drfinddata</a></td>
572 <td>Find public databases by data type</td>
573 </tr>
574
575 <tr>
576 <td><a href="drfindformat.html">drfindformat</a></td>
577 <td>Find public databases by format</td>
578 </tr>
579
580 <tr>
581 <td><a href="drfindid.html">drfindid</a></td>
582 <td>Find public databases by identifier</td>
583 </tr>
584
585 <tr>
586 <td><a href="drfindresource.html">drfindresource</a></td>
587 <td>Find public databases by resource</td>
588 </tr>
589
590 <tr>
591 <td><a href="drget.html">drget</a></td>
592 <td>Get data resource entries</td>
593 </tr>
594
595 <tr>
596 <td><a href="entret.html">entret</a></td>
597 <td>Retrieve sequence entries from flatfile databases and files</td>
598 </tr>
599
600 <tr>
601 <td><a href="ontotext.html">ontotext</a></td>
602 <td>Get ontology term(s) original full text</td>
603 </tr>
604
605 <tr>
606 <td><a href="textget.html">textget</a></td>
607 <td>Get text data entries</td>
608 </tr>
609
610 <tr>
611 <td><a href="textsearch.html">textsearch</a></td>
612 <td>Search the textual description of sequence(s)</td>
613 </tr>
614
615 <tr>
616 <td><a href="xmltext.html">xmltext</a></td>
617 <td>Get XML document original full text</td>
618 </tr>
619
620 </table>
621 <!--
622 Add any comments about other associated programs (to prepare
623 data files?) that seealso doesn't find.
624 -->
625
626
627
628
629
630
631
632
633
634
635 <H2>
636 Author(s)
637 </H2>
638
639 Peter Rice
640 <br>
641 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
642
643 <p>
644 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
645 <H2>
646 History
647 </H2>
648 <!--
649 Date written and what changes have been made go in this file.
650 -->
651
652
653
654
655 <H2>
656 Target users
657 </H2>
658 <!--
659 For general users, use this text
660 -->
661 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
662
663 <H2>
664 Comments
665 </H2>
666 <!--
667 User/developer/other comments go in this file.
668 -->
669 None
670
671
672 </BODY>
673 </HTML>
674