#include <string>
#include <iostream>
+#include <sstream>
namespace fs = boost::filesystem;
using namespace std;
// sequence filtering for upcasing agctn and convert non AGCTN to N
set_filtered_sequence(sequence_raw, start_index, end_index-start_index);
} else {
- throw mussa_load_error("%s did not have a fasta header");
+ stringstream errormsg;
+ errormsg << file_path.native_file_string()
+ << " did not have any fasta sequences" << endl;
+ throw mussa_load_error(errormsg.str());
}
data_file.close();
}