10 #include <sdsl/suffix_arrays.hpp>
12 #include "indexPropsClass.h"
85 csa_wt<wt_huff<rrr_vector<256>>, 512, 1024>
_index;
86 long long *_indexPosition;
100 #endif // end of __FM_INDEX_H__
FmIndex()
Constructor.
Definition: fmindex.cpp:12
void loadIndexFromFile(const fs::path &indexname)
loadIndexFromFile
Definition: fmindex.cpp:115
A class that contains information for a single Kmer.
Definition: kmerClass.h:17
std::pair< fs::path, fs::path > createFMIndex(const algo::IndexProps &_props, const fs::path &preprocessedFasta)
Main function to generate the fm index files Generate the FmIndex for a preprocessed Fasta File.
Definition: fmindex.cpp:57
ft::KmerClass search(const std::string &kmer, u_int maxOcc=200)
search within an index file for a kmer
Definition: fmindex.cpp:20
std::mutex _mtx
mutex
Definition: fmindex.h:91
size_t _kmerMapSize
_kmerMapSize
Definition: fmindex.h:96
csa_wt< wt_huff< rrr_vector< 256 > >, 512, 1024 > _index
This is the structure of our FmIndex. csa : compressed suffix array wt_huff : wavelet tree huffman rr...
Definition: fmindex.h:85
void parallelFmIndex(algo::IndexProps &_props)
parallel FM Index creation
Definition: fmindex.cpp:131
virtual ~FmIndex()
Destructor.
Definition: fmindex.cpp:170
A class that contains all the properties for an FmIndex.
Definition: indexPropsClass.h:23
This contains the functions used to interact with the FM index.
Definition: tst_indexPropsClass.cpp:6
A class that contains all the functions for use with an FmIndex.
Definition: fmindex.h:24