1
/**************************************************************************
5
* This software/database is categorized as "United States Government *
6
* Work" under the terms of the United States Copyright Act. It was *
7
* produced as part of the author's official duties as a Government *
8
* employee and thus can not be copyrighted. This software/database is *
9
* freely available to the public for use without a copyright notice. *
10
* Restrictions can not be placed on its present or future use. *
12
* Although all reasonable efforts have been taken to ensure the accuracy *
13
* and reliability of the software and data, the National Library of *
14
* Medicine (NLM) and the U.S. Government do not and can not warrant the *
15
* performance or results that may be obtained by using this software, *
16
* data, or derivative works thereof. The NLM and the U.S. Government *
17
* disclaim any and all warranties, expressed or implied, as to the *
18
* performance, merchantability or fitness for any particular purpose or *
21
* In any work or product derived from this material, proper attribution *
22
* of the author(s) as the source of the software or data would be *
25
**************************************************************************/
27
* $Log: dotmatrx.h,v $
28
* Revision 6.2 1999/03/17 17:05:49 madden
29
* removed comment from within comment
31
* Revision 6.1 1998/01/26 17:23:42 madden
32
* Changes to allow color-coding of alignments
34
* Revision 6.0 1997/08/25 18:21:46 madden
35
* Revision changed to 6.0
37
* Revision 1.2 1997/01/06 19:26:42 madden
38
* Changed FnPtr to (LIBCALLBACK *callback... in DotMatrixSearch and CreateDotMatrixForm.
40
* Revision 1.1 1997/01/03 22:01:27 madden
60
typedef struct dotmatrix_alignment {
61
struct dotmatrix_alignment PNTR next;
63
Uint1Ptr color; /* Defined in picture.[ch] */
64
} DotMatrixAlignment, PNTR DotMatrixAlignmentPtr;
66
DotMatrixAlignmentPtr LIBCALL DotMatrixAlignmentNew (SeqAlignPtr sap, Uint1Ptr color, DotMatrixAlignmentPtr PNTR old);
68
Int2 LIBCALLBACK DotMatrixGenFunc (Pointer data);
70
ForM LIBCALL CreateDotMatrixForm PROTO((SeqAlignPtr sap, int (LIBCALLBACK *callback)PROTO((SeqAlignPtr seqalign))));
72
ForM LIBCALL CreateDotMatrixFormEx (DotMatrixAlignmentPtr dmap, int (LIBCALLBACK *callback)PROTO((SeqAlignPtr seqalign)));
74
Int2 LIBCALL DotMatrixSearch PROTO((SeqIdPtr sip1, SeqIdPtr sip2, int (LIBCALLBACK *callback)PROTO((SeqAlignPtr seqalign))));
76
#define REGISTER_SEQALIGN_DOT_MATRIX ObjMgrProcLoad (OMPROC_FILTER, \
77
"Dot Matrix", "DotMatrix", OBJ_SEQALIGN, 0, OBJ_SEQALIGN, 0, NULL, \
78
DotMatrixGenFunc, PROC_PRIORITY_DEFAULT)
83
#endif /* !__DOTMATRIX__ */