Gamgee
You miserable little maggot. I'll stove your head in!
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
variant_utils.cpp File Reference
#include "variant_utils.h"
#include "hts_memory.h"
#include "../exceptions.h"
#include "htslib/vcf.h"
#include <algorithm>
#include <string>
#include <vector>

Namespaces

 gamgee
 

Functions

void gamgee::subset_variant_samples (bcf_hdr_t *hdr_ptr, const std::vector< std::string > &samples, const bool include)
 allows the caller to include only selected samples in a Variant Reader. To create a sites only file, simply pass an empty vector of samples. More...
 
void gamgee::merge_variant_headers (const std::shared_ptr< bcf_hdr_t > &dest_hdr_ptr, const std::shared_ptr< bcf_hdr_t > &src_hdr_ptr)
 merges a variant header into another More...