Debian Codegraph @

atac-driver/alignOverlap/overlap.H

raw symbols SCIP
1 // This file is part of A2Amapper.
2 // Copyright (c) 2005 J. Craig Venter Institute
3 // Author: Brian Walenz
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received (LICENSE.txt) a copy of the GNU General Public
16 // License along with this program; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
19 #ifndef OVERLAP_H
20 #define OVERLAP_H
21
22 #include <stdio.h>
23 #include <stdlib.h>
24 #include <time.h>
25
26 #include "bio++.H"
27 #include "util++.H"
28 #include "atac.H"
29
30 // Kaz Kylheku <[email protected]> library.
31 #include "kazlib/dict.h"
32 #include "kazlib/except.h"
33 #include "kazlib/hash.h"
34 #include "kazlib/list.h"
35 #include "kazlib/sfx.h"
36
37 int sortMatches1(const void *a, const void *b);
38 int sortMatches2(const void *a, const void *b);
39 int spanCompare(const void *a, const void *b);
40
41 #include "overlap-span.H"
42 #include "overlap-matchTree.H"
43 #include "overlap-spanTree.H"
44 #include "overlap-annoList.H"
45 #include "overlap-stats.H"
46
47 void
48 process1(FILE *outfile,
49 spanTree *S,
50 atacMatchList *M1,
51 atacMatchList *M2,
52 overlapStats &stats,
53 annoList *AL,
54 uint32 &ALlen,
55 uint32 &ALmax);
56
57 void
58 process2(FILE *outfile,
59 spanTree *S,
60 atacMatchList *M1,
61 atacMatchList *M2,
62 overlapStats &stats,
63 annoList *AL,
64 uint32 &ALlen,
65 uint32 &ALmax);
66
67 void
68 printAnno(FILE *F, annoList *AL, uint32 &ALlen,
69 char label,
70 uint32 axis,
71 span_t *span,
72 uint32 match1=uint32ZERO, atacMatch *m1=0L,
73 uint32 match2=uint32ZERO, atacMatch *m2=0L);
74
75 void
76 findIsolatedUnique(annoList *AL, uint32 ALlen);
77
78 void
79 findExtended(annoList *AL, uint32 ALlen);
80
81
82 #endif // OVERLAP_H