-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIsochore.H
54 lines (50 loc) · 1.91 KB
/
Isochore.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
45
46
47
48
49
50
51
52
53
54
/****************************************************************
Isochore.H
Copyright (C)2013 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.
****************************************************************/
#ifndef INCL_Isochore_H
#define INCL_Isochore_H
#include "BOOM/Vector.H"
#include "BOOM/Map.H"
#include "BOOM/ConfigFile.H"
#include "BOOM/String.H"
#include "Transitions.H"
#include "SignalSensor.H"
#include "ContentSensor.H"
#include "SignalType.H"
#include "ContentType.H"
#include "DiscreteDistribution.H"
#include "EmpiricalDistribution.H"
#include "SignalComparator.H"
/****************************************************************
This class encapsulates everything about the gene finder that
could be isochore-specific (i.e., all models and parameters that
can depend on local GC-content).
****************************************************************/
struct Isochore
{
ConfigFile configFile;
float maximumGC;
bool useSignalThresholds;
double signalThresholdMultiplier;
double pI, pN, pF, pT;
double threePrimeOptimism, fivePrimeOptimism;
BOOM::String name;
BOOM::Vector<SignalSensor*> signalSensors;
BOOM::Vector<ContentSensor*> contentSensors;
Transitions *transitionProbs;
BOOM::Map<ContentType,ContentSensor*> contentToSensor;
BOOM::Map<SignalType,SignalSensor*> signalTypeToSensor;
BOOM::Map<ContentType,DiscreteDistribution*> contentToDistribution;
SignalSensor *stopCodonSensor, *negStopCodonSensor;
BOOM::Map<ContentType,BOOM::Array1D<SinglePhaseComparator*>*>
intronComparators;
BOOM::Map<ContentType,NoncodingComparator*> noncodingComparators;
bool interpolateHistograms;
// temporary:
BOOM::Map<BOOM::String,ContentSensor*> uniqContentSensors;//by filename
BOOM::Map<BOOM::String,EmpiricalDistribution*> uniqDistributions;// ditto
};
#endif