Debian Codegraph @

doc/programs/html/tcode.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: tcode
5 </TITLE>
6 </HEAD>
7 <BODY BGCOLOR="#FFFFFF" text="#000000">
8 <table align=center border=0 cellspacing=0 cellpadding=0>
9 <tr><td valign=top>
10 <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>
11 </td>
12 <td align=left valign=middle>
13 <b><font size="+6">
14 tcode
15 </font></b>
16 </td></tr>
17 </table>
18 <br>&nbsp;
19 <p>
20
21
22 <H2>
23 Wiki
24 </H2>
25
26 The master copies of EMBOSS documentation are available
27 at <a href="http://emboss.open-bio.org/wiki/Appdocs">
28 http://emboss.open-bio.org/wiki/Appdocs</a>
29 on the EMBOSS Wiki.
30
31 <p>
32 Please help by correcting and extending the Wiki pages.
33
34 <H2>
35 Function
36 </H2>
37 Identify protein-coding regions using Fickett TESTCODE statistic
38 <H2>
39 Description
40 </H2>
41
42 <p><b>tcode</b> identifies protein-coding regions in one or more DNA sequences using the fickett TESTCODE statistic. This is based on simple and universal differences between protein-coding and noncoding DNA. The TESTCODE statistic is calculated for windows of a specified size over each input sequence. The results can be output as a standard EMBOSS report file or displayed graphically.</p>
43
44 <p>The output reports each window as "Coding", "Noncoding" or "No opinion". Entries marked "No opinion" have a TESTCODE value that falls between the maximum and minimum values required to report a region as noncoding or coding. For the graphical plot, all points above a green horizontal line are determined to be coding regions. Those below a red line are determined to be noncoding. Points between the red and green lines are "no opinion" ones.</p>
45
46
47
48 <H2>
49 Biological Relevance
50 </H2>
51
52 The statistic reflects the fact that codons are used with unequal
53 frequency and that oligonucleotides and nucleotides tend to be
54 repeated with a periodicity of three.
55
56 <p>
57
58 This application can assist in determining the probability of a region of
59 nucleic sequence encoding a functional protein.
60
61 <H2>
62 Algorithm
63 </H2>
64
65 The Fickett (1982) algorithm is used (1).
66
67 <p>
68
69 A window of at least 200 bases is moved over the sequence in steps of 3 bases
70
71 <p>
72
73 Let:
74
75 <p>
76
77 <pre>
78 A1 = Number of A's in positions 1,4,7 ...
79 A2 = Number of A's in positions 2,5,8 ...
80 A3 = Number of A's in positions 3,6,9 ...
81 </pre>
82
83 <p>
84
85 A position value is determined that reflects the degree to which
86 each base is favoured in one codon position over another, i.e.
87
88 <p>
89
90 <pre>
91 Apos = MAX(A1,A2,A3) / MIN(A1,A2,A3)+1
92 </pre>
93
94 <p>
95
96 This is done for all 4 bases. The percentage composition of each base
97 is also determined. Eight values are therefore determined, four
98 position values and four composition values. These are then converted
99 to probabilities (p) of coding using a look-up table provided as the data
100 file for the program. The values in this look-up table have been
101 determined experimentally using known coding and noncoding sequences.
102
103 <p>
104
105 Each of the probabilities is multiplied by a weight (w) value
106 (again from the look-up table) for the respective base. The weight value
107 reflects the percentage of the time that each parameter alone successfully
108 predicted coding or noncoding function for the sequences of known function.
109
110 <p>
111
112 The TESTCODE statistic is then:
113
114 <p>
115
116 <pre>
117 p1w1 + p2w2 + p3w3 + p4w4 + p5w5 + p6w6 + p7w7 + p8w8
118 </pre>
119
120 <p>
121
122 A result of less than 0.74 is probably a non-coding region.
123
124 <br>
125
126 A result equal or greater than 0.95 is probably a coding region.
127
128 <br>
129
130 Anything in between these two values is uncertain.
131
132
133 <H2>
134 Usage
135 </H2>
136 Here is a sample session with <b>tcode</b>
137 <p>
138
139 <p>
140 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
141
142 % <b>tcode </b>
143 Identify protein-coding regions using Fickett TESTCODE statistic
144 Input nucleotide sequence(s): <b>tembl:x65921</b>
145 Length of sliding window [200]: <b></b>
146 Output report [x65921.tcode]: <b></b>
147
148 </pre></td></tr></table><p>
149 <p>
150 <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>
151 <p>
152 <b>Example 2</b>
153 <p>
154 Produce a graphical plot
155 <p>
156
157 <p>
158 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
159
160 % <b>tcode -plot -graph cps </b>
161 Identify protein-coding regions using Fickett TESTCODE statistic
162 Input nucleotide sequence(s): <b>tembl:x65921</b>
163 Length of sliding window [200]: <b></b>
164
165 Created tcode.ps
166
167 </pre></td></tr></table><p>
168 <p>
169 <a href="#output.2">Go to the output files for this example</a><p><p>
170
171
172
173 <H2>
174 Command line arguments
175 </H2>
176
177 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
178 <pre>
179 Identify protein-coding regions using Fickett TESTCODE statistic
180 Version: EMBOSS:6.6.0.0
181
182 Standard (Mandatory) qualifiers (* if not always prompted):
183 [-sequence] seqall Nucleotide sequence(s) filename and optional
184 format, or reference (input USA)
185 -window integer [200] This is the number of nucleotide bases
186 over which the TESTCODE statistic will be
187 performed each time. The window will then
188 slide along the sequence, covering the same
189 number of bases each time. (Integer 200 or
190 more)
191 * -outfile report [*.tcode] Output report file name (default
192 -rformat table)
193 * -graph xygraph [$EMBOSS_GRAPHICS value, or x11] Graph type
194 (ps, hpgl, hp7470, hp7580, meta, cps, x11,
195 tek, tekt, none, data, xterm, png, gif, pdf,
196 svg)
197
198 Additional (Optional) qualifiers: (none)
199 Advanced (Unprompted) qualifiers:
200 -datafile datafile [Etcode.dat] The default data file is
201 Etcode.dat and contains coding probabilities
202 for each base. The probabilities are for
203 both positional and compositional
204 information.
205 -step integer [3] The selected window will, by default,
206 slide along the nucleotide sequence by three
207 bases at a time, retaining the frame
208 (although the algorithm is not frame
209 sensitive). This may be altered to increase
210 or decrease the increment of the slide.
211 (Integer 1 or more)
212 -plot toggle [N] On selection a graph of the sequence (X
213 axis) plotted against the coding score (Y
214 axis) will be displayed. Sequence above the
215 green line is coding, that below the red
216 line is non-coding.
217
218 Associated qualifiers:
219
220 "-sequence" associated qualifiers
221 -sbegin1 integer Start of each sequence to be used
222 -send1 integer End of each sequence to be used
223 -sreverse1 boolean Reverse (if DNA)
224 -sask1 boolean Ask for begin/end/reverse
225 -snucleotide1 boolean Sequence is nucleotide
226 -sprotein1 boolean Sequence is protein
227 -slower1 boolean Make lower case
228 -supper1 boolean Make upper case
229 -scircular1 boolean Sequence is circular
230 -squick1 boolean Read id and sequence only
231 -sformat1 string Input sequence format
232 -iquery1 string Input query fields or ID list
233 -ioffset1 integer Input start position offset
234 -sdbname1 string Database name
235 -sid1 string Entryname
236 -ufo1 string UFO features
237 -fformat1 string Features format
238 -fopenfile1 string Features file name
239
240 "-outfile" associated qualifiers
241 -rformat string Report format
242 -rname string Base file name
243 -rextension string File name extension
244 -rdirectory string Output directory
245 -raccshow boolean Show accession number in the report
246 -rdesshow boolean Show description in the report
247 -rscoreshow boolean Show the score in the report
248 -rstrandshow boolean Show the nucleotide strand in the report
249 -rusashow boolean Show the full USA in the report
250 -rmaxall integer Maximum total hits to report
251 -rmaxseq integer Maximum hits to report for one sequence
252
253 "-graph" associated qualifiers
254 -gprompt boolean Graph prompting
255 -gdesc string Graph description
256 -gtitle string Graph title
257 -gsubtitle string Graph subtitle
258 -gxtitle string Graph x axis title
259 -gytitle string Graph y axis title
260 -goutfile string Output file for non interactive displays
261 -gdirectory string Output directory
262
263 General qualifiers:
264 -auto boolean Turn off prompts
265 -stdout boolean Write first file to standard output
266 -filter boolean Read first file from standard input, write
267 first file to standard output
268 -options boolean Prompt for standard and additional values
269 -debug boolean Write debug output to program.dbg
270 -verbose boolean Report some/full command line options
271 -help boolean Report command line options and exit. More
272 information on associated and general
273 qualifiers can be found with -help -verbose
274 -warning boolean Report warnings
275 -error boolean Report errors
276 -fatal boolean Report fatal errors
277 -die boolean Report dying program messages
278 -version boolean Report version number and exit
279
280 </pre>
281 </td></tr></table>
282 <P>
283 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
284 <tr bgcolor="#FFFFCC">
285 <th align="left">Qualifier</th>
286 <th align="left">Type</th>
287 <th align="left">Description</th>
288 <th align="left">Allowed values</th>
289 <th align="left">Default</th>
290 </tr>
291
292 <tr bgcolor="#FFFFCC">
293 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
294 </tr>
295
296 <tr bgcolor="#FFFFCC">
297 <td>[-sequence]<br>(Parameter 1)</td>
298 <td>seqall</td>
299 <td>Nucleotide sequence(s) filename and optional format, or reference (input USA)</td>
300 <td>Readable sequence(s)</td>
301 <td><b>Required</b></td>
302 </tr>
303
304 <tr bgcolor="#FFFFCC">
305 <td>-window</td>
306 <td>integer</td>
307 <td>This is the number of nucleotide bases over which the TESTCODE statistic will be performed each time. The window will then slide along the sequence, covering the same number of bases each time.</td>
308 <td>Integer 200 or more</td>
309 <td>200</td>
310 </tr>
311
312 <tr bgcolor="#FFFFCC">
313 <td>-outfile</td>
314 <td>report</td>
315 <td>Output report file name</td>
316 <td>(default -rformat table)</td>
317 <td><i>&lt;*&gt;</i>.tcode</td>
318 </tr>
319
320 <tr bgcolor="#FFFFCC">
321 <td>-graph</td>
322 <td>xygraph</td>
323 <td>Graph type</td>
324 <td>EMBOSS has a list of known devices, including ps, hpgl, hp7470, hp7580, meta, cps, x11, tek, tekt, none, data, xterm, png, gif, pdf, svg</td>
325 <td><i>EMBOSS_GRAPHICS</i> value, or x11</td>
326 </tr>
327
328 <tr bgcolor="#FFFFCC">
329 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
330 </tr>
331
332 <tr>
333 <td colspan=5>(none)</td>
334 </tr>
335
336 <tr bgcolor="#FFFFCC">
337 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
338 </tr>
339
340 <tr bgcolor="#FFFFCC">
341 <td>-datafile</td>
342 <td>datafile</td>
343 <td>The default data file is Etcode.dat and contains coding probabilities for each base. The probabilities are for both positional and compositional information.</td>
344 <td>Data file</td>
345 <td>Etcode.dat</td>
346 </tr>
347
348 <tr bgcolor="#FFFFCC">
349 <td>-step</td>
350 <td>integer</td>
351 <td>The selected window will, by default, slide along the nucleotide sequence by three bases at a time, retaining the frame (although the algorithm is not frame sensitive). This may be altered to increase or decrease the increment of the slide.</td>
352 <td>Integer 1 or more</td>
353 <td>3</td>
354 </tr>
355
356 <tr bgcolor="#FFFFCC">
357 <td>-plot</td>
358 <td>toggle</td>
359 <td>On selection a graph of the sequence (X axis) plotted against the coding score (Y axis) will be displayed. Sequence above the green line is coding, that below the red line is non-coding.</td>
360 <td>Toggle value Yes/No</td>
361 <td>No</td>
362 </tr>
363
364 <tr bgcolor="#FFFFCC">
365 <th align="left" colspan=5>Associated qualifiers</th>
366 </tr>
367
368 <tr bgcolor="#FFFFCC">
369 <td align="left" colspan=5>"-sequence" associated seqall qualifiers
370 </td>
371 </tr>
372
373 <tr bgcolor="#FFFFCC">
374 <td> -sbegin1<br>-sbegin_sequence</td>
375 <td>integer</td>
376 <td>Start of each sequence to be used</td>
377 <td>Any integer value</td>
378 <td>0</td>
379 </tr>
380
381 <tr bgcolor="#FFFFCC">
382 <td> -send1<br>-send_sequence</td>
383 <td>integer</td>
384 <td>End of each sequence to be used</td>
385 <td>Any integer value</td>
386 <td>0</td>
387 </tr>
388
389 <tr bgcolor="#FFFFCC">
390 <td> -sreverse1<br>-sreverse_sequence</td>
391 <td>boolean</td>
392 <td>Reverse (if DNA)</td>
393 <td>Boolean value Yes/No</td>
394 <td>N</td>
395 </tr>
396
397 <tr bgcolor="#FFFFCC">
398 <td> -sask1<br>-sask_sequence</td>
399 <td>boolean</td>
400 <td>Ask for begin/end/reverse</td>
401 <td>Boolean value Yes/No</td>
402 <td>N</td>
403 </tr>
404
405 <tr bgcolor="#FFFFCC">
406 <td> -snucleotide1<br>-snucleotide_sequence</td>
407 <td>boolean</td>
408 <td>Sequence is nucleotide</td>
409 <td>Boolean value Yes/No</td>
410 <td>N</td>
411 </tr>
412
413 <tr bgcolor="#FFFFCC">
414 <td> -sprotein1<br>-sprotein_sequence</td>
415 <td>boolean</td>
416 <td>Sequence is protein</td>
417 <td>Boolean value Yes/No</td>
418 <td>N</td>
419 </tr>
420
421 <tr bgcolor="#FFFFCC">
422 <td> -slower1<br>-slower_sequence</td>
423 <td>boolean</td>
424 <td>Make lower case</td>
425 <td>Boolean value Yes/No</td>
426 <td>N</td>
427 </tr>
428
429 <tr bgcolor="#FFFFCC">
430 <td> -supper1<br>-supper_sequence</td>
431 <td>boolean</td>
432 <td>Make upper case</td>
433 <td>Boolean value Yes/No</td>
434 <td>N</td>
435 </tr>
436
437 <tr bgcolor="#FFFFCC">
438 <td> -scircular1<br>-scircular_sequence</td>
439 <td>boolean</td>
440 <td>Sequence is circular</td>
441 <td>Boolean value Yes/No</td>
442 <td>N</td>
443 </tr>
444
445 <tr bgcolor="#FFFFCC">
446 <td> -squick1<br>-squick_sequence</td>
447 <td>boolean</td>
448 <td>Read id and sequence only</td>
449 <td>Boolean value Yes/No</td>
450 <td>N</td>
451 </tr>
452
453 <tr bgcolor="#FFFFCC">
454 <td> -sformat1<br>-sformat_sequence</td>
455 <td>string</td>
456 <td>Input sequence format</td>
457 <td>Any string</td>
458 <td>&nbsp;</td>
459 </tr>
460
461 <tr bgcolor="#FFFFCC">
462 <td> -iquery1<br>-iquery_sequence</td>
463 <td>string</td>
464 <td>Input query fields or ID list</td>
465 <td>Any string</td>
466 <td>&nbsp;</td>
467 </tr>
468
469 <tr bgcolor="#FFFFCC">
470 <td> -ioffset1<br>-ioffset_sequence</td>
471 <td>integer</td>
472 <td>Input start position offset</td>
473 <td>Any integer value</td>
474 <td>0</td>
475 </tr>
476
477 <tr bgcolor="#FFFFCC">
478 <td> -sdbname1<br>-sdbname_sequence</td>
479 <td>string</td>
480 <td>Database name</td>
481 <td>Any string</td>
482 <td>&nbsp;</td>
483 </tr>
484
485 <tr bgcolor="#FFFFCC">
486 <td> -sid1<br>-sid_sequence</td>
487 <td>string</td>
488 <td>Entryname</td>
489 <td>Any string</td>
490 <td>&nbsp;</td>
491 </tr>
492
493 <tr bgcolor="#FFFFCC">
494 <td> -ufo1<br>-ufo_sequence</td>
495 <td>string</td>
496 <td>UFO features</td>
497 <td>Any string</td>
498 <td>&nbsp;</td>
499 </tr>
500
501 <tr bgcolor="#FFFFCC">
502 <td> -fformat1<br>-fformat_sequence</td>
503 <td>string</td>
504 <td>Features format</td>
505 <td>Any string</td>
506 <td>&nbsp;</td>
507 </tr>
508
509 <tr bgcolor="#FFFFCC">
510 <td> -fopenfile1<br>-fopenfile_sequence</td>
511 <td>string</td>
512 <td>Features file name</td>
513 <td>Any string</td>
514 <td>&nbsp;</td>
515 </tr>
516
517 <tr bgcolor="#FFFFCC">
518 <td align="left" colspan=5>"-outfile" associated report qualifiers
519 </td>
520 </tr>
521
522 <tr bgcolor="#FFFFCC">
523 <td> -rformat</td>
524 <td>string</td>
525 <td>Report format</td>
526 <td>Any string</td>
527 <td>table</td>
528 </tr>
529
530 <tr bgcolor="#FFFFCC">
531 <td> -rname</td>
532 <td>string</td>
533 <td>Base file name</td>
534 <td>Any string</td>
535 <td>&nbsp;</td>
536 </tr>
537
538 <tr bgcolor="#FFFFCC">
539 <td> -rextension</td>
540 <td>string</td>
541 <td>File name extension</td>
542 <td>Any string</td>
543 <td>&nbsp;</td>
544 </tr>
545
546 <tr bgcolor="#FFFFCC">
547 <td> -rdirectory</td>
548 <td>string</td>
549 <td>Output directory</td>
550 <td>Any string</td>
551 <td>&nbsp;</td>
552 </tr>
553
554 <tr bgcolor="#FFFFCC">
555 <td> -raccshow</td>
556 <td>boolean</td>
557 <td>Show accession number in the report</td>
558 <td>Boolean value Yes/No</td>
559 <td>N</td>
560 </tr>
561
562 <tr bgcolor="#FFFFCC">
563 <td> -rdesshow</td>
564 <td>boolean</td>
565 <td>Show description in the report</td>
566 <td>Boolean value Yes/No</td>
567 <td>N</td>
568 </tr>
569
570 <tr bgcolor="#FFFFCC">
571 <td> -rscoreshow</td>
572 <td>boolean</td>
573 <td>Show the score in the report</td>
574 <td>Boolean value Yes/No</td>
575 <td>Y</td>
576 </tr>
577
578 <tr bgcolor="#FFFFCC">
579 <td> -rstrandshow</td>
580 <td>boolean</td>
581 <td>Show the nucleotide strand in the report</td>
582 <td>Boolean value Yes/No</td>
583 <td>Y</td>
584 </tr>
585
586 <tr bgcolor="#FFFFCC">
587 <td> -rusashow</td>
588 <td>boolean</td>
589 <td>Show the full USA in the report</td>
590 <td>Boolean value Yes/No</td>
591 <td>N</td>
592 </tr>
593
594 <tr bgcolor="#FFFFCC">
595 <td> -rmaxall</td>
596 <td>integer</td>
597 <td>Maximum total hits to report</td>
598 <td>Any integer value</td>
599 <td>0</td>
600 </tr>
601
602 <tr bgcolor="#FFFFCC">
603 <td> -rmaxseq</td>
604 <td>integer</td>
605 <td>Maximum hits to report for one sequence</td>
606 <td>Any integer value</td>
607 <td>0</td>
608 </tr>
609
610 <tr bgcolor="#FFFFCC">
611 <td align="left" colspan=5>"-graph" associated xygraph qualifiers
612 </td>
613 </tr>
614
615 <tr bgcolor="#FFFFCC">
616 <td> -gprompt</td>
617 <td>boolean</td>
618 <td>Graph prompting</td>
619 <td>Boolean value Yes/No</td>
620 <td>N</td>
621 </tr>
622
623 <tr bgcolor="#FFFFCC">
624 <td> -gdesc</td>
625 <td>string</td>
626 <td>Graph description</td>
627 <td>Any string</td>
628 <td>Fickett testcode plot</td>
629 </tr>
630
631 <tr bgcolor="#FFFFCC">
632 <td> -gtitle</td>
633 <td>string</td>
634 <td>Graph title</td>
635 <td>Any string</td>
636 <td>&nbsp;</td>
637 </tr>
638
639 <tr bgcolor="#FFFFCC">
640 <td> -gsubtitle</td>
641 <td>string</td>
642 <td>Graph subtitle</td>
643 <td>Any string</td>
644 <td>&nbsp;</td>
645 </tr>
646
647 <tr bgcolor="#FFFFCC">
648 <td> -gxtitle</td>
649 <td>string</td>
650 <td>Graph x axis title</td>
651 <td>Any string</td>
652 <td>&nbsp;</td>
653 </tr>
654
655 <tr bgcolor="#FFFFCC">
656 <td> -gytitle</td>
657 <td>string</td>
658 <td>Graph y axis title</td>
659 <td>Any string</td>
660 <td>&nbsp;</td>
661 </tr>
662
663 <tr bgcolor="#FFFFCC">
664 <td> -goutfile</td>
665 <td>string</td>
666 <td>Output file for non interactive displays</td>
667 <td>Any string</td>
668 <td>&nbsp;</td>
669 </tr>
670
671 <tr bgcolor="#FFFFCC">
672 <td> -gdirectory</td>
673 <td>string</td>
674 <td>Output directory</td>
675 <td>Any string</td>
676 <td>&nbsp;</td>
677 </tr>
678
679 <tr bgcolor="#FFFFCC">
680 <th align="left" colspan=5>General qualifiers</th>
681 </tr>
682
683 <tr bgcolor="#FFFFCC">
684 <td> -auto</td>
685 <td>boolean</td>
686 <td>Turn off prompts</td>
687 <td>Boolean value Yes/No</td>
688 <td>N</td>
689 </tr>
690
691 <tr bgcolor="#FFFFCC">
692 <td> -stdout</td>
693 <td>boolean</td>
694 <td>Write first file to standard output</td>
695 <td>Boolean value Yes/No</td>
696 <td>N</td>
697 </tr>
698
699 <tr bgcolor="#FFFFCC">
700 <td> -filter</td>
701 <td>boolean</td>
702 <td>Read first file from standard input, write first file to standard output</td>
703 <td>Boolean value Yes/No</td>
704 <td>N</td>
705 </tr>
706
707 <tr bgcolor="#FFFFCC">
708 <td> -options</td>
709 <td>boolean</td>
710 <td>Prompt for standard and additional values</td>
711 <td>Boolean value Yes/No</td>
712 <td>N</td>
713 </tr>
714
715 <tr bgcolor="#FFFFCC">
716 <td> -debug</td>
717 <td>boolean</td>
718 <td>Write debug output to program.dbg</td>
719 <td>Boolean value Yes/No</td>
720 <td>N</td>
721 </tr>
722
723 <tr bgcolor="#FFFFCC">
724 <td> -verbose</td>
725 <td>boolean</td>
726 <td>Report some/full command line options</td>
727 <td>Boolean value Yes/No</td>
728 <td>Y</td>
729 </tr>
730
731 <tr bgcolor="#FFFFCC">
732 <td> -help</td>
733 <td>boolean</td>
734 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
735 <td>Boolean value Yes/No</td>
736 <td>N</td>
737 </tr>
738
739 <tr bgcolor="#FFFFCC">
740 <td> -warning</td>
741 <td>boolean</td>
742 <td>Report warnings</td>
743 <td>Boolean value Yes/No</td>
744 <td>Y</td>
745 </tr>
746
747 <tr bgcolor="#FFFFCC">
748 <td> -error</td>
749 <td>boolean</td>
750 <td>Report errors</td>
751 <td>Boolean value Yes/No</td>
752 <td>Y</td>
753 </tr>
754
755 <tr bgcolor="#FFFFCC">
756 <td> -fatal</td>
757 <td>boolean</td>
758 <td>Report fatal errors</td>
759 <td>Boolean value Yes/No</td>
760 <td>Y</td>
761 </tr>
762
763 <tr bgcolor="#FFFFCC">
764 <td> -die</td>
765 <td>boolean</td>
766 <td>Report dying program messages</td>
767 <td>Boolean value Yes/No</td>
768 <td>Y</td>
769 </tr>
770
771 <tr bgcolor="#FFFFCC">
772 <td> -version</td>
773 <td>boolean</td>
774 <td>Report version number and exit</td>
775 <td>Boolean value Yes/No</td>
776 <td>N</td>
777 </tr>
778
779 </table>
780
781 <H2>
782 Input file format
783 </H2>
784
785 <p>
786
787 The input is a standard EMBOSS sequence query (also known as a 'USA').
788
789 <p>
790 Major sequence database sources defined as standard in EMBOSS
791 installations include srs:embl, srs:uniprot and ensembl
792
793 <p>
794
795 Data can also be read from sequence output in any supported format
796 written by an EMBOSS or third-party application.
797
798 <p>
799 The input format can be specified by using the
800 command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced
801 by the name of the required format. The available format names are:
802 gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir
803 (nbrf), swissprot (swiss, sw), dasgff and debug.
804
805 <p>
806
807 See:
808 <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html">
809 http://emboss.sf.net/docs/themes/SequenceFormats.html</A>
810 for further information on sequence formats.
811
812 <p>
813
814 The program will ignore ambiguity codes in the nucleic acid sequence and
815 just accept the four common bases. This is a function of the algorithm,
816 and the data tables.
817
818 <p>
819
820
821 <a name="input.1"></a>
822 <h3>Input files for usage example </h3>
823
824 'tembl:x65921' is a sequence entry in the example nucleic acid database 'tembl'
825 <p>
826 <p><h3>Database entry: tembl:x65921</h3>
827 <table width="90%"><tr><td bgcolor="#FFCCFF">
828 <pre>
829 ID X65921; SV 1; linear; genomic DNA; STD; HUM; 2016 BP.
830 XX
831 AC X65921; S45242;
832 XX
833 DT 13-MAY-1992 (Rel. 31, Created)
834 DT 14-NOV-2006 (Rel. 89, Last updated, Version 7)
835 XX
836 DE H.sapiens fau 1 gene
837 XX
838 KW fau 1 gene.
839 XX
840 OS Homo sapiens (human)
841 OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi; Mammalia;
842 OC Eutheria; Euarchontoglires; Primates; Haplorrhini; Catarrhini; Hominidae;
843 OC Homo.
844 XX
845 RN [1]
846 RP 1-2016
847 RA Kas K.;
848 RT ;
849 RL Submitted (29-APR-1992) to the INSDC.
850 RL K. Kas, University of Antwerp, Dept of Biochemistry T3.22,
851 RL Universiteitsplein 1, 2610 Wilrijk, BELGIUM
852 XX
853 RN [2]
854 RP 1-2016
855 RX DOI; 10.1016/0006-291X(92)91286-Y.
856 RX PUBMED; 1326960.
857 RA Kas K., Michiels L., Merregaert J.;
858 RT "Genomic structure and expression of the human fau gene: encoding the
859 RT ribosomal protein S30 fused to a ubiquitin-like protein";
860 RL Biochem. Biophys. Res. Commun. 187(2):927-933(1992).
861 XX
862 DR Ensembl-Gn; ENSG00000149806; Homo_sapiens.
863 DR Ensembl-Tr; ENST00000279259; Homo_sapiens.
864 DR Ensembl-Tr; ENST00000434372; Homo_sapiens.
865 DR Ensembl-Tr; ENST00000525297; Homo_sapiens.
866 DR Ensembl-Tr; ENST00000526555; Homo_sapiens.
867 DR Ensembl-Tr; ENST00000527548; Homo_sapiens.
868 DR Ensembl-Tr; ENST00000529259; Homo_sapiens.
869 DR Ensembl-Tr; ENST00000529639; Homo_sapiens.
870 DR Ensembl-Tr; ENST00000531743; Homo_sapiens.
871 DR GDB; 191789.
872 DR GDB; 191790.
873 DR GDB; 354872.
874 DR GDB; 4590236.
875 XX
876 FH Key Location/Qualifiers
877 FH
878 FT source 1..2016
879
880
881 <font color=red> [Part of this file has been deleted for brevity]</font>
882
883 FT RAKRRMQYNRRFVNVVPTFGKKKGPNANS"
884 FT intron 857..950
885 FT /number=2
886 FT exon 951..1095
887 FT /number=3
888 FT intron 1096..1556
889 FT /number=3
890 FT exon 1557..1612
891 FT /number=4
892 FT intron 1613..1786
893 FT /number=4
894 FT exon 1787..&gt;1912
895 FT /number=5
896 FT polyA_signal 1938..1943
897 XX
898 SQ Sequence 2016 BP; 421 A; 562 C; 538 G; 495 T; 0 other;
899 ctaccatttt ccctctcgat tctatatgta cactcgggac aagttctcct gatcgaaaac 60
900 ggcaaaacta aggccccaag taggaatgcc ttagttttcg gggttaacaa tgattaacac 120
901 tgagcctcac acccacgcga tgccctcagc tcctcgctca gcgctctcac caacagccgt 180
902 agcccgcagc cccgctggac accggttctc catccccgca gcgtagcccg gaacatggta 240
903 gctgccatct ttacctgcta cgccagcctt ctgtgcgcgc aactgtctgg tcccgccccg 300
904 tcctgcgcga gctgctgccc aggcaggttc gccggtgcga gcgtaaaggg gcggagctag 360
905 gactgccttg ggcggtacaa atagcaggga accgcgcggt cgctcagcag tgacgtgaca 420
906 cgcagcccac ggtctgtact gacgcgccct cgcttcttcc tctttctcga ctccatcttc 480
907 gcggtagctg ggaccgccgt tcaggtaaga atggggcctt ggctggatcc gaagggcttg 540
908 tagcaggttg gctgcggggt cagaaggcgc ggggggaacc gaagaacggg gcctgctccg 600
909 tggccctgct ccagtcccta tccgaactcc ttgggaggca ctggccttcc gcacgtgagc 660
910 cgccgcgacc accatcccgt cgcgatcgtt tctggaccgc tttccactcc caaatctcct 720
911 ttatcccaga gcatttcttg gcttctctta caagccgtct tttctttact cagtcgccaa 780
912 tatgcagctc tttgtccgcg cccaggagct acacaccttc gaggtgaccg gccaggaaac 840
913 ggtcgcccag atcaaggtaa ggctgcttgg tgcgccctgg gttccatttt cttgtgctct 900
914 tcactctcgc ggcccgaggg aacgcttacg agccttatct ttccctgtag gctcatgtag 960
915 cctcactgga gggcattgcc ccggaagatc aagtcgtgct cctggcaggc gcgcccctgg 1020
916 aggatgaggc cactctgggc cagtgcgggg tggaggccct gactaccctg gaagtagcag 1080
917 gccgcatgct tggaggtgag tgagagagga atgttctttg aagtaccggt aagcgtctag 1140
918 tgagtgtggg gtgcatagtc ctgacagctg agtgtcacac ctatggtaat agagtacttc 1200
919 tcactgtctt cagttcagag tgattcttcc tgtttacatc cctcatgttg aacacagacg 1260
920 tccatgggag actgagccag agtgtagttg tatttcagtc acatcacgag atcctagtct 1320
921 ggttatcagc ttccacacta aaaattaggt cagaccaggc cccaaagtgc tctataaatt 1380
922 agaagctgga agatcctgaa atgaaactta agatttcaag gtcaaatatc tgcaactttg 1440
923 ttctcattac ctattgggcg cagcttctct ttaaaggctt gaattgagaa aagaggggtt 1500
924 ctgctgggtg gcaccttctt gctcttacct gctggtgcct tcctttccca ctacaggtaa 1560
925 agtccatggt tccctggccc gtgctggaaa agtgagaggt cagactccta aggtgagtga 1620
926 gagtattagt ggtcatggtg ttaggacttt ttttcctttc acagctaaac caagtccctg 1680
927 ggctcttact cggtttgcct tctccctccc tggagatgag cctgagggaa gggatgctag 1740
928 gtgtggaaga caggaaccag ggcctgatta accttccctt ctccaggtgg ccaaacagga 1800
929 gaagaagaag aagaagacag gtcgggctaa gcggcggatg cagtacaacc ggcgctttgt 1860
930 caacgttgtg cccacctttg gcaagaagaa gggccccaat gccaactctt aagtcttttg 1920
931 taattctggc tttctctaat aaaaaagcca cttagttcag tcatcgcatt gtttcatctt 1980
932 tacttgcaag gcctcaggga gaggtgtgct tctcgg 2016
933 //
934 </pre>
935 </td></tr></table><p>
936
937 <H2>
938 Output file format
939 </H2>
940
941 <p>
942
943 The output is a standard EMBOSS report file.
944
945 <p>
946
947 The results can be output in one of several styles by using the
948 command-line qualifier <tt>-rformat xxx</tt>, where 'xxx' is replaced
949 by the name of the required format. The available format names are:
950 embl, genbank, gff, pir, swiss, dasgff, debug, listfile, dbmotif,
951 diffseq, draw, restrict, excel, feattable, motif, nametable, regions,
952 seqtable, simple, srs, table, tagseq.
953
954 <p>
955
956 See:
957 <A href="http://emboss.sf.net/docs/themes/ReportFormats.html">
958 http://emboss.sf.net/docs/themes/ReportFormats.html</A>
959 for further information on report formats.
960
961 <p>
962
963 <p>
964
965 <b>tcode</b>
966 outputs a report format file. The default format is 'table'.
967 <p>
968
969 The resulting report file will be given a name relating to the analysed
970 sequence together with the .tcode suffix by default. Should there be no
971 sequence description, the default reverts to outfile.tcode.
972
973 <p>
974
975 <b>tcode</b> optionally
976 outputs a graph to the specified graphics device.
977
978 <p>
979
980 The graphical display is output with the default file name tcode.1. and
981 then the name of the selected graphical display (e.g. png; ps).
982
983 <p>
984
985 The graph indicates the threshold for probably being coding with a green
986 horizontal line and the threshold for probably not being coding with a
987 red horizontal line.
988
989 <p>
990
991
992 <a name="output.1"></a>
993 <h3>Output files for usage example </h3>
994 <p><h3>File: x65921.tcode</h3>
995 <table width="90%"><tr><td bgcolor="#CCFFCC">
996 <pre>
997 ########################################
998 # Program: tcode
999 # Rundate: Mon 15 Jul 2013 12:00:00
1000 # Commandline: tcode
1001 # -sequence tembl:x65921
1002 # Report_format: table
1003 # Report_file: x65921.tcode
1004 ########################################
1005
1006 #=======================================
1007 #
1008 # Sequence: X65921 from: 1 to: 2016
1009 # HitCount: 606
1010 #
1011 # Fickett TESTCODE statistic
1012 #
1013 #=======================================
1014
1015 Start End Strand Score Estimation
1016 1 200 + 0.617 Non-coding
1017 4 203 + 0.586 Non-coding
1018 7 206 + 0.617 Non-coding
1019 10 209 + 0.729 Non-coding
1020 13 212 + 0.696 Non-coding
1021 16 215 + 0.734 Non-coding
1022 19 218 + 0.779 No opinion
1023 22 221 + 0.845 No opinion
1024 25 224 + 0.889 No opinion
1025 28 227 + 0.919 No opinion
1026 31 230 + 0.831 No opinion
1027 34 233 + 0.875 No opinion
1028 37 236 + 0.970 Coding
1029 40 239 + 1.122 Coding
1030 43 242 + 1.110 Coding
1031 46 245 + 1.002 Coding
1032 49 248 + 0.979 Coding
1033 52 251 + 1.076 Coding
1034 55 254 + 0.966 Coding
1035 58 257 + 0.931 No opinion
1036 61 260 + 0.847 No opinion
1037 64 263 + 0.847 No opinion
1038 67 266 + 0.914 No opinion
1039 70 269 + 0.951 Coding
1040 73 272 + 1.031 Coding
1041 76 275 + 0.870 No opinion
1042 79 278 + 0.964 Coding
1043 82 281 + 0.865 No opinion
1044 85 284 + 1.040 Coding
1045 88 287 + 0.924 No opinion
1046 91 290 + 0.812 No opinion
1047
1048
1049 <font color=red> [Part of this file has been deleted for brevity]</font>
1050
1051 1696 1895 + 1.060 Coding
1052 1699 1898 + 0.984 Coding
1053 1702 1901 + 1.082 Coding
1054 1705 1904 + 1.082 Coding
1055 1708 1907 + 1.082 Coding
1056 1711 1910 + 1.067 Coding
1057 1714 1913 + 1.079 Coding
1058 1717 1916 + 1.005 Coding
1059 1720 1919 + 0.915 No opinion
1060 1723 1922 + 0.954 Coding
1061 1726 1925 + 0.872 No opinion
1062 1729 1928 + 0.976 Coding
1063 1732 1931 + 0.989 Coding
1064 1735 1934 + 0.906 No opinion
1065 1738 1937 + 0.832 No opinion
1066 1741 1940 + 0.840 No opinion
1067 1744 1943 + 0.840 No opinion
1068 1747 1946 + 0.826 No opinion
1069 1750 1949 + 0.858 No opinion
1070 1753 1952 + 0.865 No opinion
1071 1756 1955 + 0.878 No opinion
1072 1759 1958 + 0.937 No opinion
1073 1762 1961 + 1.012 Coding
1074 1765 1964 + 0.968 Coding
1075 1768 1967 + 0.979 Coding
1076 1771 1970 + 0.979 Coding
1077 1774 1973 + 0.937 No opinion
1078 1777 1976 + 0.944 No opinion
1079 1780 1979 + 0.944 No opinion
1080 1783 1982 + 0.944 No opinion
1081 1786 1985 + 0.890 No opinion
1082 1789 1988 + 0.902 No opinion
1083 1792 1991 + 0.851 No opinion
1084 1795 1994 + 0.902 No opinion
1085 1798 1997 + 0.902 No opinion
1086 1801 2000 + 0.902 No opinion
1087 1804 2003 + 0.821 No opinion
1088 1807 2006 + 0.757 No opinion
1089 1810 2009 + 0.730 Non-coding
1090 1813 2012 + 0.708 Non-coding
1091 1816 2015 + 0.708 Non-coding
1092
1093 #---------------------------------------
1094 #---------------------------------------
1095
1096 #---------------------------------------
1097 # Total_sequences: 1
1098 # Total_length: 2016
1099 # Reported_sequences: 1
1100 # Reported_hitcount: 606
1101 #---------------------------------------
1102 </pre>
1103 </td></tr></table><p>
1104
1105 <a name="output.2"></a>
1106 <h3>Output files for usage example 2</h3>
1107 <p><h3>Graphics File: tcode.ps</h3>
1108 <p><img src="tcode.2.tcode.gif" alt="[tcode results]">
1109
1110
1111 <H2>
1112 Data files
1113 </H2>
1114
1115 <p>
1116 EMBOSS data files are distributed with the application and stored
1117 in the standard EMBOSS data directory, which is defined
1118 by the EMBOSS environment variable EMBOSS_DATA.
1119
1120 <p>
1121
1122 To see the available EMBOSS data files, run:
1123 <p>
1124 <pre>
1125 % embossdata -showall
1126 </pre>
1127 <p>
1128 To fetch one of the data files (for example 'Exxx.dat') into your
1129 current directory for you to inspect or modify, run:
1130
1131 <pre>
1132
1133 % embossdata -fetch -file Exxx.dat
1134
1135 </pre>
1136 <p>
1137
1138 Users can provide their own data files in their own directories.
1139 Project specific files can be put in the current directory, or for
1140 tidier directory listings in a subdirectory called
1141 ".embossdata". Files for all EMBOSS runs can be put in the user's home
1142 directory, or again in a subdirectory called ".embossdata".
1143
1144 <p>
1145 The directories are searched in the following order:
1146
1147 <ul>
1148 <li> . (your current directory)
1149 <li> .embossdata (under your current directory)
1150 <li> ~/ (your home directory)
1151 <li> ~/.embossdata
1152 </ul>
1153 <p>
1154
1155 <p>
1156
1157 The default data file (look-up table) is Etcode.dat which contains the
1158 data from the original paper (1)
1159
1160 <p>
1161
1162 <pre>
1163 # Fickett TESTCODE data
1164 # Nuc. Acids Res. 10(17) 5303-5318
1165 #
1166 # Position parameter values (last value must be 0.0)
1167 1.9
1168 1.8
1169 1.7
1170 1.6
1171 1.5
1172 1.4
1173 1.3
1174 1.2
1175 1.1
1176 0.0
1177 #
1178 #
1179 # Content parameter values (last value must be 0.0)
1180 0.33
1181 0.31
1182 0.29
1183 0.27
1184 0.25
1185 0.23
1186 0.21
1187 0.17
1188 0.00
1189 #
1190 #
1191 # Position probabilities for A,C,G,T respectively
1192 0.94 0.80 0.90 0.97
1193 0.68 0.70 0.88 0.97
1194 0.84 0.70 0.74 0.91
1195 0.93 0.81 0.64 0.68
1196 0.58 0.66 0.53 0.69
1197 0.68 0.48 0.48 0.44
1198 0.45 0.51 0.27 0.54
1199 0.34 0.33 0.16 0.20
1200 0.20 0.30 0.08 0.09
1201 0.22 0.23 0.08 0.09
1202 #
1203 #
1204 # Content probabilities for A,C,G,T respectively
1205 0.28 0.82 0.40 0.28
1206 0.49 0.64 0.54 0.24
1207 0.44 0.51 0.47 0.39
1208 0.55 0.64 0.64 0.40
1209 0.62 0.59 0.64 0.55
1210 0.49 0.59 0.73 0.75
1211 0.67 0.43 0.41 0.56
1212 0.65 0.44 0.41 0.69
1213 0.81 0.39 0.33 0.51
1214 0.21 0.31 0.29 0.58
1215 #
1216 #
1217 # Weights for position
1218 0.26
1219 0.18
1220 0.31
1221 0.33
1222 #
1223 #
1224 # Weights for content
1225 0.11
1226 0.12
1227 0.15
1228 0.14
1229 </pre>
1230
1231 <p>
1232
1233 This file is retrievable using EMBOSSDATA.
1234
1235 <p>
1236
1237 Window size is set by default to 200. The algorithm requires sufficient
1238 sequence to perform the statistic on. The original paper suggests a
1239 minimum window size of 200.
1240
1241 <p>
1242
1243 Window stepping increment is set by default to 3. This will ensure the resulting
1244 information remains in frame.
1245
1246
1247 <h3>
1248 Alternative Data Files
1249 </h3>
1250
1251
1252
1253 There are no alternative data files currently in the EMBOSS Data directory, but
1254 alternative values may be user defined.
1255
1256
1257
1258 <H2>
1259 Notes
1260 </H2>
1261 <p>The TESTCODE statistic reflects the fact that codons are used with unequal frequency and that oligonucleotides and nucleotides tend to be repeated with a periodicity of three. The original paper reports that the test had been thoroughly proven on 400,000 bases of sequence data: it misclassifies 5% of the regions tested and gives an answer of "No Opinion" one fifth of the time.</p>
1262
1263 <p>
1264 In the GCG package, the current (version 10.3) TESTCODE application's apparent interpretation of the algorithm is:
1265 MAX(A1,A2,A3) / MIN(A1,A2,A3)
1266
1267 The EMBOSS <b>tcode</b> program uses the correct Fickett algorithm equation:
1268 MAX(A1,A2,A3) / MIN(A1,A2,A3) + 1
1269
1270 thus any plot using the GCG TESTCODE aplication will be slightly higher than the <b>tcode</b> equivalent.
1271 </p>
1272
1273
1274
1275
1276 <H2>
1277 References
1278 </H2>
1279
1280 <ol>
1281
1282 <li>
1283 Fickett, J.W. (1982) Nucleic Acids Research 10(17) pp.5303-5318
1284 "Recognition of protein coding regions in DNA sequences"
1285
1286 </ol>
1287
1288
1289
1290
1291 <H2>
1292 Warnings
1293 </H2>
1294
1295 <p>The program will ignore ambiguity codes in the nucleic acid sequence and just accept the four common bases. This is a function of the algorithm, and the data tables.</p>
1296
1297 <H2>
1298 Diagnostic Error Messages
1299 </H2>
1300
1301 Standard error messages are given for incorrect sequence input.
1302
1303 <H2>
1304 Exit status
1305 </H2>
1306
1307 It always exits with status 0.
1308
1309
1310 <h2><a name="See also">See also</a></h2>
1311 <table border cellpadding=4 bgcolor="#FFFFF0">
1312 <tr><th>Program name</th>
1313 <th>Description</th></tr>
1314 <tr>
1315 <td><a href="checktrans.html">checktrans</a></td>
1316 <td>Report STOP codons and ORF statistics of a protein</td>
1317 </tr>
1318
1319 <tr>
1320 <td><a href="getorf.html">getorf</a></td>
1321 <td>Find and extract open reading frames (ORFs)</td>
1322 </tr>
1323
1324 <tr>
1325 <td><a href="marscan.html">marscan</a></td>
1326 <td>Find matrix/scaffold recognition (MRS) signatures in DNA sequences</td>
1327 </tr>
1328
1329 <tr>
1330 <td><a href="plotorf.html">plotorf</a></td>
1331 <td>Plot potential open reading frames in a nucleotide sequence</td>
1332 </tr>
1333
1334 <tr>
1335 <td><a href="showorf.html">showorf</a></td>
1336 <td>Display a nucleotide sequence and translation in pretty format</td>
1337 </tr>
1338
1339 <tr>
1340 <td><a href="sixpack.html">sixpack</a></td>
1341 <td>Display a DNA sequence with 6-frame translation and ORFs</td>
1342 </tr>
1343
1344 <tr>
1345 <td><a href="syco.html">syco</a></td>
1346 <td>Draw synonymous codon usage statistic plot for a nucleotide sequence</td>
1347 </tr>
1348
1349 <tr>
1350 <td><a href="wobble.html">wobble</a></td>
1351 <td>Plot third base position variability in a nucleotide sequence</td>
1352 </tr>
1353
1354 </table>
1355
1356
1357 <h3>
1358 See Elsewhere
1359 </h3>
1360
1361 TESTCODE - GCG package, Accelrys Inc. Uses a different interpretation
1362 of the same algorithm. Source code unavailable.
1363
1364 <p>
1365
1366 SPIN - "Uneven positional base preferences" Staden software.
1367 Free to academics, versions for both X and Windows platforms.
1368
1369
1370 <H2>
1371 Author(s)
1372 </H2>
1373 Alan Bleasby
1374 <br>
1375 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
1376
1377 <p>
1378 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
1379
1380
1381
1382 <H2>
1383 History
1384 </H2>
1385
1386 Date of original completion: 2nd March 2003
1387
1388 <H2>
1389 Target users
1390 </H2>
1391 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
1392
1393 <H2>
1394 Comments
1395 </H2>
1396 None
1397
1398 </BODY>
1399 </HTML>
1400