64 std::cerr <<
"Tag was parsed but contains no FUNCTION: . Please check the formatting of the tags\n" << std::endl;
79 std::cerr <<
"Tag was parsed but contains no TRACK: . Please check the formatting of the tags\n" << std::endl;
93 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
99 std::cerr <<
"Ambiguous Value couldn't be parsed: "<< lst[idx] << std::endl;
106 std::string weightName=lst[idx];
107 if (wts->
count(weightName)){
118 const std::string tbLabels[]= {
"TO_LABEL",
"TB->LABEL",
"TO_GFF",
"TB->GFF",
"TO_STATE",
"TB->STATE",
"TO_START",
"TB->START",
"DIFF_STATE"};
121 for(
int i=0;i<9;i++){
139 std::string combineLabels[] = {
"COMBINE_LABEL",
"COMBINE_GFF",
"COMBINE_STATE",
"NO_COMBINE"};
141 bool combineTypeProvided=
false;
142 for(
int i=0;i<4;i++){
143 if (lst.
contains(combineLabels[i])){
144 idx=lst.
indexOf(combineLabels[i]);
147 combineTypeProvided=
true;
151 if (!combineTypeProvided){
152 std::cerr <<
"Transition Function tag with a traceback was called, but no CombineType was provided. If no traceback is needed then please remove traceback command. \n" << std::endl;
171 std::string exFuncString;
173 exFuncString+=
"TRACK:\t" +
trackName +
"\t";
194 exFuncString +=
" ]";
226 return (*
transFunc)(fullSequence, pos, partialSequence,length);
271 std::cerr <<
"Tag was parsed but contains no FUNCTION: . Please check the formatting of the tags\n" << std::endl;
287 std::cerr <<
"Tag was parsed but contains no TRACK: . Please check the formatting of the tags\n" << std::endl;
302 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
308 std::cerr <<
"SCALE value could not be converted to numerical value: "<< lst[idx] << std::endl;
315 std::string weightName=lst[idx];
316 if (wts->
count(weightName)){
334 std::string exFuncString;
336 exFuncString+=
"TRACK:\t" +
trackName +
"\t";
347 exFuncString +=
" ]";
354 double val = (*emissionFunction)(fullSequence, pos);