1 #ifndef theplu_yat_omic_bam_read_filter
2 #define theplu_yat_omic_bam_read_filter
25 #include "config_bam.h"
26 #include YAT_SAM_HEADER
32 #define BAM_DEF_MASK (BAM_FUNMAP | BAM_FSECONDARY | BAM_FQCFAIL | BAM_FDUP)
67 BamReadFilter(
unsigned char mapQ,
unsigned int filtered_flags=BAM_DEF_MASK,
68 unsigned int required_flags=0);
78 unsigned int filtered_;
79 unsigned int required_;
Class holding a bam query.
Definition: BamRead.h:53
bool operator()(const BamRead &bam) const
Filter bam reads.
Definition: BamReadFilter.h:58
BamReadFilter(unsigned char mapQ, unsigned int filtered_flags=BAM_DEF_MASK, unsigned int required_flags=0)