#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <objects/seqalign/Seq_align.hpp>
#include <objects/seqalign/Score.hpp>
#include <objects/general/Object_id.hpp>
#include <algo/align/util/score_builder.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/scope.hpp>
#include <objtools/data_loaders/genbank/gbloader.hpp>
#include <common/test_assert.h>
Include dependency graph for score_builder_unit_test.cpp:

Go to the source code of this file.
Functions | |
| USING_SCOPE (objects) | |
| NCBITEST_INIT_CMDLINE (arg_desc) | |
| BOOST_AUTO_TEST_CASE (Test_Dense_seg) | |
Variables | |
| USING_NCBI_SCOPE | |
|
|
we test several distinct scores reset scores to avoid any taint in score generation check identity count check mismatch count check percent identity machine precision is a problme here we verify to 12 digits of precision CScore score; score.SetId().SetStr("pct_identity"); score.SetValue().SetReal(actual); cerr << MSerial_AsnText << score; check percent coverage machine precision is a problme here we verify to 12 digits of precision CScore score; score.SetId().SetStr("pct_coverage"); score.SetValue().SetReal(actual); cerr << MSerial_AsnText << score; our encoded dense-segs have a BLAST-style 'score' Definition at line 81 of file score_builder_unit_test.cpp. References eBlastn, CSeq_align::eScore_IdentityCount, CSeq_align::eScore_MismatchCount, CSeq_align::eScore_PercentCoverage, CSeq_align::eScore_PercentIdentity, CSeq_align::eScore_Score, CNcbiApplication::GetArgs(), CScoreBuilder::GetBlastScore(), CScoreBuilder::GetIdentityCount(), CObjectManager::GetInstance(), CScoreBuilder::GetMismatchCount(), CSeq_align::GetNamedScore(), CScoreBuilder::GetPercentCoverage(), CScoreBuilder::GetPercentIdentity(), CSeq_align_Base::GetSegs(), CNcbiApplication::Instance(), LOG_POST, MSerial_AsnText(), om, CGBDataLoader::RegisterInObjectManager(), and CSeq_align_Base::ResetScore(). |
|
|
Definition at line 70 of file score_builder_unit_test.cpp. References CArgDescriptions::eInputFile. |
|
|
|
|
|
Definition at line 67 of file score_builder_unit_test.cpp. |
1.4.6
Modified on Mon Dec 07 16:21:37 2009 by modify_doxy.py rev. 173732