-
Notifications
You must be signed in to change notification settings - Fork 0
/
tool_stats.h
67 lines (57 loc) · 1.54 KB
/
tool_stats.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
55
56
57
58
59
60
61
62
63
64
65
66
67
// ******************************************************
// vcfCTools (c) 2011 Alistair Ward
// Marth Lab, Department of Biology, Boston College
// All rights reserved.
// ------------------------------------------------------
// Last modified: 18 February 2011
// ------------------------------------------------------
// Generate statistics about the input vcf file.
// ******************************************************
#ifndef TOOL_STATS_H
#define TOOL_STATS_H
#include <cstdio>
#include <iostream>
#include <fstream>
#include <string>
#include <getopt.h>
#include <stdlib.h>
#include "header.h"
#include "output.h"
#include "stats.h"
#include "tools.h"
#include "variant.h"
#include "vcf.h"
#include "vcfCTools_tool.h"
using namespace std;
namespace vcfCTools {
class statsTool : public AbstractTool {
public:
statsTool( void );
~statsTool( void );
int Help( void );
int Run( int argc, char* argv[] );
int parseCommandLine( int argc, char* argv[] );
private:
string commandLine;
string vcfFile;
string outputFile;
string currentReferenceSequence;
string annotationFlagsString;
vector<string> annotationFlags;
string detailedGenotypeQualityString;
string genotypeQualityString;
// Boolean flags.
bool generateAfs;
bool generateDetailed;
bool generateSampleStats;
bool processComplex;
bool processIndels;
bool processMnps;
bool processRearrangements;
bool processSnps;
bool processSvs;
bool splitMnps;
bool useAnnotations;
};
} // namespace vcfCTools
#endif