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

#include <genotypekit.hpp>

Public Member Functions

virtual ~VcfRecordFilter ()=default
 
virtual bool accept_record (const vcflib::Variant &variant)=0
 

Detailed Description

Represents a filter that passes or rejects VCF records according to some criteria. Polymorphic base class/interface.

Constructor & Destructor Documentation

◆ ~VcfRecordFilter()

virtual vg::VcfRecordFilter::~VcfRecordFilter ( )
virtualdefault

Member Function Documentation

◆ accept_record()

virtual bool vg::VcfRecordFilter::accept_record ( const vcflib::Variant &  variant)
pure virtual

Returns true if we should keep the given VCF record, and false otherwise.


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