forked from PASApipeline/PASApipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLobject.h
executable file
·44 lines (31 loc) · 825 Bytes
/
Lobject.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
#ifndef __Lobject__
#define __Lobject__
#include <map>
#include <vector>
#include <string>
#include <sstream>
#include <iostream>
extern bool DEBUG;
using namespace std;
class Lobject {
public:
Lobject(int index, int num_alignments);
int index;
int num_alignments;
vector<bool> contained_cdna_indices;
int LscoreF;
int LscoreR;
int combined_score; /* LscoreF + LscoreR - num_contained_indices */
Lobject* toLptr;
Lobject* fromLptr;
string toString();
void setTraceIndices (vector<int>);
vector<int> getTraceIndices();
void setContainedIndices(vector<int>);
int num_contained_indices; //includes self.
int num_unique_contained(Lobject& other); /* returns number alignments contained in
this, not in other */
private:
vector<int> traceIndices;
};
#endif