-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfnFiles.h
32 lines (29 loc) · 889 Bytes
/
fnFiles.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
#ifndef FNFILES_H
#define FNFILES_H
#include <string>
#include <unordered_map>
#include <vector>
class fnFiles {
public:
fnFiles(std::string i, std::string p, std::string o, std::string a, int vectorsize);
void readfiles();
int getLength();
std::unordered_map <std::string,int> getOutgroupLocus(int i);
private:
std::string infile;
std::string popfile;
std::string outgroup;
std::string ABCDfile;
void readPhylip();
void readPopfile();
void readABCDfile();
void blacklist();
std::unordered_map <std::string,std::string> popmap;
std::unordered_map <std::string,std::string> ABCDmap;
std::vector<std::unordered_map <std::string,int> > A;
std::vector<std::unordered_map <std::string,int> > B;
std::vector<std::unordered_map <std::string,int> > C;
std::vector<std::unordered_map <std::string,int> > D;
std::string iupac(std::string ambig);
};
#endif