A library for working with phylogenetic data.
v0.25.0
functions/variant.hpp File Reference
#include "genesis/population/variant.hpp"
#include "genesis/population/formats/simple_pileup_reader.hpp"
#include "genesis/population/formats/vcf_record.hpp"
#include <array>
#include <iosfwd>
#include <utility>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::population
 

Functions

Variant convert_to_variant (SimplePileupReader::Record const &record, unsigned char min_phred_score)
 
Variant convert_to_variant (VcfRecord const &record)
 
std::array< std::pair< char, size_t >, 4 > sorted_variant_counts (Variant const &variant, bool reference_first)
 
std::ostream & to_sync (Variant const &var, std::ostream &os)
 Output a Variant instance to a stream in the PoPoolation2 sync format. More...
 
BaseCounts total_base_counts (Variant const &variant)