source: trunk/GDE/MUSCLE/src/unused/gatest.cpp

Last change on this file was 10835, checked in by westram, 11 years ago
  • directly build $ARBHOME/bin/muscle
  • fixed problematic subdir generation
    1. create subdir if needed
    2. recall make on target
  • moved unused source files out of sight
File size: 811 bytes
Line 
1#include "muscle.h"
2#include "pwpath.h"
3#include "timing.h"
4#include "textfile.h"
5#include "msa.h"
6#include "profile.h"
7
8SCORE GlobalAlign(const ProfPos *PA, unsigned uLengthA, const ProfPos *PB,
9  unsigned uLengthB, PWPath &Path)
10        {
11        if (g_bDiags)
12                return GlobalAlignDiags(PA, uLengthA, PB, uLengthB, Path);
13        else
14                return GlobalAlignNoDiags(PA, uLengthA, PB, uLengthB, Path);
15        }
16
17SCORE GlobalAlignNoDiags(const ProfPos *PA, unsigned uLengthA, const ProfPos *PB,
18  unsigned uLengthB, PWPath &Path)
19        {
20        switch (g_PPScore)
21                {
22        case PPSCORE_LE:
23                return GlobalAlignLA(PA, uLengthA, PB, uLengthB, Path);
24
25        case PPSCORE_SP:
26                return GlobalAlignNS(PA, uLengthA, PB, uLengthB, Path);
27
28        case PPSCORE_SV:
29                return GlobalAlignSimple(PA, uLengthA, PB, uLengthB, Path);
30                }
31        return 0;
32        }
Note: See TracBrowser for help on using the repository browser.