forked from ANGSD/angsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
abcDstat.h
47 lines (40 loc) · 854 Bytes
/
abcDstat.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
typedef struct {
int *blockPos;
int nBlocks;
int ***ABBABABAblocks;
}funkyAbbababa;
class abcDstat:public abc{
private:
kstring_t bufstr;
int currentChr;
int NbasesPerLine;
int nBlocks;
int block; //the current block number
int blockSize;
int matcat[5][5][5][5];
char *ancName;
int *ABBA;
int *BABA;
int printEmpty;
int seed;
public:
int doAbbababa;
FILE *outfile;
int doCount;
int nComb;
int rmTrans;
int Aanc;
int useLast;
int enhance;
abcDstat(const char *outfiles,argStruct *arguments,int inputtype);
~abcDstat();
void getOptions(argStruct *arguments);
void run(funkyPars *pars);
void print(funkyPars *pars);
void clean(funkyPars *pars);
void printArg(FILE *argFile);
void calcMatCat();
void printAndEmpty();
void getBlockNum(int pos);
int getNumBlocks(funkyPars *pars);
};