9 #ifndef StochHMM_trainingSeq_cpp
10 #define StochHMM_trainingSeq_cpp
25 using namespace StochHMM;
27 #define MAX_BUFFER 1000000;
28 #define MIN_BUFFER 100;
37 void reverseComplement();
41 inline size_t size(){
return seq.size();};
42 inline string&
getDNA(){
return DNA;};
56 inline bool eof(
size_t iter){
return seqFiles[iter]->eof();}
57 inline bool good(
size_t iter){
return seqFiles[iter]->good();}
58 inline bool is_open(
size_t iter){
return seqFiles[iter]->is_open();}
61 inline int queueSize(
size_t iter){
return seqs.size();}
62 bool openFiles(std::string&);
63 bool openFiles(
char**);
65 bool importMask(std::string&);
66 bool importMask(
char**);
68 void determineAlphabet(
size_t iter);
82 std::map<int,map<int,int> > transitions
86 std::vector<trainingSeq>
seqs;