18 #ifndef __SAM_RECORD_HELPER_H__
19 #define __SAM_RECORD_HELPER_H__
21 #include "SamRecord.h"
34 const char* sequence);
56 void* value,
String& returnString);
Class for extracting information from a SAM Flag.
static bool genSamTagString(const char *tag, char vtype, void *value, String &returnString)
Helper to append the SAM string representation of the specified tag to the specified string.
static bool genSamTagsString(SamRecord &record, String &returnString, char delim='\t')
Helper to append the SAM string representation of all the tags to the specified string.
static int checkSequence(SamRecord &record, int32_t pos0Based, const char *sequence)
Helper method that checks if the record's read sequence starting at the specified 0-based reference p...
Class providing an easy to use interface to get/set/operate on the fields in a SAM/BAM record.