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

Go to the source code of this file.

Namespaces

 gamgee
 

Typedefs

using gamgee::AlleleMask = std::vector< AlleleType >
 

Enumerations

enum  gamgee::AlleleType { gamgee::AlleleType::REFERENCE, gamgee::AlleleType::SNP, gamgee::AlleleType::INSERTION, gamgee::AlleleType::DELETION }
 

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...