ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/tophat_cpp/align_status.h
Revision: 200
Committed: Fri Mar 9 22:25:25 2012 UTC (12 years, 5 months ago) by gpertea
File size: 1007 byte(s)
Log Message:
Line File contents
1 #ifndef ALIGN_STATUS_H
2 #define ALIGN_STATUS_H
3
4 #ifdef HAVE_CONFIG_H
5 #include <config.h>
6 #endif
7
8 #include <stdint.h>
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <string>
12 #include <map>
13 #include <vector>
14 #include <cassert>
15 #include <cstring>
16 #include <seqan/sequence.h>
17 #include <bam/sam.h>
18 #include "common.h"
19
20 #include "bwt_map.h"
21 #include "junctions.h"
22 #include "insertions.h"
23 #include "deletions.h"
24 #include "fusions.h"
25
26 using namespace std;
27
28 class Coverage;
29
30 /**
31 */
32 struct AlignStatus
33 {
34 public:
35 /**
36 * Is there an alignment?
37 */
38 int _alignment_score;
39
40 public:
41 AlignStatus();
42 AlignStatus(const BowtieHit& bh,
43 const JunctionSet& gtf_junctions,
44 const JunctionSet& junctions,
45 const InsertionSet& insertions,
46 const DeletionSet& deletions,
47 const FusionSet& fusions,
48 const Coverage& coverage);
49
50 bool operator<(const AlignStatus& rhs) const;
51 bool operator==(const AlignStatus& rhs) const;
52 bool operator!=(const AlignStatus& rhs) const;
53 };
54
55 #endif