Repository navigation
Expand file tree
/
Copy pathPhasingProcess.h
More file actions
68 lines (55 loc) · 1.68 KB
/
Copy pathPhasingProcess.h
File metadata and controls
68 lines (55 loc) · 1.68 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef PHASINGPROCESS_H
#define PHASINGPROCESS_H
#include "MethylXgbModel.h"
#include "Util.h"
struct PhasingParameters
{
int numThreads;
int distance;
std::string snpFile;
std::string svFile;
std::vector<std::string> bamFile;
std::string modFile="";
std::string ponFile="";
std::string strictPonFile="";
std::string fastaFile;
std::string resultPrefix;
std::string callerStr;
Caller caller;
bool generateDot;
bool phaseIndel;
bool disablePonTag=true;
bool disableCalling=false;
bool disableRefineSomatic=false;
bool outputLOH = false; // Whether to output LOH results
bool outputSGE = false; // Whether to output SmallGenomicEvent results
bool outputLGE = false; // Whether to output LargeGenomicEvent results
bool outputGE = false; // Whether to output GenomicEvent results
bool enableMethylXgb = false;
int connectAdjacent;
int mappingQuality;
double mismatchRate;
int baseQuality;
double edgeWeight;
double snpConfidence;
double readConfidence;
double edgeThreshold;
double overlapThreshold;
int somaticConnectAdjacent;
int methylXgbWindow = 2000;
float methylXgbMethHigh = 0.8f;
float methylXgbMethLow = 0.2f;
double methylXgbSnvThreshold = METHYL_XGB_DEFAULT_SNV_THRESHOLD;
double methylXgbIndelThreshold = METHYL_XGB_DEFAULT_INDEL_THRESHOLD;
std::string version;
std::string command;
// If negative, purity is not provided by user and should be estimated
double purity = -1.0;
};
class PhasingProcess
{
public:
PhasingProcess(PhasingParameters params);
~PhasingProcess();
};
#endif