5 Copyright (C) 2014 The University of Hong Kong.
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28 The following definitions are added to remove dependency on blast.h
32 #define uint4 uint32_t
34 #define uint8 uint64_t
36 #define uint2 uint16_t
38 extern double BlastKarlin_lambda
;
39 extern double BlastKarlin_K
;
40 extern double BlastKarlin_H
;
42 void BlastKarlinBlkCalc(double* scoreProbabilities
, int4 min
, int4 max
);
44 int4
BlastComputeLengthAdjustment(double K
,
46 double alpha_d_lambda
,
51 int4
*length_adjustment
);