Mussa::set_soft_threshold(int new_threshold)
{
if (new_threshold < threshold) {
- soft_thres = threshold;
+ new_threshold = threshold;
} else if (new_threshold > window) {
- soft_thres = window;
- } else {
+ new_threshold = window;
+ }
+ if (soft_thres != new_threshold) {
soft_thres = new_threshold;
+ nway();
}
}
set_dirty(true);
}
-void Mussa::load_mupa_file(std::string para_file_path) {
- load_mupa_file(boost::filesystem::path(para_file_path));
-}
-
void
Mussa::load_mupa_file(fs::path para_file_path)
{
threshold = atoi(tokens[1].c_str());
} else if (tokens[0] == "SEQUENCE") {
if (parsing_state == INSEQUENCE) {
- cout << "seq_file_name call2" << seq_file << endl;
load_sequence(seq_file, annot_file, fasta_index, sub_seq_start,
sub_seq_end);
parsing_state = START;