NCBI C++ ToolKit
Classes | Functions
hit.cpp File Reference

Implementation of CHit class. More...

#include <ncbi_pch.hpp>
#include <algo/cobalt/hit.hpp>
#include <algorithm>
+ Include dependency graph for hit.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  compare_hit_seq1_start
 callback used for sorting HSP lists More...
 

Functions

 USING_SCOPE (objects)
 
static void x_RemoveEnvelopedSubHits (CHit::TSubHit &subhits)
 Delete any hits from a list that are contained within higher-scoring hits. More...
 

Detailed Description

Implementation of CHit class.

Definition in file hit.cpp.

Function Documentation

◆ USING_SCOPE()

USING_SCOPE ( objects  )

References _ASSERT, and i.

◆ x_RemoveEnvelopedSubHits()

static void x_RemoveEnvelopedSubHits ( CHit::TSubHit subhits)
static

Delete any hits from a list that are contained within higher-scoring hits.

Only overlap on sequence 1 is considered. In practice, the hits refer to block alignments derived from RPS blast results, and sequence 2 is an RPS database sequence. It is sequence 1 that matters for later processing

Parameters
subhitsThe list of hits to process [in/modified]

Definition at line 222 of file hit.cpp.

References CLocalRange< Position >::Contains(), i, CHit::m_Score, CHit::m_SeqRange1, ct::sort(), and CLocalRange< Position >::StrictlyBelow().

Referenced by CHit::ResolveSubHitConflicts().

Modified on Wed Sep 04 15:01:08 2024 by modify_doxy.py rev. 669887