Commit 2c4944d8 authored by Mathieu Giraud's avatar Mathieu Giraud

core/germline.cpp: triggers SEG_METHOD_ONE with '1'

See #XXXX.
parent 9ad6d41a
Pipeline #12306 passed with stages
in 19 minutes and 48 seconds
......@@ -138,8 +138,18 @@ Germline::Germline(string code, char shortcut, string path, json json_recom,
if (rep_4.size())
seg_method = SEG_METHOD_543 ;
if (!rep_5.size() && !rep_3.size())
seg_method = SEG_METHOD_ONE ;
// SEG_METHOD_ONE
if (json_recom.find("1") != json_recom.end())
{
seg_method = SEG_METHOD_ONE ;
for (json::iterator it = json_recom["1"].begin();
it != json_recom["1"].end(); ++it)
{
string filename = *it;
f_reps_4.push_back(path + filename);
rep_4.add(path + filename);
}
}
}
void Germline::finish() {
......
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