NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::alndiff::Filter Struct Reference

Detailed description

Definition at line 36 of file filter.h.

#include <filter.h>

Public Types

enum  Flags { DISTANT = 1u, DISCORDANT = 2u, DIFFERENT_REF = 4u, ALL = 0xFFFFFFFFu }
 
enum  Statistics {
  ED = 1u, MAPQ = 2u, MMS = 4u, INS = 8u,
  DELS = 16u, SCORE = 32u
}
 

Public Methods

 Filter ()
 
 Filter (const char *file_name, const uint32 flags, const uint32 stats, const int32 delta)
 
 ~Filter ()
 
void operator() (const int32 delta, const uint32 flags, const Statistics stat, const uint32 read_id)
 
uint32 filtered () const
 
void flush ()
 

Public Members

FILE * m_file
 
uint32 m_flags
 
uint32 m_stats
 
int32 m_delta
 
uint32 m_filtered
 

Member Enumeration Documentation

Enumerator
DISTANT 
DISCORDANT 
DIFFERENT_REF 
ALL 

Definition at line 38 of file filter.h.

Enumerator
ED 
MAPQ 
MMS 
INS 
DELS 
SCORE 

Definition at line 39 of file filter.h.

Constructor & Destructor Documentation

nvbio::alndiff::Filter::Filter ( )
inline

Definition at line 43 of file filter.h.

nvbio::alndiff::Filter::Filter ( const char *  file_name,
const uint32  flags,
const uint32  stats,
const int32  delta 
)
inline

Definition at line 52 of file filter.h.

nvbio::alndiff::Filter::~Filter ( )
inline

Definition at line 69 of file filter.h.

Member Function Documentation

uint32 nvbio::alndiff::Filter::filtered ( ) const
inline

Definition at line 97 of file filter.h.

void nvbio::alndiff::Filter::flush ( )
inline

Definition at line 101 of file filter.h.

void nvbio::alndiff::Filter::operator() ( const int32  delta,
const uint32  flags,
const Statistics  stat,
const uint32  read_id 
)
inline

Definition at line 80 of file filter.h.

Member Data Documentation

int32 nvbio::alndiff::Filter::m_delta

Definition at line 106 of file filter.h.

FILE* nvbio::alndiff::Filter::m_file

Definition at line 103 of file filter.h.

uint32 nvbio::alndiff::Filter::m_filtered

Definition at line 107 of file filter.h.

uint32 nvbio::alndiff::Filter::m_flags

Definition at line 104 of file filter.h.

uint32 nvbio::alndiff::Filter::m_stats

Definition at line 105 of file filter.h.


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