Debian Codegraph @

doc/programs/html/dotmatcher.html

raw symbols SCIP
1 <HTML>
2
3 <HEAD>
4 <TITLE>
5 EMBOSS: dotmatcher
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 dotmatcher
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 threshold dotplot of two sequences
40 <H2>
41 Description
42 </H2>
43
44 <p><b>dotmatcher</b> generates a dotplot from two input sequences. The dotplot is an intuitive graphical representation of the regions of similarity between two sequences. All positions from the first input sequence are compared with all positions from the second input sequence using a specified substitution matrix. The two sequences are the axes of the rectangular dotplot. Wherever there is "similarity" between a position from each sequence a dot is plotted. The threshold conditions for "similarity" are defined by the user.</p>
45
46 <H2>
47 Algorithm
48 </H2>
49
50 <p>All positions from the first input sequence are compared with all positions from the second input sequence and scored, using the specified substitution matrix. This produces a matrix of scores from which local regions of similarity (corresponding to diagonals in the dotplot) are identified. A window of user-specified length is moved along all possible diagonals. Each position in the window corresponds to a pair-wise score from the scoring matrix. The score for the entire window is the sum of the scores for individual positions within it. If the window score is above the user-defined threshold, then a line is plotted on the dotplot corresponding to the window.</p>
51
52 <H2>
53 Usage
54 </H2>
55 Here is a sample session with <b>dotmatcher</b>
56 <p>
57
58 <p>
59 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
60
61 % <b>dotmatcher tsw:hba_human tsw:hbb_human -graph cps </b>
62 Draw a threshold dotplot of two sequences
63
64 Created dotmatcher.ps
65
66 </pre></td></tr></table><p>
67 <p>
68 <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>
69
70 <H2>
71 Command line arguments
72 </H2>
73
74 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
75 <pre>
76 Draw a threshold dotplot of two sequences
77 Version: EMBOSS:6.6.0.0
78
79 Standard (Mandatory) qualifiers (* if not always prompted):
80 [-asequence] sequence Sequence filename and optional format, or
81 reference (input USA)
82 [-bsequence] sequence Sequence filename and optional format, or
83 reference (input USA)
84 * -graph graph [$EMBOSS_GRAPHICS value, or x11] Graph type
85 (ps, hpgl, hp7470, hp7580, meta, cps, x11,
86 tek, tekt, none, data, xterm, png, gif, pdf,
87 svg)
88 * -xygraph xygraph [$EMBOSS_GRAPHICS value, or x11] Graph type
89 (ps, hpgl, hp7470, hp7580, meta, cps, x11,
90 tek, tekt, none, data, xterm, png, gif, pdf,
91 svg)
92
93 Additional (Optional) qualifiers:
94 -matrixfile matrix [EBLOSUM62 for protein, EDNAFULL for DNA]
95 This is the scoring matrix file used when
96 comparing sequences. By default it is the
97 file 'EBLOSUM62' (for proteins) or the file
98 'EDNAFULL' (for nucleic sequences). These
99 files are found in the 'data' directory of
100 the EMBOSS installation.
101 -windowsize integer [10] Window size over which to test
102 threshold (Integer 3 or more)
103 -threshold integer [23] Threshold (Integer 0 or more)
104
105 Advanced (Unprompted) qualifiers:
106 -stretch toggle [N] Display a non-proportional graph
107
108 Associated qualifiers:
109
110 "-asequence" associated qualifiers
111 -sbegin1 integer Start of the sequence to be used
112 -send1 integer End of the sequence to be used
113 -sreverse1 boolean Reverse (if DNA)
114 -sask1 boolean Ask for begin/end/reverse
115 -snucleotide1 boolean Sequence is nucleotide
116 -sprotein1 boolean Sequence is protein
117 -slower1 boolean Make lower case
118 -supper1 boolean Make upper case
119 -scircular1 boolean Sequence is circular
120 -squick1 boolean Read id and sequence only
121 -sformat1 string Input sequence format
122 -iquery1 string Input query fields or ID list
123 -ioffset1 integer Input start position offset
124 -sdbname1 string Database name
125 -sid1 string Entryname
126 -ufo1 string UFO features
127 -fformat1 string Features format
128 -fopenfile1 string Features file name
129
130 "-bsequence" associated qualifiers
131 -sbegin2 integer Start of the sequence to be used
132 -send2 integer End of the sequence to be used
133 -sreverse2 boolean Reverse (if DNA)
134 -sask2 boolean Ask for begin/end/reverse
135 -snucleotide2 boolean Sequence is nucleotide
136 -sprotein2 boolean Sequence is protein
137 -slower2 boolean Make lower case
138 -supper2 boolean Make upper case
139 -scircular2 boolean Sequence is circular
140 -squick2 boolean Read id and sequence only
141 -sformat2 string Input sequence format
142 -iquery2 string Input query fields or ID list
143 -ioffset2 integer Input start position offset
144 -sdbname2 string Database name
145 -sid2 string Entryname
146 -ufo2 string UFO features
147 -fformat2 string Features format
148 -fopenfile2 string Features file name
149
150 "-graph" associated qualifiers
151 -gprompt boolean Graph prompting
152 -gdesc string Graph description
153 -gtitle string Graph title
154 -gsubtitle string Graph subtitle
155 -gxtitle string Graph x axis title
156 -gytitle string Graph y axis title
157 -goutfile string Output file for non interactive displays
158 -gdirectory string Output directory
159
160 "-xygraph" associated qualifiers
161 -gprompt boolean Graph prompting
162 -gdesc string Graph description
163 -gtitle string Graph title
164 -gsubtitle string Graph subtitle
165 -gxtitle string Graph x axis title
166 -gytitle string Graph y axis title
167 -goutfile string Output file for non interactive displays
168 -gdirectory string Output directory
169
170 General qualifiers:
171 -auto boolean Turn off prompts
172 -stdout boolean Write first file to standard output
173 -filter boolean Read first file from standard input, write
174 first file to standard output
175 -options boolean Prompt for standard and additional values
176 -debug boolean Write debug output to program.dbg
177 -verbose boolean Report some/full command line options
178 -help boolean Report command line options and exit. More
179 information on associated and general
180 qualifiers can be found with -help -verbose
181 -warning boolean Report warnings
182 -error boolean Report errors
183 -fatal boolean Report fatal errors
184 -die boolean Report dying program messages
185 -version boolean Report version number and exit
186
187 </pre>
188 </td></tr></table>
189 <P>
190 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
191 <tr bgcolor="#FFFFCC">
192 <th align="left">Qualifier</th>
193 <th align="left">Type</th>
194 <th align="left">Description</th>
195 <th align="left">Allowed values</th>
196 <th align="left">Default</th>
197 </tr>
198
199 <tr bgcolor="#FFFFCC">
200 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
201 </tr>
202
203 <tr bgcolor="#FFFFCC">
204 <td>[-asequence]<br>(Parameter 1)</td>
205 <td>sequence</td>
206 <td>Sequence filename and optional format, or reference (input USA)</td>
207 <td>Readable sequence</td>
208 <td><b>Required</b></td>
209 </tr>
210
211 <tr bgcolor="#FFFFCC">
212 <td>[-bsequence]<br>(Parameter 2)</td>
213 <td>sequence</td>
214 <td>Sequence filename and optional format, or reference (input USA)</td>
215 <td>Readable sequence</td>
216 <td><b>Required</b></td>
217 </tr>
218
219 <tr bgcolor="#FFFFCC">
220 <td>-graph</td>
221 <td>graph</td>
222 <td>Graph type</td>
223 <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>
224 <td><i>EMBOSS_GRAPHICS</i> value, or x11</td>
225 </tr>
226
227 <tr bgcolor="#FFFFCC">
228 <td>-xygraph</td>
229 <td>xygraph</td>
230 <td>Graph type</td>
231 <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>
232 <td><i>EMBOSS_GRAPHICS</i> value, or x11</td>
233 </tr>
234
235 <tr bgcolor="#FFFFCC">
236 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
237 </tr>
238
239 <tr bgcolor="#FFFFCC">
240 <td>-matrixfile</td>
241 <td>matrix</td>
242 <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>
243 <td>Comparison matrix file in EMBOSS data path</td>
244 <td>EBLOSUM62 for protein<br>EDNAFULL for DNA</td>
245 </tr>
246
247 <tr bgcolor="#FFFFCC">
248 <td>-windowsize</td>
249 <td>integer</td>
250 <td>Window size over which to test threshold</td>
251 <td>Integer 3 or more</td>
252 <td>10</td>
253 </tr>
254
255 <tr bgcolor="#FFFFCC">
256 <td>-threshold</td>
257 <td>integer</td>
258 <td>Threshold</td>
259 <td>Integer 0 or more</td>
260 <td>23</td>
261 </tr>
262
263 <tr bgcolor="#FFFFCC">
264 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
265 </tr>
266
267 <tr bgcolor="#FFFFCC">
268 <td>-stretch</td>
269 <td>toggle</td>
270 <td>Display a non-proportional graph</td>
271 <td>Toggle value Yes/No</td>
272 <td>No</td>
273 </tr>
274
275 <tr bgcolor="#FFFFCC">
276 <th align="left" colspan=5>Associated qualifiers</th>
277 </tr>
278
279 <tr bgcolor="#FFFFCC">
280 <td align="left" colspan=5>"-asequence" associated sequence qualifiers
281 </td>
282 </tr>
283
284 <tr bgcolor="#FFFFCC">
285 <td> -sbegin1<br>-sbegin_asequence</td>
286 <td>integer</td>
287 <td>Start of the sequence to be used</td>
288 <td>Any integer value</td>
289 <td>0</td>
290 </tr>
291
292 <tr bgcolor="#FFFFCC">
293 <td> -send1<br>-send_asequence</td>
294 <td>integer</td>
295 <td>End of the sequence to be used</td>
296 <td>Any integer value</td>
297 <td>0</td>
298 </tr>
299
300 <tr bgcolor="#FFFFCC">
301 <td> -sreverse1<br>-sreverse_asequence</td>
302 <td>boolean</td>
303 <td>Reverse (if DNA)</td>
304 <td>Boolean value Yes/No</td>
305 <td>N</td>
306 </tr>
307
308 <tr bgcolor="#FFFFCC">
309 <td> -sask1<br>-sask_asequence</td>
310 <td>boolean</td>
311 <td>Ask for begin/end/reverse</td>
312 <td>Boolean value Yes/No</td>
313 <td>N</td>
314 </tr>
315
316 <tr bgcolor="#FFFFCC">
317 <td> -snucleotide1<br>-snucleotide_asequence</td>
318 <td>boolean</td>
319 <td>Sequence is nucleotide</td>
320 <td>Boolean value Yes/No</td>
321 <td>N</td>
322 </tr>
323
324 <tr bgcolor="#FFFFCC">
325 <td> -sprotein1<br>-sprotein_asequence</td>
326 <td>boolean</td>
327 <td>Sequence is protein</td>
328 <td>Boolean value Yes/No</td>
329 <td>N</td>
330 </tr>
331
332 <tr bgcolor="#FFFFCC">
333 <td> -slower1<br>-slower_asequence</td>
334 <td>boolean</td>
335 <td>Make lower case</td>
336 <td>Boolean value Yes/No</td>
337 <td>N</td>
338 </tr>
339
340 <tr bgcolor="#FFFFCC">
341 <td> -supper1<br>-supper_asequence</td>
342 <td>boolean</td>
343 <td>Make upper case</td>
344 <td>Boolean value Yes/No</td>
345 <td>N</td>
346 </tr>
347
348 <tr bgcolor="#FFFFCC">
349 <td> -scircular1<br>-scircular_asequence</td>
350 <td>boolean</td>
351 <td>Sequence is circular</td>
352 <td>Boolean value Yes/No</td>
353 <td>N</td>
354 </tr>
355
356 <tr bgcolor="#FFFFCC">
357 <td> -squick1<br>-squick_asequence</td>
358 <td>boolean</td>
359 <td>Read id and sequence only</td>
360 <td>Boolean value Yes/No</td>
361 <td>N</td>
362 </tr>
363
364 <tr bgcolor="#FFFFCC">
365 <td> -sformat1<br>-sformat_asequence</td>
366 <td>string</td>
367 <td>Input sequence format</td>
368 <td>Any string</td>
369 <td>&nbsp;</td>
370 </tr>
371
372 <tr bgcolor="#FFFFCC">
373 <td> -iquery1<br>-iquery_asequence</td>
374 <td>string</td>
375 <td>Input query fields or ID list</td>
376 <td>Any string</td>
377 <td>&nbsp;</td>
378 </tr>
379
380 <tr bgcolor="#FFFFCC">
381 <td> -ioffset1<br>-ioffset_asequence</td>
382 <td>integer</td>
383 <td>Input start position offset</td>
384 <td>Any integer value</td>
385 <td>0</td>
386 </tr>
387
388 <tr bgcolor="#FFFFCC">
389 <td> -sdbname1<br>-sdbname_asequence</td>
390 <td>string</td>
391 <td>Database name</td>
392 <td>Any string</td>
393 <td>&nbsp;</td>
394 </tr>
395
396 <tr bgcolor="#FFFFCC">
397 <td> -sid1<br>-sid_asequence</td>
398 <td>string</td>
399 <td>Entryname</td>
400 <td>Any string</td>
401 <td>&nbsp;</td>
402 </tr>
403
404 <tr bgcolor="#FFFFCC">
405 <td> -ufo1<br>-ufo_asequence</td>
406 <td>string</td>
407 <td>UFO features</td>
408 <td>Any string</td>
409 <td>&nbsp;</td>
410 </tr>
411
412 <tr bgcolor="#FFFFCC">
413 <td> -fformat1<br>-fformat_asequence</td>
414 <td>string</td>
415 <td>Features format</td>
416 <td>Any string</td>
417 <td>&nbsp;</td>
418 </tr>
419
420 <tr bgcolor="#FFFFCC">
421 <td> -fopenfile1<br>-fopenfile_asequence</td>
422 <td>string</td>
423 <td>Features file name</td>
424 <td>Any string</td>
425 <td>&nbsp;</td>
426 </tr>
427
428 <tr bgcolor="#FFFFCC">
429 <td align="left" colspan=5>"-bsequence" associated sequence qualifiers
430 </td>
431 </tr>
432
433 <tr bgcolor="#FFFFCC">
434 <td> -sbegin2<br>-sbegin_bsequence</td>
435 <td>integer</td>
436 <td>Start of the sequence to be used</td>
437 <td>Any integer value</td>
438 <td>0</td>
439 </tr>
440
441 <tr bgcolor="#FFFFCC">
442 <td> -send2<br>-send_bsequence</td>
443 <td>integer</td>
444 <td>End of the sequence to be used</td>
445 <td>Any integer value</td>
446 <td>0</td>
447 </tr>
448
449 <tr bgcolor="#FFFFCC">
450 <td> -sreverse2<br>-sreverse_bsequence</td>
451 <td>boolean</td>
452 <td>Reverse (if DNA)</td>
453 <td>Boolean value Yes/No</td>
454 <td>N</td>
455 </tr>
456
457 <tr bgcolor="#FFFFCC">
458 <td> -sask2<br>-sask_bsequence</td>
459 <td>boolean</td>
460 <td>Ask for begin/end/reverse</td>
461 <td>Boolean value Yes/No</td>
462 <td>N</td>
463 </tr>
464
465 <tr bgcolor="#FFFFCC">
466 <td> -snucleotide2<br>-snucleotide_bsequence</td>
467 <td>boolean</td>
468 <td>Sequence is nucleotide</td>
469 <td>Boolean value Yes/No</td>
470 <td>N</td>
471 </tr>
472
473 <tr bgcolor="#FFFFCC">
474 <td> -sprotein2<br>-sprotein_bsequence</td>
475 <td>boolean</td>
476 <td>Sequence is protein</td>
477 <td>Boolean value Yes/No</td>
478 <td>N</td>
479 </tr>
480
481 <tr bgcolor="#FFFFCC">
482 <td> -slower2<br>-slower_bsequence</td>
483 <td>boolean</td>
484 <td>Make lower case</td>
485 <td>Boolean value Yes/No</td>
486 <td>N</td>
487 </tr>
488
489 <tr bgcolor="#FFFFCC">
490 <td> -supper2<br>-supper_bsequence</td>
491 <td>boolean</td>
492 <td>Make upper case</td>
493 <td>Boolean value Yes/No</td>
494 <td>N</td>
495 </tr>
496
497 <tr bgcolor="#FFFFCC">
498 <td> -scircular2<br>-scircular_bsequence</td>
499 <td>boolean</td>
500 <td>Sequence is circular</td>
501 <td>Boolean value Yes/No</td>
502 <td>N</td>
503 </tr>
504
505 <tr bgcolor="#FFFFCC">
506 <td> -squick2<br>-squick_bsequence</td>
507 <td>boolean</td>
508 <td>Read id and sequence only</td>
509 <td>Boolean value Yes/No</td>
510 <td>N</td>
511 </tr>
512
513 <tr bgcolor="#FFFFCC">
514 <td> -sformat2<br>-sformat_bsequence</td>
515 <td>string</td>
516 <td>Input sequence format</td>
517 <td>Any string</td>
518 <td>&nbsp;</td>
519 </tr>
520
521 <tr bgcolor="#FFFFCC">
522 <td> -iquery2<br>-iquery_bsequence</td>
523 <td>string</td>
524 <td>Input query fields or ID list</td>
525 <td>Any string</td>
526 <td>&nbsp;</td>
527 </tr>
528
529 <tr bgcolor="#FFFFCC">
530 <td> -ioffset2<br>-ioffset_bsequence</td>
531 <td>integer</td>
532 <td>Input start position offset</td>
533 <td>Any integer value</td>
534 <td>0</td>
535 </tr>
536
537 <tr bgcolor="#FFFFCC">
538 <td> -sdbname2<br>-sdbname_bsequence</td>
539 <td>string</td>
540 <td>Database name</td>
541 <td>Any string</td>
542 <td>&nbsp;</td>
543 </tr>
544
545 <tr bgcolor="#FFFFCC">
546 <td> -sid2<br>-sid_bsequence</td>
547 <td>string</td>
548 <td>Entryname</td>
549 <td>Any string</td>
550 <td>&nbsp;</td>
551 </tr>
552
553 <tr bgcolor="#FFFFCC">
554 <td> -ufo2<br>-ufo_bsequence</td>
555 <td>string</td>
556 <td>UFO features</td>
557 <td>Any string</td>
558 <td>&nbsp;</td>
559 </tr>
560
561 <tr bgcolor="#FFFFCC">
562 <td> -fformat2<br>-fformat_bsequence</td>
563 <td>string</td>
564 <td>Features format</td>
565 <td>Any string</td>
566 <td>&nbsp;</td>
567 </tr>
568
569 <tr bgcolor="#FFFFCC">
570 <td> -fopenfile2<br>-fopenfile_bsequence</td>
571 <td>string</td>
572 <td>Features file name</td>
573 <td>Any string</td>
574 <td>&nbsp;</td>
575 </tr>
576
577 <tr bgcolor="#FFFFCC">
578 <td align="left" colspan=5>"-graph" associated graph qualifiers
579 </td>
580 </tr>
581
582 <tr bgcolor="#FFFFCC">
583 <td> -gprompt</td>
584 <td>boolean</td>
585 <td>Graph prompting</td>
586 <td>Boolean value Yes/No</td>
587 <td>N</td>
588 </tr>
589
590 <tr bgcolor="#FFFFCC">
591 <td> -gdesc</td>
592 <td>string</td>
593 <td>Graph description</td>
594 <td>Any string</td>
595 <td>&nbsp;</td>
596 </tr>
597
598 <tr bgcolor="#FFFFCC">
599 <td> -gtitle</td>
600 <td>string</td>
601 <td>Graph title</td>
602 <td>Any string</td>
603 <td>Dotmatcher: $(asequence.usa) vs $(bsequence.usa)</td>
604 </tr>
605
606 <tr bgcolor="#FFFFCC">
607 <td> -gsubtitle</td>
608 <td>string</td>
609 <td>Graph subtitle</td>
610 <td>Any string</td>
611 <td>&nbsp;</td>
612 </tr>
613
614 <tr bgcolor="#FFFFCC">
615 <td> -gxtitle</td>
616 <td>string</td>
617 <td>Graph x axis title</td>
618 <td>Any string</td>
619 <td>$(asequence.name)</td>
620 </tr>
621
622 <tr bgcolor="#FFFFCC">
623 <td> -gytitle</td>
624 <td>string</td>
625 <td>Graph y axis title</td>
626 <td>Any string</td>
627 <td>$(bsequence.name)</td>
628 </tr>
629
630 <tr bgcolor="#FFFFCC">
631 <td> -goutfile</td>
632 <td>string</td>
633 <td>Output file for non interactive displays</td>
634 <td>Any string</td>
635 <td>&nbsp;</td>
636 </tr>
637
638 <tr bgcolor="#FFFFCC">
639 <td> -gdirectory</td>
640 <td>string</td>
641 <td>Output directory</td>
642 <td>Any string</td>
643 <td>&nbsp;</td>
644 </tr>
645
646 <tr bgcolor="#FFFFCC">
647 <td align="left" colspan=5>"-xygraph" associated xygraph qualifiers
648 </td>
649 </tr>
650
651 <tr bgcolor="#FFFFCC">
652 <td> -gprompt</td>
653 <td>boolean</td>
654 <td>Graph prompting</td>
655 <td>Boolean value Yes/No</td>
656 <td>N</td>
657 </tr>
658
659 <tr bgcolor="#FFFFCC">
660 <td> -gdesc</td>
661 <td>string</td>
662 <td>Graph description</td>
663 <td>Any string</td>
664 <td>&nbsp;</td>
665 </tr>
666
667 <tr bgcolor="#FFFFCC">
668 <td> -gtitle</td>
669 <td>string</td>
670 <td>Graph title</td>
671 <td>Any string</td>
672 <td>Dotmatcher: $(asequence.usa) vs $(bsequence.usa)</td>
673 </tr>
674
675 <tr bgcolor="#FFFFCC">
676 <td> -gsubtitle</td>
677 <td>string</td>
678 <td>Graph subtitle</td>
679 <td>Any string</td>
680 <td>&nbsp;</td>
681 </tr>
682
683 <tr bgcolor="#FFFFCC">
684 <td> -gxtitle</td>
685 <td>string</td>
686 <td>Graph x axis title</td>
687 <td>Any string</td>
688 <td>$(asequence.name)</td>
689 </tr>
690
691 <tr bgcolor="#FFFFCC">
692 <td> -gytitle</td>
693 <td>string</td>
694 <td>Graph y axis title</td>
695 <td>Any string</td>
696 <td>$(bsequence.name)</td>
697 </tr>
698
699 <tr bgcolor="#FFFFCC">
700 <td> -goutfile</td>
701 <td>string</td>
702 <td>Output file for non interactive displays</td>
703 <td>Any string</td>
704 <td>&nbsp;</td>
705 </tr>
706
707 <tr bgcolor="#FFFFCC">
708 <td> -gdirectory</td>
709 <td>string</td>
710 <td>Output directory</td>
711 <td>Any string</td>
712 <td>&nbsp;</td>
713 </tr>
714
715 <tr bgcolor="#FFFFCC">
716 <th align="left" colspan=5>General qualifiers</th>
717 </tr>
718
719 <tr bgcolor="#FFFFCC">
720 <td> -auto</td>
721 <td>boolean</td>
722 <td>Turn off prompts</td>
723 <td>Boolean value Yes/No</td>
724 <td>N</td>
725 </tr>
726
727 <tr bgcolor="#FFFFCC">
728 <td> -stdout</td>
729 <td>boolean</td>
730 <td>Write first file to standard output</td>
731 <td>Boolean value Yes/No</td>
732 <td>N</td>
733 </tr>
734
735 <tr bgcolor="#FFFFCC">
736 <td> -filter</td>
737 <td>boolean</td>
738 <td>Read first file from standard input, write first file to standard output</td>
739 <td>Boolean value Yes/No</td>
740 <td>N</td>
741 </tr>
742
743 <tr bgcolor="#FFFFCC">
744 <td> -options</td>
745 <td>boolean</td>
746 <td>Prompt for standard and additional values</td>
747 <td>Boolean value Yes/No</td>
748 <td>N</td>
749 </tr>
750
751 <tr bgcolor="#FFFFCC">
752 <td> -debug</td>
753 <td>boolean</td>
754 <td>Write debug output to program.dbg</td>
755 <td>Boolean value Yes/No</td>
756 <td>N</td>
757 </tr>
758
759 <tr bgcolor="#FFFFCC">
760 <td> -verbose</td>
761 <td>boolean</td>
762 <td>Report some/full command line options</td>
763 <td>Boolean value Yes/No</td>
764 <td>Y</td>
765 </tr>
766
767 <tr bgcolor="#FFFFCC">
768 <td> -help</td>
769 <td>boolean</td>
770 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
771 <td>Boolean value Yes/No</td>
772 <td>N</td>
773 </tr>
774
775 <tr bgcolor="#FFFFCC">
776 <td> -warning</td>
777 <td>boolean</td>
778 <td>Report warnings</td>
779 <td>Boolean value Yes/No</td>
780 <td>Y</td>
781 </tr>
782
783 <tr bgcolor="#FFFFCC">
784 <td> -error</td>
785 <td>boolean</td>
786 <td>Report errors</td>
787 <td>Boolean value Yes/No</td>
788 <td>Y</td>
789 </tr>
790
791 <tr bgcolor="#FFFFCC">
792 <td> -fatal</td>
793 <td>boolean</td>
794 <td>Report fatal errors</td>
795 <td>Boolean value Yes/No</td>
796 <td>Y</td>
797 </tr>
798
799 <tr bgcolor="#FFFFCC">
800 <td> -die</td>
801 <td>boolean</td>
802 <td>Report dying program messages</td>
803 <td>Boolean value Yes/No</td>
804 <td>Y</td>
805 </tr>
806
807 <tr bgcolor="#FFFFCC">
808 <td> -version</td>
809 <td>boolean</td>
810 <td>Report version number and exit</td>
811 <td>Boolean value Yes/No</td>
812 <td>N</td>
813 </tr>
814
815 </table>
816
817 <H2>
818 Input file format
819 </H2>
820
821 <b>dotmatcher</b> reads two nucleotide or protein sequences.
822
823 <p>
824 <p>
825
826 The input is a standard EMBOSS sequence query (also known as a 'USA').
827
828 <p>
829 Major sequence database sources defined as standard in EMBOSS
830 installations include srs:embl, srs:uniprot and ensembl
831
832 <p>
833
834 Data can also be read from sequence output in any supported format
835 written by an EMBOSS or third-party application.
836
837 <p>
838 The input format can be specified by using the
839 command-line qualifier <tt>-sformat xxx</tt>, where 'xxx' is replaced
840 by the name of the required format. The available format names are:
841 gff (gff3), gff2, embl (em), genbank (gb, refseq), ddbj, refseqp, pir
842 (nbrf), swissprot (swiss, sw), dasgff and debug.
843
844 <p>
845
846 See:
847 <A href="http://emboss.sf.net/docs/themes/SequenceFormats.html">
848 http://emboss.sf.net/docs/themes/SequenceFormats.html</A>
849 for further information on sequence formats.
850
851 <p>
852
853 <a name="input.1"></a>
854 <h3>Input files for usage example </h3>
855
856 'tsw:hba_human' is a sequence entry in the example protein database 'tsw'
857 <p>
858 <p><h3>Database entry: tsw:hba_human</h3>
859 <table width="90%"><tr><td bgcolor="#FFCCFF">
860 <pre>
861 ID HBA_HUMAN Reviewed; 142 AA.
862 AC P69905; P01922; Q1HDT5; Q3MIF5; Q53F97; Q96KF1; Q9NYR7; Q9UCM0;
863 DT 21-JUL-1986, integrated into UniProtKB/Swiss-Prot.
864 DT 23-JAN-2007, sequence version 2.
865 DT 13-JUN-2012, entry version 108.
866 DE RecName: Full=Hemoglobin subunit alpha;
867 DE AltName: Full=Alpha-globin;
868 DE AltName: Full=Hemoglobin alpha chain;
869 GN Name=HBA1;
870 GN and
871 GN Name=HBA2;
872 OS Homo sapiens (Human).
873 OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
874 OC Mammalia; Eutheria; Euarchontoglires; Primates; Haplorrhini;
875 OC Catarrhini; Hominidae; Homo.
876 OX NCBI_TaxID=9606;
877 RN [1]
878 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA] (HBA1).
879 RX MEDLINE=81088339; PubMed=7448866; DOI=10.1016/0092-8674(80)90347-5;
880 RA Michelson A.M., Orkin S.H.;
881 RT "The 3' untranslated regions of the duplicated human alpha-globin
882 RT genes are unexpectedly divergent.";
883 RL Cell 22:371-377(1980).
884 RN [2]
885 RP NUCLEOTIDE SEQUENCE [MRNA] (HBA2).
886 RX MEDLINE=80137531; PubMed=6244294;
887 RA Wilson J.T., Wilson L.B., Reddy V.B., Cavallesco C., Ghosh P.K.,
888 RA Deriel J.K., Forget B.G., Weissman S.M.;
889 RT "Nucleotide sequence of the coding portion of human alpha globin
890 RT messenger RNA.";
891 RL J. Biol. Chem. 255:2807-2815(1980).
892 RN [3]
893 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA] (HBA2).
894 RX MEDLINE=81175088; PubMed=6452630; DOI=10.1073/pnas.77.12.7054;
895 RA Liebhaber S.A., Goossens M.J., Kan Y.W.;
896 RT "Cloning and complete nucleotide sequence of human 5'-alpha-globin
897 RT gene.";
898 RL Proc. Natl. Acad. Sci. U.S.A. 77:7054-7058(1980).
899 RN [4]
900 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA].
901 RX PubMed=6946451; DOI=10.1073/pnas.78.8.5041;
902 RA Orkin S.H., Goff S.C., Hechtman R.L.;
903 RT "Mutation in an intervening sequence splice junction in man.";
904 RL Proc. Natl. Acad. Sci. U.S.A. 78:5041-5045(1981).
905 RN [5]
906 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA], AND VARIANT LYS-32.
907 RX MEDLINE=21303311; PubMed=11410421;
908 RA Zhao Y., Xu X.;
909 RT "Alpha2(CD31 AGG--&gt;AAG, Arg--&gt;Lys) causing non-deletional alpha-
910 RT thalassemia in a Chinese family with HbH disease.";
911
912
913 <font color=red> [Part of this file has been deleted for brevity]</font>
914
915 FT /FTId=VAR_002841.
916 FT VARIANT 132 132 S -&gt; P (in Questembert; highly unstable;
917 FT causes alpha-thalassemia).
918 FT /FTId=VAR_002843.
919 FT VARIANT 134 134 S -&gt; R (in Val de Marne; O(2) affinity
920 FT up).
921 FT /FTId=VAR_002844.
922 FT VARIANT 136 136 V -&gt; E (in Pavie).
923 FT /FTId=VAR_002845.
924 FT VARIANT 137 137 L -&gt; M (in Chicago).
925 FT /FTId=VAR_002846.
926 FT VARIANT 137 137 L -&gt; P (in Bibba; unstable; causes alpha-
927 FT thalassemia).
928 FT /FTId=VAR_002847.
929 FT VARIANT 137 137 L -&gt; R (in Toyama).
930 FT /FTId=VAR_035242.
931 FT VARIANT 139 139 S -&gt; P (in Attleboro; O(2) affinity up).
932 FT /FTId=VAR_002848.
933 FT VARIANT 140 140 K -&gt; E (in Hanamaki; O(2) affinity up).
934 FT /FTId=VAR_002849.
935 FT VARIANT 140 140 K -&gt; T (in Tokoname; O(2) affinity up).
936 FT /FTId=VAR_002850.
937 FT VARIANT 141 141 Y -&gt; H (in Rouen/Ethiopia; O(2) affinity
938 FT up).
939 FT /FTId=VAR_002851.
940 FT VARIANT 142 142 R -&gt; C (in Nunobiki; O(2) affinity up).
941 FT /FTId=VAR_002852.
942 FT VARIANT 142 142 R -&gt; H (in Suresnes; O(2) affinity up).
943 FT /FTId=VAR_002854.
944 FT VARIANT 142 142 R -&gt; L (in Legnano; O(2) affinity up).
945 FT /FTId=VAR_002853.
946 FT VARIANT 142 142 R -&gt; P (in Singapore).
947 FT /FTId=VAR_002855.
948 FT CONFLICT 10 10 N -&gt; H (in Ref. 13; BAD97112).
949 FT HELIX 5 16
950 FT HELIX 17 21
951 FT HELIX 22 36
952 FT HELIX 38 43
953 FT HELIX 54 72
954 FT HELIX 74 76
955 FT HELIX 77 80
956 FT HELIX 82 90
957 FT HELIX 97 113
958 FT TURN 115 117
959 FT HELIX 120 137
960 FT TURN 138 140
961 SQ SEQUENCE 142 AA; 15258 MW; 15E13666573BBBAE CRC64;
962 MVLSPADKTN VKAAWGKVGA HAGEYGAEAL ERMFLSFPTT KTYFPHFDLS HGSAQVKGHG
963 KKVADALTNA VAHVDDMPNA LSALSDLHAH KLRVDPVNFK LLSHCLLVTL AAHLPAEFTP
964 AVHASLDKFL ASVSTVLTSK YR
965 //
966 </pre>
967 </td></tr></table><p>
968 <p><h3>Database entry: tsw:hbb_human</h3>
969 <table width="90%"><tr><td bgcolor="#FFCCFF">
970 <pre>
971 ID HBB_HUMAN Reviewed; 147 AA.
972 AC P68871; A4GX73; B2ZUE0; P02023; Q13852; Q14481; Q14510; Q45KT0;
973 AC Q549N7; Q6FI08; Q6R7N2; Q8IZI1; Q9BX96; Q9UCD6; Q9UCP8; Q9UCP9;
974 DT 21-JUL-1986, integrated into UniProtKB/Swiss-Prot.
975 DT 23-JAN-2007, sequence version 2.
976 DT 13-JUN-2012, entry version 108.
977 DE RecName: Full=Hemoglobin subunit beta;
978 DE AltName: Full=Beta-globin;
979 DE AltName: Full=Hemoglobin beta chain;
980 DE Contains:
981 DE RecName: Full=LVV-hemorphin-7;
982 GN Name=HBB;
983 OS Homo sapiens (Human).
984 OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
985 OC Mammalia; Eutheria; Euarchontoglires; Primates; Haplorrhini;
986 OC Catarrhini; Hominidae; Homo.
987 OX NCBI_TaxID=9606;
988 RN [1]
989 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA].
990 RX MEDLINE=77126403; PubMed=1019344;
991 RA Marotta C., Forget B., Cohen-Solal M., Weissman S.M.;
992 RT "Nucleotide sequence analysis of coding and noncoding regions of human
993 RT beta-globin mRNA.";
994 RL Prog. Nucleic Acid Res. Mol. Biol. 19:165-175(1976).
995 RN [2]
996 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA].
997 RX MEDLINE=81064667; PubMed=6254664; DOI=10.1016/0092-8674(80)90428-6;
998 RA Lawn R.M., Efstratiadis A., O'Connell C., Maniatis T.;
999 RT "The nucleotide sequence of the human beta-globin gene.";
1000 RL Cell 21:647-651(1980).
1001 RN [3]
1002 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA], AND VARIANT LYS-7.
1003 RX PubMed=16175509; DOI=10.1086/491748;
1004 RA Wood E.T., Stover D.A., Slatkin M., Nachman M.W., Hammer M.F.;
1005 RT "The beta-globin recombinational hotspot reduces the effects of strong
1006 RT selection around HbC, a recently arisen mutation providing resistance
1007 RT to malaria.";
1008 RL Am. J. Hum. Genet. 77:637-642(2005).
1009 RN [4]
1010 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA].
1011 RA Lu L., Hu Z.H., Du C.S., Fu Y.S.;
1012 RT "DNA sequence of the human beta-globin gene isolated from a healthy
1013 RT Chinese.";
1014 RL Submitted (JUN-1997) to the EMBL/GenBank/DDBJ databases.
1015 RN [5]
1016 RP NUCLEOTIDE SEQUENCE [GENOMIC DNA], AND VARIANT ARG-113.
1017 RA Cabeda J.M., Correia C., Estevinho A., Cardoso C., Amorim M.L.,
1018 RA Cleto E., Vale L., Coimbra E., Pinho L., Justica B.;
1019 RT "Unexpected patterns of globin mutations in thalassemia patients from
1020 RT north of Portugal.";
1021
1022
1023 <font color=red> [Part of this file has been deleted for brevity]</font>
1024
1025 FT VARIANT 141 141 A -&gt; V (in Puttelange; polycythemia; O(2)
1026 FT affinity up).
1027 FT /FTId=VAR_003082.
1028 FT VARIANT 142 142 L -&gt; R (in Olmsted; unstable).
1029 FT /FTId=VAR_003083.
1030 FT VARIANT 143 143 A -&gt; D (in Ohio; O(2) affinity up).
1031 FT /FTId=VAR_003084.
1032 FT VARIANT 144 144 H -&gt; D (in Rancho Mirage).
1033 FT /FTId=VAR_003085.
1034 FT VARIANT 144 144 H -&gt; P (in Syracuse; O(2) affinity up).
1035 FT /FTId=VAR_003087.
1036 FT VARIANT 144 144 H -&gt; Q (in Little Rock; O(2) affinity
1037 FT up).
1038 FT /FTId=VAR_003086.
1039 FT VARIANT 144 144 H -&gt; R (in Abruzzo; O(2) affinity up).
1040 FT /FTId=VAR_003088.
1041 FT VARIANT 145 145 K -&gt; E (in Mito; O(2) affinity up).
1042 FT /FTId=VAR_003089.
1043 FT VARIANT 146 146 Y -&gt; C (in Rainier; O(2) affinity up).
1044 FT /FTId=VAR_003090.
1045 FT VARIANT 146 146 Y -&gt; H (in Bethesda; O(2) affinity up).
1046 FT /FTId=VAR_003091.
1047 FT VARIANT 147 147 H -&gt; D (in Hiroshima; O(2) affinity up).
1048 FT /FTId=VAR_003092.
1049 FT VARIANT 147 147 H -&gt; L (in Cowtown; O(2) affinity up).
1050 FT /FTId=VAR_003093.
1051 FT VARIANT 147 147 H -&gt; P (in York; O(2) affinity up).
1052 FT /FTId=VAR_003094.
1053 FT VARIANT 147 147 H -&gt; Q (in Kodaira; O(2) affinity up).
1054 FT /FTId=VAR_003095.
1055 FT CONFLICT 26 26 Missing (in Ref. 15; ACD39349).
1056 FT CONFLICT 42 42 F -&gt; L (in Ref. 13; AAR96398).
1057 FT HELIX 6 16
1058 FT TURN 21 23
1059 FT HELIX 24 35
1060 FT HELIX 37 42
1061 FT HELIX 44 46
1062 FT HELIX 52 57
1063 FT HELIX 59 77
1064 FT TURN 78 80
1065 FT HELIX 82 94
1066 FT TURN 95 97
1067 FT HELIX 102 119
1068 FT HELIX 120 122
1069 FT HELIX 125 142
1070 FT HELIX 144 146
1071 SQ SEQUENCE 147 AA; 15998 MW; A31F6D621C6556A1 CRC64;
1072 MVHLTPEEKS AVTALWGKVN VDEVGGEALG RLLVVYPWTQ RFFESFGDLS TPDAVMGNPK
1073 VKAHGKKVLG AFSDGLAHLD NLKGTFATLS ELHCDKLHVD PENFRLLGNV LVCVLAHHFG
1074 KEFTPPVQAA YQKVVAGVAN ALAHKYH
1075 //
1076 </pre>
1077 </td></tr></table><p>
1078
1079
1080
1081 <H2>
1082 Output file format
1083 </H2>
1084
1085
1086 <p>
1087
1088 The output is to the specified graphics device.
1089
1090 <p>
1091
1092 The results can be output in one of several formats by using the
1093 command-line qualifier <b>-graph xxx</b>, where 'xxx' is replaced by
1094 the name of the required device. Support depends on the availability
1095 of third-party software packages.
1096
1097 <p>
1098 The device names that output to a file are:
1099 ps (postscript), cps (colourps), png, gif, pdf, svg, hpgl, hp7470,
1100 hp7580, das, data.
1101
1102 <p> The other available device names are: meta, x11 (xwindows), tek
1103 (tek4107t), tekt (tektronix), xterm, text.
1104
1105 <p>
1106 Output can be turned off by specifying none (null).
1107
1108 <p>
1109
1110 See:
1111 <A href="http://emboss.sf.net/docs/themes/GraphicsDevices.html">
1112 http://emboss.sf.net/docs/themes/GraphicsDevices.html</A>
1113 for further information on supported devices.
1114
1115 <p>
1116
1117 <p>
1118
1119 <a name="output.1"></a>
1120 <h3>Output files for usage example </h3>
1121 <p><h3>Graphics File: dotmatcher.ps</h3>
1122 <p><img src="dotmatcher.1.dotmatcher.gif" alt="[dotmatcher results]">
1123
1124 <H2>
1125 Data files
1126 </H2>
1127
1128
1129 It uses the specified matrix substitution file to compare the two sequences.
1130
1131 <p>
1132
1133 For protein sequences EBLOSUM62 is used for the substitution
1134 matrix. For nucleotide sequence, EDNAFULL is used. Others can be
1135 specified.
1136
1137 <p>
1138 <p>
1139 EMBOSS data files are distributed with the application and stored
1140 in the standard EMBOSS data directory, which is defined
1141 by the EMBOSS environment variable EMBOSS_DATA.
1142
1143 <p>
1144
1145 To see the available EMBOSS data files, run:
1146 <p>
1147 <pre>
1148 % embossdata -showall
1149 </pre>
1150 <p>
1151 To fetch one of the data files (for example 'Exxx.dat') into your
1152 current directory for you to inspect or modify, run:
1153
1154 <pre>
1155
1156 % embossdata -fetch -file Exxx.dat
1157
1158 </pre>
1159 <p>
1160
1161 Users can provide their own data files in their own directories.
1162 Project specific files can be put in the current directory, or for
1163 tidier directory listings in a subdirectory called
1164 ".embossdata". Files for all EMBOSS runs can be put in the user's home
1165 directory, or again in a subdirectory called ".embossdata".
1166
1167 <p>
1168 The directories are searched in the following order:
1169
1170 <ul>
1171 <li> . (your current directory)
1172 <li> .embossdata (under your current directory)
1173 <li> ~/ (your home directory)
1174 <li> ~/.embossdata
1175 </ul>
1176 <p>
1177
1178 <H2>
1179 Notes
1180 </H2>
1181
1182 <p>Where the two sequences have substantial regions of similarity, the dots line up to form diagonal lines. It is possible to see at a glance such local regions of similarity. It is also easy to see other features such as repeats (which form parallel diagonal lines), and insertions or deletions (which form breaks or discontinuities in the diagonal lines).</p>
1183
1184
1185 <H2>
1186 References
1187 </H2>
1188
1189 None.
1190
1191 <H2>
1192 Warnings
1193 </H2>
1194
1195 None.
1196
1197 <H2>
1198 Diagnostic Error Messages
1199 </H2>
1200
1201 None.
1202
1203 <H2>
1204 Exit status
1205 </H2>
1206
1207
1208 It always exits with status 0.
1209
1210 <H2>
1211 Known bugs
1212 </H2>
1213
1214 None.
1215
1216 <h2><a name="See also">See also</a></h2>
1217 <table border cellpadding=4 bgcolor="#FFFFF0">
1218 <tr><th>Program name</th>
1219 <th>Description</th></tr>
1220 <tr>
1221 <td><a href="dotpath.html">dotpath</a></td>
1222 <td>Draw a non-overlapping wordmatch dotplot of two sequences</td>
1223 </tr>
1224
1225 <tr>
1226 <td><a href="dottup.html">dottup</a></td>
1227 <td>Display a wordmatch dotplot of two sequences</td>
1228 </tr>
1229
1230 <tr>
1231 <td><a href="polydot.html">polydot</a></td>
1232 <td>Draw dotplots for all-against-all comparison of a sequence set</td>
1233 </tr>
1234
1235 </table>
1236
1237 <a href="dottup.html">dottup,</a> by comparison, has no threshold, using
1238 a wordmatch-style method. <b>dottup</b> is less sensitive, but substantially
1239 faster than <b>dotmatcher</b>.
1240
1241
1242 <H2>
1243 Author(s)
1244 </H2>
1245
1246 Ian Longden formerly at:
1247 <br>
1248 Sanger Institute, Wellcome Trust Genome Campus, Hinxton,
1249 Cambridge, CB10 1SA, UK.
1250
1251 <p>
1252 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
1253
1254 <H2>
1255 History
1256 </H2>
1257
1258 Completed 1st June 1999.
1259
1260 <H2>
1261 Target users
1262 </H2>
1263 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
1264
1265 <H2>
1266 Comments
1267 </H2>
1268 None
1269
1270 </BODY>
1271 </HTML>
1272