-
Notifications
You must be signed in to change notification settings - Fork 3
/
bamstatsAliveCommon.hpp
52 lines (42 loc) · 956 Bytes
/
bamstatsAliveCommon.hpp
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
/**
* @file bamstatsAliveCommon.hpp
* This is the common header for the entire project.
*
* This header file will be compiled into precompiled header, and
* automatically be included in all source code's compilation.
*
* @author Yi Qiao
*/
#ifndef BAMSTATSALIVECOMMON_H
#define BAMSTATSALIVECOMMON_H
// BamTools
#include <api/BamReader.h>
#include <api/BamAlignment.h>
#include <src/utils/bamtools_pileup_engine.h>
// Standard C/C++ Headers
#include <iostream>
#include <sstream>
#include <cstdlib>
#include <unistd.h>
// Commonly used STL classes
#include <string>
#include <vector>
#include <map>
#include <algorithm>
// Utilize assertions
#include <assert.h>
// Jansson JSON manipulation library
#include <jansson.h>
// Logging facility for Debug
#ifdef RELEASE
namespace BamstatsAlive {
namespace Log {
static std::ostream bitBucket(0);
}
}
#define LOGS (Log::bitBucket)
#endif
#ifdef DEBUG
#define LOGS (std::cerr)
#endif
#endif