modified: makefile
[GalaxyCodeBases.git] / BGI / soap_src / soap_builder / karlin.h
blob4ab9e61bf357de060357c1b44c1e2262d9fbe0f4
1 /*
2 see karlin.c for details.
3 */
5 #ifndef _karlin_
6 #define _karlin_
8 /*
9 wss:
10 The following definitions are added to remove dependency on blast.h
12 #include <stdint.h>
13 #define int4 int32_t
14 #define uint4 uint32_t
15 #define int8 int64_t
16 #define uint8 uint64_t
17 #define int2 int16_t
18 #define uint2 uint16_t
20 double BlastKarlin_lambda;
21 double BlastKarlin_K;
22 double BlastKarlin_H;
24 void BlastKarlinBlkCalc(double* scoreProbabilities, int4 min, int4 max);
26 int4 BlastComputeLengthAdjustment(double K,
27 double logK,
28 double alpha_d_lambda,
29 double beta,
30 int4 query_length,
31 uint4 db_length,
32 int4 db_num_seqs,
33 int4 *length_adjustment);
34 #endif