forked from ANGSD/angsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
abcDstat2.h
47 lines (43 loc) · 973 Bytes
/
abcDstat2.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
class abcDstat2:public abc{
private:
kstring_t bufstr;
int currentChr;
int NbasesPerLine;
int nBlocks;
int block;
int blockSize;
double *DENprint;
double *NUMprint;
double *NSITEprint;
int Eprint;
char *ancName;
double **COMBprint;
public:
int doAbbababa2;
FILE *outfile;
int sample;
int doCount;
int useLast;
int maxDepth;
int enhance;
int nIndFasta;
int rmTrans;
int Aanc;
int *POPSIZE;
int *CUMPOPSIZE;
int **SIZEABCD;
char *sizeFile;
long int numComb;
int numPop;
angsd::Matrix<int> sizeMat;
abcDstat2(const char *outfiles, argStruct *arguments,int inputtype);
~abcDstat2();
void getOptions(argStruct *arguments);
void run(funkyPars *pars); //not protected
void print(funkyPars *pars); // protect (MUTEX)
void clean(funkyPars *pars); //
void printArg(FILE *argFile);
void printAndEmpty(int blockAddress,int theChr);
void getBlockNum(int pos);
int getNumBlocks(funkyPars *pars);
};