A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/mhfile_8hpp_source.html below:

NCBI C++ ToolKit: include/algo/blast/proteinkmer/mhfile.hpp Source File

33 #ifndef MHFILE_HEADER__HPP 34 #define MHFILE_HEADER__HPP 60  switch

( GetErrCode() ) {

61  case

eArgErr:

return "eArgErr"

;

62  case

eFileEmpty:

return "eFileErr"

;

72 #define KMER_LSH_ARRAY_SIZE 0x1000001 73 #define KMER_RANDOM_NUM_OFFSET 48 125  int GetRows

(

void

)

const

{

return

m_Data->rows_per_band;}

127  int GetDataWidth

(

void

)

const

{

return

(m_Data->dataWidth == 0 ? 4 : m_Data->dataWidth);}

146  void

GetBadMers(vector<int> &badMers)

const

;

161  void

GetMinHits(

int

oid,

int

& subjectOid, vector<uint32_t>& hits)

const

;

164  int GetNumSignatures

()

const

{

return static_cast<int>

(m_DataFileSize/(GetDataWidth()*GetNumHashes()+4));}

168  uint32_t

* x_GetMinHits32(

int

oid,

int

& subjectOid)

const

;

170  uint16_t

* x_GetMinHits16(

int

oid,

int

& subjectOid)

const

;

172  unsigned char

* x_GetMinHits8(

int

oid,

int

& subjectOid)

const

;

Declares the BLAST exception class.

Defines to provide correct exporting from BLAST DLL in Windows.

#define NCBI_XBLAST_EXPORT

NULL operations for other cases.

void GetRandomNumbers(uint32_t *a, uint32_t *b, int numHashes)

Get the random numbers for the hash function.

void GetKValues(vector< vector< int > > &kvector, int k_value, int l_value, int array_size)

Function to get the k sites to compare for Buhler LSH.

@ eArgErr

Argument validation failed.

@ eFileEmpty

Zero length files.

virtual const char * GetErrCodeString() const override

Get a message describing the situation leading to the throw.

NCBI_EXCEPTION_DEFAULT(CMinHashException, CException)

Include standard NCBI exception behavior.

Access data in Minhash files.

int GetLSHSize(void) const

int GetNumSignatures() const

Returns the number of hash arrays.

uint32_t * GetMinHits(int oid) const

int GetNumHashes(void) const

Returns the number of values in an array of hashes (probably 32)

uint64_t * GetLSHArray(void) const

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

int GetNumSeqs(void) const

int GetDataWidth(void) const

unique_ptr< CMemoryFile > m_MmappedData

uint64_t GetLSHMatchEnd(void) const

int GetChunkSize(void) const

Get number of letters in a chunk (version 3 or higher)

int GetKmerSize(void) const

Returns the length of the KMER.

int GetSegStatus(void) const

int GetAlphabet(void) const

One of two alphabets from Shiryev et al.

int * GetHits(uint64_t offset) const

Int8 m_DataFileSize

m_MmappedData File size

int GetLSHStart(void) const

virtual const char * GetErrCodeString(void) const

Get error code interpreted as text.

int64_t Int8

8-byte (64-bit) signed integer

#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.

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...


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