-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoption.h
44 lines (35 loc) · 946 Bytes
/
option.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
#ifndef OPTION_H_
#define OPTION_H_
#define PROGRAM "lhmut"
#define VERSION "v0.2"
#define AUTHORS "Rui YE"
#define CONTACT "[email protected]"
#define REMARKS "(likelihood-based mutation detector)"
#include <string>
using namespace std;
void usage();
class Option {
public:
Option():
infileName(""),
outfileName(""),
baseQuaCutoff(20),
minSupOnEachStrand(1),
minFractionInFam(1e-5),
freqPrecision(1e-8),
lhrGapCutoff(2.0),
phredOffset(33),
debug(false) {}
~Option() {}
void parse(int argc, char **argv);
string infileName;
string outfileName;
int baseQuaCutoff;
unsigned long minSupOnEachStrand;
double minFractionInFam;
double freqPrecision;
double lhrGapCutoff;
int phredOffset;
bool debug;
};
#endif // OPTION_H_