ARB
trnsprob.h
Go to the documentation of this file.
1 // ============================================================= //
2 // //
3 // File : trnsprob.h //
4 // Purpose : //
5 // //
6 // Institute of Microbiology (Technical University Munich) //
7 // http://www.arb-home.de/ //
8 // //
9 // ============================================================= //
10 
11 #ifndef TRNSPROB_H
12 #define TRNSPROB_H
13 
14 
15 #define MAXEDGE 1.2
16 
17 #define ATOLPARAM 0.0001
18 #define RTOLPARAM 0.001
19 
20 enum {T,C,A,G,N,N1,N2};
21 enum {REV,TN93,HKY85};
22 
23 char encodeBase(char c);
24 char decodeBase(char c);
25 
26 void normalizeBaseFreqs(double *F,double fT,double fC,double fA,double fG);
27 void normalizeRateParams(double *X,double a,double b,double c,double d,double e,double f);
28 
29 void initTrnsprob(double ****PP);
30 void uninitTrnsprob(double ****PP);
31 
32 void getTrnsprob(double **P,double ***PP,double d);
33 
34 void updateTrnsprob(double ***PP,double *F,double *X,short M);
35 
36 
37 #else
38 #error trnsprob.h included twice
39 #endif // TRNSPROB_H
Definition: trnsprob.h:21
void normalizeRateParams(double *X, double a, double b, double c, double d, double e, double f)
Definition: trnsprob.cxx:132
Definition: trnsprob.h:20
void getTrnsprob(double **P, double ***PP, double d)
Definition: trnsprob.cxx:179
char decodeBase(char c)
Definition: trnsprob.cxx:95
Definition: trnsprob.h:20
void updateTrnsprob(double ***PP, double *F, double *X, short M)
Definition: trnsprob.cxx:226
void initTrnsprob(double ****PP)
Definition: trnsprob.cxx:155
void normalizeBaseFreqs(double *F, double fT, double fC, double fA, double fG)
Definition: trnsprob.cxx:110
Definition: trnsprob.h:20
Definition: trnsprob.h:21
void uninitTrnsprob(double ****PP)
Definition: trnsprob.cxx:167
static void * M
Definition: mem.cxx:18
Definition: trnsprob.h:20
char encodeBase(char c)
Definition: trnsprob.cxx:80
Definition: trnsprob.h:20
Definition: trnsprob.h:20
Definition: trnsprob.h:20
Definition: trnsprob.h:21
static Params P
Definition: arb_probe.cxx:81