Debian Codegraph @

doc/programs/html/prettyplot.html

raw symbols SCIP
1 <HTML>
2
3 <HEAD>
4 <TITLE>
5 EMBOSS: prettyplot
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 prettyplot
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 Draw a sequence alignment with pretty formatting
40
41 <H2>
42 Description
43 </H2>
44
45
46 <p><b>prettyplot</b> draws a plot of the input sequence alignment.
47 The sequences are rendered in pretty formatting on the specified
48 graphics device. Drawing options control the appearance of the image,
49 such as boxes, colour and shading for highlighting conserved
50 regions.</p>
51
52 <H2>
53 Usage
54 </H2>
55 Here is a sample session with <b>prettyplot</b>
56 <p>
57
58 <p>
59 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
60
61 % <b>prettyplot -blocksperline=5 -boxcol -consensus -ratio=0.59 </b>
62 Draw a sequence alignment with pretty formatting
63 Input (aligned) sequence set: <b>globins.msf</b>
64 Graph type [x11]: <b>cps</b>
65
66 Created prettyplot.ps
67
68 </pre></td></tr></table><p>
69 <p>
70 <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>
71 <p>
72 <b>Example 2</b>
73 <p>
74
75 <p>
76 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
77
78 % <b>prettyplot globins.msf -ratio=0.59 -docolour </b>
79 Draw a sequence alignment with pretty formatting
80 Graph type [x11]: <b>cps</b>
81
82 Created prettyplot.ps
83
84 </pre></td></tr></table><p>
85 <p>
86 <a href="#output.2">Go to the output files for this example</a><p><p>
87
88
89 <H2>
90 Command line arguments
91 </H2>
92 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
93 <pre>
94 Draw a sequence alignment with pretty formatting
95 Version: EMBOSS:6.6.0.0
96
97 Standard (Mandatory) qualifiers:
98 [-sequences] seqset (Aligned) sequence set filename and optional
99 format, or reference (input USA)
100 -graph graph [$EMBOSS_GRAPHICS value, or x11] Graph type
101 (ps, hpgl, hp7470, hp7580, meta, cps, x11,
102 tek, tekt, none, data, xterm, png, gif, pdf,
103 svg)
104
105 Additional (Optional) qualifiers:
106 -matrixfile matrix [EBLOSUM62 for protein, EDNAFULL for DNA]
107 This is the scoring matrix file used when
108 comparing sequences. By default it is the
109 file 'EBLOSUM62' (for proteins) or the file
110 'EDNAFULL' (for nucleic sequences). These
111 files are found in the 'data' directory of
112 the EMBOSS installation.
113 -residuesperline integer [50] The number of residues to be displayed
114 on each line (Any integer value)
115 -blocksperline integer [1] Blocks of residues on each line (Integer
116 1 or more)
117 -[no]ccolours boolean [Y] Colour residues by their consensus
118 value.
119 -cidentity string [RED] Colour to display identical residues
120 (RED) (Any string)
121 -csimilarity string [GREEN] Colour to display similar residues
122 (GREEN) (Any string)
123 -cother string [BLACK] Colour to display other residues
124 (BLACK) (Any string)
125 -docolour boolean [N] Colour residues by table oily, amide
126 etc.
127 -shade string Set to BPLW for normal shading
128 (black, pale, light, white)
129 so for pair = 1.5,1.0,0.5 and shade = BPLW
130 Residues score Colour
131 1.5 or over... BLACK (B)
132 1.0 to 1.5 ... BROWN (P)
133 0.5 to 1.0 ... WHEAT (L)
134 under 0.5 .... WHITE (W)
135 The only four letters allowed are BPLW, in
136 any order. (Any string up to 4 characters,
137 matching regular expression
138 /^([BPLW]{4})?$/)
139 -pair array [1.5,1.0,0.5] Values to represent identical
140 similar related
141 -identity integer [0] Only match those which are identical in
142 all sequences. (Integer 0 or more)
143 -[no]doboxes boolean [Y] Display prettyboxes
144 -boxcol boolean [N] Colour the background in the boxes
145 -boxuse string [GREY] Colour to be used for background.
146 (GREY) (Any string)
147 -[no]name boolean [Y] Display the sequence names
148 -maxnamelen integer [10] Margin size for the sequence name. (Any
149 integer value)
150 -[no]number boolean [Y] Display the residue number
151 -[no]listoptions boolean [Y] Display the date and options used
152 -ratio float [0.5] Plurality ratio for a consensus match
153 (Number from 0.000 to 1.000)
154 -consensus boolean [N] Display the consensus
155 -[no]collision boolean [Y] Allow collisions in calculating
156 consensus
157 -alternative menu [0] Values are 0:Normal collision check.
158 (default)
159 1:Compares identical scores with the max
160 score found. So if any other residue matches
161 the identical score then a collision has
162 occurred.
163 2:If another residue has a greater than or
164 equal to matching score and these do not
165 match then a collision has occurred.
166 3:Checks all those not in the current
167 consensus.If any of these give a top score
168 for matching or identical scores then a
169 collision has occured. (Values: 0 (Normal
170 collision check. (default)); 1 (Compares
171 identical scores with the max score found.
172 So if any other residue matches the
173 identical score then a collision has
174 occurred.); 2 (If another residue has a
175 greater than or equal to matching score and
176 these do not match then a collision has
177 occurred.); 3 (Checks all those not in the
178 current consensus.If any of these give a top
179 score for matching or identical scores then
180 a collision has occured.))
181 -showscore integer [-1] Print residue scores (Any integer
182 value)
183 -portrait boolean [N] Set page to Portrait
184
185 Advanced (Unprompted) qualifiers: (none)
186 Associated qualifiers:
187
188 "-sequences" associated qualifiers
189 -sbegin1 integer Start of each sequence to be used
190 -send1 integer End of each sequence to be used
191 -sreverse1 boolean Reverse (if DNA)
192 -sask1 boolean Ask for begin/end/reverse
193 -snucleotide1 boolean Sequence is nucleotide
194 -sprotein1 boolean Sequence is protein
195 -slower1 boolean Make lower case
196 -supper1 boolean Make upper case
197 -scircular1 boolean Sequence is circular
198 -squick1 boolean Read id and sequence only
199 -sformat1 string Input sequence format
200 -iquery1 string Input query fields or ID list
201 -ioffset1 integer Input start position offset
202 -sdbname1 string Database name
203 -sid1 string Entryname
204 -ufo1 string UFO features
205 -fformat1 string Features format
206 -fopenfile1 string Features file name
207
208 "-graph" associated qualifiers
209 -gprompt boolean Graph prompting
210 -gdesc string Graph description
211 -gtitle string Graph title
212 -gsubtitle string Graph subtitle
213 -gxtitle string Graph x axis title
214 -gytitle string Graph y axis title
215 -goutfile string Output file for non interactive displays
216 -gdirectory string Output directory
217
218 General qualifiers:
219 -auto boolean Turn off prompts
220 -stdout boolean Write first file to standard output
221 -filter boolean Read first file from standard input, write
222 first file to standard output
223 -options boolean Prompt for standard and additional values
224 -debug boolean Write debug output to program.dbg
225 -verbose boolean Report some/full command line options
226 -help boolean Report command line options and exit. More
227 information on associated and general
228 qualifiers can be found with -help -verbose
229 -warning boolean Report warnings
230 -error boolean Report errors
231 -fatal boolean Report fatal errors
232 -die boolean Report dying program messages
233 -version boolean Report version number and exit
234
235 </pre>
236 </td></tr></table>
237 <P>
238
239 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
240 <tr bgcolor="#FFFFCC">
241 <th align="left">Qualifier</th>
242 <th align="left">Type</th>
243 <th align="left">Description</th>
244 <th align="left">Allowed values</th>
245 <th align="left">Default</th>
246 </tr>
247
248 <tr bgcolor="#FFFFCC">
249 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
250 </tr>
251
252 <tr bgcolor="#FFFFCC">
253 <td>[-sequences]<br>(Parameter 1)</td>
254 <td>seqset</td>
255 <td>(Aligned) sequence set filename and optional format, or reference (input USA)</td>
256 <td>Readable set of sequences</td>
257 <td><b>Required</b></td>
258 </tr>
259
260 <tr bgcolor="#FFFFCC">
261 <td>-graph</td>
262 <td>graph</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 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
270 </tr>
271
272 <tr bgcolor="#FFFFCC">
273 <td>-matrixfile</td>
274 <td>matrix</td>
275 <td>This is the scoring matrix file used when comparing sequences. By default it is the file 'EBLOSUM62' (for proteins) or the file 'EDNAFULL' (for nucleic sequences). These files are found in the 'data' directory of the EMBOSS installation.</td>
276 <td>Comparison matrix file in EMBOSS data path</td>
277 <td>EBLOSUM62 for protein<br>EDNAFULL for DNA</td>
278 </tr>
279
280 <tr bgcolor="#FFFFCC">
281 <td>-residuesperline</td>
282 <td>integer</td>
283 <td>The number of residues to be displayed on each line</td>
284 <td>Any integer value</td>
285 <td>50</td>
286 </tr>
287
288 <tr bgcolor="#FFFFCC">
289 <td>-blocksperline</td>
290 <td>integer</td>
291 <td>Blocks of residues on each line</td>
292 <td>Integer 1 or more</td>
293 <td>1</td>
294 </tr>
295
296 <tr bgcolor="#FFFFCC">
297 <td>-[no]ccolours</td>
298 <td>boolean</td>
299 <td>Colour residues by their consensus value.</td>
300 <td>Boolean value Yes/No</td>
301 <td>Yes</td>
302 </tr>
303
304 <tr bgcolor="#FFFFCC">
305 <td>-cidentity</td>
306 <td>string</td>
307 <td>Colour to display identical residues (RED)</td>
308 <td>Any string</td>
309 <td>RED</td>
310 </tr>
311
312 <tr bgcolor="#FFFFCC">
313 <td>-csimilarity</td>
314 <td>string</td>
315 <td>Colour to display similar residues (GREEN)</td>
316 <td>Any string</td>
317 <td>GREEN</td>
318 </tr>
319
320 <tr bgcolor="#FFFFCC">
321 <td>-cother</td>
322 <td>string</td>
323 <td>Colour to display other residues (BLACK)</td>
324 <td>Any string</td>
325 <td>BLACK</td>
326 </tr>
327
328 <tr bgcolor="#FFFFCC">
329 <td>-docolour</td>
330 <td>boolean</td>
331 <td>Colour residues by table oily, amide etc.</td>
332 <td>Boolean value Yes/No</td>
333 <td>No</td>
334 </tr>
335
336 <tr bgcolor="#FFFFCC">
337 <td>-shade</td>
338 <td>string</td>
339 <td>Set to BPLW for normal shading
340 (black, pale, light, white)
341 so for pair = 1.5,1.0,0.5 and shade = BPLW
342 Residues score Colour
343 1.5 or over... BLACK (B)
344 1.0 to 1.5 ... BROWN (P)
345 0.5 to 1.0 ... WHEAT (L)
346 under 0.5 .... WHITE (W)
347 The only four letters allowed are BPLW, in any order.</td>
348 <td>Any string up to 4 characters, matching regular expression /^([BPLW]{4})?$/</td>
349 <td>&nbsp;</td>
350 </tr>
351
352 <tr bgcolor="#FFFFCC">
353 <td>-pair</td>
354 <td>array</td>
355 <td>Values to represent identical similar related</td>
356 <td>List of floating point numbers</td>
357 <td>1.5,1.0,0.5</td>
358 </tr>
359
360 <tr bgcolor="#FFFFCC">
361 <td>-identity</td>
362 <td>integer</td>
363 <td>Only match those which are identical in all sequences.</td>
364 <td>Integer 0 or more</td>
365 <td>0</td>
366 </tr>
367
368 <tr bgcolor="#FFFFCC">
369 <td>-[no]doboxes</td>
370 <td>boolean</td>
371 <td>Display prettyboxes</td>
372 <td>Boolean value Yes/No</td>
373 <td>Yes</td>
374 </tr>
375
376 <tr bgcolor="#FFFFCC">
377 <td>-boxcol</td>
378 <td>boolean</td>
379 <td>Colour the background in the boxes</td>
380 <td>Boolean value Yes/No</td>
381 <td>No</td>
382 </tr>
383
384 <tr bgcolor="#FFFFCC">
385 <td>-boxuse</td>
386 <td>string</td>
387 <td>Colour to be used for background. (GREY)</td>
388 <td>Any string</td>
389 <td>GREY</td>
390 </tr>
391
392 <tr bgcolor="#FFFFCC">
393 <td>-[no]name</td>
394 <td>boolean</td>
395 <td>Display the sequence names</td>
396 <td>Boolean value Yes/No</td>
397 <td>Yes</td>
398 </tr>
399
400 <tr bgcolor="#FFFFCC">
401 <td>-maxnamelen</td>
402 <td>integer</td>
403 <td>Margin size for the sequence name.</td>
404 <td>Any integer value</td>
405 <td>10</td>
406 </tr>
407
408 <tr bgcolor="#FFFFCC">
409 <td>-[no]number</td>
410 <td>boolean</td>
411 <td>Display the residue number</td>
412 <td>Boolean value Yes/No</td>
413 <td>Yes</td>
414 </tr>
415
416 <tr bgcolor="#FFFFCC">
417 <td>-[no]listoptions</td>
418 <td>boolean</td>
419 <td>Display the date and options used</td>
420 <td>Boolean value Yes/No</td>
421 <td>Yes</td>
422 </tr>
423
424 <tr bgcolor="#FFFFCC">
425 <td>-ratio</td>
426 <td>float</td>
427 <td>Plurality ratio for a consensus match</td>
428 <td>Number from 0.000 to 1.000</td>
429 <td>0.5</td>
430 </tr>
431
432 <tr bgcolor="#FFFFCC">
433 <td>-consensus</td>
434 <td>boolean</td>
435 <td>Display the consensus</td>
436 <td>Boolean value Yes/No</td>
437 <td>No</td>
438 </tr>
439
440 <tr bgcolor="#FFFFCC">
441 <td>-[no]collision</td>
442 <td>boolean</td>
443 <td>Allow collisions in calculating consensus</td>
444 <td>Boolean value Yes/No</td>
445 <td>Yes</td>
446 </tr>
447
448 <tr bgcolor="#FFFFCC">
449 <td>-alternative</td>
450 <td>list</td>
451 <td>Values are 0:Normal collision check. (default)
452 1:Compares identical scores with the max score found. So if any other residue matches the identical score then a collision has occurred.
453 2:If another residue has a greater than or equal to matching score and these do not match then a collision has occurred.
454 3:Checks all those not in the current consensus.If any of these give a top score for matching or identical scores then a collision has occured.</td>
455 <td><table><tr><td>0</td> <td><i>(Normal collision check. (default))</i></td></tr><tr><td>1</td> <td><i>(Compares identical scores with the max score found. So if any other residue matches the identical score then a collision has occurred.)</i></td></tr><tr><td>2</td> <td><i>(If another residue has a greater than or equal to matching score and these do not match then a collision has occurred.)</i></td></tr><tr><td>3</td> <td><i>(Checks all those not in the current consensus.If any of these give a top score for matching or identical scores then a collision has occured.)</i></td></tr></table></td>
456 <td>0</td>
457 </tr>
458
459 <tr bgcolor="#FFFFCC">
460 <td>-showscore</td>
461 <td>integer</td>
462 <td>Print residue scores</td>
463 <td>Any integer value</td>
464 <td>-1</td>
465 </tr>
466
467 <tr bgcolor="#FFFFCC">
468 <td>-portrait</td>
469 <td>boolean</td>
470 <td>Set page to Portrait</td>
471 <td>Boolean value Yes/No</td>
472 <td>No</td>
473 </tr>
474
475 <tr bgcolor="#FFFFCC">
476 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
477 </tr>
478
479 <tr>
480 <td colspan=5>(none)</td>
481 </tr>
482
483 <tr bgcolor="#FFFFCC">
484 <th align="left" colspan=5>Associated qualifiers</th>
485 </tr>
486
487 <tr bgcolor="#FFFFCC">
488 <td align="left" colspan=5>"-sequences" associated seqset qualifiers
489 </td>
490 </tr>
491
492 <tr bgcolor="#FFFFCC">
493 <td> -sbegin1<br>-sbegin_sequences</td>
494 <td>integer</td>
495 <td>Start of each sequence to be used</td>
496 <td>Any integer value</td>
497 <td>0</td>
498 </tr>
499
500 <tr bgcolor="#FFFFCC">
501 <td> -send1<br>-send_sequences</td>
502 <td>integer</td>
503 <td>End of each sequence to be used</td>
504 <td>Any integer value</td>
505 <td>0</td>
506 </tr>
507
508 <tr bgcolor="#FFFFCC">
509 <td> -sreverse1<br>-sreverse_sequences</td>
510 <td>boolean</td>
511 <td>Reverse (if DNA)</td>
512 <td>Boolean value Yes/No</td>
513 <td>N</td>
514 </tr>
515
516 <tr bgcolor="#FFFFCC">
517 <td> -sask1<br>-sask_sequences</td>
518 <td>boolean</td>
519 <td>Ask for begin/end/reverse</td>
520 <td>Boolean value Yes/No</td>
521 <td>N</td>
522 </tr>
523
524 <tr bgcolor="#FFFFCC">
525 <td> -snucleotide1<br>-snucleotide_sequences</td>
526 <td>boolean</td>
527 <td>Sequence is nucleotide</td>
528 <td>Boolean value Yes/No</td>
529 <td>N</td>
530 </tr>
531
532 <tr bgcolor="#FFFFCC">
533 <td> -sprotein1<br>-sprotein_sequences</td>
534 <td>boolean</td>
535 <td>Sequence is protein</td>
536 <td>Boolean value Yes/No</td>
537 <td>N</td>
538 </tr>
539
540 <tr bgcolor="#FFFFCC">
541 <td> -slower1<br>-slower_sequences</td>
542 <td>boolean</td>
543 <td>Make lower case</td>
544 <td>Boolean value Yes/No</td>
545 <td>N</td>
546 </tr>
547
548 <tr bgcolor="#FFFFCC">
549 <td> -supper1<br>-supper_sequences</td>
550 <td>boolean</td>
551 <td>Make upper case</td>
552 <td>Boolean value Yes/No</td>
553 <td>N</td>
554 </tr>
555
556 <tr bgcolor="#FFFFCC">
557 <td> -scircular1<br>-scircular_sequences</td>
558 <td>boolean</td>
559 <td>Sequence is circular</td>
560 <td>Boolean value Yes/No</td>
561 <td>N</td>
562 </tr>
563
564 <tr bgcolor="#FFFFCC">
565 <td> -squick1<br>-squick_sequences</td>
566 <td>boolean</td>
567 <td>Read id and sequence only</td>
568 <td>Boolean value Yes/No</td>
569 <td>N</td>
570 </tr>
571
572 <tr bgcolor="#FFFFCC">
573 <td> -sformat1<br>-sformat_sequences</td>
574 <td>string</td>
575 <td>Input sequence format</td>
576 <td>Any string</td>
577 <td>&nbsp;</td>
578 </tr>
579
580 <tr bgcolor="#FFFFCC">
581 <td> -iquery1<br>-iquery_sequences</td>
582 <td>string</td>
583 <td>Input query fields or ID list</td>
584 <td>Any string</td>
585 <td>&nbsp;</td>
586 </tr>
587
588 <tr bgcolor="#FFFFCC">
589 <td> -ioffset1<br>-ioffset_sequences</td>
590 <td>integer</td>
591 <td>Input start position offset</td>
592 <td>Any integer value</td>
593 <td>0</td>
594 </tr>
595
596 <tr bgcolor="#FFFFCC">
597 <td> -sdbname1<br>-sdbname_sequences</td>
598 <td>string</td>
599 <td>Database name</td>
600 <td>Any string</td>
601 <td>&nbsp;</td>
602 </tr>
603
604 <tr bgcolor="#FFFFCC">
605 <td> -sid1<br>-sid_sequences</td>
606 <td>string</td>
607 <td>Entryname</td>
608 <td>Any string</td>
609 <td>&nbsp;</td>
610 </tr>
611
612 <tr bgcolor="#FFFFCC">
613 <td> -ufo1<br>-ufo_sequences</td>
614 <td>string</td>
615 <td>UFO features</td>
616 <td>Any string</td>
617 <td>&nbsp;</td>
618 </tr>
619
620 <tr bgcolor="#FFFFCC">
621 <td> -fformat1<br>-fformat_sequences</td>
622 <td>string</td>
623 <td>Features format</td>
624 <td>Any string</td>
625 <td>&nbsp;</td>
626 </tr>
627
628 <tr bgcolor="#FFFFCC">
629 <td> -fopenfile1<br>-fopenfile_sequences</td>
630 <td>string</td>
631 <td>Features file name</td>
632 <td>Any string</td>
633 <td>&nbsp;</td>
634 </tr>
635
636 <tr bgcolor="#FFFFCC">
637 <td align="left" colspan=5>"-graph" associated graph qualifiers
638 </td>
639 </tr>
640
641 <tr bgcolor="#FFFFCC">
642 <td> -gprompt</td>
643 <td>boolean</td>
644 <td>Graph prompting</td>
645 <td>Boolean value Yes/No</td>
646 <td>N</td>
647 </tr>
648
649 <tr bgcolor="#FFFFCC">
650 <td> -gdesc</td>
651 <td>string</td>
652 <td>Graph description</td>
653 <td>Any string</td>
654 <td>Pretty plot</td>
655 </tr>
656
657 <tr bgcolor="#FFFFCC">
658 <td> -gtitle</td>
659 <td>string</td>
660 <td>Graph title</td>
661 <td>Any string</td>
662 <td>&nbsp;</td>
663 </tr>
664
665 <tr bgcolor="#FFFFCC">
666 <td> -gsubtitle</td>
667 <td>string</td>
668 <td>Graph subtitle</td>
669 <td>Any string</td>
670 <td>&nbsp;</td>
671 </tr>
672
673 <tr bgcolor="#FFFFCC">
674 <td> -gxtitle</td>
675 <td>string</td>
676 <td>Graph x axis title</td>
677 <td>Any string</td>
678 <td>&nbsp;</td>
679 </tr>
680
681 <tr bgcolor="#FFFFCC">
682 <td> -gytitle</td>
683 <td>string</td>
684 <td>Graph y axis title</td>
685 <td>Any string</td>
686 <td>&nbsp;</td>
687 </tr>
688
689 <tr bgcolor="#FFFFCC">
690 <td> -goutfile</td>
691 <td>string</td>
692 <td>Output file for non interactive displays</td>
693 <td>Any string</td>
694 <td>&nbsp;</td>
695 </tr>
696
697 <tr bgcolor="#FFFFCC">
698 <td> -gdirectory</td>
699 <td>string</td>
700 <td>Output directory</td>
701 <td>Any string</td>
702 <td>&nbsp;</td>
703 </tr>
704
705 <tr bgcolor="#FFFFCC">
706 <th align="left" colspan=5>General qualifiers</th>
707 </tr>
708
709 <tr bgcolor="#FFFFCC">
710 <td> -auto</td>
711 <td>boolean</td>
712 <td>Turn off prompts</td>
713 <td>Boolean value Yes/No</td>
714 <td>N</td>
715 </tr>
716
717 <tr bgcolor="#FFFFCC">
718 <td> -stdout</td>
719 <td>boolean</td>
720 <td>Write first file to standard output</td>
721 <td>Boolean value Yes/No</td>
722 <td>N</td>
723 </tr>
724
725 <tr bgcolor="#FFFFCC">
726 <td> -filter</td>
727 <td>boolean</td>
728 <td>Read first file from standard input, write first file to standard output</td>
729 <td>Boolean value Yes/No</td>
730 <td>N</td>
731 </tr>
732
733 <tr bgcolor="#FFFFCC">
734 <td> -options</td>
735 <td>boolean</td>
736 <td>Prompt for standard and additional values</td>
737 <td>Boolean value Yes/No</td>
738 <td>N</td>
739 </tr>
740
741 <tr bgcolor="#FFFFCC">
742 <td> -debug</td>
743 <td>boolean</td>
744 <td>Write debug output to program.dbg</td>
745 <td>Boolean value Yes/No</td>
746 <td>N</td>
747 </tr>
748
749 <tr bgcolor="#FFFFCC">
750 <td> -verbose</td>
751 <td>boolean</td>
752 <td>Report some/full command line options</td>
753 <td>Boolean value Yes/No</td>
754 <td>Y</td>
755 </tr>
756
757 <tr bgcolor="#FFFFCC">
758 <td> -help</td>
759 <td>boolean</td>
760 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
761 <td>Boolean value Yes/No</td>
762 <td>N</td>
763 </tr>
764
765 <tr bgcolor="#FFFFCC">
766 <td> -warning</td>
767 <td>boolean</td>
768 <td>Report warnings</td>
769 <td>Boolean value Yes/No</td>
770 <td>Y</td>
771 </tr>
772
773 <tr bgcolor="#FFFFCC">
774 <td> -error</td>
775 <td>boolean</td>
776 <td>Report errors</td>
777 <td>Boolean value Yes/No</td>
778 <td>Y</td>
779 </tr>
780
781 <tr bgcolor="#FFFFCC">
782 <td> -fatal</td>
783 <td>boolean</td>
784 <td>Report fatal errors</td>
785 <td>Boolean value Yes/No</td>
786 <td>Y</td>
787 </tr>
788
789 <tr bgcolor="#FFFFCC">
790 <td> -die</td>
791 <td>boolean</td>
792 <td>Report dying program messages</td>
793 <td>Boolean value Yes/No</td>
794 <td>Y</td>
795 </tr>
796
797 <tr bgcolor="#FFFFCC">
798 <td> -version</td>
799 <td>boolean</td>
800 <td>Report version number and exit</td>
801 <td>Boolean value Yes/No</td>
802 <td>N</td>
803 </tr>
804
805 </table>
806
807
808 <H2>
809 Input file format
810 </H2>
811
812 <b>prettyplot</b> reads aligned protein sequences.
813 <p>
814 <p>
815
816 The input is a standard EMBOSS sequence query (also known as a 'USA').
817
818 <p>
819 Major sequence database sources defined as standard in EMBOSS
820 installations include srs:embl, srs:uniprot and ensembl
821
822 <p>
823
824 Data can also be read from sequence output in any supported format
825 written by an EMBOSS or third-party application.
826
827 <p>
828 The input format can be specified by using the
829 command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced
830 by the name of the required format. The available format names are:
831 gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir
832 (nbrf), swissprot (swiss, sw), dasgff and debug.
833
834 <p>
835
836 See:
837 <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html">
838 http://emboss.sf.net/docs/themes/SequenceFormats.html</A>
839 for further information on sequence formats.
840
841 <p>
842
843
844 <a name="input.1"></a>
845 <h3>Input files for usage example </h3>
846 <p><h3>File: globins.msf</h3>
847 <table width="90%"><tr><td bgcolor="#FFCCFF">
848 <pre>
849 !!AA_MULTIPLE_ALIGNMENT 1.0
850
851 ../data/globins.msf MSF: 164 Type: P 25/06/01 CompCheck: 4278 ..
852
853 Name: HBB_HUMAN Len: 164 Check: 6914 Weight: 0.61
854 Name: HBB_HORSE Len: 164 Check: 6007 Weight: 0.65
855 Name: HBA_HUMAN Len: 164 Check: 3921 Weight: 0.65
856 Name: HBA_HORSE Len: 164 Check: 4770 Weight: 0.83
857 Name: MYG_PHYCA Len: 164 Check: 7930 Weight: 1.00
858 Name: GLB5_PETMA Len: 164 Check: 1857 Weight: 0.91
859 Name: LGB2_LUPLU Len: 164 Check: 2879 Weight: 0.43
860
861 //
862
863 1 50
864 HBB_HUMAN ~~~~~~~~VHLTPEEKSAVTALWGKVN.VDEVGGEALGR.LLVVYPWTQR
865 HBB_HORSE ~~~~~~~~VQLSGEEKAAVLALWDKVN.EEEVGGEALGR.LLVVYPWTQR
866 HBA_HUMAN ~~~~~~~~~~~~~~VLSPADKTNVKAA.WGKVGAHAGEYGAEALERMFLS
867 HBA_HORSE ~~~~~~~~~~~~~~VLSAADKTNVKAA.WSKVGGHAGEYGAEALERMFLG
868 MYG_PHYCA ~~~~~~~VLSEGEWQLVLHVWAKVEAD.VAGHGQDILIR.LFKSHPETLE
869 GLB5_PETMA PIVDTGSVAPLSAAEKTKIRSAWAPVYSTYETSGVDILVKFFTSTPAAQE
870 LGB2_LUPLU ~~~~~~~~GALTESQAALVKSSWEEFNANIPKHTHRFFILVLEIAPAAKD
871
872 51 100
873 HBB_HUMAN FFESFGDLSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSE
874 HBB_HORSE FFDSFGDLSNPGAVMGNPKVKAHGKKVLHSFGEGVHHLDNLKGTFAALSE
875 HBA_HUMAN FPTTKTYFPHFDLSHGSAQVKGHGKKVADALTNAVAHVDDMPNALSALSD
876 HBA_HORSE FPTTKTYFPHFDLSHGSAQVKAHGKKVGDALTLAVGHLDDLPGALSNLSD
877 MYG_PHYCA KFDRFKHLKTEAEMKASEDLKKHGVTVLTALGAILKKKGHHEAELKPLAQ
878 GLB5_PETMA FFPKFKGLTTADQLKKSADVRWHAERIINAVNDAVASMDDTEKMSMKLRD
879 LGB2_LUPLU LFSFLKGTSEVPQNNPELQAHAGKVFKLVYEAAIQLQVTGVVVTDATLKN
880
881 101 150
882 HBB_HUMAN LHCDKLH..VDPENFRLLGNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVA
883 HBB_HORSE LHCDKLH..VDPENFRLLGNVLVVVLARHFGKDFTPELQASYQKVVAGVA
884 HBA_HUMAN LHAHKLR..VDPVNFKLLSHCLLVTLAAHLPAEFTPAVHASLDKFLASVS
885 HBA_HORSE LHAHKLR..VDPVNFKLLSHCLLSTLAVHLPNDFTPAVHASLDKFLSSVS
886 MYG_PHYCA SHATKHK..IPIKYLEFISEAIIHVLHSRHPGDFGADAQGAMNKALELFR
887 GLB5_PETMA LSGKHAK..SFQVDPQYFKVLAAVIADTVAAGDAGFEKLMSMICILLRSA
888 LGB2_LUPLU LGSVHVSKGVADAHFPVVKEAILKTIKEVVGAKWSEELNSAWTIAYDELA
889
890 151 164
891 HBB_HUMAN NALAHKYH~~~~~~
892 HBB_HORSE NALAHKYH~~~~~~
893 HBA_HUMAN TVLTSKYR~~~~~~
894 HBA_HORSE TVLTSKYR~~~~~~
895 MYG_PHYCA KDIAAKYKELGYQG
896 GLB5_PETMA Y~~~~~~~~~~~~~
897 LGB2_LUPLU IVIKKEMNDAA~~~
898
899 </pre>
900 </td></tr></table><p>
901
902 <H2>
903 Output file format
904 </H2>
905
906 <p>
907
908 The output is to the specified graphics device.
909
910 <p>
911
912 The results can be output in one of several formats by using the
913 command-line qualifier <b>-graph xxx</b>, where 'xxx' is replaced by
914 the name of the required device. Support depends on the availability
915 of third-party software packages.
916
917 <p>
918 The device names that output to a file are:
919 ps (postscript), cps (colourps), png, gif, pdf, svg, hpgl, hp7470,
920 hp7580, das, data.
921
922 <p> The other available device names are: meta, x11 (xwindows), tek
923 (tek4107t), tekt (tektronix), xterm, text.
924
925 <p>
926 Output can be turned off by specifying none (null).
927
928 <p>
929
930 See:
931 <A href="http://emboss.sf.net/docs/themes/GraphicsDevices.html">
932 http://emboss.sf.net/docs/themes/GraphicsDevices.html</A>
933 for further information on supported devices.
934
935 <p>
936
937 <p>
938
939
940 <a name="output.1"></a>
941 <h3>Output files for usage example </h3>
942 <p><h3>Graphics File: prettyplot.ps</h3>
943 <p><img src="prettyplot.1.prettyplot.gif" alt="[prettyplot results]">
944
945 <a name="output.2"></a>
946 <h3>Output files for usage example 2</h3>
947 <p><h3>Graphics File: prettyplot.ps</h3>
948 <p><img src="prettyplot.2.prettyplot.gif" alt="[prettyplot results]">
949
950 <H2>
951 Data files
952 </H2>
953
954
955 Prettyplot uses a comparison matrix file to calculate similarity to
956 the consensus.
957
958 <p>
959 For protein sequences EBLOSUM62 is used for the substitution matrix.
960 For nucleotide sequence, EDNAFULL is used.
961
962 <p>
963 EMBOSS data files are distributed with the application and stored
964 in the standard EMBOSS data directory, which is defined
965 by the EMBOSS environment variable EMBOSS_DATA.
966
967 <p>
968
969 To see the available EMBOSS data files, run:
970 <p>
971 <pre>
972 % embossdata -showall
973 </pre>
974 <p>
975 To fetch one of the data files (for example 'Exxx.dat') into your
976 current directory for you to inspect or modify, run:
977
978 <pre>
979
980 % embossdata -fetch -file Exxx.dat
981
982 </pre>
983 <p>
984
985 Users can provide their own data files in their own directories.
986 Project specific files can be put in the current directory, or for
987 tidier directory listings in a subdirectory called
988 ".embossdata". Files for all EMBOSS runs can be put in the user's home
989 directory, or again in a subdirectory called ".embossdata".
990
991 <p>
992 The directories are searched in the following order:
993
994 <ul>
995 <li> . (your current directory)
996 <li> .embossdata (under your current directory)
997 <li> ~/ (your home directory)
998 <li> ~/.embossdata
999 </ul>
1000 <p>
1001
1002 <H2>
1003 Notes
1004 </H2>
1005
1006 <p>A consesnsus sequence is calculated for the alignment and
1007 individual sequences compared to the consensus using the specified
1008 comparison matrix file. The default matrix for protein sequences
1009 is <tt>EBLOSUM62</tt> and for nucleotide sequences
1010 is <tt>EDNAFULL</tt>. The drawing options render conserved sites and
1011 regions identified from the comparisons. For example, residues in a
1012 sequence are classed as "identical", "similar" or "other" to the
1013 consensus depending on user-specified thresholds of sequence
1014 similarity (<tt>-pair</tt> option). Residues in each class are
1015 rendered red, green and black by default (this can be changed).</p>
1016
1017 <p>There are other more general drawing options, for example,
1018 controlling the number of residues displayed per line, background
1019 shading and whether to display sequence names or not.</p>
1020
1021 <H2>
1022 References
1023 </H2>
1024
1025 None.
1026
1027 <H2>
1028 Warnings
1029 </H2>
1030
1031 None.
1032
1033 <H2>
1034 Diagnostic Error Messages
1035 </H2>
1036
1037 None.
1038
1039 <H2>
1040 Exit status
1041 </H2>
1042
1043 It exits with status 0 unless an error is reported.
1044
1045 <H2>
1046 Known bugs
1047 </H2>
1048
1049
1050 Portrait mode does not cover the whole page! This is a "feature" in
1051 plplot.
1052
1053 <h2><a name="See also">See also</a></h2>
1054 <table border cellpadding=4 bgcolor="#FFFFF0">
1055 <tr><th>Program name</th>
1056 <th>Description</th></tr>
1057 <tr>
1058 <td><a href="abiview.html">abiview</a></td>
1059 <td>Display the trace in an ABI sequencer file</td>
1060 </tr>
1061
1062 <tr>
1063 <td><a href="cirdna.html">cirdna</a></td>
1064 <td>Draw circular map of DNA constructs</td>
1065 </tr>
1066
1067 <tr>
1068 <td><a href="edialign.html">edialign</a></td>
1069 <td>Local multiple alignment of sequences</td>
1070 </tr>
1071
1072 <tr>
1073 <td><a href="emma.html">emma</a></td>
1074 <td>Multiple sequence alignment (ClustalW wrapper)</td>
1075 </tr>
1076
1077 <tr>
1078 <td><a href="iep.html">iep</a></td>
1079 <td>Calculate the isoelectric point of proteins</td>
1080 </tr>
1081
1082 <tr>
1083 <td><a href="infoalign.html">infoalign</a></td>
1084 <td>Display basic information about a multiple sequence alignment</td>
1085 </tr>
1086
1087 <tr>
1088 <td><a href="lindna.html">lindna</a></td>
1089 <td>Draw linear maps of DNA constructs</td>
1090 </tr>
1091
1092 <tr>
1093 <td><a href="pepinfo.html">pepinfo</a></td>
1094 <td>Plot amino acid properties of a protein sequence in parallel</td>
1095 </tr>
1096
1097 <tr>
1098 <td><a href="pepnet.html">pepnet</a></td>
1099 <td>Draw a helical net for a protein sequence</td>
1100 </tr>
1101
1102 <tr>
1103 <td><a href="pepwheel.html">pepwheel</a></td>
1104 <td>Draw a helical wheel diagram for a protein sequence</td>
1105 </tr>
1106
1107 <tr>
1108 <td><a href="plotcon.html">plotcon</a></td>
1109 <td>Plot conservation of a sequence alignment</td>
1110 </tr>
1111
1112 <tr>
1113 <td><a href="plotorf.html">plotorf</a></td>
1114 <td>Plot potential open reading frames in a nucleotide sequence</td>
1115 </tr>
1116
1117 <tr>
1118 <td><a href="prettyseq.html">prettyseq</a></td>
1119 <td>Write a nucleotide sequence and its translation to file</td>
1120 </tr>
1121
1122 <tr>
1123 <td><a href="remap.html">remap</a></td>
1124 <td>Display restriction enzyme binding sites in a nucleotide sequence</td>
1125 </tr>
1126
1127 <tr>
1128 <td><a href="showalign.html">showalign</a></td>
1129 <td>Display a multiple sequence alignment in pretty format</td>
1130 </tr>
1131
1132 <tr>
1133 <td><a href="showfeat.html">showfeat</a></td>
1134 <td>Display features of a sequence in pretty format</td>
1135 </tr>
1136
1137 <tr>
1138 <td><a href="showpep.html">showpep</a></td>
1139 <td>Display protein sequences with features in pretty format</td>
1140 </tr>
1141
1142 <tr>
1143 <td><a href="sixpack.html">sixpack</a></td>
1144 <td>Display a DNA sequence with 6-frame translation and ORFs</td>
1145 </tr>
1146
1147 <tr>
1148 <td><a href="tranalign.html">tranalign</a></td>
1149 <td>Generate an alignment of nucleic coding regions from aligned proteins</td>
1150 </tr>
1151
1152 </table>
1153
1154 <H2>
1155 Author(s)
1156 </H2>
1157 Ian Longden formerly at:
1158 <br>
1159 Sanger Institute, Wellcome Trust Genome Campus, Hinxton,
1160 Cambridge, CB10 1SA, UK.
1161
1162 <p>
1163 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
1164
1165
1166 <p>
1167
1168 Many features were first implemented in the EGCG program "prettyplot" by
1169 Peter Rice
1170 <br>
1171 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
1172
1173 <p>
1174 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
1175
1176 <p>
1177
1178 The original suggestions for the PrettyPlot program were from Denis
1179 Duboule and Sigfried Labeit at EMBL. Gert Vriend added the star
1180 marking. Rita Grandori suggested the -NOCOLLISION option.
1181
1182 <H2>
1183 History
1184 </H2>
1185
1186 Completed 5th May 1999.
1187
1188 <H2>
1189 Target users
1190 </H2>
1191 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
1192
1193 <H2>
1194 Comments
1195 </H2>
1196 None
1197
1198 </BODY>
1199 </HTML>
1200