-
Notifications
You must be signed in to change notification settings - Fork 0
/
tool_validate.h
53 lines (44 loc) · 1.26 KB
/
tool_validate.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
// ******************************************************
// vcfCTools (c) 2011 Alistair Ward
// Marth Lab, Department of Biology, Boston College
// All rights reserved.
// ------------------------------------------------------
// Last modified: 18 February 2011
// ------------------------------------------------------
// vcf file validation.
//
// Check for missing data, incomplete data, or data that
// is inconsistent with the information in the header.
// ******************************************************
#ifndef TOOL_VALIDATE_H
#define TOOL_VALIDATE_H
#include <cstdio>
#include <iostream>
#include <string>
#include <getopt.h>
#include <stdlib.h>
#include "genotype_info.h"
#include "header.h"
#include "info.h"
#include "symbolic_alternates.h"
#include "variant.h"
#include "vcf.h"
#include "vcfCTools_tool.h"
using namespace std;
namespace vcfCTools {
class validateTool : public AbstractTool {
public:
validateTool(void);
~validateTool(void);
int Help(void);
int Run(int argc, char* argv[]);
int parseCommandLine(int argc, char* argv[]);
//void validateAlternateAlleles(vcfHeader&, variant&);
private:
bool error;
string commandLine;
string currentReferenceSequence;
string vcfFile;
};
} // namespace vcfCTools
#endif