LRez  v2.1
indexManagementBam.h
Go to the documentation of this file.
1 #ifndef __LREZ_INDEX_MANAGEMENT_BAM__
2 #define __LREZ_INDEX_MANAGEMENT_BAM__
3 
4 #include <vector>
5 #include "robin_hood.h"
6 #include "api/BamAux.h"
7 #include "utils.h"
8 
9 using namespace std;
10 using namespace BamTools;
11 
13 
15 
16 
27 BarcodesPositionsIndex indexBarcodesPositionsFromBam(string bamFile, bool primary, unsigned quality, unsigned nbThreads = 1);
28 
36 void saveBarcodesPositionsIndex(BarcodesPositionsIndex& index, string file);
37 
46 
47 
59 BarcodesOffsetsIndex indexBarcodesOffsetsFromBam(string bamFile, bool primary, unsigned quality, unsigned nbThreads = 1);
60 
68 void saveBarcodesOffsetsIndex(BarcodesOffsetsIndex& index, string file);
69 
78 
79 #endif
robin_hood.h
BarcodesOffsetsIndex
robin_hood::unordered_map< barcode, vector< int64_t > > BarcodesOffsetsIndex
Definition: indexManagementBam.h:12
saveBarcodesOffsetsIndex
void saveBarcodesOffsetsIndex(BarcodesOffsetsIndex &index, string file)
BarcodesPositionsIndex
robin_hood::unordered_map< barcode, vector< pair< int32_t, int32_t > > > BarcodesPositionsIndex
Definition: indexManagementBam.h:14
loadBarcodesOffsetsIndex
BarcodesOffsetsIndex loadBarcodesOffsetsIndex(string file)
utils.h
indexBarcodesOffsetsFromBam
BarcodesOffsetsIndex indexBarcodesOffsetsFromBam(string bamFile, bool primary, unsigned quality, unsigned nbThreads=1)
indexBarcodesPositionsFromBam
BarcodesPositionsIndex indexBarcodesPositionsFromBam(string bamFile, bool primary, unsigned quality, unsigned nbThreads=1)
loadBarcodesPositionsIndex
BarcodesPositionsIndex loadBarcodesPositionsIndex(string file)
saveBarcodesPositionsIndex
void saveBarcodesPositionsIndex(BarcodesPositionsIndex &index, string file)
robin_hood::detail::Table
Definition: robin_hood.h:908