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

#include <genotypekit.hpp>

Inheritance diagram for vg::ConsistencyCalculator:
vg::SimpleConsistencyCalculator

Public Member Functions

virtual ~ConsistencyCalculator ()=default
 
virtual vector< bool > calculate_consistency (const Snarl &site, const vector< SnarlTraversal > &traversals, const Alignment &read) const =0
 

Detailed Description

Represents a strategy for computing consistency between Alignments and SnarlTraversals. Determines whether a read is consistent with a SnarlTraversal or not (but has access to all the SnarlTraversals). Polymorphic base class/interface.

Constructor & Destructor Documentation

◆ ~ConsistencyCalculator()

virtual vg::ConsistencyCalculator::~ConsistencyCalculator ( )
virtualdefault

Member Function Documentation

◆ calculate_consistency()

virtual vector<bool> vg::ConsistencyCalculator::calculate_consistency ( const Snarl site,
const vector< SnarlTraversal > &  traversals,
const Alignment read 
) const
pure virtual

Return true or false for each tarversal of the site, depending on if the read is consistent with it or not.

Implemented in vg::SimpleConsistencyCalculator.


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