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
genotype_utils.cpp File Reference
#include "genotype_utils.h"

Namespaces

 gamgee
 
 gamgee::utils
 utility functions for the gamgee library
 

Functions

template<class TYPE >
bool gamgee::utils::allele_missing (const uint8_t *data_ptr, const uint32_t allele_index, const TYPE missing)
 
template<class TYPE >
vector< int32_t > gamgee::utils::allele_keys (const std::shared_ptr< bcf1_t > &body, const bcf_fmt_t *const format_ptr, const uint8_t *data_ptr, const TYPE missing, const TYPE vector_end)
 
template<class TYPE >
vector< string > gamgee::utils::allele_strings (const std::shared_ptr< bcf1_t > &body, const bcf_fmt_t *const format_ptr, const uint8_t *data_ptr, const TYPE missing, const TYPE vector_end)
 
bool gamgee::utils::allele_missing (const bcf_fmt_t *const format_ptr, const uint8_t *data_ptr, const uint32_t allele_index)
 Returns true if the allele at position allele_index is missing. More...
 
vector< int32_t > gamgee::utils::allele_keys (const std::shared_ptr< bcf1_t > &body, const bcf_fmt_t *const format_ptr, const uint8_t *data_ptr)
 Returns the genotype allele keys. More...
 
vector< string > gamgee::utils::allele_strings (const std::shared_ptr< bcf1_t > &body, const bcf_fmt_t *const format_ptr, const uint8_t *data_ptr)
 Returns the genotype allele strings. More...
 
string gamgee::utils::allele_key_to_string (const std::shared_ptr< bcf1_t > &body, const int32_t key_index)
 Returns the genotype allele string from this line. More...