Commit 727090df authored by Mathieu Giraud's avatar Mathieu Giraud

core/germline.{h,cpp}: define a .seg_method field, SEG_METHOD_MAX{12,1U}

parent ef51f6f4
......@@ -7,6 +7,7 @@ void Germline::init(string _code, char _shortcut,
int _delta_min,
int max_indexing)
{
seg_method = SEG_METHOD_REGULAR ;
code = _code ;
shortcut = _shortcut ;
index = 0 ;
......
......@@ -10,8 +10,11 @@
#include "tools.h"
#include "../lib/json.hpp"
#define PSEUDO_GERMLINE_MAX12 "xxx"
#define PSEUDO_GERMLINE_MAX1U "yyy"
enum SEGMENTATION_METHODS {
SEG_METHOD_REGULAR,
SEG_METHOD_MAX12,
SEG_METHOD_MAX1U
} ;
using namespace std;
using json = nlohmann::json;
......@@ -55,6 +58,7 @@ class Germline {
~Germline();
int seg_method ;
string code ;
char shortcut ;
......
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