Debian Codegraph @

doc/programs/html/codcopy.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: codcopy
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 codcopy
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 Copy and reformat a codon usage table
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 <p><b>codcopy</b> reads and writes a codon usage table. Rather than a
52 copy utility, it is intended as a format conversion utility so that
53 codon usage data can be exported to other applications that support
54 only a single format. This program supports all available codon usage
55 input and output formats. </p>
56
57
58
59 <H2>
60 Usage
61 </H2>
62
63 <!--
64 Example usage, as run from the command-line.
65 Many examples illustrating different behaviours is good.
66 -->
67
68 Here is a sample session with <b>codcopy</b>
69 <p>
70
71 <p>
72 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
73
74 % <b>codcopy </b>
75 Copy and reformat a codon usage table
76 Codon usage file: <b>Eecoli.cut</b>
77 Codon usage output file [eecoli.cut]: <b></b>
78
79 </pre></td></tr></table><p>
80 <p>
81 <a href="#output.1">Go to the output files for this example</a><p><p>
82
83
84
85 <H2>
86 Command line arguments
87 </H2>
88
89 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
90 <pre>
91 Copy and reformat a codon usage table
92 Version: EMBOSS:6.6.0.0
93
94 Standard (Mandatory) qualifiers:
95 [-infile] codon Codon usage table name
96 [-outfile] outcodon Codon usage table name
97
98 Additional (Optional) qualifiers: (none)
99 Advanced (Unprompted) qualifiers: (none)
100 Associated qualifiers:
101
102 "-infile" associated qualifiers
103 -format1 string Data format
104
105 "-outfile" associated qualifiers
106 -odirectory2 string Output directory
107 -oformat2 string Output format specific to this data type
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>[-infile]<br>(Parameter 1)</td>
144 <td>codon</td>
145 <td>Codon usage table name</td>
146 <td>Codon usage file in EMBOSS data path</td>
147 <td>&nbsp;</td>
148 </tr>
149
150 <tr bgcolor="#FFFFCC">
151 <td>[-outfile]<br>(Parameter 2)</td>
152 <td>outcodon</td>
153 <td>Codon usage table name</td>
154 <td>Codon usage file</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>"-infile" associated codon qualifiers
180 </td>
181 </tr>
182
183 <tr bgcolor="#FFFFCC">
184 <td> -format1<br>-format_infile</td>
185 <td>string</td>
186 <td>Data format</td>
187 <td>Any string</td>
188 <td>&nbsp;</td>
189 </tr>
190
191 <tr bgcolor="#FFFFCC">
192 <td align="left" colspan=5>"-outfile" associated outcodon qualifiers
193 </td>
194 </tr>
195
196 <tr bgcolor="#FFFFCC">
197 <td> -odirectory2<br>-odirectory_outfile</td>
198 <td>string</td>
199 <td>Output directory</td>
200 <td>Any string</td>
201 <td>&nbsp;</td>
202 </tr>
203
204 <tr bgcolor="#FFFFCC">
205 <td> -oformat2<br>-oformat_outfile</td>
206 <td>string</td>
207 <td>Output format specific to this data type</td>
208 <td>Any string</td>
209 <td>&nbsp;</td>
210 </tr>
211
212 <tr bgcolor="#FFFFCC">
213 <th align="left" colspan=5>General qualifiers</th>
214 </tr>
215
216 <tr bgcolor="#FFFFCC">
217 <td> -auto</td>
218 <td>boolean</td>
219 <td>Turn off prompts</td>
220 <td>Boolean value Yes/No</td>
221 <td>N</td>
222 </tr>
223
224 <tr bgcolor="#FFFFCC">
225 <td> -stdout</td>
226 <td>boolean</td>
227 <td>Write first file to standard output</td>
228 <td>Boolean value Yes/No</td>
229 <td>N</td>
230 </tr>
231
232 <tr bgcolor="#FFFFCC">
233 <td> -filter</td>
234 <td>boolean</td>
235 <td>Read first file from standard input, write first file to standard output</td>
236 <td>Boolean value Yes/No</td>
237 <td>N</td>
238 </tr>
239
240 <tr bgcolor="#FFFFCC">
241 <td> -options</td>
242 <td>boolean</td>
243 <td>Prompt for standard and additional values</td>
244 <td>Boolean value Yes/No</td>
245 <td>N</td>
246 </tr>
247
248 <tr bgcolor="#FFFFCC">
249 <td> -debug</td>
250 <td>boolean</td>
251 <td>Write debug output to program.dbg</td>
252 <td>Boolean value Yes/No</td>
253 <td>N</td>
254 </tr>
255
256 <tr bgcolor="#FFFFCC">
257 <td> -verbose</td>
258 <td>boolean</td>
259 <td>Report some/full command line options</td>
260 <td>Boolean value Yes/No</td>
261 <td>Y</td>
262 </tr>
263
264 <tr bgcolor="#FFFFCC">
265 <td> -help</td>
266 <td>boolean</td>
267 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
268 <td>Boolean value Yes/No</td>
269 <td>N</td>
270 </tr>
271
272 <tr bgcolor="#FFFFCC">
273 <td> -warning</td>
274 <td>boolean</td>
275 <td>Report warnings</td>
276 <td>Boolean value Yes/No</td>
277 <td>Y</td>
278 </tr>
279
280 <tr bgcolor="#FFFFCC">
281 <td> -error</td>
282 <td>boolean</td>
283 <td>Report errors</td>
284 <td>Boolean value Yes/No</td>
285 <td>Y</td>
286 </tr>
287
288 <tr bgcolor="#FFFFCC">
289 <td> -fatal</td>
290 <td>boolean</td>
291 <td>Report fatal errors</td>
292 <td>Boolean value Yes/No</td>
293 <td>Y</td>
294 </tr>
295
296 <tr bgcolor="#FFFFCC">
297 <td> -die</td>
298 <td>boolean</td>
299 <td>Report dying program messages</td>
300 <td>Boolean value Yes/No</td>
301 <td>Y</td>
302 </tr>
303
304 <tr bgcolor="#FFFFCC">
305 <td> -version</td>
306 <td>boolean</td>
307 <td>Report version number and exit</td>
308 <td>Boolean value Yes/No</td>
309 <td>N</td>
310 </tr>
311
312 </table>
313
314 <!--
315 DON'T WRITE ANYTHING HERE.
316 IT IS DONE FOR YOU.
317 -->
318
319
320
321
322
323
324
325
326 <H2>
327 Input file format
328 </H2>
329
330 <!--
331 This includes example input file formats.
332 This should be a detailed description and example - assume
333 someone will want to parse this file and will want to know what
334 happens in unusual cases - null input, etc.
335 -->
336
337 <b>codcopy</b> reads a codon usage file.
338
339 <p>
340
341
342
343
344
345
346 <H2>
347 Output file format
348 </H2>
349
350
351 <b>codcopy</b>
352 writes a codon usage table. The user can choose any supported
353 output format.
354
355 ,p>
356 See the full specification of codon tabel formats at:
357 <br>
358 <a href="http://emboss.sourceforge.net/docs/themes/CodonUsage.html">
359 http://emboss.sourceforge.net/docs/themes/CodonUsage.html
360 </a>
361
362
363 <p>
364
365
366 <a name="output.1"></a>
367 <h3>Output files for usage example </h3>
368 <p><h3>File: eecoli.cut</h3>
369 <table width="90%"><tr><td bgcolor="#CCFFCC">
370 <pre>
371 #Species: Escherichia coli K12
372 #Division: gbbct
373 #Release: CUTG146
374 #CdsCount: 5045
375
376 #Coding GC 51.81%
377 #1st letter GC 58.93%
378 #2nd letter GC 40.69%
379 #3rd letter GC 55.80%
380
381 #Codon AA Fraction Frequency Number
382 GCA A 0.214 20.299 32456
383 GCC A 0.269 25.493 40761
384 GCG A 0.355 33.631 53773
385 GCT A 0.162 15.354 24549
386 TGC C 0.554 6.431 10283
387 TGT C 0.446 5.180 8282
388 GAC D 0.372 19.047 30454
389 GAT D 0.628 32.219 51514
390 GAA E 0.690 39.570 63268
391 GAG E 0.310 17.782 28431
392 TTC F 0.425 16.580 26510
393 TTT F 0.575 22.423 35852
394 GGA G 0.108 7.925 12671
395 GGC G 0.402 29.403 47013
396 GGG G 0.150 10.994 17578
397 GGT G 0.340 24.838 39714
398 CAC H 0.429 9.712 15529
399 CAT H 0.571 12.903 20630
400 ATA I 0.072 4.290 6860
401 ATC I 0.419 24.999 39971
402 ATT I 0.510 30.427 48649
403 AAA K 0.767 33.618 53752
404 AAG K 0.233 10.198 16305
405 CTA L 0.036 3.860 6172
406 CTC L 0.104 11.045 17660
407 CTG L 0.496 52.821 84455
408 CTT L 0.104 11.051 17670
409 TTA L 0.131 13.913 22246
410 TTG L 0.129 13.727 21948
411 ATG M 1.000 27.778 44414
412 AAC N 0.551 21.611 34554
413 AAT N 0.449 17.633 28193
414 CCA P 0.192 8.524 13629
415 CCC P 0.125 5.531 8843
416 CCG P 0.524 23.235 37150
417 CCT P 0.159 7.045 11265
418 CAA Q 0.349 15.474 24742
419 CAG Q 0.651 28.832 46100
420 AGA R 0.037 2.056 3287
421 AGG R 0.022 1.216 1944
422 CGA R 0.064 3.542 5663
423 CGC R 0.398 22.005 35184
424 CGG R 0.098 5.391 8619
425 CGT R 0.381 21.020 33609
426 AGC S 0.277 16.031 25632
427 AGT S 0.151 8.723 13947
428 TCA S 0.123 7.137 11411
429 TCC S 0.148 8.591 13736
430 TCG S 0.154 8.916 14256
431 TCT S 0.147 8.507 13601
432 ACA T 0.131 7.035 11248
433 ACC T 0.435 23.362 37354
434 ACG T 0.268 14.371 22977
435 ACT T 0.166 8.922 14265
436 GTA V 0.154 10.883 17400
437 GTC V 0.215 15.221 24336
438 GTG V 0.371 26.253 41976
439 GTT V 0.260 18.394 29410
440 TGG W 1.000 15.303 24468
441 TAC Y 0.429 12.243 19576
442 TAT Y 0.571 16.326 26103
443 TAA * 0.642 2.025 3237
444 TAG * 0.072 0.228 365
445 TGA * 0.286 0.902 1443
446 </pre>
447 </td></tr></table><p>
448
449
450
451
452
453 <H2>
454 Data files
455 </H2>
456
457 None
458
459 <H2>
460 Notes
461 </H2>
462
463 <!--
464 Restrictions.
465 Interesting behaviour.
466 Useful things you can do with this program.
467 -->
468
469 None.
470
471
472
473
474
475
476
477 <H2>
478 References
479 </H2>
480
481 <!--
482 Bibliography for methods used.
483 <ol>
484
485 <li>
486
487 </ol>
488
489 -->
490
491 None.
492
493
494
495
496
497
498
499
500 <H2>
501 Warnings
502 </H2>
503
504 <!--
505 Potentially stupid things the program will let you do.
506 -->
507
508 None.
509
510
511
512
513
514
515
516 <H2>
517 Diagnostic Error Messages
518 </H2>
519
520 <!--
521 Error messages specific to this program, eg:
522 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
523 -->
524
525 None.
526
527
528
529
530
531
532
533 <H2>
534 Exit status
535 </H2>
536
537 <!--
538 Description of the exit status for various error conditions
539 -->
540
541 It always exits with status 0.
542
543
544
545
546
547
548
549
550 <H2>
551 Known bugs
552 </H2>
553
554
555 <!--
556 Bugs noted but not yet fixed.
557 -->
558
559 None.
560
561
562
563
564
565
566
567
568 <!--
569 <H2>
570 See also
571 </H2>
572 -->
573 <h2><a name="See also">See also</a></h2>
574 <table border cellpadding=4 bgcolor="#FFFFF0">
575 <tr><th>Program name</th>
576 <th>Description</th></tr>
577 <tr>
578 <td><a href="aligncopy.html">aligncopy</a></td>
579 <td>Read and write alignments</td>
580 </tr>
581
582 <tr>
583 <td><a href="aligncopypair.html">aligncopypair</a></td>
584 <td>Read and write pairs from alignments</td>
585 </tr>
586
587 <tr>
588 <td><a href="biosed.html">biosed</a></td>
589 <td>Replace or delete sequence sections</td>
590 </tr>
591
592 <tr>
593 <td><a href="cai.html">cai</a></td>
594 <td>Calculate codon adaptation index</td>
595 </tr>
596
597 <tr>
598 <td><a href="chips.html">chips</a></td>
599 <td>Calculate Nc codon usage statistic</td>
600 </tr>
601
602 <tr>
603 <td><a href="codcmp.html">codcmp</a></td>
604 <td>Codon usage table comparison</td>
605 </tr>
606
607 <tr>
608 <td><a href="cusp.html">cusp</a></td>
609 <td>Create a codon usage table from nucleotide sequence(s)</td>
610 </tr>
611
612 <tr>
613 <td><a href="cutseq.html">cutseq</a></td>
614 <td>Remove a section from a sequence</td>
615 </tr>
616
617 <tr>
618 <td><a href="degapseq.html">degapseq</a></td>
619 <td>Remove non-alphabetic (e.g. gap) characters from sequences</td>
620 </tr>
621
622 <tr>
623 <td><a href="descseq.html">descseq</a></td>
624 <td>Alter the name or description of a sequence</td>
625 </tr>
626
627 <tr>
628 <td><a href="entret.html">entret</a></td>
629 <td>Retrieve sequence entries from flatfile databases and files</td>
630 </tr>
631
632 <tr>
633 <td><a href="extractalign.html">extractalign</a></td>
634 <td>Extract regions from a sequence alignment</td>
635 </tr>
636
637 <tr>
638 <td><a href="extractfeat.html">extractfeat</a></td>
639 <td>Extract features from sequence(s)</td>
640 </tr>
641
642 <tr>
643 <td><a href="extractseq.html">extractseq</a></td>
644 <td>Extract regions from a sequence</td>
645 </tr>
646
647 <tr>
648 <td><a href="featcopy.html">featcopy</a></td>
649 <td>Read and write a feature table</td>
650 </tr>
651
652 <tr>
653 <td><a href="featmerge.html">featmerge</a></td>
654 <td>Merge two overlapping feature tables</td>
655 </tr>
656
657 <tr>
658 <td><a href="featreport.html">featreport</a></td>
659 <td>Read and write a feature table</td>
660 </tr>
661
662 <tr>
663 <td><a href="feattext.html">feattext</a></td>
664 <td>Return a feature table original text</td>
665 </tr>
666
667 <tr>
668 <td><a href="listor.html">listor</a></td>
669 <td>Write a list file of the logical OR of two sets of sequences</td>
670 </tr>
671
672 <tr>
673 <td><a href="makenucseq.html">makenucseq</a></td>
674 <td>Create random nucleotide sequences</td>
675 </tr>
676
677 <tr>
678 <td><a href="makeprotseq.html">makeprotseq</a></td>
679 <td>Create random protein sequences</td>
680 </tr>
681
682 <tr>
683 <td><a href="maskambignuc.html">maskambignuc</a></td>
684 <td>Mask all ambiguity characters in nucleotide sequences with N</td>
685 </tr>
686
687 <tr>
688 <td><a href="maskambigprot.html">maskambigprot</a></td>
689 <td>Mask all ambiguity characters in protein sequences with X</td>
690 </tr>
691
692 <tr>
693 <td><a href="maskfeat.html">maskfeat</a></td>
694 <td>Write a sequence with masked features</td>
695 </tr>
696
697 <tr>
698 <td><a href="maskseq.html">maskseq</a></td>
699 <td>Write a sequence with masked regions</td>
700 </tr>
701
702 <tr>
703 <td><a href="newseq.html">newseq</a></td>
704 <td>Create a sequence file from a typed-in sequence</td>
705 </tr>
706
707 <tr>
708 <td><a href="nohtml.html">nohtml</a></td>
709 <td>Remove mark-up (e.g. HTML tags) from an ASCII text file</td>
710 </tr>
711
712 <tr>
713 <td><a href="noreturn.html">noreturn</a></td>
714 <td>Remove carriage return from ASCII files</td>
715 </tr>
716
717 <tr>
718 <td><a href="nospace.html">nospace</a></td>
719 <td>Remove whitespace from an ASCII text file</td>
720 </tr>
721
722 <tr>
723 <td><a href="notab.html">notab</a></td>
724 <td>Replace tabs with spaces in an ASCII text file</td>
725 </tr>
726
727 <tr>
728 <td><a href="notseq.html">notseq</a></td>
729 <td>Write to file a subset of an input stream of sequences</td>
730 </tr>
731
732 <tr>
733 <td><a href="nthseq.html">nthseq</a></td>
734 <td>Write to file a single sequence from an input stream of sequences</td>
735 </tr>
736
737 <tr>
738 <td><a href="nthseqset.html">nthseqset</a></td>
739 <td>Read and write (return) one set of sequences from many</td>
740 </tr>
741
742 <tr>
743 <td><a href="pasteseq.html">pasteseq</a></td>
744 <td>Insert one sequence into another</td>
745 </tr>
746
747 <tr>
748 <td><a href="revseq.html">revseq</a></td>
749 <td>Reverse and complement a nucleotide sequence</td>
750 </tr>
751
752 <tr>
753 <td><a href="seqcount.html">seqcount</a></td>
754 <td>Read and count sequences</td>
755 </tr>
756
757 <tr>
758 <td><a href="seqret.html">seqret</a></td>
759 <td>Read and write (return) sequences</td>
760 </tr>
761
762 <tr>
763 <td><a href="seqretsetall.html">seqretsetall</a></td>
764 <td>Read and write (return) many sets of sequences</td>
765 </tr>
766
767 <tr>
768 <td><a href="seqretsplit.html">seqretsplit</a></td>
769 <td>Read sequences and write them to individual files</td>
770 </tr>
771
772 <tr>
773 <td><a href="sizeseq.html">sizeseq</a></td>
774 <td>Sort sequences by size</td>
775 </tr>
776
777 <tr>
778 <td><a href="skipredundant.html">skipredundant</a></td>
779 <td>Remove redundant sequences from an input set</td>
780 </tr>
781
782 <tr>
783 <td><a href="skipseq.html">skipseq</a></td>
784 <td>Read and write (return) sequences, skipping first few</td>
785 </tr>
786
787 <tr>
788 <td><a href="splitsource.html">splitsource</a></td>
789 <td>Split sequence(s) into original source sequences</td>
790 </tr>
791
792 <tr>
793 <td><a href="splitter.html">splitter</a></td>
794 <td>Split sequence(s) into smaller sequences</td>
795 </tr>
796
797 <tr>
798 <td><a href="syco.html">syco</a></td>
799 <td>Draw synonymous codon usage statistic plot for a nucleotide sequence</td>
800 </tr>
801
802 <tr>
803 <td><a href="trimest.html">trimest</a></td>
804 <td>Remove poly-A tails from nucleotide sequences</td>
805 </tr>
806
807 <tr>
808 <td><a href="trimseq.html">trimseq</a></td>
809 <td>Remove unwanted characters from start and end of sequence(s)</td>
810 </tr>
811
812 <tr>
813 <td><a href="trimspace.html">trimspace</a></td>
814 <td>Remove extra whitespace from an ASCII text file</td>
815 </tr>
816
817 <tr>
818 <td><a href="union.html">union</a></td>
819 <td>Concatenate multiple sequences into a single sequence</td>
820 </tr>
821
822 <tr>
823 <td><a href="vectorstrip.html">vectorstrip</a></td>
824 <td>Remove vectors from the ends of nucleotide sequence(s)</td>
825 </tr>
826
827 <tr>
828 <td><a href="yank.html">yank</a></td>
829 <td>Add a sequence reference (a full USA) to a list file</td>
830 </tr>
831
832 </table>
833 <!--
834 Add any comments about other associated programs (to prepare
835 data files?) that seealso doesn't find.
836 -->
837
838
839
840
841
842
843
844
845
846
847 <H2>
848 Author(s)
849 </H2>
850 Peter Rice
851 <br>
852 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
853
854 <p>
855 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
856
857
858
859
860 <H2>
861 History
862 </H2>
863 <!--
864 Date written and what changes have been made go in this file.
865 -->
866
867
868
869
870 <H2>
871 Target users
872 </H2>
873 <!--
874 For general users, use this text
875 -->
876 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
877
878 <H2>
879 Comments
880 </H2>
881 <!--
882 User/developer/other comments go in this file.
883 -->
884 None
885
886
887 </BODY>
888 </HTML>
889