1 #ifndef gamgee__read_group__guard
2 #define gamgee__read_group__guard
34 ReadGroup(
const std::string& header_line);
37 static const char ID_TAG [];
38 static const char CENTER_TAG [];
39 static const char DESCRIPTION_TAG [];
40 static const char DATE_TIME_TAG [];
41 static const char FLOW_ORDER_TAG [];
42 static const char KEY_SEQUENCE_TAG [];
43 static const char LIBRARY_TAG [];
44 static const char PROGRAMS_TAG [];
45 static const char MEDIAN_INSERT_SIZE_TAG [];
46 static const char PLATFORM_TAG [];
47 static const char PLATFORM_UNIT_TAG [];
48 static const char SAMPLE_TAG [];
50 static bool starts_with(
const std::string& token,
const char tag[2]) {
51 return token[0] == tag[0] && token[1] == tag[1];
60 #endif //gamgee__read_group__guard
std::string date_time
Definition: read_group.h:23
std::string flow_order
Definition: read_group.h:24
std::string platform
Definition: read_group.h:29
std::string sample
Definition: read_group.h:31
std::string description
Definition: read_group.h:22
std::string id
Definition: read_group.h:20
Definition: exceptions.h:9
std::string key_sequence
Definition: read_group.h:25
std::string center
Definition: read_group.h:21
std::string median_insert_size
Definition: read_group.h:28
Helper struct to hold one read group record from a sam file header.
Definition: read_group.h:17
std::string library
Definition: read_group.h:26
std::string platform_unit
Definition: read_group.h:30
std::string programs
Definition: read_group.h:27