yat
0.20.3pre
|
#include <yat/omic/VcfCompare.h>
Public Member Functions | |
VcfCompare (void) | |
VcfCompare (const VcfHeader &hdr) | |
bool | operator() (const VCF &lhs, const VCF &rhs) const |
Functor used to compare to VCF objects with respect to their genomic position.
theplu::yat::omic::VcfCompare::VcfCompare | ( | void | ) |
Default constructor
theplu::yat::omic::VcfCompare::VcfCompare | ( | const VcfHeader & | hdr | ) |
Constructs an object using chromosomes as defoined in contig
entries in header hdr.
true
if lhs is less than rhs The following criteria are used to compare the two objects: 1) chromosome (as defined in constructor) 2) position POS
3) reference allele REF
4) alternative sequence ALT