IUtils¶
IUtils¶
-
namespace
ft¶ Copyright (c) 2018, Wasserman lab
FILE ikmergenerator.h
DESCRIPTION This file contains the declaration of kmergenerator interface
-
class
IUtils¶ - #include <iutils.h>
This file contains the declaration of utils.h, it contains all utility functions needed to perform fast typer searches.
- Copyright
- Copyright (c) 2019, Wasserman lab
- Author
- Godfrain Jacques Kounkou
Subclassed by ft::Utils
Public Functions
-
virtual std::vector<std::string> ft::IUtils::split(const std::string & strToSplit, char delimeter)= 0 split
- Return
- returns tokens obtained from the given string
- Parameters
strToSplit:delimeter:
-
virtual std::set<fs::path> ft::IUtils::getSetOfIndexes(const fs::path & indexList = "indices.txt")= 0 getSetOfIndicies
- Return
- returns a set of paths corresponding to indexes
- Parameters
indexList: Filename
-
virtual std::set<size_t> ft::IUtils::convertIndexPositionsToReadIDs(std::set< long long > indexPositions, uint readLength)= 0 convertIndexPositionsToReadIDs
- Return
- returns a set of ReadID’s corresponding to Index Positions
- Parameters
indexPos:readLength:
-
virtual std::set<std::string> ft::IUtils::convertReadIDsToReadNames(const fs::path & indexMapFile, std::set< size_t > readIDs)= 0 convertReadIDsToReadNames
- Return
- Parameters
indexMapFile:readIDs:
-
virtual std::string ft::IUtils::reverseComplement(const std::string & inputString) const= 0 FTSearch::reverseComplement.
- Return
- returns the reverse complement sequence
- Parameters
inputString:
-
virtual int ft::IUtils::fileIndexToQueryIndex(uint fileIndex)= 0 -
- Return
- Parameters
fileIndex:
-
virtual std::string ft::IUtils::trimmedReadFileName(const fs::path & p)= 0 trimmedReadFileName
- Return
- Parameters
p:
-
virtual uint ft::IUtils::queryIndexToFileIndex(int queryIndex)= 0 queryIndexToFileIndex
- Return
- Parameters
queryIndex:
-
class