NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objtools/align_format/vectorscreen.hpp>
#include <util/range.hpp>
#include <serial/iterator.hpp>
#include <objects/seq/Bioseq.hpp>
#include <objects/seqloc/Seq_loc.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/seqalign/Seq_align.hpp>
#include <objects/seqalign/Seq_align_set.hpp>
#include <objects/seqalign/Score.hpp>
#include <objects/seqalign/Dense_seg.hpp>
#include <objects/seqalign/Std_seg.hpp>
#include <objects/seqalign/Dense_diag.hpp>
#include <objects/seqalign/seqalign_exception.hpp>
#include <objects/general/Object_id.hpp>
#include <html/html.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (objects) | |
static void | s_RestoreHspPos (CSeq_align_set &seqalign) |
group hsp with same id togather More... | |
static bool | AlnFromRangeAscendingSort (CRef< CSeq_align > const &info1, CRef< CSeq_align > const &info2) |
Sort on seqalign range from. More... | |
static bool | AlnScoreDescendingSort (CRef< CSeq_align > const &info1, CRef< CSeq_align > const &info2) |
Sort on sealign score. More... | |
Variables | |
static const int | kNumSeqalignMatchTypes = 3 |
static const int | kTerminalMatchScore [kNumSeqalignMatchTypes] = {24, 19, 16} |
static const int | kInternalMatchScore [kNumSeqalignMatchTypes] = {30, 25, 23} |
static const char * | kGif [kNumSeqalignMatchTypes+2] |
static const char * | kGifLegend [] |
static const char * | kMatchUrlLegend [] |
static const TSeqPos | kSupectLength = 50 |
static const TSeqPos | kMasterPixel = 600 |
static const TSeqPos | kBarHeight = 20 |
static const TSeqPos | kNumScales = 5 |
|
static |
Sort on seqalign range from.
info1 | the first seqalign |
info2 | the second seqalign |
Definition at line 128 of file vectorscreen.cpp.
References CAlignFormatUtil::GetAlnScores(), CRange_Base::GetFrom(), and CSeq_align::GetSeqRange().
Referenced by CVecscreen::x_MergeSeqalign().
|
static |
Sort on sealign score.
info1 | the first seqalign |
info2 | the second seqalign |
Definition at line 154 of file vectorscreen.cpp.
References CAlignFormatUtil::GetAlnScores().
Referenced by CVecscreen::ProcessSeqAlign(), CVecscreen::x_MergeLowerRankSeqalign(), and CVecscreen::x_MergeSeqalign().
|
static |
group hsp with same id togather
seqalign | the seqalign |
Definition at line 87 of file vectorscreen.cpp.
References CSeq_id::Match(), and CSeq_align_set_Base::Set().
Referenced by CVecscreen::ProcessSeqAlign().
USING_SCOPE | ( | objects | ) |
Definition at line 70 of file vectorscreen.cpp.
Referenced by CVecscreen::x_BuildHtmlBar().
|
static |
Definition at line 60 of file vectorscreen.cpp.
Referenced by CVecscreen::x_BuildHtmlBar().
|
static |
Definition at line 62 of file vectorscreen.cpp.
Referenced by CVecscreen::GetStrengthString(), and CVecscreen::x_BuildHtmlBar().
|
static |
Definition at line 58 of file vectorscreen.cpp.
Referenced by CVecscreen::x_GetMatchType().
Definition at line 69 of file vectorscreen.cpp.
Referenced by CVecscreen::x_BuildHtmlBar().
|
static |
Definition at line 64 of file vectorscreen.cpp.
Referenced by CVecscreen::x_BuildHtmlBar().
Definition at line 71 of file vectorscreen.cpp.
Referenced by CVecscreen::x_BuildHtmlBar().
Definition at line 54 of file vectorscreen.cpp.
Referenced by CVecscreen::x_BuildHtmlBar(), and CVecscreen::x_MergeSeqalign().
Definition at line 67 of file vectorscreen.cpp.
Referenced by CVecscreen::x_BuildNonOverlappingRange().
|
static |
Definition at line 57 of file vectorscreen.cpp.
Referenced by CVecscreen::x_GetEdgeRanges(), and CVecscreen::x_GetMatchType().