NCBI C++ ToolKit
Classes | Functions
pssmenginefreqratios_unit_test.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <math.h>
#include <objects/scoremat/PssmWithParameters.hpp>
#include <objects/scoremat/PssmIntermediateData.hpp>
#include <objects/scoremat/Pssm.hpp>
#include <algo/blast/api/pssm_engine.hpp>
#include <algo/blast/api/psi_pssm_input.hpp>
#include <algo/blast/api/msa_pssm_input.hpp>
#include "psiblast_aux_priv.hpp"
#include <util/tables/raw_scoremat.h>
#include "blast_test_util.hpp"
+ Include dependency graph for pssmenginefreqratios_unit_test.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  CPssmEngineFreqRatiosTestFixture
 

Functions

 BOOST_AUTO_TEST_CASE (testRejectNullPssmInputFreqRatios)
 
 BOOST_AUTO_TEST_CASE (AllZerosFreqRatios)
 All entries in the frequecy ratios matrix are 0, and therefore the PSSM's scores are those of the underlying scoring matrix. More...
 
 BOOST_AUTO_TEST_CASE (FreqRatiosFromMsa)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( AllZerosFreqRatios  )

All entries in the frequecy ratios matrix are 0, and therefore the PSSM's scores are those of the underlying scoring matrix.

Definition at line 80 of file pssmenginefreqratios_unit_test.cpp.

References AMINOACID_TO_NCBISTDAA, BLAST_SCORE_MIN, BLASTAA_SIZE, TestUtil::GetResidue(), CScorematPssmConverter::GetScores(), i, int, NStr::IntToString(), kQuery, NCBISM_Blosum62, NCBISM_GetScore(), and CPssmEngine::Run().

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( FreqRatiosFromMsa  )

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( testRejectNullPssmInputFreqRatios  )

Definition at line 72 of file pssmenginefreqratios_unit_test.cpp.

Modified on Sat Apr 13 11:44:00 2024 by modify_doxy.py rev. 669887