Debian Codegraph @

doc/programs/html/textget.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: textget
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 textget
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 text data 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 <b>textget</b> reads text data, usually from a named database, and
52 writes a text file containing the original text of the entry or
53 entries.
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>textget</b>
66 <p>
67
68 <p>
69 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
70
71 % <b>textget "srs:unilib:99" </b>
72 Get text data entries
73 Text output file [outfile.text]: <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 text data entries
88 Version: EMBOSS:6.6.0.0
89
90 Standard (Mandatory) qualifiers:
91 [-text] text Text filename and optional format, or
92 reference (input query)
93 [-outfile] outtext (no help text) outtext value
94
95 Additional (Optional) qualifiers: (none)
96 Advanced (Unprompted) qualifiers: (none)
97 Associated qualifiers:
98
99 "-text" associated qualifiers
100 -iformat1 string Input text 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 -oformat2 string Text output format
108
109 General qualifiers:
110 -auto boolean Turn off prompts
111 -stdout boolean Write first file to standard output
112 -filter boolean Read first file from standard input, write
113 first file to standard output
114 -options boolean Prompt for standard and additional values
115 -debug boolean Write debug output to program.dbg
116 -verbose boolean Report some/full command line options
117 -help boolean Report command line options and exit. More
118 information on associated and general
119 qualifiers can be found with -help -verbose
120 -warning boolean Report warnings
121 -error boolean Report errors
122 -fatal boolean Report fatal errors
123 -die boolean Report dying program messages
124 -version boolean Report version number and exit
125
126 </pre>
127 </td></tr></table>
128 <P>
129 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
130 <tr bgcolor="#FFFFCC">
131 <th align="left">Qualifier</th>
132 <th align="left">Type</th>
133 <th align="left">Description</th>
134 <th align="left">Allowed values</th>
135 <th align="left">Default</th>
136 </tr>
137
138 <tr bgcolor="#FFFFCC">
139 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
140 </tr>
141
142 <tr bgcolor="#FFFFCC">
143 <td>[-text]<br>(Parameter 1)</td>
144 <td>text</td>
145 <td>Text filename and optional format, or reference (input query)</td>
146 <td>Text entries</td>
147 <td>&nbsp;</td>
148 </tr>
149
150 <tr bgcolor="#FFFFCC">
151 <td>[-outfile]<br>(Parameter 2)</td>
152 <td>outtext</td>
153 <td>(no help text) outtext value</td>
154 <td>Text entries</td>
155 <td>&nbsp;</td>
156 </tr>
157
158 <tr bgcolor="#FFFFCC">
159 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
160 </tr>
161
162 <tr>
163 <td colspan=5>(none)</td>
164 </tr>
165
166 <tr bgcolor="#FFFFCC">
167 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
168 </tr>
169
170 <tr>
171 <td colspan=5>(none)</td>
172 </tr>
173
174 <tr bgcolor="#FFFFCC">
175 <th align="left" colspan=5>Associated qualifiers</th>
176 </tr>
177
178 <tr bgcolor="#FFFFCC">
179 <td align="left" colspan=5>"-text" associated text qualifiers
180 </td>
181 </tr>
182
183 <tr bgcolor="#FFFFCC">
184 <td> -iformat1<br>-iformat_text</td>
185 <td>string</td>
186 <td>Input text format</td>
187 <td>Any string</td>
188 <td>&nbsp;</td>
189 </tr>
190
191 <tr bgcolor="#FFFFCC">
192 <td> -iquery1<br>-iquery_text</td>
193 <td>string</td>
194 <td>Input query fields or ID list</td>
195 <td>Any string</td>
196 <td>&nbsp;</td>
197 </tr>
198
199 <tr bgcolor="#FFFFCC">
200 <td> -ioffset1<br>-ioffset_text</td>
201 <td>integer</td>
202 <td>Input start position offset</td>
203 <td>Any integer value</td>
204 <td>0</td>
205 </tr>
206
207 <tr bgcolor="#FFFFCC">
208 <td> -idbname1<br>-idbname_text</td>
209 <td>string</td>
210 <td>User-provided database name</td>
211 <td>Any string</td>
212 <td>&nbsp;</td>
213 </tr>
214
215 <tr bgcolor="#FFFFCC">
216 <td align="left" colspan=5>"-outfile" associated outtext qualifiers
217 </td>
218 </tr>
219
220 <tr bgcolor="#FFFFCC">
221 <td> -odirectory2<br>-odirectory_outfile</td>
222 <td>string</td>
223 <td>Output directory</td>
224 <td>Any string</td>
225 <td>&nbsp;</td>
226 </tr>
227
228 <tr bgcolor="#FFFFCC">
229 <td> -oformat2<br>-oformat_outfile</td>
230 <td>string</td>
231 <td>Text output format</td>
232 <td>Any string</td>
233 <td>&nbsp;</td>
234 </tr>
235
236 <tr bgcolor="#FFFFCC">
237 <th align="left" colspan=5>General qualifiers</th>
238 </tr>
239
240 <tr bgcolor="#FFFFCC">
241 <td> -auto</td>
242 <td>boolean</td>
243 <td>Turn off prompts</td>
244 <td>Boolean value Yes/No</td>
245 <td>N</td>
246 </tr>
247
248 <tr bgcolor="#FFFFCC">
249 <td> -stdout</td>
250 <td>boolean</td>
251 <td>Write first file to standard output</td>
252 <td>Boolean value Yes/No</td>
253 <td>N</td>
254 </tr>
255
256 <tr bgcolor="#FFFFCC">
257 <td> -filter</td>
258 <td>boolean</td>
259 <td>Read first file from standard input, write first file to standard output</td>
260 <td>Boolean value Yes/No</td>
261 <td>N</td>
262 </tr>
263
264 <tr bgcolor="#FFFFCC">
265 <td> -options</td>
266 <td>boolean</td>
267 <td>Prompt for standard and additional values</td>
268 <td>Boolean value Yes/No</td>
269 <td>N</td>
270 </tr>
271
272 <tr bgcolor="#FFFFCC">
273 <td> -debug</td>
274 <td>boolean</td>
275 <td>Write debug output to program.dbg</td>
276 <td>Boolean value Yes/No</td>
277 <td>N</td>
278 </tr>
279
280 <tr bgcolor="#FFFFCC">
281 <td> -verbose</td>
282 <td>boolean</td>
283 <td>Report some/full command line options</td>
284 <td>Boolean value Yes/No</td>
285 <td>Y</td>
286 </tr>
287
288 <tr bgcolor="#FFFFCC">
289 <td> -help</td>
290 <td>boolean</td>
291 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
292 <td>Boolean value Yes/No</td>
293 <td>N</td>
294 </tr>
295
296 <tr bgcolor="#FFFFCC">
297 <td> -warning</td>
298 <td>boolean</td>
299 <td>Report warnings</td>
300 <td>Boolean value Yes/No</td>
301 <td>Y</td>
302 </tr>
303
304 <tr bgcolor="#FFFFCC">
305 <td> -error</td>
306 <td>boolean</td>
307 <td>Report errors</td>
308 <td>Boolean value Yes/No</td>
309 <td>Y</td>
310 </tr>
311
312 <tr bgcolor="#FFFFCC">
313 <td> -fatal</td>
314 <td>boolean</td>
315 <td>Report fatal errors</td>
316 <td>Boolean value Yes/No</td>
317 <td>Y</td>
318 </tr>
319
320 <tr bgcolor="#FFFFCC">
321 <td> -die</td>
322 <td>boolean</td>
323 <td>Report dying program messages</td>
324 <td>Boolean value Yes/No</td>
325 <td>Y</td>
326 </tr>
327
328 <tr bgcolor="#FFFFCC">
329 <td> -version</td>
330 <td>boolean</td>
331 <td>Report version number and exit</td>
332 <td>Boolean value Yes/No</td>
333 <td>N</td>
334 </tr>
335
336 </table>
337
338 <!--
339 DON'T WRITE ANYTHING HERE.
340 IT IS DONE FOR YOU.
341 -->
342
343
344
345
346
347
348
349
350 <H2>
351 Input file format
352 </H2>
353
354 <p>
355
356 The input is a standard EMBOSS text query.
357
358 <p>
359
360 The major text sources defined as standard in EMBOSS installations are
361 non-standard types on the srs server and databases with a "text" query
362 in the Data Resource Catalogue database DRCAT.
363
364 <p>
365
366 Data can also be read from text output in any supported text format
367 written by an EMBOSS or third-party application. The text format is
368 needed to identify the start and end of a single "entry" within a
369 larger text file.
370
371 <p>
372 The input format can be specified by using the command-line qualifier
373 <tt>-format xxx</tt>, where 'xxx' is replaced by the name of the
374 required format. The available format names are: text, html, xml (uniprotxml),
375 obo, embl (swissprot)
376
377 <p>
378
379 See:
380 <A href="http://emboss.sf.net/docs/themes/TextFormats.html">
381 http://emboss.sf.net/docs/themes/TextFormats.html</A>
382 for further information on text formats.
383
384 <p>
385
386 <p>
387
388
389 <a name="input.1"></a>
390 <h3>Input files for usage example </h3>
391 <p><h3>Database entry: "srs:unilib:99"</h3>
392 <table width="90%"><tr><td bgcolor="#FFCCFF">
393 <pre>
394 &gt; 99
395 CGAP Lib id: 182
396 Unigene id: 729
397 dbEST lib id: 1452
398 Keyword: lymph node
399 Keyword: follicular lymphoma
400 Keyword: non-normalized
401 Keyword: bulk
402 Keyword: CGAP
403 Keyword: EST
404 Keyword: Stratagene non-normalized
405 Keyword: unknown developmental stage
406 Keyword: size fractionated
407 Keyword: directionally cloned
408 Keyword: phagemid
409 Keyword: oligo-dT primed
410 Keyword: EST
411 Keyword: CGAP
412 Lib Name: NCI_CGAP_Lym5
413 Organism: Homo sapiens
414 Organ: lymph node
415 Tissue_type: follicular lymphoma
416 Lab host: SOLR (Stratagene, kanamycin resistant)
417 Vector: pBluescript SK-
418 Vector type: phagemid (ampicillin resistant)
419 R. Site 1: EcoRI
420 R. Site 2: XhoI
421 Description: Cloned unidirectionally. Primer: Oligo dT. Average insert size 1.2 kb. Non-amplified library. ~5' adaptor sequence: 5' GAATTCGGCACGAG 3' ~3' adaptor sequence: 5' CTCGAGTTTTTTTTTTTTTTTTTT 3'
422 Library treatment: non-normalized
423 Tissue description: Lymph node, follicular lymphoma, node 2
424 Tissue supplier: Mark Raffeld, M.D.
425 Sample type: Bulk
426 Image legend:
427 Producer: Stratagene, Inc.
428 Clones generated to date: 2304
429 Sequences generated to date: 1293
430
431 </pre>
432 </td></tr></table><p>
433
434
435
436
437
438 <H2>
439 Output file format
440 </H2>
441
442 <p>
443
444 The output is a standard text file.
445
446 <p>
447
448 The results can be output in one of several styles by using the
449 command-line qualifier <tt>-oformat xxx</tt>, where 'xxx' is replaced by
450 the name of the required format. The available format names are:
451 text, html, xml, json and list
452
453 <p>
454
455 See:
456 <A href="http://emboss.sf.net/docs/themes/TextFormats.html">
457 http://emboss.sf.net/docs/themes/TextFormats.html</A>
458 for further information on text formats.
459
460 <p>
461
462
463 <p>
464
465
466 <a name="output.1"></a>
467 <h3>Output files for usage example </h3>
468 <p><h3>File: outfile.text</h3>
469 <table width="90%"><tr><td bgcolor="#CCFFCC">
470 <pre>
471 &gt; 99
472 CGAP Lib id: 182
473 Unigene id: 729
474 dbEST lib id: 1452
475 Keyword: lymph node
476 Keyword: follicular lymphoma
477 Keyword: non-normalized
478 Keyword: bulk
479 Keyword: CGAP
480 Keyword: EST
481 Keyword: Stratagene non-normalized
482 Keyword: unknown developmental stage
483 Keyword: size fractionated
484 Keyword: directionally cloned
485 Keyword: phagemid
486 Keyword: oligo-dT primed
487 Keyword: EST
488 Keyword: CGAP
489 Lib Name: NCI_CGAP_Lym5
490 Organism: Homo sapiens
491 Organ: lymph node
492 Tissue_type: follicular lymphoma
493 Lab host: SOLR (Stratagene, kanamycin resistant)
494 Vector: pBluescript SK-
495 Vector type: phagemid (ampicillin resistant)
496 R. Site 1: EcoRI
497 R. Site 2: XhoI
498 Description: Cloned unidirectionally. Primer: Oligo dT. Average insert size 1.2 kb. Non-amplified library. ~5' adaptor sequence: 5' GAATTCGGCACGAG 3' ~3' adaptor sequence: 5' CTCGAGTTTTTTTTTTTTTTTTTT 3'
499 Library treatment: non-normalized
500 Tissue description: Lymph node, follicular lymphoma, node 2
501 Tissue supplier: Mark Raffeld, M.D.
502 Sample type: Bulk
503 Image legend:
504 Producer: Stratagene, Inc.
505 Clones generated to date: 2304
506 Sequences generated to date: 1293
507
508 </pre>
509 </td></tr></table><p>
510
511
512
513
514
515 <H2>
516 Data files
517 </H2>
518
519 None.
520
521
522 <H2>
523 Notes
524 </H2>
525
526 <!--
527 Restrictions.
528 Interesting behaviour.
529 Useful things you can do with this program.
530 -->
531
532 None.
533
534
535
536
537
538
539
540 <H2>
541 References
542 </H2>
543
544 <!--
545 Bibliography for methods used.
546 <ol>
547
548 <li>
549
550 </ol>
551
552 -->
553
554 None.
555
556
557
558
559
560
561
562
563 <H2>
564 Warnings
565 </H2>
566
567 <!--
568 Potentially stupid things the program will let you do.
569 -->
570
571 None.
572
573
574
575
576
577
578
579 <H2>
580 Diagnostic Error Messages
581 </H2>
582
583 <!--
584 Error messages specific to this program, eg:
585 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
586 -->
587
588 None.
589
590
591
592
593
594
595
596 <H2>
597 Exit status
598 </H2>
599
600 <!--
601 Description of the exit status for various error conditions
602 -->
603
604 It always exits with status 0.
605
606
607
608
609
610
611
612
613 <H2>
614 Known bugs
615 </H2>
616
617
618 <!--
619 Bugs noted but not yet fixed.
620 -->
621
622 None.
623
624
625
626
627
628
629
630
631 <!--
632 <H2>
633 See also
634 </H2>
635 -->
636 <h2><a name="See also">See also</a></h2>
637 <table border cellpadding=4 bgcolor="#FFFFF0">
638 <tr><th>Program name</th>
639 <th>Description</th></tr>
640 <tr>
641 <td><a href="drtext.html">drtext</a></td>
642 <td>Get data resource entries complete text</td>
643 </tr>
644
645 <tr>
646 <td><a href="entret.html">entret</a></td>
647 <td>Retrieve sequence entries from flatfile databases and files</td>
648 </tr>
649
650 <tr>
651 <td><a href="ontotext.html">ontotext</a></td>
652 <td>Get ontology term(s) original full text</td>
653 </tr>
654
655 <tr>
656 <td><a href="textsearch.html">textsearch</a></td>
657 <td>Search the textual description of sequence(s)</td>
658 </tr>
659
660 <tr>
661 <td><a href="xmltext.html">xmltext</a></td>
662 <td>Get XML document original full text</td>
663 </tr>
664
665 </table>
666 <!--
667 Add any comments about other associated programs (to prepare
668 data files?) that seealso doesn't find.
669 -->
670
671
672
673
674
675
676
677
678
679
680 <H2>
681 Author(s)
682 </H2>
683
684 Peter Rice
685 <br>
686 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
687
688 <p>
689 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
690 <H2>
691 History
692 </H2>
693 <!--
694 Date written and what changes have been made go in this file.
695 -->
696
697
698
699
700 <H2>
701 Target users
702 </H2>
703 <!--
704 For general users, use this text
705 -->
706 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
707
708 <H2>
709 Comments
710 </H2>
711 <!--
712 User/developer/other comments go in this file.
713 -->
714 None
715
716
717 </BODY>
718 </HTML>
719