File: MappingStatistics.hpp

package info (click to toggle)
salmon 1.10.3%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,148 kB
  • sloc: cpp: 200,707; ansic: 171,082; sh: 859; python: 792; makefile: 238
file content (17 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __SALMON_MAPPING_STATISTICS__
#define __SALMON_MAPPING_STATISTICS__

#include <atomic>

// class to collect statistics we may want about mapping / alignment
class MappingStatistics {
public:
  std::atomic<uint64_t> numOrphansRescued{0};
  // The number of mappings that were filtered due to alignment score
  std::atomic<uint64_t> numMappingsFiltered{0};
  std::atomic<uint64_t> numFragmentsFiltered{0};
  std::atomic<uint64_t> numDecoyFragments{0};
  std::atomic<uint64_t> numDovetails{0};
};

#endif // __SALMON_MAPPING_STATISTICS__