11#include "statemodel.hh"
25 StateType getStateType ()
const {
47 Double emiProbUnderModel (
int begin,
int end)
const;
48 Double seqProb (
int left,
int right)
const;
49 static Double dSSProb (
int base,
bool forwardStrand);
50 static Double aSSProb (
int base,
bool forwardStrand);
52 static void resetPars() {
54 initAlgorithmsCalled =
false;
56 static void updateToLocalGC(
int from = -1,
int to = -1);
57 static void readProbabilities(
int parIndex);
58 static void readAllParameters();
59 static void updateParameters(
int idx);
60 static void storeGCPars(
int idx);
61 static Integer getD() {
return d;}
62 static double getMAL() {
return mal.doubleValue();}
63 static void resetModelCount(){introncount = 0;};
64 static double getGeoProb(){
return geoProb;}
65 static Double getAssMotifProbThreshold(
double q) {
return assMotif->getProbThreshold(q);}
66 static double getMeanIntrLen();
68 static void initSnippetProbs();
69 void processSequence(
const char* start,
const char* end);
75 void processASS (
const char* dna,
int pos, Boolean withMotif=
true);
76 void processDSS (
const char* dna,
int pos );
77 void makeDSSProbs ( );
79 void printLengthQuantiles();
80 void initCountVars ( );
81 void readSpliceSites ();
89 static vector<Double> lenDist;
94 static int beginOfBioIntron, endOfBioIntron;
95 static vector<Integer> emicount;
96 static vector<Integer> intlencount;
97 static Integer introns;
98 static Integer introns_d;
100 static Integer minwindowcount;
101 static double slope_of_bandwidth;
103 static Double probShortIntron;
104 static Double *GCprobShortIntron;
107 static Integer introncount;
108 static Integer gesbasen;
111 static Integer c_ass;
112 static Integer c_dss;
113 static vector<Integer> asscount;
114 static vector<Integer> dsscount;
115 static Integer ass_upwindow_size;
116 static vector<Double> assprobs;
117 static vector<Double> dssprobs;
118 static Motif *assMotif;
119 static Motif *GCassMotif;
120 static Boolean hasSpliceSites;
123 static Double dssneighborfactor;
124 static Integer ass_motif_memory;
125 static Integer ass_motif_radius;
126 static double non_gt_dss_prob;
127 static double non_ag_ass_prob;
129 static bool initAlgorithmsCalled, haveSnippetProbs;
130 static int lastParIndex;
131 static Integer verbosity;
132 static double geoProb;
133 static int ass_outside;
Contains features for bins of a probability (or a score).
Definition merkmal.hh:120
Definition intronmodel.hh:140
The intron model class.
Definition intronmodel.hh:20
void buildModel(const AnnoSequence *annoseq, int parIndex)
Definition dummy.cc:13
void printProbabilities(int parIndex, BaseCount *bc, const char *suffix=NULL)
Definition dummy.cc:14
This class implements a double object with a very large range.
Definition lldouble.hh:31
A simple matrix class. Base class for all mathematical matrix objects.
Definition matrix.hh:27
Options lists are used for sampling; items also in backtracking.
Definition vitmatrix.hh:748
Definition merkmal.hh:148
Contains a vector of parameters. Is used in particular for intron emiprobs.
Definition merkmal.hh:80
ProjectError()
Definition types.hh:460
Definition statemodel.hh:182
This is the base interface class common to all state model classes (ExonModel, IntronModel,...
Definition statemodel.hh:65
An array of Viterbi columns.
Definition vitmatrix.hh:687