-
Notifications
You must be signed in to change notification settings - Fork 2
/
EIGENSTRAT2ACF.h
54 lines (43 loc) · 1.26 KB
/
EIGENSTRAT2ACF.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
48
49
50
51
52
53
54
/*
* EIGENSTRAT2ACF
* Date: Jul-30-2017
* Author : Gabriel Renaud gabriel.reno [at sign here] gmail.com
*
*/
#ifndef EIGENSTRAT2ACF_h
#define EIGENSTRAT2ACF_h
#include <string>
#include <climits>
#include <gzstream.h>
/* #include <api/BamConstants.h> */
/* #include <api/BamMultiReader.h> */
#include <utils/bamtools_fasta.h>
/* #include <utils/bamtools_options.h> */
/* #include <utils/bamtools_utilities.h> */
#include "libgab.h"
#include "GlacWriter.h"
#include "GlacParser.h"
#include "AlleleRecords.h"
#include "AlleleInfo.h"
#include "ReadTabix.h"
#include "GlactoolsOperations.h"
using namespace std;
class EIGENSTRAT2ACF{
private:
bool uncompressed=0;
string epoFile = "none";
bool epoFileB = false;
string fastaFile = "";
string fastaIndex = "";
void setVarsEPO(ReadTabix * rtEPO,string & epoChr,unsigned int & epoCoord,bool & cpgEPO,char & allel_ref,char & allel_chimp,char & allel_anc,bool & lineLeftEPO);
const kstring_t * kstringPtrEPO;
ks_tokaux_t aux;
public:
EIGENSTRAT2ACF();
EIGENSTRAT2ACF(const EIGENSTRAT2ACF & other);
~EIGENSTRAT2ACF();
EIGENSTRAT2ACF & operator= (const EIGENSTRAT2ACF & other);
string usage() const;
int run(int argc, char *argv[]);
};
#endif