#include <HashTableTranslated.h>
Inheritance diagram for HashTableTranslated:


Definition at line 141 of file HashTableTranslated.h.
| typedef void(HashTableTranslated::* ) HashTableTranslated::MatchSequencePointer(WordSequence &, HitList &) |
Definition at line 147 of file HashTableTranslated.h.
| anonymous enum |
Definition at line 149 of file HashTableTranslated.h.
00149 { eDNAWordSizeForHashing = gMaxBasesPerWord-1 };
| HashTableTranslated::HashTableTranslated | ( | ostream & | monitoringStream = cerr, |
|
| string | name = "", |
|||
| Allocator< PositionPacked > & | hitListAllocator = HashTablePacked::defaultHitListAllocator, |
|||
| Allocator< PositionInHitList > & | arrayAllocator = HashTablePacked::defaultArrayAllocator | |||
| ) |
Definition at line 248 of file HashTableTranslated.cpp.
References HashTableGeneric::bitsPerSymbol_, gResidueBits, gTranslated, HashTableGeneric::hitListFormat_, and HashTableGeneric::monitoringStream_.
00251 : 00252 hashFwd_( monitoringStream, name+(string)"_fwd", 00253 hitListAllocator, arrayAllocator ), 00254 hashRev_( monitoringStream, name+(string)"_rev", 00255 hitListAllocator, arrayAllocator ), 00256 pHash_(&hashFwd_), 00257 codonEncoder_(5), 00258 pMatchSequence_( &HashTableTranslated::matchSequenceProtein ), 00259 HashTableGeneric( monitoringStream, name, arrayAllocator ) 00260 { 00261 bitsPerSymbol_=gResidueBits; 00262 hitListFormat_ = gTranslated; 00263 monitoringStream_ << "constructing HashTableTranslated" << endl; 00264 } // ~constructor
| virtual HashTableTranslated::~HashTableTranslated | ( | ) | [inline, virtual] |
| HashTableTranslated::HashTableTranslated | ( | const HashTableTranslated & | ) | [private] |
| void HashTableTranslated::loadHashTable | ( | SourceReaderIndex * | pSourceReader = NULL |
) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 540 of file HashTableTranslated.cpp.
References codonEncoder_, hashFwd_, hashRev_, HashTableGeneric::isInitialized_, loadFromFile(), HashTableGeneric::loadHashTable(), HashTableGeneric::loadSequenceNames(), HashTableGeneric::monitoringStream_, HashTableGeneric::name_, HashTableGeneric::pNameReader_, HashTableGeneric::pSequenceSizes_, pSourceReader, SequenceEncoder::setWordLength(), NameReader::size(), and HashTableGeneric::wordLength_.
Referenced by main().
00541 { 00542 00543 if (pSourceReader==NULL) 00544 { 00545 pNameReader_ = new NameReaderLocal; 00546 } // ~if 00547 else 00548 { 00549 pNameReader_ = new NameReaderIndex(*pSourceReader); 00550 } // ~else 00551 00552 // These have their own dummy NameReaders 00553 hashFwd_.loadHashTable(); 00554 hashRev_.loadHashTable(); 00555 loadSequenceNames(); 00556 00557 // unsigned long numSeqs = sequenceNames_.size(); 00558 unsigned long numSeqs = pNameReader_->size(); 00559 00560 assert(numSeqs!=0); 00561 00562 monitoringStream_ << "Allocating memory for pSequenceSizes_: " 00563 << numSeqs << " sequences, " 00564 << numSeqs*sizeof(SequenceOffset) 00565 << " bytes total ...\n"; 00566 00567 pSequenceSizes_ = new SequenceOffset [ numSeqs ]; 00568 00569 if (!pSequenceSizes_) 00570 { 00571 throw SSAHAException("Memory allocation failed!"); 00572 } // ~if 00573 00574 loadFromFile(name_+(string)".size", (char*)pSequenceSizes_, 00575 numSeqs * sizeof( SequenceOffset ), 00576 monitoringStream_ ); 00577 00578 codonEncoder_.setWordLength( wordLength_ ); 00579 00580 isInitialized_=true; 00581 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void HashTableTranslated::saveHashTable | ( | void | ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 584 of file HashTableTranslated.cpp.
References hashFwd_, hashRev_, and HashTableGeneric::saveHashTable().
Referenced by main().
00585 { 00586 hashFwd_.saveHashTable(); 00587 hashRev_.saveHashTable(); 00588 HashTableGeneric::saveHashTable(); 00589 // saveSequenceNames(); 00590 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void HashTableTranslated::setupPointerArray | ( | void | ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 266 of file HashTableTranslated.cpp.
References HashTableGeneric::bitsPerSymbol_, gDNAData, gResidueBits, hashFwd_, hashRev_, HashTableGeneric::numDifferentWords_, HashTableGeneric::setupPointerArray(), HashTableGeneric::sourceData_, HashTableGeneric::stepLength_, and HashTableGeneric::wordLength_.
00267 { 00268 00269 hashFwd_.numDifferentWords_= 1 << (wordLength_*gResidueBits); 00270 hashFwd_.bitsPerSymbol_=gResidueBits; 00271 hashFwd_.sourceData_=gDNAData; 00272 hashFwd_.wordLength_=wordLength_; 00273 hashFwd_.stepLength_=stepLength_; 00274 hashFwd_.setupPointerArray(); 00275 00276 hashRev_.numDifferentWords_= 1 << (wordLength_*gResidueBits); 00277 hashRev_.bitsPerSymbol_=gResidueBits; 00278 hashRev_.sourceData_=gDNAData; 00279 hashRev_.wordLength_=wordLength_; 00280 hashRev_.stepLength_=stepLength_; 00281 hashRev_.setupPointerArray(); 00282 }
Here is the call graph for this function:

| int HashTableTranslated::countWordsAndGetNames | ( | SequenceReader & | sequenceReader, | |
| SequenceAdapter * | seq | |||
| ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 332 of file HashTableTranslated.cpp.
References SequenceEncoder::changeMode(), codonEncoder_, codonizeAndFlag(), codonizeAndFlagReverse(), codons_, HashTablePacked::countWords(), eDNAWordSizeForHashing, SequenceEncoder::encode(), SequenceReader::getLastSequenceName(), SequenceReader::getNextSequence(), gNumReadingFrames, hashFwd_, hashRev_, NameReaderLocal::lastName(), SequenceAdapter::link(), SequenceEncoder::linkSeq(), nv(), HashTableGeneric::pNameReader_, SequenceReader::rewind(), SequenceEncoder::setWordLength(), ttCodon, ttProtein, SequenceEncoder::unlinkSeq(), and HashTableGeneric::wordLength_.
00333 { 00334 00335 sequenceReader.rewind(); 00336 00337 // CodonList codons; // make class member %%%%% 00338 // SequenceEncoderCodon codonEncoder(5); // make class member %%%%% 00339 // cout << "WordLength :" << wordLength_ << endl; 00340 NameReaderLocal* pReaderLocal = new NameReaderLocal; 00341 pNameReader_ = pReaderLocal; 00342 00343 codonEncoder_.setWordLength(wordLength_); 00344 00345 // Change encoding mode 00346 SequenceReaderModeFlagReplace mode('X'); 00347 assert(ttCodon['X']==ttProtein['X']); 00348 assert(ttCodon['X']!=nv); 00349 codonEncoder_.changeMode( &mode ); 00350 00351 00352 // WordSequence thisSeq, revSeq, translatedSeq; 00353 WordSequence thisSeq, translatedSeq; 00354 seq->link( translatedSeq ); 00355 int numSeqs(0); 00356 00357 // sequenceNames_.push_back(new string); 00358 00359 00360 while( sequenceReader.getNextSequence 00361 ( thisSeq, eDNAWordSizeForHashing ) != -1 ) 00362 { 00363 numSeqs++; 00364 00365 // sequenceReader.getLastSequenceName( *(sequenceNames_.back()) ); 00366 sequenceReader.getLastSequenceName( pReaderLocal->lastName() ); 00367 // sequenceNames_.push_back( new string ); 00368 00369 // hashRev_.countWords(*seq); 00370 00371 for ( int i(0) ; i < gNumReadingFrames ; i++ ) 00372 { 00373 codons_.clear(); 00374 codonizeAndFlag ( thisSeq, codons_, i ); 00375 translatedSeq.clear(); 00376 codonEncoder_.linkSeq( translatedSeq ); 00377 codonEncoder_.encode( codons_ ); 00378 codonEncoder_.unlinkSeq(); 00379 hashFwd_.countWords(*seq); 00380 } // ~for i 00381 00382 // revSeq.clear(); 00383 // reverseComplement( thisSeq, revSeq, eDNAWordSizeForHashing); 00384 00385 for ( int i(0) ; i < gNumReadingFrames ; i++ ) 00386 { 00387 codons_.clear(); 00388 codonizeAndFlagReverse ( thisSeq, codons_, i ); 00389 translatedSeq.clear(); 00390 codonEncoder_.linkSeq( translatedSeq ); 00391 codonEncoder_.encode( codons_ ); 00392 codonEncoder_.unlinkSeq(); 00393 hashRev_.countWords(*seq); 00394 } // ~for i 00395 00396 00397 } // ~while 00398 00399 // pReaderLocal->pop_back(); 00400 // pNameReader_ = pReaderLocal; 00401 00402 // delete sequenceNames_.back(); 00403 // sequenceNames_.pop_back(); 00404 // wordSeqs.pop_back(); 00405 00406 return numSeqs; 00407 } // ~HashTableTranslated::countWordsAndGetNames
Here is the call graph for this function:

| void HashTableTranslated::computePointerArray | ( | void | ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 285 of file HashTableTranslated.cpp.
References HashTableGeneric::computePointerArray(), hashFwd_, and hashRev_.
00286 { 00287 hashFwd_.computePointerArray(); 00288 hashRev_.computePointerArray(); 00289 }
Here is the call graph for this function:

| void HashTableTranslated::setupHitList | ( | void | ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 293 of file HashTableTranslated.cpp.
References hashFwd_, hashRev_, and HashTableGeneric::setupHitList().
00294 { 00295 hashFwd_.setupHitList(); 00296 hashRev_.setupHitList(); 00297 }
Here is the call graph for this function:

| void HashTableTranslated::hashAllWords | ( | SequenceReader & | sequenceReader, | |
| SequenceAdapter * | seq, | |||
| int | numSeqs | |||
| ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 410 of file HashTableTranslated.cpp.
References SequenceEncoder::changeMode(), codonEncoder_, codonizeAndFlag(), codonizeAndFlagReverse(), codons_, eDNAWordSizeForHashing, SequenceEncoder::encode(), SequenceReader::getNextSequence(), gNumReadingFrames, hashFwd_, hashRev_, HashTablePacked::hashWords(), SequenceAdapter::link(), SequenceEncoder::linkSeq(), HashTableGeneric::pSequenceSizes_, SequenceReader::rewind(), and SequenceEncoder::unlinkSeq().
00411 { 00412 00413 // cout << "HTT::hashAllWords" << endl; 00414 int numWords(0); 00415 sequenceReader.rewind(); 00416 // WordSequence thisSeq, revSeq, translatedSeq; 00417 WordSequence thisSeq, translatedSeq; 00418 seq->link( translatedSeq ); 00419 00420 // NB sequences are numbered 1...n not 0...n-1 00421 for ( unsigned int i(1); i <= numSeqs ; i++ ) 00422 { 00423 // cout << "hashing sequence " << i << endl; 00424 if( sequenceReader.getNextSequence( thisSeq, eDNAWordSizeForHashing) == -1 ) 00425 { 00426 throw SSAHAException 00427 ("Sequence source data changed during hash table creation!"); 00428 } 00429 00430 // fill in the word count 00431 numWords = (int) thisSeq.size(); 00432 pSequenceSizes_[i-1] = ( numWords > 0 ) 00433 ? ( (numWords-1) * eDNAWordSizeForHashing ) + thisSeq.getNumBasesInLast() 00434 : 0; 00435 00436 // cout << "Fwd: " << printWord(thisSeq, eDNAWordSizeForHashing ) << endl; 00437 00438 for ( int j(0) ; j < gNumReadingFrames ; j++ ) 00439 { 00440 codons_.clear(); 00441 codonizeAndFlag ( thisSeq, codons_, j ); 00442 translatedSeq.clear(); 00443 codonEncoder_.linkSeq( translatedSeq ); 00444 codonEncoder_.encode( codons_ ); 00445 codonEncoder_.unlinkSeq(); 00446 00447 // 00448 // cout << "T" << j << ": "; 00449 // for (WordSequence::iterator b(translatedSeq.begin()); 00450 // b!=translatedSeq.end();b++) 00451 // cout << printResidue(*b, wordLength_ ) <<"-"; 00452 // cout << endl; 00453 00454 00455 hashFwd_.hashWords(*seq,99999); 00456 } // ~for 00457 00458 // revSeq.clear(); 00459 // reverseComplement( thisSeq, revSeq, eDNAWordSizeForHashing); 00460 00461 // cout << "Rev: " << printWord(thisSeq, eDNAWordSizeForHashing ) << endl; 00462 00463 for ( int j(0) ; j < gNumReadingFrames ; j++ ) 00464 { 00465 codons_.clear(); 00466 codonizeAndFlagReverse ( thisSeq, codons_, j ); 00467 translatedSeq.clear(); 00468 codonEncoder_.linkSeq( translatedSeq ); 00469 codonEncoder_.encode( codons_ ); 00470 codonEncoder_.unlinkSeq(); 00471 // cout << "T" << j << ": "; 00472 // for (WordSequence::iterator b(translatedSeq.begin()); 00473 // b!=translatedSeq.end();b++) 00474 // cout << printResidue(*b, wordLength_ ) <<"-"; 00475 // cout << endl; 00476 00477 hashRev_.hashWords(*seq,99999); // seqNum not needed for HTPacked::hash 00478 } 00479 00480 // do the hashing 00481 // seq->link(thisSeq); 00482 // hashWords( *seq,i ); 00483 // cout << "hashallwords: " << wordLength_ << getWordLength() << endl; 00484 00485 } // ~for thisSeq 00486 00487 SequenceReaderModeIgnore mode; 00488 codonEncoder_.changeMode( &mode ); 00489 00490 00491 } // ~HashTableGeneric::hashAllWords
Here is the call graph for this function:

| void HashTableTranslated::cleanupTempData | ( | void | ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 299 of file HashTableTranslated.cpp.
References HashTableGeneric::cleanupTempData(), hashFwd_, hashRev_, and HashTableGeneric::isInitialized_.
00300 { 00301 hashFwd_.cleanupTempData(); 00302 hashRev_.cleanupTempData(); 00303 hashFwd_.isInitialized_=true; 00304 hashRev_.isInitialized_=true; 00305 }
Here is the call graph for this function:

| void HashTableTranslated::hashWords | ( | SequenceAdapter & | thisSeq, | |
| SequenceNumber | seqNum | |||
| ) | [virtual] |
Implements HashTableGeneric.
Definition at line 309 of file HashTableTranslated.cpp.
References hashFwd_, hashRev_, and HashTablePacked::hashWords().
00310 { 00311 assert(1==0); 00312 hashFwd_.hashWords( thisSeq, seqNum ); 00313 hashRev_.hashWords( thisSeq, seqNum ); 00314 }
Here is the call graph for this function:

| void HashTableTranslated::countWords | ( | SequenceAdapter & | thisSeq | ) | [virtual] |
Implements HashTableGeneric.
Definition at line 495 of file HashTableTranslated.cpp.
00496 { 00497 assert(1==0); 00498 // hashFwd_.countWords( thisSeq ); 00499 // hashRev_.countWords( thisSeq ); 00500 }
| virtual void HashTableTranslated::matchSequence | ( | WordSequence & | seq, | |
| HitList & | hitListFwd | |||
| ) | [inline, virtual] |
Implements HashTableGeneric.
Definition at line 208 of file HashTableTranslated.h.
References pMatchSequence_.
Referenced by main().
00209 { 00210 (this->*pMatchSequence_)(seq, hitListFwd); 00211 }
Here is the caller graph for this function:

| void HashTableTranslated::matchSequenceProtein | ( | WordSequence & | seq, | |
| HitList & | hitListFwd | |||
| ) |
Definition at line 608 of file HashTableTranslated.cpp.
References HashTablePacked::matchSequence(), pHash_, and HashTableComponent::setQueryFrame().
Referenced by main(), and setQueryProtein().
00609 { 00610 //cout << "Trans::matchSequenceProtein, wordLength=" << wordLength_ << endl; 00611 //cout << printResidue( seq, wordLength_ ) << endl; 00612 pHash_->setQueryFrame(0); 00613 pHash_->matchSequence( seq, hitListFwd ); 00614 } // ~HashTableTranslated::matchSequenceProtein
Here is the call graph for this function:

Here is the caller graph for this function:

| void HashTableTranslated::matchSequenceTranslatedDNA | ( | WordSequence & | seq, | |
| HitList & | hitListFwd | |||
| ) |
Definition at line 617 of file HashTableTranslated.cpp.
References codonEncoder_, codonize(), codons_, SequenceEncoder::encode(), gNumReadingFrames, SequenceEncoder::linkSeq(), HashTablePacked::matchSequence(), pHash_, HashTableComponent::setQueryFrame(), SequenceEncoder::setWordLength(), SequenceEncoder::unlinkSeq(), and HashTableGeneric::wordLength_.
Referenced by main(), and setQueryTranslatedDNA().
00618 { 00619 //cout << "Trans::matchSequenceTranslatedDNA, wordLength=" << wordLength_ 00620 //<< endl; 00621 codonEncoder_.setWordLength(wordLength_); 00622 WordSequence translatedSeq; 00623 for (int readingFrame(0); readingFrame < gNumReadingFrames; readingFrame++) 00624 { 00625 pHash_->setQueryFrame(readingFrame); 00626 codons_.clear(); 00627 codonize ( seq, codons_, readingFrame ); 00628 translatedSeq.clear(); 00629 codonEncoder_.linkSeq( translatedSeq ); 00630 codonEncoder_.encode( codons_ ); 00631 codonEncoder_.unlinkSeq(); 00632 // cout << "T" << readingFrame << ": "; 00633 // for (WordSequence::iterator b(translatedSeq.begin()); 00634 // b!=translatedSeq.end();b++) 00635 // cout << printResidue(*b, wordLength_ ) <<"-"; 00636 // cout << endl; 00637 00638 pHash_->matchSequence( translatedSeq, hitListFwd ); 00639 } // ~for 00640 } // ~HashTableTranslated::matchSequenceTranslatedDNA
Here is the call graph for this function:

Here is the caller graph for this function:

| void HashTableTranslated::setNumRepeats | ( | int | nr | ) | [virtual] |
Implements HashTableGeneric.
Definition at line 503 of file HashTableTranslated.cpp.
References hashFwd_, hashRev_, and HashTablePacked::setNumRepeats().
00504 { 00505 hashFwd_.setNumRepeats( nr ); 00506 hashRev_.setNumRepeats( nr ); 00507 }
Here is the call graph for this function:

| void HashTableTranslated::setSubstituteThreshold | ( | int | ns | ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 509 of file HashTableTranslated.cpp.
References hashFwd_, hashRev_, and HashTablePacked::setSubstituteThreshold().
00510 { 00511 hashFwd_.setSubstituteThreshold( ns ); 00512 hashRev_.setSubstituteThreshold( ns ); 00513 }
Here is the call graph for this function:

| char * HashTableTranslated::getHitListStart | ( | void | ) | const [virtual] |
| int HashTableTranslated::getHitTypeSize | ( | void | ) | const [virtual] |
| void HashTableTranslated::allocateHitList | ( | unsigned long | size | ) | [virtual] |
| void HashTableTranslated::loadHitList | ( | unsigned long | size | ) | [virtual] |
| void HashTableTranslated::saveHitList | ( | void | ) | [virtual] |
Implements HashTableGeneric.
Definition at line 533 of file HashTableTranslated.cpp.
References HashTableGeneric::monitoringStream_.
00534 { 00535 // assert(1==0); 00536 monitoringStream_ << "No hit list to save for HashTableTranslated" << endl; 00537 }
| int HashTableTranslated::getMaxNumHits | ( | ) | const [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 316 of file HashTableTranslated.cpp.
References HashTableGeneric::getMaxNumHits(), hashFwd_, and hashRev_.
Referenced by main().
00317 { 00318 assert( hashFwd_.getMaxNumHits() == hashRev_.getMaxNumHits() ); 00319 return hashFwd_.getMaxNumHits(); 00320 } // ~getMaxNumHits() const
Here is the call graph for this function:

Here is the caller graph for this function:

| void HashTableTranslated::setMaxNumHits | ( | int | mnh | ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 321 of file HashTableTranslated.cpp.
References HashTableGeneric::getMaxNumHits(), hashFwd_, hashRev_, and HashTableGeneric::setMaxNumHits().
00322 { 00323 hashFwd_.setMaxNumHits( mnh ); 00324 hashRev_.setMaxNumHits( mnh ); 00325 assert( hashFwd_.getMaxNumHits() == mnh ); 00326 assert( hashFwd_.getMaxNumHits() == mnh ); 00327 } // ~setMaxNumHits( int mnh )
Here is the call graph for this function:

| void HashTableTranslated::printHashStats | ( | void | ) | [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 597 of file HashTableTranslated.cpp.
References hashFwd_, hashRev_, and HashTableGeneric::printHashStats().
00598 { 00599 cout << "\n\n ** Hash stats output for forward subtable: ** \n\n"; 00600 hashFwd_.printHashStats(); 00601 cout << "\n\n ** Hash stats output for reverse subtable: ** \n\n"; 00602 hashRev_.printHashStats(); 00603 } // ~HashTableTranslated::printHashStats( void )
Here is the call graph for this function:

| unsigned long HashTableTranslated::getTotalNumWords | ( | void | ) | const [virtual] |
Reimplemented from HashTableGeneric.
Definition at line 592 of file HashTableTranslated.cpp.
References HashTableGeneric::getTotalNumWords(), hashFwd_, and hashRev_.
00593 { 00594 return (hashFwd_.getTotalNumWords()+hashRev_.getTotalNumWords()); 00595 } // ~HashTableTranslated::getTotalNumWords( void ) const
Here is the call graph for this function:

| void HashTableTranslated::setForward | ( | void | ) | [inline] |
| void HashTableTranslated::setReverse | ( | void | ) | [inline] |
| void HashTableTranslated::setQueryProtein | ( | void | ) | [inline] |
Definition at line 243 of file HashTableTranslated.h.
References matchSequenceProtein(), and pMatchSequence_.
Referenced by main().
00244 { 00245 pMatchSequence_ = &HashTableTranslated::matchSequenceProtein; 00246 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void HashTableTranslated::setQueryTranslatedDNA | ( | void | ) | [inline] |
Definition at line 247 of file HashTableTranslated.h.
References matchSequenceTranslatedDNA(), and pMatchSequence_.
Referenced by main().
00248 { 00249 pMatchSequence_ = &HashTableTranslated::matchSequenceTranslatedDNA; 00250 }
Here is the call graph for this function:

Here is the caller graph for this function:

| bool HashTableTranslated::isForward | ( | void | ) | const [inline] |
Definition at line 259 of file HashTableTranslated.h.
References hashFwd_, and pHash_.
Referenced by main(), MatchAdderProteinCodon::operator()(), and MatchAdderCodonCodon::operator()().
Here is the caller graph for this function:

| HashTableTranslated& HashTableTranslated::operator= | ( | const HashTableTranslated & | ) | [private] |
int HashTableTranslated::translatedWordLength_ [protected] |
Definition at line 275 of file HashTableTranslated.h.
HashTableComponent HashTableTranslated::hashFwd_ [protected] |
Definition at line 277 of file HashTableTranslated.h.
Referenced by cleanupTempData(), computePointerArray(), countWordsAndGetNames(), getMaxNumHits(), getTotalNumWords(), hashAllWords(), hashWords(), isForward(), loadHashTable(), HashTableTranslatedPeek::peekFwd(), printHashStats(), saveHashTable(), setForward(), setMaxNumHits(), setNumRepeats(), setSubstituteThreshold(), setupHitList(), and setupPointerArray().
HashTableComponent HashTableTranslated::hashRev_ [protected] |
Definition at line 278 of file HashTableTranslated.h.
Referenced by cleanupTempData(), computePointerArray(), countWordsAndGetNames(), getMaxNumHits(), getTotalNumWords(), hashAllWords(), hashWords(), loadHashTable(), HashTableTranslatedPeek::peekRev(), printHashStats(), saveHashTable(), setMaxNumHits(), setNumRepeats(), setReverse(), setSubstituteThreshold(), setupHitList(), and setupPointerArray().
HashTableComponent* HashTableTranslated::pHash_ [protected] |
Definition at line 279 of file HashTableTranslated.h.
Referenced by isForward(), matchSequenceProtein(), matchSequenceTranslatedDNA(), setForward(), and setReverse().
CodonList HashTableTranslated::codons_ [protected] |
Definition at line 281 of file HashTableTranslated.h.
Referenced by countWordsAndGetNames(), hashAllWords(), matchSequenceTranslatedDNA(), and HashTablePackedProtein::matchSequenceTranslatedDNA().
Definition at line 282 of file HashTableTranslated.h.
Referenced by countWordsAndGetNames(), hashAllWords(), loadHashTable(), matchSequenceTranslatedDNA(), and HashTablePackedProtein::matchSequenceTranslatedDNA().
Definition at line 284 of file HashTableTranslated.h.
Referenced by matchSequence(), setQueryProtein(), and setQueryTranslatedDNA().
1.5.2