]> git.donarmstrong.com Git - bamtools.git/blob - src/toolkit/bamtools_resolve.h
Created 3 modes for ResolveTool: makeStats, markPairs, & twoPass
[bamtools.git] / src / toolkit / bamtools_resolve.h
1 // ***************************************************************************
2 // bamtools_resolve.h (c) 2011 Derek Barnett
3 // Marth Lab, Department of Biology, Boston College
4 // All rights reserved.
5 // ---------------------------------------------------------------------------
6 // Last modified: 11 June 2011
7 // ---------------------------------------------------------------------------
8 // Resolves paired-end reads (marking the IsProperPair flag as needed).
9 // ***************************************************************************
10
11 #ifndef BAMTOOLS_RESOLVE_H
12 #define BAMTOOLS_RESOLVE_H
13
14 #include "bamtools_tool.h"
15
16 namespace BamTools {
17
18 class ResolveTool : public AbstractTool {
19
20     public:
21         ResolveTool(void);
22         ~ResolveTool(void);
23
24     public:
25         int Help(void);
26         int Run(int argc, char* argv[]);
27
28     private:
29         struct ResolveSettings;
30         ResolveSettings* m_settings;
31
32         struct ResolveToolPrivate;
33         ResolveToolPrivate* m_impl;
34
35         struct StatsFileReader;
36         struct StatsFileWriter;
37 };
38
39 } // namespace BamTools
40
41 #endif // BAMTOOLS_RESOLVE_H