-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathACEplus_Vertex.C
92 lines (57 loc) · 1.29 KB
/
ACEplus_Vertex.C
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/****************************************************************
ACEplus_Vertex.C
Copyright (C)2017 William H. Majoros ([email protected]).
This is OPEN SOURCE SOFTWARE governed by the Gnu General Public
License (GPL) version 3, as described at www.opensource.org.
****************************************************************/
#include <iostream>
#include "ACEplus_Vertex.H"
using namespace std;
using namespace BOOM;
ACEplus_Vertex::ACEplus_Vertex(const String &substrate,SignalType t,int begin,
int end,double score,Strand s,int ID)
: LightVertex(substrate,t,begin,end,score,s,ID),
threshold(0.0), refScore(0.0), denovo(false)
{
// ctor
}
void ACEplus_Vertex::setDeNovo()
{
denovo=true;
}
bool ACEplus_Vertex::isDeNovo() const
{
return denovo;
}
void ACEplus_Vertex::setRefScore(double s)
{
refScore=s;
}
void ACEplus_Vertex::setThreshold(double t)
{
threshold=t;
}
void ACEplus_Vertex::setSeq(const String &s)
{
seq=s;
}
double ACEplus_Vertex::getRefScore() const
{
return refScore;
}
double ACEplus_Vertex::getThreshold() const
{
return threshold;
}
const String &ACEplus_Vertex::getSeq() const
{
return seq;
}
void ACEplus_Vertex::setRawScore(double s)
{
rawScore=s;
}
double ACEplus_Vertex::getRawScore() const
{
return rawScore;
}