vg
tools for working with variation graphs
Public Member Functions | List of all members
vg::GenotypeLikelihoodCalculator Class Referenceabstract

#include <genotypekit.hpp>

Public Member Functions

virtual ~GenotypeLikelihoodCalculator ()=default
 
virtual double calculate_log_likelihood (const Snarl &site, const vector< SnarlTraversal > &traversals, const Genotype &genotype, const vector< vector< bool >> &consistencies, const vector< Support > &supports, const vector< Alignment * > &reads)=0
 

Detailed Description

Represents a strategy for calculating genotype likelihood for a (nested) Site. Polymorphic base class/interface.

Constructor & Destructor Documentation

◆ ~GenotypeLikelihoodCalculator()

virtual vg::GenotypeLikelihoodCalculator::~GenotypeLikelihoodCalculator ( )
virtualdefault

Member Function Documentation

◆ calculate_log_likelihood()

virtual double vg::GenotypeLikelihoodCalculator::calculate_log_likelihood ( const Snarl site,
const vector< SnarlTraversal > &  traversals,
const Genotype genotype,
const vector< vector< bool >> &  consistencies,
const vector< Support > &  supports,
const vector< Alignment * > &  reads 
)
pure virtual

Return the log likelihood of the given genotype.


The documentation for this class was generated from the following file: