1 #ifndef gamgee__variant_header_builder__guard
2 #define gamgee__variant_header_builder__guard
7 #include "../utils/utils.h"
8 #include "../utils/hts_memory.h"
44 VariantHeaderBuilder&
add_shared_field(
const std::string&
id,
const std::string& number,
const std::string& type,
const std::string& description =
"",
const std::string& source =
"",
const std::string& version =
"",
const std::string& extra =
"");
77 std::shared_ptr<bcf_hdr_t> m_header;
83 #endif // gamgee__variant_header_builder__guard
int bcf_hdr_sync(bcf_hdr_t *h)
Definition: vcf.c:110
shared_ptr< bcf_hdr_t > make_shared_variant_header(bcf_hdr_t *bcf_hdr_ptr)
wraps a pre-allocated bcf_hdr_t in a shared_ptr with correct deleter
Definition: hts_memory.cpp:63
bcf_hdr_t * variant_header_deep_copy(bcf_hdr_t *original)
creates a deep copy of an existing bcf_hdr_t
Definition: hts_memory.cpp:119
Definition: exceptions.h:9