61 loadSeqs(mdl, filename, format, NULL);
74 loadSeqs(mdl, filename,format, trFunc);
91 loadSeqs(mdl, filenames, format, type, NULL);
107 loadSeqs(mdl, filenames, format, type, trFunc);
124 loadSeqs(mdls,filename,format,attribFunc, NULL);
139 loadSeqs(mdls,filename,format,attribFunc,trFunc);
156 loadSeqs(mdls, filenames, format, type, attribFunc, NULL);
172 loadSeqs(mdls, filenames, format, type, attribFunc, trFunc);
219 pthread_mutex_init(&exit_thread_flag_mutex, NULL);
220 pthread_cond_init(&exit_thread_flag_cv, NULL);
270 return loadSeqs(mod,seqFile,format,NULL);
316 return loadSeqs(mod, seqFiles, format,type,NULL);
348 size_t sequenceFiles = seqFiles.size();
350 if (tracksToImport!=sequenceFiles){
351 std::cerr <<
"Number of tracks to import and sequenced don't match. # Files == # Tracks to import " << std::endl;
416 if (attribFunc!=NULL){
421 std::cerr <<
"No valid Attribute calculating function" << std::endl;
468 return loadSeqs(mModels, seqFile, format, NULL,NULL);
498 if (attribFunc!=NULL){
503 std::cerr <<
"No valid Attribute calculating function" << std::endl;
513 size_t sequenceFiles = seqFiles.size();
515 if (tracksToImport!=sequenceFiles){
516 std::cerr <<
"Number of tracks to import and sequenced don't match. # Files == # Tracks to import " << std::endl;
562 return loadSeqs(mModels, seqFiles, format, type, NULL, NULL);
570 return loadSeqs(mModels, seqFiles, format, type,attribFunc,NULL);
629 std::cerr <<
"seqTracks initialization error: Model not defined at index zero of models datatype. Can't initialize seqTrack with necessary model information" << std::endl;
638 std::cerr <<
"seqTracks initialization error: Model is not defined. Therefore, can't initiate seqTrack with necessary model inforamation" << std::endl;
669 for (
size_t i=0;i<
jobQueue.size();i++){
700 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
714 sq=
new(std::nothrow)
sequence(
true);
717 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
730 sq=
new(std::nothrow)
sequence(
false);
733 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
745 sq=
new(std::nothrow)
sequence(
false);
747 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
772 std::cerr <<
"Failed to import data track from " <<
seqFilenames[i] << std::endl;
802 std::vector<double>* rl = NULL;
807 std::cerr <<
"Sequence external function not defined for track number: " <<
postprocessTracks[i].trackNumber << std::endl;
808 std::cerr <<
"Using Sequences from track: " <<
postprocessTracks[i].trackToUse << std::endl;
809 rl =
new(std::nothrow) std::vector<double>;
811 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
819 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
836 double min = (*hmms)[0]->getDistanceToAttrib(attb);
837 temp_job->
hmm=(*hmms)[0];
845 temp_job->
hmm=(*hmms)[i];
851 temp_job->
hmm=(*hmms)[0];
868 else if (lengthOfAll!=length){
869 std::cerr <<
"Sequence Lengths not the same" <<std::endl;
898 std::cerr <<
"Number of sequences provided doesn't match the number of tracks. Given that the sequences files contain a single track per file. " << std::endl;
902 std::ifstream *SEQ=
new(std::nothrow) std::ifstream;
905 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
918 std::cerr <<
"Can't open sequence file: " <<
seqFilenames[i] << std::endl;
926 std::cerr <<
"Can't read from file: " <<
seqFilenames[i] << std::endl;
929 std::cerr <<
"Failed import of " <<
seqFilenames[i] <<
" causes there to be a missing track in sequence data." << std::endl;
933 std::cerr <<
"Skipped processing of " <<
seqFilenames[i] <<
"." << std::endl;
940 std::ifstream *SEQ=
new(std::nothrow) std::ifstream;
943 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
952 std::cerr <<
"Can't open sequence file: " <<
seqFilenames[0] << std::endl;
960 std::cerr <<
"Can't read from file: " <<
seqFilenames[0] << std::endl;