SW#
All Files Functions Variables Typedefs Macros
evalue.h
1 /*
2 swsharp - CUDA parallelized Smith Waterman with applying Hirschberg's and
3 Ukkonen's algorithm and dynamic cell pruning.
4 Copyright (C) 2013 Matija Korpar, contributor Mile Šikić
5 
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10 
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 Contact the author by mkorpar@gmail.com.
20 */
21 
22 #ifndef __EVALUEH__
23 #define __EVALUEH__
24 
25 #include "chain.h"
26 #include "scorer.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 typedef struct EValueParams EValueParams;
33 
34 extern EValueParams* createEValueParams(Chain** database, int databaseLen,
35  Scorer* scorer);
36 
37 extern void deleteEValueParams(EValueParams* eValueParams);
38 
39 extern void eValues(double* values, int* scores, Chain* query,
40  Chain** database, int databaseLen, EValueParams* eValueParams);
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif // __EVALUEH__
Provides object used for alignment scoring.
struct Scorer Scorer
Scorer object used for alignment scoring.
Definition: scorer.h:42
Provides object for storing named sequnces.
struct Chain Chain
Chain object used for storing named sequnces.
Definition: chain.h:43