Gamgee
You miserable little maggot. I'll stove your head in!
|
#include "hts_memory.h"
#include "utils.h"
#include "variant_field_type.h"
#include "../missing.h"
#include "htslib/vcf.h"
#include <memory>
Go to the source code of this file.
Namespaces | |
gamgee | |
gamgee::utils | |
utility functions for the gamgee library | |
Functions | |
uint32_t | gamgee::utils::allele_count (const bcf_fmt_t *const format_ptr) |
Counts the genotype alleles. More... | |
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... | |
template<class TYPE > | |
int32_t | gamgee::utils::allele_key (const uint8_t *data_ptr, const uint32_t allele_index, const TYPE missing, const TYPE vector_end) |
int32_t | gamgee::utils::allele_key (const bcf_fmt_t *const format_ptr, const uint8_t *data_ptr, const uint32_t allele_index) |
Returns the genotype allele at position allele_index. 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... | |