Commit b40adace authored by Mathieu Giraud's avatar Mathieu Giraud

vidjil.cpp: remove FineSegmentation in very_detailed_cluster_analysis

This feature was seldom used.

The goal is to completely remove the 'very_detailed_cluster_analysis' phase,
in order to have a cleaner and more maintenable code, before attempting
a modularization of vidjil.cpp.
parent 2fd192bb
......@@ -1311,33 +1311,8 @@ int main (int argc, char **argv)
}
}
FineSegmenter seg(representative, rep_V, rep_J, delta_min, delta_max, segment_cost);
if (segment_D)
seg.FineSegmentD(rep_V, rep_D, rep_J);
//cout << seg.toJson();
json_data_segment[it->first]=seg.toJsonList(rep_V, rep_D, rep_J);
if (seg.isSegmented())
{
representatives_this_clone.push_back(seg.getSequence());
}
/// TODO: et si pas isSegmented ?
bool warning = false;
if (num_seq <= 20) /////
{
cout << setw(20) << representative.label << " " ;
cout << " " << junc ;
cout << " " << setw(WIDTH_NB_READS) << it->second << " " ;
cout << (warning ? "§ " : " ") ;
cout << seg.info ;
cout << endl ;
}
}
representatives_this_clone.push_back(representative);
}
}
out_clone.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment