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

#include <genotypekit.hpp>

Inheritance diagram for vg::TraversalSupportCalculator:
vg::SimpleTraversalSupportCalculator

Public Member Functions

virtual ~TraversalSupportCalculator ()=default
 
virtual vector< Supportcalculate_supports (const Snarl &site, const vector< SnarlTraversal > &traversals, const vector< Alignment * > &reads, const vector< vector< bool >> &consistencies) const =0
 

Detailed Description

Represents a strategy for calculating Supports for SnarlTraversals. Polymorphic base class/interface.

Constructor & Destructor Documentation

◆ ~TraversalSupportCalculator()

virtual vg::TraversalSupportCalculator::~TraversalSupportCalculator ( )
virtualdefault

Member Function Documentation

◆ calculate_supports()

virtual vector<Support> vg::TraversalSupportCalculator::calculate_supports ( const Snarl site,
const vector< SnarlTraversal > &  traversals,
const vector< Alignment * > &  reads,
const vector< vector< bool >> &  consistencies 
) const
pure virtual

Return Supports for all the SnarlTraversals, given the reads and their consistency flags.

Implemented in vg::SimpleTraversalSupportCalculator.


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