Go to the SVN repository for this file.
26 Block(
intstart,
int len,
int id);
33 boolcontain(
const Block& rhs)
const;
34 boolisIntersecting(
const Block& rhs)
const;
35 boolintersect(
Block& rhs)
const;
43 int getEnd()
const{
returnm_start + m_len -1;}
44 void setEnd(
intend) { m_len = end - m_start + 1;}
45 int getId()
const{
returnm_id;}
46 void setId(
int id) {m_id = id;}
47 Blockextend (
intnExt,
intcExt)
const;
48 voidextendSelf (
intnExt,
intcExt);
49 voidaddOffset(
intnExt);
55 bool isValid()
const{
returnm_len > 0 && m_start >= 0;}
76 voidaddBlock(
Block& block);
87pair<DeltaBlockModel*, bool> intersect(
const BlockModel&
bm)
const;
96 voidfindIntersectingBlocks(
const Block& target, vector<int>&
result)
const;
100 intgetBlockNumber(
intpos)
const;
101 constvector<Block>&
getBlocks()
const{
returnm_blocks;}
113 boolcompleteModelExtendsIntoUnallowedGappedRegion(
const BlockModel& completeModel,
intsequenceLength,
constvector<int>* commonBlockExt =
NULL)
const;
114 intgetLastAlignedPosition()
const;
115 intgetFirstAlignedPosition()
const;
116 intgetTotalBlockLength()
const;
117 intgetGapToNTerminal(
intbn)
const;
118 intgetGapToCTerminal(
intbn,
int len=-1)
const;
119 boolisValid(
intseqLen,
int& errBlock)
const;
121 voidaddOffset(
intnExt);
127 bool mask(
constvector<Block>& maskBlocks);
130 voidclipToRange(
unsigned int min,
unsigned max);
164 intmapToMaster(
intslavePos)
const;
165 intmapToSlave(
intmasterPos)
const;
166 boolisValid()
const;
175 bool mask(
constvector<Block>& maskBlocks,
boolmaskBasedOnMaster);
182 voidextendMidway(
intblockNum);
ncbi::TMaskedQueryRegions mask
const vector< Block > & getBlocks() const
CRef< CSeq_id > getSeqId() const
vector< Block > & getBlocks()
void setSeqId(CRef< CSeq_id > seqId)
bool operator<(const Block rhs) const
set< Block > SortedBlocks
string DeltaBlockModelToString(const DeltaBlockModel &dbm)
multiset< DeltaBlock > DeltaBlockModel
bool operator==(const CEquivRange &A, const CEquivRange &B)
string operator+(const CCgiEntry &e, const string &s)
CVect2< T > operator-(const CVect2< T > &v)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
bool operator!=(const CNCBI_IPAddr &lhs, unsigned int rhs)
#define NCBI_CDUTILS_EXPORT
static std::string toString(boost::unit_test::const_string bstr)
Int4 delta(size_t dimension_, const Int4 *score_)
bool operator<(const DeltaBlock &rhs) const
static DP_BlockInfo * blocks
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4