SW#
All Files Functions Variables Typedefs Macros
constants.h
Go to the documentation of this file.
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 */
27 #ifndef __SW_SHARP_CONSTANTSH__
28 #define __SW_SHARP_CONSTANTSH__
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
37 #define HW_ALIGN 0
38 
42 #define NW_ALIGN 1
43 
47 #define SW_ALIGN 2
48 
52 #define OV_ALIGN 3
53 
57 #define NO_SCORE -1000000001
58 
62 #define SCORE_MIN -1000000000
63 
65 
68 extern int BLOSUM_45_TABLE[26 * 26];
69 extern int BLOSUM_50_TABLE[26 * 26];
70 extern int BLOSUM_62_TABLE[26 * 26];
71 extern int BLOSUM_80_TABLE[26 * 26];
72 extern int BLOSUM_90_TABLE[26 * 26];
73 
74 extern int PAM_30_TABLE[26 * 26];
75 extern int PAM_70_TABLE[26 * 26];
76 extern int PAM_250_TABLE[26 * 26];
77 
78 extern int EDNA_FULL_TABLE[26 * 26];
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 #endif // __SW_SHARP_CONSTANTSH__
int BLOSUM_50_TABLE[26 *26]
Similarity matrix table scores.
int BLOSUM_90_TABLE[26 *26]
Similarity matrix table scores.
int PAM_250_TABLE[26 *26]
Similarity matrix table scores.
int BLOSUM_80_TABLE[26 *26]
Similarity matrix table scores.
int EDNA_FULL_TABLE[26 *26]
Similarity matrix table scores.
int PAM_30_TABLE[26 *26]
Similarity matrix table scores.
int BLOSUM_62_TABLE[26 *26]
Similarity matrix table scores.
int PAM_70_TABLE[26 *26]
Similarity matrix table scores.
int BLOSUM_45_TABLE[26 *26]
Similarity matrix table scores.