2016-05-11 16:36:23 +02:00
|
|
|
/*
|
|
|
|
* sse_banded_LCS_alignment.h
|
|
|
|
*
|
|
|
|
* Created on: november 29, 2012
|
|
|
|
* Author: mercier
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SSE_BANDED_LCS_ALIGNMENT_H_
|
|
|
|
#define SSE_BANDED_LCS_ALIGNMENT_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2016-11-18 16:29:28 +01:00
|
|
|
#include "obiblob.h"
|
|
|
|
|
|
|
|
|
2016-05-11 16:36:23 +02:00
|
|
|
#define ALILEN (0) // TODO enum
|
|
|
|
#define MAXLEN (1)
|
|
|
|
#define MINLEN (2)
|
|
|
|
|
|
|
|
// TODO doc
|
|
|
|
int calculateLCSmin(int l1, int l2, double threshold, bool normalize, int reference, bool lcsmode);
|
2016-12-12 11:58:59 +01:00
|
|
|
double generic_sse_banded_lcs_align(char* seq1, char* seq2, double threshold, bool normalize, int reference, bool similarity_mode, int* lcs_length, int* ali_length);
|
|
|
|
double obiblob_sse_banded_lcs_align(Obi_blob_p seq1, Obi_blob_p seq2, double threshold, bool normalize, int reference, bool similarity_mode, int* lcs_length, int* ali_length);
|
2016-05-11 16:36:23 +02:00
|
|
|
|
|
|
|
#endif
|