39 void readModelProbabilities(
int number = 1);
40 StatePath* getSampledPath(
const char *dna,
const char* seqname = NULL);
41 StatePath* getViterbiPath(
const char *dna,
const char* seqname = NULL);
49 Double getEmissionProbability();
74 StateType getStateType(
int i);
76 int getStateIndex(StateType type);
78 void setNeedForwardTable(
bool b){needForwardTable = b;}
81 void setAllTranscripts(list<Transcript*> *tl) {sampledTxs = tl;}
82 list<Transcript*> *getAllTranscripts() {
return sampledTxs;}
83 void getPrepareModels(
const char *dna,
int len) {prepareModels(dna, len);}
91 void viterbiAndForward(
const char* dna,
bool useProfile=
false);
98 list<AltGene>* findGenes(
const char *dna, Strand strand,
bool onlyViterbi=
true);
100 void readTransAndInitProbs( );
101 void readOvlpLenDist( );
102 void checkProbsConsistency( );
103 void computeReachableStates( );
104 void createStateModels( );
105 void setStatesInitialProbs();
106 void initAlgorithms();
107 void updateToLocalGCEach(
int idx,
int from = -1,
int to = -1);
108 void printDPMatrix();
113 void prepareModels(
const char*dna,
int len);
115 long tryFindCutEndPoint(
StatePath *condensedExamPath,
int examIntervalStart,
int examIntervalEnd, list<Feature> *groupGaps,
bool onlyInternalIR);
124 vector<Double> initProbs;
126 vector<Double> termProbs;
128 vector<Boolean> stateReachable;
130 vector<StateModel*> states;
134 vector<StateType> stateMap;
138 Boolean proteinOutput;
139 Boolean codSeqOutput;
140 Boolean noInFrameStop;
141 double minmeanexonintronprob;
142 double minexonintronprob;
144 int sampleiterations;
145 bool alternatives_from_sampling;
146 bool alternatives_from_evidence;
149 bool needForwardTable;
154 list<Transcript*> *sampledTxs;
holds the stepwise constant function of GC content class indices
Definition motif.hh:152
Transcript * doViterbiPiecewise(SequenceFeatureCollection &sfc, AnnoSequence *annoseq, Strand strand, unsigned int &num_pieces)
Definition namgene.cc:516