25 #include <utility/file/file_sys_util.hh>
26 #include <utility/file/FileName.hh>
32 #include <utility/vector1.hh>
48 for ( FileNames::const_iterator
filename( motif_filenames.begin() );
59 std::istream & motif_info
63 while( motif_info >> key_in ) {
64 if( key_in ==
"SINGLE" ) {
68 std::cout <<
"ERROR - BAD MOTIF KEY " << key_in <<
"\n";
79 while( motif_info >> key_in ) {
80 if( key_in ==
"SINGLE" ) {
107 std::ifstream motif_file;
108 motif_file.open( motif_filename.c_str() );
110 std::cout <<
"ERROR: No motif file " << motif_filename <<
" - FAILING!\n";
118 for( MotifCOPs::const_iterator pmot = new_library.
begin() ; pmot != new_library.
end() ; ++pmot ) {
127 for( MotifCOPs::const_iterator pmot = mlib.
begin() ; pmot != mlib.
end() ; ++pmot ) {
128 os << (*pmot)->print();
136 std::ifstream motif_file;
137 motif_file.open( motif_filename.c_str() );
139 std::cout <<
"ERROR: No motif file " << motif_filename <<
" - FAILING!\n";
148 for( MotifCOPs::const_iterator pmot = new_library.
begin() ; pmot != new_library.
end() ; ++pmot ) {