src/algo/blast/unit_tests/api/blastsetup_unit_test.cpp File Reference

#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <corelib/metareg.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/util/sequence.hpp>
#include <objmgr/bioseq_handle.hpp>
#include <objmgr/seq_vector.hpp>
#include <objtools/readers/fasta.hpp>
#include <algo/blast/api/blast_types.hpp>
#include "dust_filter.hpp"
#include <algo/blast/api/blast_exception.hpp>
#include <algo/blast/api/blast_options_handle.hpp>
#include <blast_objmgr_priv.hpp>
#include <algo/blast/core/blast_setup.h>
#include <algo/blast/core/blast_stat.h>
#include <algo/blast/core/blast_encoding.h>
#include <algo/blast/core/gencode_singleton.h>
#include <algo/blast/api/effsearchspace_calc.hpp>
#include <algo/blast/api/objmgr_query_data.hpp>
#include "test_objmgr.hpp"
#include "blast_test_util.hpp"
#include <string>
#include <vector>

Include dependency graph for blastsetup_unit_test.cpp:

Go to the source code of this file.

Classes

struct  CBlastSetupTestFixture

Functions

 BOOST_AUTO_TEST_CASE (NumberOfContextsBlastp)
 BOOST_AUTO_TEST_CASE (NumberOfContextsBlastn)
 BOOST_AUTO_TEST_CASE (NumberOfContextsBlastx)
 BOOST_AUTO_TEST_CASE (NumberOfContextsTblastx)
 BOOST_AUTO_TEST_CASE (NumberOfContextsTblastn)
 BOOST_AUTO_TEST_CASE (NumberOfContextsRPSBlast)
 BOOST_AUTO_TEST_CASE (NumberOfContextsRPSTblastn)
 BOOST_AUTO_TEST_CASE (NumberOfContextsThrow)
 BOOST_AUTO_TEST_CASE (QueryIsTranslated)
 BOOST_AUTO_TEST_CASE (QueryIsPlainNucleotide)
 BOOST_AUTO_TEST_CASE (SubjectIsProtein)
 BOOST_AUTO_TEST_CASE (SubjectIsNucleotide)
 BOOST_AUTO_TEST_CASE (SubjectIsPlainNucleotide)
 BOOST_AUTO_TEST_CASE (BlastNumber2Program_CORE)
 BOOST_AUTO_TEST_CASE (String2Enum_Blastp)
 BOOST_AUTO_TEST_CASE (String2Enum_Blastn)
 BOOST_AUTO_TEST_CASE (String2Enum_Blastx)
 BOOST_AUTO_TEST_CASE (String2Enum_Tblastx)
 BOOST_AUTO_TEST_CASE (String2Enum_Tblastn)
 BOOST_AUTO_TEST_CASE (String2Enum_Megablast)
 BOOST_AUTO_TEST_CASE (String2Enum_DiscoMegablast)
 BOOST_AUTO_TEST_CASE (String2Enum_PSIBlast)
 BOOST_AUTO_TEST_CASE (String2Enum_RPSBlast)
 BOOST_AUTO_TEST_CASE (String2Enum_RPSTblastn)
 BOOST_AUTO_TEST_CASE (String2Enum_Throw1)
 BOOST_AUTO_TEST_CASE (String2Enum_PSITblastn)
 BOOST_AUTO_TEST_CASE (FindMatrixPathSuccess)
 BOOST_AUTO_TEST_CASE (FindMatrixPathNoNcbiRcFile)
 BOOST_AUTO_TEST_CASE (FindMatrixPathFailure)
 BOOST_AUTO_TEST_CASE (FindMatrixPathWithNull)
 BOOST_AUTO_TEST_CASE (Context2Frame_ProteinQuery)
 BOOST_AUTO_TEST_CASE (Context2Frame_NucleotideQuery)
 BOOST_AUTO_TEST_CASE (Context2Frame_TranslatedQuery)
 BOOST_AUTO_TEST_CASE (Context2Frame_Error)
 BOOST_AUTO_TEST_CASE (SetupSubjectsProt)
 BOOST_AUTO_TEST_CASE (SetupSubjectsProtRange)
 BOOST_AUTO_TEST_CASE (SetupSubjectsNuclPlusStrandFiltered)
 BOOST_AUTO_TEST_CASE (SetupSubjectsNuclMinusStrandFiltered)
 BOOST_AUTO_TEST_CASE (SetupSubjectsNuclBothStrandFiltered)
 BOOST_AUTO_TEST_CASE (SetupSubjectsNuclPlusStrand)
 BOOST_AUTO_TEST_CASE (SetupSubjectsNuclMinusStrand)
 BOOST_AUTO_TEST_CASE (SetupSubjectsNuclBothStrand)
 BOOST_AUTO_TEST_CASE (GetSequenceProteinWithSelenocysteine)
 BOOST_AUTO_TEST_CASE (GetSequenceNCBI4NA_NoSentinels)
 BOOST_AUTO_TEST_CASE (GetSequenceNCBI2NA)
 BOOST_AUTO_TEST_CASE (GetGapOnlySequenceNCBI2NA)
 BOOST_AUTO_TEST_CASE (GetGapInSequenceNCBI2NA)
 BOOST_AUTO_TEST_CASE (testCalcEffLengths)
 BOOST_AUTO_TEST_CASE (testEffSearchSpaceCalculator_Ungapped)
 BOOST_AUTO_TEST_CASE (testEffSearchSpaceCalculatorNoSideEffects)
 BOOST_AUTO_TEST_CASE (testCalcEffLengthsWithUserSearchSpace)
 BOOST_AUTO_TEST_CASE (testMitochondrialGeneticCode)
 BOOST_AUTO_TEST_CASE (testMainSetup)
 BOOST_AUTO_TEST_CASE (testSetupWithZeroLengthSequence)
 BOOST_AUTO_TEST_CASE (GetSubjectTranslations)
 BOOST_AUTO_TEST_CASE (GetMixedFrameQuery)
 BOOST_AUTO_TEST_CASE (GetMixedFrameQueryOnOneStrand)


Function Documentation

BOOST_AUTO_TEST_CASE GetMixedFrameQueryOnOneStrand   ) 
 

Definition at line 1264 of file blastsetup_unit_test.cpp.

References BLAST_CreateMixedFrameDNATranslation(), CODON_LENGTH, CBlastOptionsFactory::Create(), eBlastx, eNa_strand_plus, CBlastOptions::GetProgramType(), CBlastOptions::GetStrandOption(), id, CTestObjMgr::Instance(), ITERATE, prog, SetupQueries(), and SetupQueryInfo().

BOOST_AUTO_TEST_CASE GetMixedFrameQuery   ) 
 

Definition at line 1225 of file blastsetup_unit_test.cpp.

References BLAST_CreateMixedFrameDNATranslation(), CODON_LENGTH, CBlastOptionsFactory::Create(), eBlastx, eNa_strand_both, CBlastOptions::GetProgramType(), CBlastOptions::GetStrandOption(), id, CTestObjMgr::Instance(), ITERATE, NUM_FRAMES, prog, SetupQueries(), and SetupQueryInfo().

BOOST_AUTO_TEST_CASE GetSubjectTranslations   ) 
 

Definition at line 1183 of file blastsetup_unit_test.cpp.

References BLAST_GetAllTranslations(), SBlastSequence::data, eBlastEncodingNcbi4na, eNa_strand_both, eSentinels, FindGeneticCode(), AutoPtr< X, Del >::get(), GetSequence(), id, CTestObjMgr::Instance(), SBlastSequence::length, and NUM_FRAMES.

BOOST_AUTO_TEST_CASE testSetupWithZeroLengthSequence   ) 
 

Definition at line 1135 of file blastsetup_unit_test.cpp.

References eBlastTypeBlastn, eNa_strand_both, CBLAST_SequenceBlk::Get(), id1, id2, CTestObjMgr::Instance(), ITERATE, BLAST_SequenceBlk::lcase_mask, SSeqRange::left, SSeqRange::right, BlastMaskLoc::seqloc_array, SetupQueries(), SetupQueryInfo(), and BlastSeqLoc::ssr.

BOOST_AUTO_TEST_CASE testMainSetup   ) 
 

Definition at line 1039 of file blastsetup_unit_test.cpp.

References BLAST_MainSetUp(), Blast_MessageFree(), BlastFindMatrixPath(), BlastMaskLocFree(), BlastQuerySetUpOptionsFree(), BlastQuerySetUpOptionsNew(), BlastScoreBlkFree(), BlastScoringOptionsFree(), BlastScoringOptionsNew(), BlastSeqLocFree(), SBlastScoreMatrix::data, eBlastTypeBlastn, eNa_strand_both, BlastScoringOptions::gap_extend, BlastScoringOptions::gap_open, id, CTestObjMgr::Instance(), mask, BlastScoreBlk::matrix, BlastScoringOptions::penalty, BlastScoringOptions::reward, SetupQueries(), and SetupQueryInfo().

BOOST_AUTO_TEST_CASE testMitochondrialGeneticCode   ) 
 

Definition at line 1013 of file blastsetup_unit_test.cpp.

References eBlastTypeBlastx, eNa_strand_both, GenCodeSingletonFini(), GenCodeSingletonInit(), id, CTestObjMgr::Instance(), SetupQueries(), and SetupQueryInfo().

BOOST_AUTO_TEST_CASE testCalcEffLengthsWithUserSearchSpace   ) 
 

Definition at line 975 of file blastsetup_unit_test.cpp.

References BLAST_CalcEffLengths(), BLAST_FillEffectiveLengthsOptions(), Blast_KarlinBlkCopy(), Blast_ScoreBlkKbpIdealCalc(), Blast_ScoreBlkMatrixInit(), BLASTAA_SEQ_CODE, BlastEffectiveLengthsOptionsFree(), BlastEffectiveLengthsOptionsNew(), BlastEffectiveLengthsParametersFree(), BlastEffectiveLengthsParametersNew(), BlastFindMatrixPath(), BlastQueryInfoFree(), BlastQueryInfoNew(), BlastScoreBlkFree(), BlastScoreBlkNew(), BlastScoringOptionsFree(), BlastScoringOptionsNew(), BlastQueryInfo::contexts, eBlastTypeBlastp, BlastContextInfo::eff_searchsp, BlastScoreBlk::kbp_gap, BlastScoreBlk::kbp_gap_std, BlastScoreBlk::kbp_ideal, malloc(), and BlastContextInfo::query_length.

BOOST_AUTO_TEST_CASE testEffSearchSpaceCalculatorNoSideEffects   ) 
 

Definition at line 950 of file blastsetup_unit_test.cpp.

References CBlastOptionsFactory::Create(), eBlastp, id, and CTestObjMgr::Instance().

BOOST_AUTO_TEST_CASE testEffSearchSpaceCalculator_Ungapped   ) 
 

Definition at line 924 of file blastsetup_unit_test.cpp.

References CBlastOptionsFactory::Create(), eBlastp, id, and CTestObjMgr::Instance().

BOOST_AUTO_TEST_CASE testCalcEffLengths   ) 
 

Definition at line 806 of file blastsetup_unit_test.cpp.

References CScope::AddDefaults(), BLAST_CalcEffLengths(), BLAST_DEFAULT_MATRIX, Blast_MessageFree(), BlastEffectiveLengthsParametersFree(), BlastEffectiveLengthsParametersNew(), BlastFindMatrixPath(), BlastScoreBlkFree(), BlastSetup_ScoreBlkInit(), CBlastOptionsFactory::Create(), eBlastn, eBlastp, eBlastx, eRPSBlast, eRPSTblastn, eTblastn, eTblastx, CBlastOptions::GetProgramType(), CBlastOptions::GetStrandOption(), CTestObjMgr::Instance(), ITERATE, prog, BlastEffectiveLengthsParameters::real_db_length, BlastEffectiveLengthsParameters::real_num_seqs, SetupQueries(), and SetupQueryInfo().

BOOST_AUTO_TEST_CASE GetGapInSequenceNCBI2NA   ) 
 

Definition at line 783 of file blastsetup_unit_test.cpp.

References SBlastSequence::data, eBlastEncodingNcbi2na, eNa_strand_plus, eNoSentinels, AutoPtr< X, Del >::get(), GetSequence(), CTestObjMgr::Instance(), and SBlastSequence::length.

BOOST_AUTO_TEST_CASE GetGapOnlySequenceNCBI2NA   ) 
 

Definition at line 760 of file blastsetup_unit_test.cpp.

References SBlastSequence::data, eBlastEncodingNcbi2na, eNa_strand_plus, eNoSentinels, AutoPtr< X, Del >::get(), GetSequence(), CTestObjMgr::Instance(), and SBlastSequence::length.

BOOST_AUTO_TEST_CASE GetSequenceNCBI2NA   ) 
 

Definition at line 745 of file blastsetup_unit_test.cpp.

References COMPRESSION_RATIO, eBlastEncodingNcbi2na, eNa_strand_plus, eNoSentinels, GetSequence(), CTestObjMgr::Instance(), and SBlastSequence::length.

BOOST_AUTO_TEST_CASE GetSequenceNCBI4NA_NoSentinels   ) 
 

Definition at line 730 of file blastsetup_unit_test.cpp.

References eBlastEncodingNcbi4na, eNa_strand_plus, eNoSentinels, GetSequence(), CTestObjMgr::Instance(), and SBlastSequence::length.

BOOST_AUTO_TEST_CASE GetSequenceProteinWithSelenocysteine   ) 
 

Definition at line 695 of file blastsetup_unit_test.cpp.

References AMINOACID_TO_NCBISTDAA, SBlastSequence::data, DIM, eBlastEncodingProtein, eNa_strand_unknown, eSentinels, AutoPtr< X, Del >::get(), CObjectManager::GetInstance(), GetSequence(), id, and ReadFasta().

BOOST_AUTO_TEST_CASE SetupSubjectsNuclBothStrand   ) 
 

Definition at line 668 of file blastsetup_unit_test.cpp.

References BlastSequenceBlkFree(), CBlastOptionsFactory::Create(), eBlastn, eNa_strand_both, COpenRange< Position >::GetLength(), id, ITERATE, and SetupSubjects().

BOOST_AUTO_TEST_CASE SetupSubjectsNuclMinusStrand   ) 
 

Definition at line 642 of file blastsetup_unit_test.cpp.

References BlastSequenceBlkFree(), CBlastOptionsFactory::Create(), eBlastn, eNa_strand_minus, COpenRange< Position >::GetLength(), id, ITERATE, and SetupSubjects().

BOOST_AUTO_TEST_CASE SetupSubjectsNuclPlusStrand   ) 
 

Definition at line 615 of file blastsetup_unit_test.cpp.

References BlastSequenceBlkFree(), CBlastOptionsFactory::Create(), eBlastn, eNa_strand_plus, COpenRange< Position >::GetLength(), id, ITERATE, and SetupSubjects().

BOOST_AUTO_TEST_CASE SetupSubjectsNuclBothStrandFiltered   ) 
 

Definition at line 587 of file blastsetup_unit_test.cpp.

References Blast_FindDustFilterLoc(), BlastSequenceBlkFree(), CSeq_id_Base::e_Gi, eNa_strand_both, COpenRange< Position >::GetLength(), CBlastOptionsHandle::GetOptions(), CBlastOptions::GetProgramType(), id, ITERATE, and SetupSubjects().

BOOST_AUTO_TEST_CASE SetupSubjectsNuclMinusStrandFiltered   ) 
 

Definition at line 560 of file blastsetup_unit_test.cpp.

References Blast_FindDustFilterLoc(), BlastSequenceBlkFree(), CSeq_id_Base::e_Gi, eNa_strand_minus, COpenRange< Position >::GetLength(), CBlastOptionsHandle::GetOptions(), CBlastOptions::GetProgramType(), id, ITERATE, and SetupSubjects().

BOOST_AUTO_TEST_CASE SetupSubjectsNuclPlusStrandFiltered   ) 
 

Definition at line 533 of file blastsetup_unit_test.cpp.

References Blast_FindDustFilterLoc(), BlastSequenceBlkFree(), CSeq_id_Base::e_Gi, eNa_strand_plus, COpenRange< Position >::GetLength(), CBlastOptionsHandle::GetOptions(), CBlastOptions::GetProgramType(), id, ITERATE, and SetupSubjects().

BOOST_AUTO_TEST_CASE SetupSubjectsProtRange   ) 
 

Definition at line 501 of file blastsetup_unit_test.cpp.

References BlastSequenceBlkFree(), CBlastOptionsFactory::Create(), eBlastp, id, CTestObjMgr::Instance(), ITERATE, and SetupSubjects().

BOOST_AUTO_TEST_CASE SetupSubjectsProt   ) 
 

Definition at line 471 of file blastsetup_unit_test.cpp.

References BlastSequenceBlkFree(), CBlastOptionsFactory::Create(), eBlastp, GetLength(), id, CTestObjMgr::Instance(), ITERATE, and SetupSubjects().

BOOST_AUTO_TEST_CASE Context2Frame_Error   ) 
 

Definition at line 462 of file blastsetup_unit_test.cpp.

References BLAST_ContextToFrame(), and eBlastTypeUndefined.

BOOST_AUTO_TEST_CASE Context2Frame_TranslatedQuery   ) 
 

Definition at line 422 of file blastsetup_unit_test.cpp.

References BLAST_ContextToFrame(), eBlastTypeBlastx, eBlastTypeRpsTblastn, and eBlastTypeTblastx.

BOOST_AUTO_TEST_CASE Context2Frame_NucleotideQuery   ) 
 

Definition at line 407 of file blastsetup_unit_test.cpp.

References BLAST_ContextToFrame(), eBlastTypeBlastn, and error().

BOOST_AUTO_TEST_CASE Context2Frame_ProteinQuery   ) 
 

Definition at line 358 of file blastsetup_unit_test.cpp.

References BLAST_ContextToFrame(), eBlastTypeBlastp, eBlastTypePsiBlast, eBlastTypeRpsBlast, and eBlastTypeTblastn.

BOOST_AUTO_TEST_CASE FindMatrixPathWithNull   ) 
 

Definition at line 353 of file blastsetup_unit_test.cpp.

References BlastFindMatrixPath().

BOOST_AUTO_TEST_CASE FindMatrixPathFailure   ) 
 

Definition at line 347 of file blastsetup_unit_test.cpp.

References BlastFindMatrixPath(), input(), and strdup.

BOOST_AUTO_TEST_CASE FindMatrixPathNoNcbiRcFile   ) 
 

Definition at line 337 of file blastsetup_unit_test.cpp.

References BlastFindMatrixPath(), CMetaRegistry::GetSearchPath(), input(), CMetaRegistry::SetSearchPath(), sfree, and strdup.

BOOST_AUTO_TEST_CASE FindMatrixPathSuccess   ) 
 

Definition at line 329 of file blastsetup_unit_test.cpp.

References BlastFindMatrixPath(), input(), sfree, and strdup.

BOOST_AUTO_TEST_CASE String2Enum_PSITblastn   ) 
 

Definition at line 324 of file blastsetup_unit_test.cpp.

References ePSITblastn, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_Throw1   ) 
 

Definition at line 320 of file blastsetup_unit_test.cpp.

References ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_RPSTblastn   ) 
 

Definition at line 316 of file blastsetup_unit_test.cpp.

References eRPSTblastn, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_RPSBlast   ) 
 

Definition at line 312 of file blastsetup_unit_test.cpp.

References eRPSBlast, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_PSIBlast   ) 
 

Definition at line 308 of file blastsetup_unit_test.cpp.

References ePSIBlast, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_DiscoMegablast   ) 
 

Definition at line 304 of file blastsetup_unit_test.cpp.

References eDiscMegablast, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_Megablast   ) 
 

Definition at line 300 of file blastsetup_unit_test.cpp.

References eMegablast, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_Tblastn   ) 
 

Definition at line 296 of file blastsetup_unit_test.cpp.

References eTblastn, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_Tblastx   ) 
 

Definition at line 292 of file blastsetup_unit_test.cpp.

References eTblastx, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_Blastx   ) 
 

Definition at line 288 of file blastsetup_unit_test.cpp.

References eBlastx, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_Blastn   ) 
 

Definition at line 284 of file blastsetup_unit_test.cpp.

References eBlastn, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE String2Enum_Blastp   ) 
 

Definition at line 280 of file blastsetup_unit_test.cpp.

References eBlastp, and ProgramNameToEnum().

BOOST_AUTO_TEST_CASE BlastNumber2Program_CORE   ) 
 

Definition at line 252 of file blastsetup_unit_test.cpp.

References Blast_ProgramNameFromType(), eBlastTypeUndefined, and TestUtil::GetAllBlastProgramTypes().

BOOST_AUTO_TEST_CASE SubjectIsPlainNucleotide   ) 
 

Definition at line 238 of file blastsetup_unit_test.cpp.

References Blast_ProgramIsPhiBlast(), Blast_ProgramNameFromType(), Blast_SubjectIsNucleotide(), Blast_SubjectIsTranslated(), eBlastTypeBlastn, TestUtil::GetAllBlastProgramTypes(), ITERATE, and prog.

BOOST_AUTO_TEST_CASE SubjectIsNucleotide   ) 
 

Definition at line 223 of file blastsetup_unit_test.cpp.

References Blast_ProgramNameFromType(), Blast_SubjectIsNucleotide(), eBlastTypeBlastn, eBlastTypePhiBlastn, eBlastTypePsiTblastn, eBlastTypeTblastn, eBlastTypeTblastx, TestUtil::GetAllBlastProgramTypes(), ITERATE, and prog.

BOOST_AUTO_TEST_CASE SubjectIsProtein   ) 
 

Definition at line 208 of file blastsetup_unit_test.cpp.

References Blast_ProgramIsRpsBlast(), Blast_ProgramNameFromType(), Blast_SubjectIsProtein(), eBlastTypeBlastp, eBlastTypeBlastx, eBlastTypePhiBlastp, eBlastTypePsiBlast, TestUtil::GetAllBlastProgramTypes(), ITERATE, and prog.

BOOST_AUTO_TEST_CASE QueryIsPlainNucleotide   ) 
 

Definition at line 195 of file blastsetup_unit_test.cpp.

References Blast_ProgramIsPhiBlast(), Blast_ProgramNameFromType(), Blast_QueryIsNucleotide(), Blast_QueryIsTranslated(), eBlastTypeBlastn, TestUtil::GetAllBlastProgramTypes(), ITERATE, and prog.

BOOST_AUTO_TEST_CASE QueryIsTranslated   ) 
 

Definition at line 182 of file blastsetup_unit_test.cpp.

References Blast_ProgramNameFromType(), Blast_QueryIsTranslated(), eBlastTypeBlastx, eBlastTypeRpsTblastn, eBlastTypeTblastx, TestUtil::GetAllBlastProgramTypes(), ITERATE, and prog.

BOOST_AUTO_TEST_CASE NumberOfContextsThrow   ) 
 

Definition at line 175 of file blastsetup_unit_test.cpp.

References eBlastTypeUndefined, and GetNumberOfContexts().

BOOST_AUTO_TEST_CASE NumberOfContextsRPSTblastn   ) 
 

Definition at line 170 of file blastsetup_unit_test.cpp.

References eBlastTypeRpsTblastn, GetNumberOfContexts(), and NUM_FRAMES.

BOOST_AUTO_TEST_CASE NumberOfContextsRPSBlast   ) 
 

Definition at line 165 of file blastsetup_unit_test.cpp.

References eBlastTypeRpsBlast, and GetNumberOfContexts().

BOOST_AUTO_TEST_CASE NumberOfContextsTblastn   ) 
 

Definition at line 160 of file blastsetup_unit_test.cpp.

References eBlastTypeTblastn, and GetNumberOfContexts().

BOOST_AUTO_TEST_CASE NumberOfContextsTblastx   ) 
 

Definition at line 155 of file blastsetup_unit_test.cpp.

References eBlastTypeTblastx, GetNumberOfContexts(), and NUM_FRAMES.

BOOST_AUTO_TEST_CASE NumberOfContextsBlastx   ) 
 

Definition at line 150 of file blastsetup_unit_test.cpp.

References eBlastTypeBlastx, GetNumberOfContexts(), and NUM_FRAMES.

BOOST_AUTO_TEST_CASE NumberOfContextsBlastn   ) 
 

Definition at line 145 of file blastsetup_unit_test.cpp.

References eBlastTypeBlastn, GetNumberOfContexts(), and NUM_STRANDS.

BOOST_AUTO_TEST_CASE NumberOfContextsBlastp   ) 
 

Definition at line 141 of file blastsetup_unit_test.cpp.

References eBlastTypeBlastp, and GetNumberOfContexts().


Generated on Mon Dec 7 06:59:31 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:21:39 2009 by modify_doxy.py rev. 173732