0
|
1 /*****************************************************************************
|
|
2 complementBed.h
|
|
3
|
|
4 (c) 2009 - Aaron Quinlan
|
|
5 Hall Laboratory
|
|
6 Department of Biochemistry and Molecular Genetics
|
|
7 University of Virginia
|
|
8 aaronquinlan@gmail.com
|
|
9
|
|
10 Licenced under the GNU General Public License 2.0 license.
|
|
11 ******************************************************************************/
|
|
12 #include "bedFile.h"
|
|
13 #include "genomeFile.h"
|
|
14
|
|
15 #include <vector>
|
|
16 #include <bitset>
|
|
17 #include <algorithm>
|
|
18 #include <iostream>
|
|
19 #include <fstream>
|
|
20 #include <limits.h>
|
|
21 #include <stdlib.h>
|
|
22
|
|
23 using namespace std;
|
|
24
|
|
25
|
|
26 //************************************************
|
|
27 // Class methods and elements
|
|
28 //************************************************
|
|
29 class BedComplement {
|
|
30
|
|
31 public:
|
|
32
|
|
33 // constructor
|
|
34 BedComplement(string &bedFile, string &genomeFile);
|
|
35
|
|
36 // destructor
|
|
37 ~BedComplement(void);
|
|
38
|
|
39 void ComplementBed();
|
|
40
|
|
41 private:
|
|
42
|
|
43 string _bedFile;
|
|
44 string _genomeFile;
|
|
45 BedFile *_bed;
|
|
46 GenomeFile *_genome;
|
|
47 };
|