Go to the SVN repository for this file.
59 stringerrmsg =
m_IndexName+
".pki has zero length";
67 stringerrmsg =
m_IndexName+
".pkd has zero length";
77 if(hits.size() < numHashes)
78hits.resize(numHashes);
84 for(
intindex=0; index<numHashes; index++)
90 for(
intindex=0; index<numHashes; index++)
96 for(
intindex=0; index<numHashes; index++)
122 for(
int i=1;
i<=num;
i++)
123badMers.push_back(
array[
i]);
142subject_oid =
array[num_hashes];
158 inline unsigned char*
uint32_t * x_GetMinHits32(int oid, int &subjectOid) const
void GetBadMers(vector< int > &badMers) const
Overrepresented KMERs.
uint32_t * GetMinHits(int oid) const
int GetNumHashes(void) const
Returns the number of values in an array of hashes (probably 32)
string m_IndexName
Name of the index file.
unsigned char * m_MinHitsData
Pointer to start of min-hits arrays.
int GetVersion(void) const
unique_ptr< CMemoryFile > m_MmappedIndex
MinHashIndexHeader * m_Data
uint32_t * GetRandomNumbers(void) const
int GetDataWidth(void) const
uint16_t * x_GetMinHits16(int oid, int &subjectOid) const
CMinHashFile(const string &indexname)
parameterized constructor
unique_ptr< CMemoryFile > m_MmappedData
unsigned char * GetKValues(void) const
LSH points for Buhler approach.
Int8 m_DataFileSize
m_MmappedData File size
unsigned char * x_GetMinHits8(int oid, int &subjectOid) const
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define KMER_RANDOM_NUM_OFFSET
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4