Debian Codegraph @

doc/programs/html/cutgextract.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: cutgextract
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 cutgextract
16 </font></b>
17 </td></tr>
18 </table>
19 <br>&nbsp;
20 <p>
21
22
23
24 <H2>
25 Wiki
26 </H2>
27
28 The master copies of EMBOSS documentation are available
29 at <a href="http://emboss.open-bio.org/wiki/Appdocs">
30 http://emboss.open-bio.org/wiki/Appdocs</a>
31 on the EMBOSS Wiki.
32
33 <p>
34 Please help by correcting and extending the Wiki pages.
35
36 <H2>
37 Function
38 </H2>
39 Extract codon usage tables from CUTG database
40 <H2>
41 Description
42 </H2>
43
44 <p>Given the name of a directory containing the CUTG database, <b>cutgextract</b> will calculate codon usage tables for individual species (e.g. EHomo_sapiens.cut) and place them in the CODONS subdirectory of the EMBOSS data directory. This is an all-or-nothing extraction; it will create many files and take several minutes. The usage tables are calculated from the sum of codons over all sequences for each organism.</p>
45
46
47 <H2>
48 Algorithm
49 </H2>
50
51 <p><b>cutgextract</b> looks in the specified directory and opens all the files with the extension '.codon'. These are all expected to be CUTG data files. It then parses out the codon usage data and writes one file per species into the EMBOSS data/CODONS directory. The names of the files are derived from the species names in the CUTG files. These files names will be long and therefore descriptive.</p>
52
53 <H2>
54 Usage
55 </H2>
56
57 Here is a sample session with <b>cutgextract</b>
58 <p>
59
60 <p>
61 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
62
63 % <b>cutgextract </b>
64 Extract codon usage tables from CUTG database
65 Codon usage directories [.]: <b>data</b>
66 General log output file [outfile.cutgextract]: <b></b>
67
68 </pre></td></tr></table><p>
69 <p>
70 <a href="#output.1">Go to the output files for this example</a><p><p>
71
72
73 <H2>
74 Command line arguments
75 </H2>
76 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
77 <pre>
78 Extract codon usage tables from CUTG database
79 Version: EMBOSS:6.6.0.0
80
81 Standard (Mandatory) qualifiers:
82 [-directory] dirlist [.] Codon usage directories
83 [-outfile] outfile [*.cutgextract] General log output file
84
85 Additional (Optional) qualifiers: (none)
86 Advanced (Unprompted) qualifiers:
87 -release string CUTG release (Any string)
88 -wildspec string [*.codon] Type of codon file (Any string)
89 -species string [*] Species wildcard (Any string)
90 -allrecords boolean [N] Include all records, including those
91 with warnings
92 -filename string Single output filename to override automatic
93 one file for each species. Leave blank to
94 generate the filenames. Specify a filename
95 to combine several species into one file.
96 (Any string)
97
98 Associated qualifiers:
99
100 "-directory" associated qualifiers
101 -extension1 string Default file extension
102
103 "-outfile" associated qualifiers
104 -odirectory2 string Output directory
105
106 General qualifiers:
107 -auto boolean Turn off prompts
108 -stdout boolean Write first file to standard output
109 -filter boolean Read first file from standard input, write
110 first file to standard output
111 -options boolean Prompt for standard and additional values
112 -debug boolean Write debug output to program.dbg
113 -verbose boolean Report some/full command line options
114 -help boolean Report command line options and exit. More
115 information on associated and general
116 qualifiers can be found with -help -verbose
117 -warning boolean Report warnings
118 -error boolean Report errors
119 -fatal boolean Report fatal errors
120 -die boolean Report dying program messages
121 -version boolean Report version number and exit
122
123 </pre>
124 </td></tr></table>
125 <P>
126 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
127 <tr bgcolor="#FFFFCC">
128 <th align="left">Qualifier</th>
129 <th align="left">Type</th>
130 <th align="left">Description</th>
131 <th align="left">Allowed values</th>
132 <th align="left">Default</th>
133 </tr>
134
135 <tr bgcolor="#FFFFCC">
136 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
137 </tr>
138
139 <tr bgcolor="#FFFFCC">
140 <td>[-directory]<br>(Parameter 1)</td>
141 <td>dirlist</td>
142 <td>Codon usage directories</td>
143 <td>Directory with files</td>
144 <td>.</td>
145 </tr>
146
147 <tr bgcolor="#FFFFCC">
148 <td>[-outfile]<br>(Parameter 2)</td>
149 <td>outfile</td>
150 <td>General log output file</td>
151 <td>Output file</td>
152 <td><i>&lt;*&gt;</i>.cutgextract</td>
153 </tr>
154
155 <tr bgcolor="#FFFFCC">
156 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
157 </tr>
158
159 <tr>
160 <td colspan=5>(none)</td>
161 </tr>
162
163 <tr bgcolor="#FFFFCC">
164 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
165 </tr>
166
167 <tr bgcolor="#FFFFCC">
168 <td>-release</td>
169 <td>string</td>
170 <td>CUTG release</td>
171 <td>Any string</td>
172 <td>&nbsp;</td>
173 </tr>
174
175 <tr bgcolor="#FFFFCC">
176 <td>-wildspec</td>
177 <td>string</td>
178 <td>Type of codon file</td>
179 <td>Any string</td>
180 <td>*.codon</td>
181 </tr>
182
183 <tr bgcolor="#FFFFCC">
184 <td>-species</td>
185 <td>string</td>
186 <td>Species wildcard</td>
187 <td>Any string</td>
188 <td>*</td>
189 </tr>
190
191 <tr bgcolor="#FFFFCC">
192 <td>-allrecords</td>
193 <td>boolean</td>
194 <td>Include all records, including those with warnings</td>
195 <td>Boolean value Yes/No</td>
196 <td>No</td>
197 </tr>
198
199 <tr bgcolor="#FFFFCC">
200 <td>-filename</td>
201 <td>string</td>
202 <td>Single output filename to override automatic one file for each species. Leave blank to generate the filenames. Specify a filename to combine several species into one file.</td>
203 <td>Any string</td>
204 <td>&nbsp;</td>
205 </tr>
206
207 <tr bgcolor="#FFFFCC">
208 <th align="left" colspan=5>Associated qualifiers</th>
209 </tr>
210
211 <tr bgcolor="#FFFFCC">
212 <td align="left" colspan=5>"-directory" associated dirlist qualifiers
213 </td>
214 </tr>
215
216 <tr bgcolor="#FFFFCC">
217 <td> -extension1<br>-extension_directory</td>
218 <td>string</td>
219 <td>Default file extension</td>
220 <td>Any string</td>
221 <td>&nbsp;</td>
222 </tr>
223
224 <tr bgcolor="#FFFFCC">
225 <td align="left" colspan=5>"-outfile" associated outfile qualifiers
226 </td>
227 </tr>
228
229 <tr bgcolor="#FFFFCC">
230 <td> -odirectory2<br>-odirectory_outfile</td>
231 <td>string</td>
232 <td>Output directory</td>
233 <td>Any string</td>
234 <td>&nbsp;</td>
235 </tr>
236
237 <tr bgcolor="#FFFFCC">
238 <th align="left" colspan=5>General qualifiers</th>
239 </tr>
240
241 <tr bgcolor="#FFFFCC">
242 <td> -auto</td>
243 <td>boolean</td>
244 <td>Turn off prompts</td>
245 <td>Boolean value Yes/No</td>
246 <td>N</td>
247 </tr>
248
249 <tr bgcolor="#FFFFCC">
250 <td> -stdout</td>
251 <td>boolean</td>
252 <td>Write first file to standard output</td>
253 <td>Boolean value Yes/No</td>
254 <td>N</td>
255 </tr>
256
257 <tr bgcolor="#FFFFCC">
258 <td> -filter</td>
259 <td>boolean</td>
260 <td>Read first file from standard input, write first file to standard output</td>
261 <td>Boolean value Yes/No</td>
262 <td>N</td>
263 </tr>
264
265 <tr bgcolor="#FFFFCC">
266 <td> -options</td>
267 <td>boolean</td>
268 <td>Prompt for standard and additional values</td>
269 <td>Boolean value Yes/No</td>
270 <td>N</td>
271 </tr>
272
273 <tr bgcolor="#FFFFCC">
274 <td> -debug</td>
275 <td>boolean</td>
276 <td>Write debug output to program.dbg</td>
277 <td>Boolean value Yes/No</td>
278 <td>N</td>
279 </tr>
280
281 <tr bgcolor="#FFFFCC">
282 <td> -verbose</td>
283 <td>boolean</td>
284 <td>Report some/full command line options</td>
285 <td>Boolean value Yes/No</td>
286 <td>Y</td>
287 </tr>
288
289 <tr bgcolor="#FFFFCC">
290 <td> -help</td>
291 <td>boolean</td>
292 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
293 <td>Boolean value Yes/No</td>
294 <td>N</td>
295 </tr>
296
297 <tr bgcolor="#FFFFCC">
298 <td> -warning</td>
299 <td>boolean</td>
300 <td>Report warnings</td>
301 <td>Boolean value Yes/No</td>
302 <td>Y</td>
303 </tr>
304
305 <tr bgcolor="#FFFFCC">
306 <td> -error</td>
307 <td>boolean</td>
308 <td>Report errors</td>
309 <td>Boolean value Yes/No</td>
310 <td>Y</td>
311 </tr>
312
313 <tr bgcolor="#FFFFCC">
314 <td> -fatal</td>
315 <td>boolean</td>
316 <td>Report fatal errors</td>
317 <td>Boolean value Yes/No</td>
318 <td>Y</td>
319 </tr>
320
321 <tr bgcolor="#FFFFCC">
322 <td> -die</td>
323 <td>boolean</td>
324 <td>Report dying program messages</td>
325 <td>Boolean value Yes/No</td>
326 <td>Y</td>
327 </tr>
328
329 <tr bgcolor="#FFFFCC">
330 <td> -version</td>
331 <td>boolean</td>
332 <td>Report version number and exit</td>
333 <td>Boolean value Yes/No</td>
334 <td>N</td>
335 </tr>
336
337 </table>
338
339 <H2>
340 Input file format
341 </H2>
342
343 <H2>
344 Output file format
345 </H2>
346
347 <p><b>cutgextract</b> writes a set of EMBOSS codon usage data files to the EMBOSS data/CODONS data directory.</p>
348
349 <p>
350
351 <a name="output.1"></a>
352 <h3>Output files for usage example </h3>
353 <p><h3>Directory: CODONS</h3>
354 <p>This directory contains output files.
355 <p>
356 <p><h3>File: outfile.cutgextract</h3>
357 <table width="90%"><tr><td bgcolor="#CCFFCC">
358 <pre>
359 Writing EAphrodite_aculeata.cut CDS: 1
360 Writing EAnadara_trapezia.cut CDS: 2
361 Writing EAcanthocheilonema_viteae.cut CDS: 2
362 Writing EAedes_aegypti.cut CDS: 23
363 Writing EDictyostelium_discoideum.cut CDS: 7
364 Writing EAmblyomma_americanum.cut CDS: 2
365 Writing EAedes_atropalpus.cut CDS: 1
366 Writing EAedes_albopictus.cut CDS: 2
367 Writing EAstacus_astacus.cut CDS: 3
368 </pre>
369 </td></tr></table><p>
370
371
372 <H2>
373 Data files
374 </H2>
375
376 None
377
378 <H2>
379 Notes
380 </H2>
381
382 <p>The EMBOSS distribution includes a set of codon usage tables calculated from the files listed in <a href="ftp://ftp.ebi.ac.uk/pub/databases/codonusage/README">ftp://ftp.ebi.ac.uk/pub/databases/codonusage/README</a>), with a few additions whose exact derivation cannot easily be determined. Many people would prefer to create their own from the public CUTG data. The CUTG database can be downloaded from <a href="ftp://ftp.ebi.ac.uk/pub/databases/cutg">ftp://ftp.ebi.ac.uk/pub/databases/cutg</a>.</p>
383
384 <p>If you run <b>cutgextract</b> on the CUTG database from <a href="ftp://ftp.ebi.ac.uk/pub/databases/cutg">ftp://ftp.ebi.ac.uk/pub/databases/cutg</a> all of the *.codon files included in the database will be processed. You may need to uncompress these files (<tt>*.codon</tt>) before running <b>cutgextract</b> on them.</p>
385
386 <p><b>cutgextract</b> would normally be used once when the EMBOSS package is installled, or when a new version of the CUTG database is released.</p>
387 <p>CUTG has a drawback: it has a table for each organism without making the distinction between different gene populations.</p>
388
389 <H2>
390 References
391 </H2>
392
393 None.
394
395 <H2>
396 Warnings
397 </H2>
398
399 None.
400
401 <H2>
402 Diagnostic Error Messages
403 </H2>
404
405 None.
406
407 <H2>
408 Exit status
409 </H2>
410
411 It always exits with status 0.
412
413 <H2>
414 Known bugs
415 </H2>
416
417 None.
418
419 <h2><a name="See also">See also</a></h2>
420 <table border cellpadding=4 bgcolor="#FFFFF0">
421 <tr><th>Program name</th>
422 <th>Description</th></tr>
423 <tr>
424 <td><a href="aaindexextract.html">aaindexextract</a></td>
425 <td>Extract amino acid property data from AAINDEX</td>
426 </tr>
427
428 <tr>
429 <td><a href="jaspextract.html">jaspextract</a></td>
430 <td>Extract data from JASPAR</td>
431 </tr>
432
433 <tr>
434 <td><a href="printsextract.html">printsextract</a></td>
435 <td>Extract data from PRINTS database for use by pscan</td>
436 </tr>
437
438 <tr>
439 <td><a href="prosextract.html">prosextract</a></td>
440 <td>Process the PROSITE motif database for use by patmatmotifs</td>
441 </tr>
442
443 <tr>
444 <td><a href="rebaseextract.html">rebaseextract</a></td>
445 <td>Process the REBASE database for use by restriction enzyme applications</td>
446 </tr>
447
448 <tr>
449 <td><a href="tfextract.html">tfextract</a></td>
450 <td>Process TRANSFAC transcription factor database for use by tfscan</td>
451 </tr>
452
453 </table>
454
455 <H2>
456 Author(s)
457 </H2>
458
459 Alan Bleasby
460 <br>
461 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
462
463 <p>
464 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
465
466 <H2>
467 History
468 </H2>
469
470 Written (June 2001) - Alan Bleasby.
471
472 <H2>
473 Target users
474 </H2>
475 This program is intended to be used by administrators responsible
476 for software and database installation and maintenance.
477
478 <H2>
479 Comments
480 </H2>
481 None
482
483
484 </BODY>
485 </HTML>