Last change
on this file was
10835,
checked in by westram, 11 years ago
|
- directly build $ARBHOME/bin/muscle
- fixed problematic subdir generation
- create subdir if needed
- recall make on target
- moved unused source files out of sight
|
File size:
865 bytes
|
Line | |
---|
1 | #include "muscle.h" |
---|
2 | #include "profile.h" |
---|
3 | |
---|
4 | extern SCOREMATRIX VTML_LA; |
---|
5 | extern SCOREMATRIX PAM200; |
---|
6 | extern SCOREMATRIX PAM200NoCenter; |
---|
7 | extern SCOREMATRIX VTML_SP; |
---|
8 | extern SCOREMATRIX VTML_SPNoCenter; |
---|
9 | extern SCOREMATRIX NUC_SP; |
---|
10 | |
---|
11 | PTR_SCOREMATRIX g_ptrScoreMatrix; |
---|
12 | |
---|
13 | void SetScoreMatrix() |
---|
14 | { |
---|
15 | switch (g_PPScore) |
---|
16 | { |
---|
17 | case PPSCORE_LE: |
---|
18 | g_ptrScoreMatrix = &VTML_LA; |
---|
19 | break; |
---|
20 | |
---|
21 | case PPSCORE_SP: |
---|
22 | if (g_bPrecompiledCenter) |
---|
23 | g_ptrScoreMatrix = &PAM200; |
---|
24 | else |
---|
25 | g_ptrScoreMatrix = &PAM200NoCenter; |
---|
26 | break; |
---|
27 | |
---|
28 | case PPSCORE_SV: |
---|
29 | if (g_bPrecompiledCenter) |
---|
30 | g_ptrScoreMatrix = &VTML_SP; |
---|
31 | else |
---|
32 | g_ptrScoreMatrix = &VTML_SPNoCenter; |
---|
33 | break; |
---|
34 | |
---|
35 | case PPSCORE_SPN: |
---|
36 | if (g_bPrecompiledCenter) |
---|
37 | g_ptrScoreMatrix = &NUC_SP; |
---|
38 | else |
---|
39 | Quit("SPN requires precompiled center"); |
---|
40 | break; |
---|
41 | |
---|
42 | default: |
---|
43 | Quit("Invalid g_PPScore"); |
---|
44 | } |
---|
45 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.