SamStatistics.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __SAM_STATISTICS_H__
00019 #define __SAM_STATISTICS_H__
00020
00021 #include <stdint.h>
00022 #include "SamRecord.h"
00023
00024 class SamStatistics
00025 {
00026 public:
00027 SamStatistics();
00028 ~SamStatistics();
00029
00030
00031 void reset();
00032
00033
00034 bool updateStatistics(SamRecord& samRecord);
00035
00036 void print();
00037
00038 private:
00039
00041
00042
00044 uint64_t myReadCount;
00045
00047 uint64_t myMappedReadCount;
00048
00050 uint64_t myPairedReadCount;
00051
00053 uint64_t myProperPairedReadCount;
00054
00056 uint64_t myDupReadCount;
00057
00059 uint64_t myQCFailureReadCount;
00060
00062
00063
00065 uint64_t myBaseCount;
00066
00068 uint64_t myMappedReadBases;
00069 };
00070
00071 #endif