8 #include "ftPropsClass.h"
31 const std::string& getKmer()
const;
32 const std::bitset<8>& getKFlags()
const;
33 const std::set<long long>& getKPositions()
const;
34 const std::set<ft::ReadID>& getReadIDs()
const;
35 uint getOCC()
const {
return _occ;};
43 void setKFlags(std::set<ft::FlagType> kFlags);
44 void setKPositions(
const std::set<long long>& kPositions);
45 void adjustPosForOffset(uint offset = 0);
46 void setReadIDs(std::set<ft::ReadID> readIDs);
47 void setOCC(uint occ) {_occ=occ;};
55 void addKPosition(
const size_t& kPosition,
const uint& offset = 0);
64 void removeKPosition(
size_t kPosition, uint offset = 0);
72 bool isKmerEqual(
const KmerClass& test)
const;
73 bool hasKmer(
const std::string& test)
const;
75 bool hasKPosition(
const size_t& position)
const;
76 bool hasReadID(
const ft::ReadID& readID)
const;
83 void convertPosToReadID(uint readLength, uint numOfReads,
bool pairedReads,
bool indexRevComp =
false);
85 void adjustPositionsWithOffset(uint offset);
100 std::bitset<8> _kFlags;
101 std::set<long long> _positions;
102 std::set<ft::ReadID> _readIDs;
104 bool _isOffsetAdjusted;
110 #endif // KMERCLASS_H