Debian Codegraph @

doc/programs/html/cpgplot.html

raw symbols SCIP
1 <HTML>
2
3 <HEAD>
4 <TITLE>
5 EMBOSS: cpgplot
6 </TITLE>
7 </HEAD>
8 <BODY BGCOLOR="#FFFFFF" text="#000000">
9
10 <table align=center border=0 cellspacing=0 cellpadding=0>
11 <tr><td valign=top>
12 <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>
13 </td>
14 <td align=left valign=middle>
15 <b><font size="+6">
16 cpgplot
17 </font></b>
18 </td></tr>
19 </table>
20 <br>&nbsp;
21 <p>
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 Identify and plot CpG islands in nucleotide sequence(s)
40 <H2>
41 Description
42 </H2>
43
44 <p><b>cpgplot</b> identifies CpG islands in one or more nucleotide sequences. The ratio of observered to expected number of GC dinucleotides patterns is calculated over a window (sequence region) which is moved along the sequence. The calculated ratios are plotted graphically, together with the regions which match this program's definition of a "CpG island" (a CG dinucleotide rich area). A report file is written giving the input sequence name, CpG island parameters and data on any CpG islands that are found.</p>
45
46 <!-- Algorithm -->
47 <p>The ratio of observered to expected number of GC dinucleotides patterns is calculated over a window of user-specified size (<tt>-window</tt> parameter). The window is slid along the sequence and the ratio recalculated until the end of the sequence is reached.</p>
48
49 <p>By default, <b>cpgplot</b> defines a CpG island as a region where, over an average of 10 windows and not less than 200 bases, the calculated (%G + %C) content is over 50% and the calculated Observed/Expected ratio is over 0.6. These conditions can be modified by setting the values of the appropriate parameters.</p>
50
51 <p>The Observed number of CpG patterns in a window is simply the number of times a 'C' is found followed immediately by a 'G'.</p>
52
53 <p>The Expected number of CpG patterns is calculated for each window as the number of CpG dinucleotides you would expect to see in that window based on the frequency of C's and G's in that window. Thus, the Expected frequency of CpG's in a window is calculated as the number of 'C's in the window multiplied by the number of 'G's in the window, divided by the window length.</p>
54
55 <pre>Expected = (number of C's * number of G's) / window length</pre>
56
57
58
59 <H2>
60 Usage
61 </H2>
62 Here is a sample session with <b>cpgplot</b>
63 <p>
64
65 <p>
66 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
67
68 % <b>cpgplot tembl:u68037 -graph cps </b>
69 Identify and plot CpG islands in nucleotide sequence(s)
70 Window size [100]: <b></b>
71 Minimum length of an island [200]: <b></b>
72 Minimum observed/expected [0.6]: <b></b>
73 Minimum percentage [50.]: <b></b>
74 Output file [u68037.cpgplot]: <b></b>
75 Features output [u68037.gff]: <b></b>
76
77 Created cpgplot.ps
78
79 </pre></td></tr></table><p>
80 <p>
81 <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>
82
83 <H2>
84 Command line arguments
85 </H2>
86 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
87 <pre>
88 Identify and plot CpG islands in nucleotide sequence(s)
89 Version: EMBOSS:6.6.0.0
90
91 Standard (Mandatory) qualifiers (* if not always prompted):
92 [-sequence] seqall Nucleotide sequence(s) filename and optional
93 format, or reference (input USA)
94 -window integer [100] The percentage CG content and the
95 Observed frequency of CG is calculated
96 within a window whose size is set by this
97 parameter. The window is moved down the
98 sequence and these statistics are calculated
99 at each position that the window is moved
100 to. (Integer 1 or more)
101 -minlen integer [200] This sets the minimum length that a
102 CpG island has to be before it is reported.
103 (Integer 1 or more)
104 -minoe float [0.6] This sets the minimum average observed
105 to expected ratio of C plus G to CpG in a
106 set of 10 windows that are required before a
107 CpG island is reported. (Number from 0.000
108 to 10.000)
109 -minpc float [50.] This sets the minimum average
110 percentage of G plus C a set of 10 windows
111 that are required before a CpG island is
112 reported. (Number from 0.000 to 100.000)
113 [-outfile] outfile [*.cpgplot] This sets the name of the file
114 holding the report of the input sequence
115 name, CpG island parameters and the output
116 details of any CpG islands that are found.
117 * -graph xygraph [$EMBOSS_GRAPHICS value, or x11] Graph type
118 (ps, hpgl, hp7470, hp7580, meta, cps, x11,
119 tek, tekt, none, data, xterm, png, gif, pdf,
120 svg)
121 [-outfeat] featout [unknown.gff] File for output features
122
123 Additional (Optional) qualifiers: (none)
124 Advanced (Unprompted) qualifiers:
125 -[no]plot toggle [Y] Plot CpG island score
126 -[no]obsexp boolean [Y] If this is set to true then the graph of
127 the observed to expected ratio of C plus G
128 to CpG within a window is displayed.
129 -[no]cg boolean [Y] If this is set to true then the graph of
130 the regions which have been determined to
131 be CpG islands is displayed.
132 -[no]pc boolean [Y] If this is set to true then the graph of
133 the percentage C plus G within a window is
134 displayed.
135
136 Associated qualifiers:
137
138 "-sequence" associated qualifiers
139 -sbegin1 integer Start of each sequence to be used
140 -send1 integer End of each sequence to be used
141 -sreverse1 boolean Reverse (if DNA)
142 -sask1 boolean Ask for begin/end/reverse
143 -snucleotide1 boolean Sequence is nucleotide
144 -sprotein1 boolean Sequence is protein
145 -slower1 boolean Make lower case
146 -supper1 boolean Make upper case
147 -scircular1 boolean Sequence is circular
148 -squick1 boolean Read id and sequence only
149 -sformat1 string Input sequence format
150 -iquery1 string Input query fields or ID list
151 -ioffset1 integer Input start position offset
152 -sdbname1 string Database name
153 -sid1 string Entryname
154 -ufo1 string UFO features
155 -fformat1 string Features format
156 -fopenfile1 string Features file name
157
158 "-outfile" associated qualifiers
159 -odirectory2 string Output directory
160
161 "-graph" associated qualifiers
162 -gprompt boolean Graph prompting
163 -gdesc string Graph description
164 -gtitle string Graph title
165 -gsubtitle string Graph subtitle
166 -gxtitle string Graph x axis title
167 -gytitle string Graph y axis title
168 -goutfile string Output file for non interactive displays
169 -gdirectory string Output directory
170
171 "-outfeat" associated qualifiers
172 -offormat3 string Output feature format
173 -ofopenfile3 string Features file name
174 -ofextension3 string File name extension
175 -ofdirectory3 string Output directory
176 -ofname3 string Base file name
177 -ofsingle3 boolean Separate file for each entry
178
179 General qualifiers:
180 -auto boolean Turn off prompts
181 -stdout boolean Write first file to standard output
182 -filter boolean Read first file from standard input, write
183 first file to standard output
184 -options boolean Prompt for standard and additional values
185 -debug boolean Write debug output to program.dbg
186 -verbose boolean Report some/full command line options
187 -help boolean Report command line options and exit. More
188 information on associated and general
189 qualifiers can be found with -help -verbose
190 -warning boolean Report warnings
191 -error boolean Report errors
192 -fatal boolean Report fatal errors
193 -die boolean Report dying program messages
194 -version boolean Report version number and exit
195
196 </pre>
197 </td></tr></table>
198 <P>
199 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
200 <tr bgcolor="#FFFFCC">
201 <th align="left">Qualifier</th>
202 <th align="left">Type</th>
203 <th align="left">Description</th>
204 <th align="left">Allowed values</th>
205 <th align="left">Default</th>
206 </tr>
207
208 <tr bgcolor="#FFFFCC">
209 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
210 </tr>
211
212 <tr bgcolor="#FFFFCC">
213 <td>[-sequence]<br>(Parameter 1)</td>
214 <td>seqall</td>
215 <td>Nucleotide sequence(s) filename and optional format, or reference (input USA)</td>
216 <td>Readable sequence(s)</td>
217 <td><b>Required</b></td>
218 </tr>
219
220 <tr bgcolor="#FFFFCC">
221 <td>-window</td>
222 <td>integer</td>
223 <td>The percentage CG content and the Observed frequency of CG is calculated within a window whose size is set by this parameter. The window is moved down the sequence and these statistics are calculated at each position that the window is moved to.</td>
224 <td>Integer 1 or more</td>
225 <td>100</td>
226 </tr>
227
228 <tr bgcolor="#FFFFCC">
229 <td>-minlen</td>
230 <td>integer</td>
231 <td>This sets the minimum length that a CpG island has to be before it is reported.</td>
232 <td>Integer 1 or more</td>
233 <td>200</td>
234 </tr>
235
236 <tr bgcolor="#FFFFCC">
237 <td>-minoe</td>
238 <td>float</td>
239 <td>This sets the minimum average observed to expected ratio of C plus G to CpG in a set of 10 windows that are required before a CpG island is reported.</td>
240 <td>Number from 0.000 to 10.000</td>
241 <td>0.6</td>
242 </tr>
243
244 <tr bgcolor="#FFFFCC">
245 <td>-minpc</td>
246 <td>float</td>
247 <td>This sets the minimum average percentage of G plus C a set of 10 windows that are required before a CpG island is reported.</td>
248 <td>Number from 0.000 to 100.000</td>
249 <td>50.</td>
250 </tr>
251
252 <tr bgcolor="#FFFFCC">
253 <td>[-outfile]<br>(Parameter 2)</td>
254 <td>outfile</td>
255 <td>This sets the name of the file holding the report of the input sequence name, CpG island parameters and the output details of any CpG islands that are found.</td>
256 <td>Output file</td>
257 <td><i>&lt;*&gt;</i>.cpgplot</td>
258 </tr>
259
260 <tr bgcolor="#FFFFCC">
261 <td>-graph</td>
262 <td>xygraph</td>
263 <td>Graph type</td>
264 <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>
265 <td><i>EMBOSS_GRAPHICS</i> value, or x11</td>
266 </tr>
267
268 <tr bgcolor="#FFFFCC">
269 <td>[-outfeat]<br>(Parameter 3)</td>
270 <td>featout</td>
271 <td>File for output features</td>
272 <td>Writeable feature table</td>
273 <td><i>unknown.gff</i></td>
274 </tr>
275
276 <tr bgcolor="#FFFFCC">
277 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
278 </tr>
279
280 <tr>
281 <td colspan=5>(none)</td>
282 </tr>
283
284 <tr bgcolor="#FFFFCC">
285 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
286 </tr>
287
288 <tr bgcolor="#FFFFCC">
289 <td>-[no]plot</td>
290 <td>toggle</td>
291 <td>Plot CpG island score</td>
292 <td>Toggle value Yes/No</td>
293 <td>Yes</td>
294 </tr>
295
296 <tr bgcolor="#FFFFCC">
297 <td>-[no]obsexp</td>
298 <td>boolean</td>
299 <td>If this is set to true then the graph of the observed to expected ratio of C plus G to CpG within a window is displayed.</td>
300 <td>Boolean value Yes/No</td>
301 <td>Yes</td>
302 </tr>
303
304 <tr bgcolor="#FFFFCC">
305 <td>-[no]cg</td>
306 <td>boolean</td>
307 <td>If this is set to true then the graph of the regions which have been determined to be CpG islands is displayed.</td>
308 <td>Boolean value Yes/No</td>
309 <td>Yes</td>
310 </tr>
311
312 <tr bgcolor="#FFFFCC">
313 <td>-[no]pc</td>
314 <td>boolean</td>
315 <td>If this is set to true then the graph of the percentage C plus G within a window is displayed.</td>
316 <td>Boolean value Yes/No</td>
317 <td>Yes</td>
318 </tr>
319
320 <tr bgcolor="#FFFFCC">
321 <th align="left" colspan=5>Associated qualifiers</th>
322 </tr>
323
324 <tr bgcolor="#FFFFCC">
325 <td align="left" colspan=5>"-sequence" associated seqall qualifiers
326 </td>
327 </tr>
328
329 <tr bgcolor="#FFFFCC">
330 <td> -sbegin1<br>-sbegin_sequence</td>
331 <td>integer</td>
332 <td>Start of each sequence to be used</td>
333 <td>Any integer value</td>
334 <td>0</td>
335 </tr>
336
337 <tr bgcolor="#FFFFCC">
338 <td> -send1<br>-send_sequence</td>
339 <td>integer</td>
340 <td>End of each sequence to be used</td>
341 <td>Any integer value</td>
342 <td>0</td>
343 </tr>
344
345 <tr bgcolor="#FFFFCC">
346 <td> -sreverse1<br>-sreverse_sequence</td>
347 <td>boolean</td>
348 <td>Reverse (if DNA)</td>
349 <td>Boolean value Yes/No</td>
350 <td>N</td>
351 </tr>
352
353 <tr bgcolor="#FFFFCC">
354 <td> -sask1<br>-sask_sequence</td>
355 <td>boolean</td>
356 <td>Ask for begin/end/reverse</td>
357 <td>Boolean value Yes/No</td>
358 <td>N</td>
359 </tr>
360
361 <tr bgcolor="#FFFFCC">
362 <td> -snucleotide1<br>-snucleotide_sequence</td>
363 <td>boolean</td>
364 <td>Sequence is nucleotide</td>
365 <td>Boolean value Yes/No</td>
366 <td>N</td>
367 </tr>
368
369 <tr bgcolor="#FFFFCC">
370 <td> -sprotein1<br>-sprotein_sequence</td>
371 <td>boolean</td>
372 <td>Sequence is protein</td>
373 <td>Boolean value Yes/No</td>
374 <td>N</td>
375 </tr>
376
377 <tr bgcolor="#FFFFCC">
378 <td> -slower1<br>-slower_sequence</td>
379 <td>boolean</td>
380 <td>Make lower case</td>
381 <td>Boolean value Yes/No</td>
382 <td>N</td>
383 </tr>
384
385 <tr bgcolor="#FFFFCC">
386 <td> -supper1<br>-supper_sequence</td>
387 <td>boolean</td>
388 <td>Make upper case</td>
389 <td>Boolean value Yes/No</td>
390 <td>N</td>
391 </tr>
392
393 <tr bgcolor="#FFFFCC">
394 <td> -scircular1<br>-scircular_sequence</td>
395 <td>boolean</td>
396 <td>Sequence is circular</td>
397 <td>Boolean value Yes/No</td>
398 <td>N</td>
399 </tr>
400
401 <tr bgcolor="#FFFFCC">
402 <td> -squick1<br>-squick_sequence</td>
403 <td>boolean</td>
404 <td>Read id and sequence only</td>
405 <td>Boolean value Yes/No</td>
406 <td>N</td>
407 </tr>
408
409 <tr bgcolor="#FFFFCC">
410 <td> -sformat1<br>-sformat_sequence</td>
411 <td>string</td>
412 <td>Input sequence format</td>
413 <td>Any string</td>
414 <td>&nbsp;</td>
415 </tr>
416
417 <tr bgcolor="#FFFFCC">
418 <td> -iquery1<br>-iquery_sequence</td>
419 <td>string</td>
420 <td>Input query fields or ID list</td>
421 <td>Any string</td>
422 <td>&nbsp;</td>
423 </tr>
424
425 <tr bgcolor="#FFFFCC">
426 <td> -ioffset1<br>-ioffset_sequence</td>
427 <td>integer</td>
428 <td>Input start position offset</td>
429 <td>Any integer value</td>
430 <td>0</td>
431 </tr>
432
433 <tr bgcolor="#FFFFCC">
434 <td> -sdbname1<br>-sdbname_sequence</td>
435 <td>string</td>
436 <td>Database name</td>
437 <td>Any string</td>
438 <td>&nbsp;</td>
439 </tr>
440
441 <tr bgcolor="#FFFFCC">
442 <td> -sid1<br>-sid_sequence</td>
443 <td>string</td>
444 <td>Entryname</td>
445 <td>Any string</td>
446 <td>&nbsp;</td>
447 </tr>
448
449 <tr bgcolor="#FFFFCC">
450 <td> -ufo1<br>-ufo_sequence</td>
451 <td>string</td>
452 <td>UFO features</td>
453 <td>Any string</td>
454 <td>&nbsp;</td>
455 </tr>
456
457 <tr bgcolor="#FFFFCC">
458 <td> -fformat1<br>-fformat_sequence</td>
459 <td>string</td>
460 <td>Features format</td>
461 <td>Any string</td>
462 <td>&nbsp;</td>
463 </tr>
464
465 <tr bgcolor="#FFFFCC">
466 <td> -fopenfile1<br>-fopenfile_sequence</td>
467 <td>string</td>
468 <td>Features file name</td>
469 <td>Any string</td>
470 <td>&nbsp;</td>
471 </tr>
472
473 <tr bgcolor="#FFFFCC">
474 <td align="left" colspan=5>"-outfile" associated outfile qualifiers
475 </td>
476 </tr>
477
478 <tr bgcolor="#FFFFCC">
479 <td> -odirectory2<br>-odirectory_outfile</td>
480 <td>string</td>
481 <td>Output directory</td>
482 <td>Any string</td>
483 <td>&nbsp;</td>
484 </tr>
485
486 <tr bgcolor="#FFFFCC">
487 <td align="left" colspan=5>"-graph" associated xygraph qualifiers
488 </td>
489 </tr>
490
491 <tr bgcolor="#FFFFCC">
492 <td> -gprompt</td>
493 <td>boolean</td>
494 <td>Graph prompting</td>
495 <td>Boolean value Yes/No</td>
496 <td>N</td>
497 </tr>
498
499 <tr bgcolor="#FFFFCC">
500 <td> -gdesc</td>
501 <td>string</td>
502 <td>Graph description</td>
503 <td>Any string</td>
504 <td>&nbsp;</td>
505 </tr>
506
507 <tr bgcolor="#FFFFCC">
508 <td> -gtitle</td>
509 <td>string</td>
510 <td>Graph title</td>
511 <td>Any string</td>
512 <td>&nbsp;</td>
513 </tr>
514
515 <tr bgcolor="#FFFFCC">
516 <td> -gsubtitle</td>
517 <td>string</td>
518 <td>Graph subtitle</td>
519 <td>Any string</td>
520 <td>&nbsp;</td>
521 </tr>
522
523 <tr bgcolor="#FFFFCC">
524 <td> -gxtitle</td>
525 <td>string</td>
526 <td>Graph x axis title</td>
527 <td>Any string</td>
528 <td>&nbsp;</td>
529 </tr>
530
531 <tr bgcolor="#FFFFCC">
532 <td> -gytitle</td>
533 <td>string</td>
534 <td>Graph y axis title</td>
535 <td>Any string</td>
536 <td>&nbsp;</td>
537 </tr>
538
539 <tr bgcolor="#FFFFCC">
540 <td> -goutfile</td>
541 <td>string</td>
542 <td>Output file for non interactive displays</td>
543 <td>Any string</td>
544 <td>&nbsp;</td>
545 </tr>
546
547 <tr bgcolor="#FFFFCC">
548 <td> -gdirectory</td>
549 <td>string</td>
550 <td>Output directory</td>
551 <td>Any string</td>
552 <td>&nbsp;</td>
553 </tr>
554
555 <tr bgcolor="#FFFFCC">
556 <td align="left" colspan=5>"-outfeat" associated featout qualifiers
557 </td>
558 </tr>
559
560 <tr bgcolor="#FFFFCC">
561 <td> -offormat3<br>-offormat_outfeat</td>
562 <td>string</td>
563 <td>Output feature format</td>
564 <td>Any string</td>
565 <td>&nbsp;</td>
566 </tr>
567
568 <tr bgcolor="#FFFFCC">
569 <td> -ofopenfile3<br>-ofopenfile_outfeat</td>
570 <td>string</td>
571 <td>Features file name</td>
572 <td>Any string</td>
573 <td>&nbsp;</td>
574 </tr>
575
576 <tr bgcolor="#FFFFCC">
577 <td> -ofextension3<br>-ofextension_outfeat</td>
578 <td>string</td>
579 <td>File name extension</td>
580 <td>Any string</td>
581 <td>&nbsp;</td>
582 </tr>
583
584 <tr bgcolor="#FFFFCC">
585 <td> -ofdirectory3<br>-ofdirectory_outfeat</td>
586 <td>string</td>
587 <td>Output directory</td>
588 <td>Any string</td>
589 <td>&nbsp;</td>
590 </tr>
591
592 <tr bgcolor="#FFFFCC">
593 <td> -ofname3<br>-ofname_outfeat</td>
594 <td>string</td>
595 <td>Base file name</td>
596 <td>Any string</td>
597 <td>&nbsp;</td>
598 </tr>
599
600 <tr bgcolor="#FFFFCC">
601 <td> -ofsingle3<br>-ofsingle_outfeat</td>
602 <td>boolean</td>
603 <td>Separate file for each entry</td>
604 <td>Boolean value Yes/No</td>
605 <td>N</td>
606 </tr>
607
608 <tr bgcolor="#FFFFCC">
609 <th align="left" colspan=5>General qualifiers</th>
610 </tr>
611
612 <tr bgcolor="#FFFFCC">
613 <td> -auto</td>
614 <td>boolean</td>
615 <td>Turn off prompts</td>
616 <td>Boolean value Yes/No</td>
617 <td>N</td>
618 </tr>
619
620 <tr bgcolor="#FFFFCC">
621 <td> -stdout</td>
622 <td>boolean</td>
623 <td>Write first file to standard output</td>
624 <td>Boolean value Yes/No</td>
625 <td>N</td>
626 </tr>
627
628 <tr bgcolor="#FFFFCC">
629 <td> -filter</td>
630 <td>boolean</td>
631 <td>Read first file from standard input, write first file to standard output</td>
632 <td>Boolean value Yes/No</td>
633 <td>N</td>
634 </tr>
635
636 <tr bgcolor="#FFFFCC">
637 <td> -options</td>
638 <td>boolean</td>
639 <td>Prompt for standard and additional values</td>
640 <td>Boolean value Yes/No</td>
641 <td>N</td>
642 </tr>
643
644 <tr bgcolor="#FFFFCC">
645 <td> -debug</td>
646 <td>boolean</td>
647 <td>Write debug output to program.dbg</td>
648 <td>Boolean value Yes/No</td>
649 <td>N</td>
650 </tr>
651
652 <tr bgcolor="#FFFFCC">
653 <td> -verbose</td>
654 <td>boolean</td>
655 <td>Report some/full command line options</td>
656 <td>Boolean value Yes/No</td>
657 <td>Y</td>
658 </tr>
659
660 <tr bgcolor="#FFFFCC">
661 <td> -help</td>
662 <td>boolean</td>
663 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
664 <td>Boolean value Yes/No</td>
665 <td>N</td>
666 </tr>
667
668 <tr bgcolor="#FFFFCC">
669 <td> -warning</td>
670 <td>boolean</td>
671 <td>Report warnings</td>
672 <td>Boolean value Yes/No</td>
673 <td>Y</td>
674 </tr>
675
676 <tr bgcolor="#FFFFCC">
677 <td> -error</td>
678 <td>boolean</td>
679 <td>Report errors</td>
680 <td>Boolean value Yes/No</td>
681 <td>Y</td>
682 </tr>
683
684 <tr bgcolor="#FFFFCC">
685 <td> -fatal</td>
686 <td>boolean</td>
687 <td>Report fatal errors</td>
688 <td>Boolean value Yes/No</td>
689 <td>Y</td>
690 </tr>
691
692 <tr bgcolor="#FFFFCC">
693 <td> -die</td>
694 <td>boolean</td>
695 <td>Report dying program messages</td>
696 <td>Boolean value Yes/No</td>
697 <td>Y</td>
698 </tr>
699
700 <tr bgcolor="#FFFFCC">
701 <td> -version</td>
702 <td>boolean</td>
703 <td>Report version number and exit</td>
704 <td>Boolean value Yes/No</td>
705 <td>N</td>
706 </tr>
707
708 </table>
709
710 <H2>
711 Input file format
712 </H2>
713
714 <b>cpgplot</b> reads one or more nucleotide sequences.
715 <p>
716 <p>
717
718 The input is a standard EMBOSS sequence query (also known as a 'USA').
719
720 <p>
721 Major sequence database sources defined as standard in EMBOSS
722 installations include srs:embl, srs:uniprot and ensembl
723
724 <p>
725
726 Data can also be read from sequence output in any supported format
727 written by an EMBOSS or third-party application.
728
729 <p>
730 The input format can be specified by using the
731 command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced
732 by the name of the required format. The available format names are:
733 gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir
734 (nbrf), swissprot (swiss, sw), dasgff and debug.
735
736 <p>
737
738 See:
739 <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html">
740 http://emboss.sf.net/docs/themes/SequenceFormats.html</A>
741 for further information on sequence formats.
742
743 <p>
744
745 <a name="input.1"></a>
746 <h3>Input files for usage example </h3>
747
748 'tembl:u68037' is a sequence entry in the example nucleic acid database 'tembl'
749 <p>
750 <p><h3>Database entry: tembl:u68037</h3>
751 <table width="90%"><tr><td bgcolor="#FFCCFF">
752 <pre>
753 ID U68037; SV 1; linear; mRNA; STD; ROD; 1218 BP.
754 XX
755 AC U68037;
756 XX
757 DT 23-SEP-1996 (Rel. 49, Created)
758 DT 04-MAR-2000 (Rel. 63, Last updated, Version 2)
759 XX
760 DE Rattus norvegicus EP1 prostanoid receptor mRNA, complete cds.
761 XX
762 KW .
763 XX
764 OS Rattus norvegicus (Norway rat)
765 OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi; Mammalia;
766 OC Eutheria; Euarchontoglires; Glires; Rodentia; Sciurognathi; Muroidea;
767 OC Muridae; Murinae; Rattus.
768 XX
769 RN [1]
770 RP 1-1218
771 RA Abramovitz M., Boie Y.;
772 RT "Cloning of the rat EP1 prostanoid receptor";
773 RL Unpublished.
774 XX
775 RN [2]
776 RP 1-1218
777 RA Abramovitz M., Boie Y.;
778 RT ;
779 RL Submitted (26-AUG-1996) to the INSDC.
780 RL Biochemistry &amp; Molecular Biology, Merck Frosst Center for Therapeutic
781 RL Research, P. O. Box 1005, Pointe Claire - Dorval, Quebec H9R 4P8, Canada
782 XX
783 DR Ensembl-GO; ENSRNOESTG00000830631; Rattus_norvegicus.
784 DR Ensembl-Gn; ENSRNOG00000004094; Rattus_norvegicus.
785 DR Ensembl-Gn; ENSRNOG00000017743; Rattus_norvegicus.
786 DR Ensembl-TO; ENSRNOESTT00000830623; Rattus_norvegicus.
787 DR Ensembl-Tr; ENSRNOT00000005470; Rattus_norvegicus.
788 DR Ensembl-Tr; ENSRNOT00000023860; Rattus_norvegicus.
789 XX
790 FH Key Location/Qualifiers
791 FH
792 FT source 1..1218
793 FT /organism="Rattus norvegicus"
794 FT /strain="Sprague-Dawley"
795 FT /mol_type="mRNA"
796 FT /db_xref="taxon:10116"
797 FT CDS 1..1218
798 FT /codon_start=1
799 FT /product="EP1 prostanoid receptor"
800 FT /note="family 1 G-protein coupled receptor"
801 FT /db_xref="GOA:P70597"
802 FT /db_xref="InterPro:IPR000276"
803 FT /db_xref="InterPro:IPR000708"
804 FT /db_xref="InterPro:IPR001244"
805 FT /db_xref="InterPro:IPR008365"
806 FT /db_xref="InterPro:IPR017452"
807 FT /db_xref="UniProtKB/Swiss-Prot:P70597"
808 FT /protein_id="AAB07735.1"
809 FT /translation="MSPYGLNLSLVDEATTCVTPRVPNTSVVLPTGGNGTSPALPIFSM
810 FT TLGAVSNVLALALLAQVAGRLRRRRSTATFLLFVASLLAIDLAGHVIPGALVLRLYTAG
811 FT RAPAGGACHFLGGCMVFFGLCPLLLGCGMAVERCVGVTQPLIHAARVSVARARLALALL
812 FT AAMALAVALLPLVHVGHYELQYPGTWCFISLGPPGGWRQALLAGLFAGLGLAALLAALV
813 FT CNTLSGLALLRARWRRRRSRRFRENAGPDDRRRWGSRGLRLASASSASSITSTTAALRS
814 FT SRGGGSARRVHAHDVEMVGQLVGIMVVSCICWSPLLVLVVLAIGGWNSNSLQRPLFLAV
815 FT RLASWNQILDPWVYILLRQAMLRQLLRLLPLRVSAKGGPTELSLTKSAWEASSLRSSRH
816 FT SGFSHL"
817 XX
818 SQ Sequence 1218 BP; 162 A; 397 C; 387 G; 272 T; 0 other;
819 atgagcccct acgggcttaa cctgagccta gtggatgagg caacaacgtg tgtaacaccc 60
820 agggtcccca atacatctgt ggtgctgcca acaggcggta acggcacatc accagcgctg 120
821 cctatcttct ccatgacgct gggtgctgtg tccaacgtgc tggcgctggc gctgctggcc 180
822 caggttgcag gcagactgcg gcgccgccgc tcgactgcca ccttcctgtt gttcgtcgcc 240
823 agcctgcttg ccatcgacct agcaggccat gtgatcccgg gcgccttggt gcttcgcctg 300
824 tatactgcag gacgtgcgcc cgctggcggg gcctgtcatt tcctgggcgg ctgtatggtc 360
825 ttctttggcc tgtgcccact tttgcttggc tgtggcatgg ccgtggagcg ctgcgtgggt 420
826 gtcacgcagc cgctgatcca cgcggcgcgc gtgtccgtag cccgcgcacg cctggcacta 480
827 gccctgctgg ccgccatggc tttggcagtg gcgctgctgc cactagtgca cgtgggtcac 540
828 tacgagctac agtaccctgg cacttggtgt ttcattagcc ttgggcctcc tggaggttgg 600
829 cgccaggcgt tgcttgcggg cctcttcgcc ggccttggcc tggctgcgct ccttgccgca 660
830 ctagtgtgta atacgctcag cggcctggcg ctccttcgtg cccgctggag gcggcgtcgc 720
831 tctcgacgtt tccgagagaa cgcaggtccc gatgatcgcc ggcgctgggg gtcccgtgga 780
832 ctccgcttgg cctccgcctc gtctgcgtca tccatcactt caaccacagc tgccctccgc 840
833 agctctcggg gaggcggctc cgcgcgcagg gttcacgcac acgacgtgga aatggtgggc 900
834 cagctcgtgg gcatcatggt ggtgtcgtgc atctgctgga gccccctgct ggtattggtg 960
835 gtgttggcca tcgggggctg gaactctaac tccctgcagc ggccgctctt tctggctgta 1020
836 cgcctcgcgt cgtggaacca gatcctggac ccatgggtgt acatcctgct gcgccaggct 1080
837 atgctgcgcc aacttcttcg cctcctaccc ctgagggtta gtgccaaggg tggtccaacg 1140
838 gagctgagcc taaccaagag tgcctgggag gccagttcac tgcgtagctc ccggcacagt 1200
839 ggcttcagcc acttgtga 1218
840 //
841 </pre>
842 </td></tr></table><p>
843
844 <H2>
845 Output file format
846 </H2>
847
848 <p>
849
850 The output is to the specified graphics device.
851
852 <p>
853
854 The results can be output in one of several formats by using the
855 command-line qualifier <b>-graph xxx</b>, where 'xxx' is replaced by
856 the name of the required device. Support depends on the availability
857 of third-party software packages.
858
859 <p>
860 The device names that output to a file are:
861 ps (postscript), cps (colourps), png, gif, pdf, svg, hpgl, hp7470,
862 hp7580, das, data.
863
864 <p> The other available device names are: meta, x11 (xwindows), tek
865 (tek4107t), tekt (tektronix), xterm, text.
866
867 <p>
868 Output can be turned off by specifying none (null).
869
870 <p>
871
872 See:
873 <A href="http://emboss.sf.net/docs/themes/GraphicsDevices.html">
874 http://emboss.sf.net/docs/themes/GraphicsDevices.html</A>
875 for further information on supported devices.
876
877 <p>
878
879 <p>
880
881 <a name="output.1"></a>
882 <h3>Output files for usage example </h3>
883 <p><h3>File: u68037.cpgplot</h3>
884 <table width="90%"><tr><td bgcolor="#CCFFCC">
885 <pre>
886
887
888 CPGPLOT islands of unusual CG composition
889 U68037 from 1 to 1218
890
891 Observed/Expected ratio &gt; 0.60
892 Percent C + Percent G &gt; 50.00
893 Length &gt; 200
894
895 Length 406 (104..509)
896
897 Length 329 (596..924)
898 </pre>
899 </td></tr></table><p>
900 <p><h3>File: u68037.gff</h3>
901 <table width="90%"><tr><td bgcolor="#CCFFCC">
902 <pre>
903 ##gff-version 3
904 ##sequence-region U68037 1 924
905 #!Date 2013-07-15
906 #!Type DNA
907 #!Source-version EMBOSS 6.6.0.0
908 U68037 cpgplot sequence_feature 104 509 . + . ID=U68037.1
909 U68037 cpgplot sequence_feature 596 924 . + . ID=U68037.2
910 </pre>
911 </td></tr></table><p>
912 <p><h3>Graphics File: cpgplot.ps</h3>
913 <p><img src="cpgplot.1.cpgplot.gif" alt="[cpgplot results]">
914
915
916 <H2>
917 Notes
918 </H2>
919
920 <p>"CpG" refers to a C nucleotide immediately followed by a G. The 'p' in 'CpG' refers to the phosphate group linking the two bases. Regions of genomic sequences rich in the CpG pattern or "CpG islands" are resistant to methylation and tend to be associated with genes which are frequently switched on. It's been estimated that about half of all mammalian genes, and, possibly all mammalian house-keeping genes, have a CpG-rich region around their 5' end. Non-mammalian vertebrates have some CpG islands that are associated with genes, but the association gets equivocal in the farther taxonomic groups. The detection of CpG island upstream of predicted exons or genes is evidence in support of a highly expressed gene.</p>
921
922
923 <p>As there is no official definition of what is a CpG island is or how to identify where they begin and end, we work with two definitions and thus two methods. These are:</p>
924
925 <p>1. <b>cpgplot</b> and <b>newcpgreport</b> use a sliding window within which the Observed/Expected ratio of CpG is calculated. For a sequence region to reported as a CpG island, it must satisfy the following contraints:</p>
926 <pre>
927 Observed/Expected ratio > 0.6
928 % C + % G > 50%
929 Sequence Length > 200
930 </pre>
931
932 <p>2. <b>newcpgseek</b> and <b>cpgreport</b> use a running sum calculated from all positions in a sequence rather than a window to produce a score. If there is not a <tt>CG</tt> dinucleotide at a position, the score is decremented, if there is one, the score is incremented by a constant (user-defined) value. If the score for a region in the sequence is higher than a threshold (17 at the moment) then a putative island is declared. Sequence regions scoring above the threshold are searched for recursively.</p>
933
934 <p>This method overpredicts islands but finds the smaller ones around primary exons. <b>newcpgseek</b> uses the same method as <b>cpgreport</b> but the output is different and more readable. For most purposes you should probably use <b>newcpgreport</b> rather than <b>cpgreport</b>. It is used to produce the human cpgisland database you can find on the EBI's ftp server as well as on the EBI's SRS server.</p>
935 <p><b>newcpgseek</b> and <b>cpgreport</b> both now display the actual CpG count, the (%C + %G) and the Observed/Expected ratio in the region where the score is above the threshold.</p>
936 <p>The <b>geecee</b> program measures CG content in the entire input sequence and is not to be used to detect CpG islands. It can be useful for detecting sequences that <em>might</em> contain an island.</p>
937
938
939 <H2>
940 References
941 </H2>
942
943 The original program was described in:
944
945 <ol>
946
947 <li>
948 Larsen F, Gundersen G, Lopez R, Prydz H
949 "CpG islands as gene markers in the human genome."
950 Genomics 1992 Aug;13(4):1095-107
951
952 </ol>
953
954 <H2>
955 Warnings
956 </H2>
957
958 None.
959
960 <H2>
961 Diagnostic Error Messages
962 </H2>
963
964 None.
965
966 <H2>
967 Exit status
968 </H2>
969
970 0 if successful.
971
972 <H2>
973 Known bugs
974 </H2>
975
976 None.
977
978 <h2><a name="See also">See also</a></h2>
979 <table border cellpadding=4 bgcolor="#FFFFF0">
980 <tr><th>Program name</th>
981 <th>Description</th></tr>
982 <tr>
983 <td><a href="cpgreport.html">cpgreport</a></td>
984 <td>Identify and report CpG-rich regions in nucleotide sequence(s)</td>
985 </tr>
986
987 <tr>
988 <td><a href="geecee.html">geecee</a></td>
989 <td>Calculate fractional GC content of nucleic acid sequences</td>
990 </tr>
991
992 <tr>
993 <td><a href="newcpgreport.html">newcpgreport</a></td>
994 <td>Identify CpG islands in nucleotide sequence(s)</td>
995 </tr>
996
997 <tr>
998 <td><a href="newcpgseek.html">newcpgseek</a></td>
999 <td>Identify and report CpG-rich regions in nucleotide sequence(s)</td>
1000 </tr>
1001
1002 </table>
1003
1004
1005 <p>
1006
1007 As there is no official definition of what is a cpg island is, and worst
1008 where they begin and end, we have to live with 2 definitions and thus
1009 two methods. These are:
1010
1011 <p>
1012
1013 1. <b>newcpgseek</b> and <b>cpgreport</b> - both declare a putative
1014 island if the score is higher than a threshold (17 at the moment). They
1015 now also displaying the actual CpG count, the % CG and the
1016 observed/expected ration in the region where the score is above the
1017 threshold. This scoring method based on sum/frequencies overpredicts
1018 islands but finds the smaller ones around primary exons.
1019 <b>newcpgseek</b> uses the same method as <b>cpgreport</b> but the
1020 output is different and more readable.
1021
1022 <p>
1023
1024 2. <b>newcpgreport</b> and <b>cpgplot</b> use a sliding window within
1025 which the Obs/Exp ratio of CpG is calculated. The important thing to
1026 note in this method is that an island, in order to be reported, is
1027 defined as a region that satisfies the following contraints:
1028
1029 <p>
1030 <pre>
1031 Obs/Exp ratio > 0.6
1032 % C + % G > 50%
1033 Length > 200.
1034 </pre>
1035 <p>
1036
1037 <p>
1038
1039 For all practical purposes you should probably use newcpgreport. It is
1040 actually used to produce the human cpgisland database you can find on
1041 the EBI's ftp server as well as on the EBI's SRS server.
1042
1043 <p>
1044
1045 <b>geecee</b> measures CG content in the entire input sequence and is
1046 not to be used to detect CpG islands. It can be usefull for detecting
1047 sequences that MIGHT contain an island.
1048
1049
1050 <H2>
1051 Author(s)
1052 </H2>
1053 Alan Bleasby
1054 <br>
1055 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
1056
1057 <p>
1058 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
1059
1060 <H2>
1061 History
1062 </H2>
1063
1064 Completed 23rd March 1999.
1065
1066 <H2>
1067 Target users
1068 </H2>
1069 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
1070
1071 <H2>
1072 Comments
1073 </H2>
1074 None
1075
1076 </BODY>
1077 </HTML>
1078