modified: makefile
[GalaxyCodeBases.git] / BGI / soap_src / soap_builder / BWTSearch.h
blobf8525e628845967f868d68f5d4cd9ba1dfef9feb
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include "MiscUtilities.h"
5 #include "MemManager.h"
6 #include "TextConverter.h"
7 #include "BWT.h"
8 #include "HSP.h"
9 #include "Types.h"
11 unsigned int REVBWTForwardSearch(const unsigned char *convertedKey, const unsigned int keyLength, const BWT *rev_bwt,unsigned int *resultSaIndexLeft, unsigned int *resultSaIndexRight,unsigned int *rev_resultSaIndexLeft, unsigned int *rev_resultSaIndexRight);
13 unsigned int REVBWTContForwardSearch(const unsigned char *convertedKey, const unsigned int start, const unsigned int len,const BWT *rev_bwt,unsigned int *saL, unsigned int *saR,unsigned int *rev_saL, unsigned int *rev_saR);
15 unsigned int BWTContBackwardSearch(const unsigned char *convertedKey, const unsigned int start, const unsigned int len, const BWT *bwt, unsigned int *saL, unsigned int *saR);
16 unsigned int BWTBackward1Error(char *querypattern, int chain, BWT *bwt, unsigned int start, unsigned int len, unsigned int pl, unsigned int pr, unsigned int allele2, HitInfo *hits, unsigned int *numOfHits);
17 unsigned int REVBWTForward1Error(char *queryPattern,int chain, BWT *bwt, BWT * rev_bwt, unsigned int start,unsigned int len, unsigned int pl,unsigned int pr, unsigned int rev_pl,unsigned int rev_pr, unsigned int allele2, HitInfo *hits, unsigned int *numOfHits);