annotate mrfast-2.1.0.5/MrFAST.h @ 1:d4054b05b015 default tip

Version update to 2.1.0.5
author calkan
date Fri, 09 Mar 2012 07:35:51 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
1 /*
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
2 * Copyright (c) <2008 - 2012>, University of Washington, Simon Fraser University
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
3 * All rights reserved.
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
4 *
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
5 * Redistribution and use in source and binary forms, with or without modification,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
6 * are permitted provided that the following conditions are met:
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
7 *
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
8 * Redistributions of source code must retain the above copyright notice, this list
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
9 * of conditions and the following disclaimer.
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
10 * - Redistributions in binary form must reproduce the above copyright notice, this
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
11 * list of conditions and the following disclaimer in the documentation and/or other
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
12 * materials provided with the distribution.
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
13 * - Neither the names of the University of Washington, Simon Fraser University,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
14 * nor the names of its contributors may be
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
15 * used to endorse or promote products derived from this software without specific
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
16 * prior written permission.
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
17 *
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
26 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
29 */
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
30
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
31
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
32 /*
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
33 Authors:
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
34 Farhad Hormozdiari
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
35 Faraz Hach
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
36 Can Alkan
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
37 Emails:
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
38 farhadh AT uw DOT edu
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
39 fhach AT cs DOT sfu DOT ca
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
40 calkan AT uw DOT edu
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
41 */
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
42
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
43
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
44
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
45 #ifndef __MR_FAST__
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
46 #define __MR_FAST__
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
47
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
48 #include "Reads.h"
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
49
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
50 #define MAP_CHUNKS 15
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
51 #define MAX_CIGAR_SIZE 100
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
52
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
53
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
54 // Pair is used to pre-processing and making the read index table
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
55 typedef struct
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
56 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
57 int hv;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
58 //char hv[50];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
59 int readNumber;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
60 } Pair;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
61
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
62 typedef struct
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
63 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
64 int hv;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
65 unsigned int *seqInfo;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
66 } ReadIndexTable;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
67
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
68
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
69 typedef struct
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
70 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
71 int loc;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
72 char dir;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
73 int err;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
74 float score;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
75 char md[MAX_CIGAR_SIZE];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
76 char chr[20];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
77 char cigar[MAX_CIGAR_SIZE];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
78 int cigarSize;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
79 int mdSize;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
80 } FullMappingInfo;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
81
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
82 typedef struct
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
83 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
84 int loc;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
85 char dir;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
86 int err;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
87 float score;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
88 char md[MAX_CIGAR_SIZE];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
89 char chr[20];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
90 char cigar[MAX_CIGAR_SIZE];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
91 int cigarSize;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
92 int mdSize;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
93 } BestFullMappingInfo;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
94
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
95 typedef struct lc
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
96 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
97 char md[MAP_CHUNKS][MAX_CIGAR_SIZE];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
98 int mdSize[MAP_CHUNKS];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
99
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
100 char cigar[MAP_CHUNKS][MAX_CIGAR_SIZE];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
101 int cigarSize[MAP_CHUNKS];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
102
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
103 int err[MAP_CHUNKS];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
104 int loc[MAP_CHUNKS];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
105 struct lc *next;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
106 } MappingLocations;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
107
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
108 typedef struct inf
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
109 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
110 int size;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
111 MappingLocations *next;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
112 } MappingInfo;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
113
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
114 typedef struct
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
115 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
116 FILE * fp;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
117 char name[400];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
118 } FILE_STRUCT;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
119
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
120 typedef struct
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
121 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
122 FullMappingInfo *mi;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
123 int size;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
124 } FullMappingInfoLink;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
125
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
126
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
127 typedef struct
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
128 {
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
129 char readString[200];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
130 char ref[200];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
131 int err;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
132 char matrix[200];
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
133 } extraCaching;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
134
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
135 extern long long verificationCnt;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
136 extern long long mappingCnt;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
137 extern long long mappedSeqCnt;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
138 extern long long completedSeqCnt;
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
139
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
140 void initFAST( Read *seqList,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
141 int seqListSize,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
142 int *samplingLocs,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
143 int samplingLocsSize,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
144 char *fileName);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
145
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
146 void initVerifiedLocs();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
147 void initLookUpTable();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
148 void initBestMapping();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
149 void initBestConcordantDiscordant(int readNumber);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
150
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
151 void finalizeFAST();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
152 void finalizeBestSingleMapping();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
153 void finalizeBestConcordantDiscordant();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
154 void finalizeOEAReads(char *);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
155
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
156
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
157 int mapAllSingleEndSeq();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
158 void mapSingleEndSeq(unsigned int *l1, int s1, int readNumber, int readSegment, int direction);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
159 void mapPairedEndSeqList(unsigned int *l1, int s1, int readNumber, int readSegment, int direction);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
160
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
161 void mapPairedEndSeq();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
162
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
163 void outputPairedEnd();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
164 void outputPairedEndDiscPP();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
165
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
166
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
167 void outputPairFullMappingInfo(FILE *fp, int readNumber);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
168 void setPairFullMappingInfo(int readNumber, FullMappingInfo mi1, FullMappingInfo mi2);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
169 void setFullMappingInfo(int readNumber, int loc, int dir, int err, int score, char *md, char * refName, char *cigar);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
170
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
171 void outputAllTransChromosal();
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
172 void outputTransChromosal(char *fileName1, char *fileName2, FILE * fp_out);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
173
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
174 void generateSNPSAM(char *matrix, int matrixLength, char *outputSNP);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
175 void generateCigar(char *matrix, int matrixLength, char *cigar);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
176 void generateCigarFromMD(char *mistmatch, int mismatchLength, char *cigar);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
177
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
178 int msfHashVal(char *seq);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
179
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
180 int backwardEditDistance2SSE2(char *a, int lena, char *b,int lenb);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
181 int forwardEditDistance2SSE2(char *a, int lena, char *b,int lenb);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
182
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
183 int forwardEditDistanceSSE2G(char *a, int lena, char *b,int lenb);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
184 int backwardEditDistanceSSE2G(char *a, int lena, char *b,int lenb);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
185
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
186 int forwardEditDistance4SSE2(char *a, int lena, char *b,int lenb);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
187 int backwardEditDistance4SSE2(char *a, int lena, char *b,int lenb);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
188
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
189 int forwardEditDistanceSSE2Extention(char *a, int lena, char *b,int lenb);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
190 int backwardEditDistanceSSE2Extention(char *a, int lena, char *b,int lenb);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
191
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
192
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
193 /***********************************/
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
194
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
195 int editDistance(int refIndex, char *seq, int seqLength, char *matrix);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
196
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
197 int verifySingleEndEditDistance(int refIndex, char *lSeq, int lSeqLength, char *rSeq, int rSeqLength, int segLength,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
198 char *matrix, int *map_location, short *seqHashValue);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
199
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
200 int verifySingleEndEditDistance2(int refIndex, char *lSeq, int lSeqLength, char *rSeq, int rSeqLength, int segLength,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
201 char *matrix, int *map_location, short *seqHashValue);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
202
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
203 int verifySingleEndEditDistance4(int refIndex, char *lSeq, int lSeqLength, char *rSeq, int rSeqLength, int segLength,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
204 char *matrix, int *map_location, short *seqHashValue);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
205
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
206 int verifySingleEndEditDistanceExtention(int refIndex, char *lSeq, int lSeqLength, char *rSeq, int rSeqLength, int segLength,
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
207 char *matrix, int *map_location, short *seqHashValue);
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
208
d4054b05b015 Version update to 2.1.0.5
calkan
parents:
diff changeset
209 #endif