100 bool try_reverse_dir)
const
113 return m_AlnVec->GetAlnPosFromSeqPos(
m_Row, seq_pos, av_dir, try_reverse_dir);
119 bool try_reverse_dir)
const
132 return m_AlnVec->GetSeqPosFromAlnPos(
m_Row, aln_pos, av_dir, try_reverse_dir);
244 int base_width =
m_AlnVec->GetWidth(0);
245 for (
TNumrow row = 1; row < num_rows; ++row) {
246 if (base_width !=
m_AlnVec->GetWidth(row))
CAlnVecIterator - IAlnSegmentIterator implementation for CAlnMap::CAlnChunkVec.
const string & GetText() const
virtual TSignedSeqPos GetAlnPosFromSeqPos(TSeqPos seq_pos, IAlnExplorer::ESearchDirection dir=IAlnExplorer::eNone, bool try_reverse_dir=true) const
virtual IAlnSegmentIterator * CreateSegmentIterator(const IAlnExplorer::TSignedRange &range, IAlnSegmentIterator::EFlags flags) const
virtual const objects::CBioseq_Handle & GetBioseqHandle() const
virtual TSignedSeqPos GetSeqStop() const
virtual string & GetAlnSeqString(string &buffer, const IAlnExplorer::TSignedRange &aln_rng) const
virtual string & GetSeqString(string &buffer, const IAlnExplorer::TRange &seq_rng) const
virtual TSignedSeqPos GetSeqPosFromAlnPos(TSeqPos aln_pos, IAlnExplorer::ESearchDirection dir=IAlnExplorer::eNone, bool try_reverse_dir=true) const
virtual TSignedSeqPos GetSeqAlnStart() const
virtual IAlnExplorer::TSignedRange GetSeqAlnRange() const
virtual bool UsesAATranslation() const
virtual bool CanGetSeqString() const
objects::CAlnVec * m_AlnVec
virtual int GetGenCode() const
virtual bool CanGetBioseqHandle() const
virtual const objects::CSeq_id & GetSeq_id() const
virtual TSignedSeqPos GetSeqStart() const
virtual bool IsNucProtAlignment() const
virtual TNumrow GetRowNum() const
CAlnVecRowHandle.
virtual bool IsNegativeStrand() const
virtual TSignedSeqPos GetSeqAlnStop() const
virtual objects::CScope & GetScope() const
virtual bool IsAnchor() const
virtual size_t GetBaseWidth() const
IAlnExplorer::TNumrow TNumrow
ESearchDirection
Position search options.
@ eRight
Towards higher aln coord (always to the right)
@ eLeft
Towards lower aln coord (always to the left)
Alignment segment iterator interface.
@ eSkipInserts
Iterate segments where at least some rows are aligned (including gap segments)
@ eInsertsOnly
Iterate only ranges not participating in the alignment (unaligned segments)
@ eAllSegments
Iterate all segments.
@ eSkipGaps
Skip gap segments (show only aligned ranges)
Include a standard set of the NCBI C++ Toolkit most basic headers.
unsigned int TSeqPos
Type for sequence locations and lengths.
int TSignedSeqPos
Type for signed sequence position.
static bool IsVDBAccession(const string &acc)
Check if string starts with ("SRA", "SRR", "DRR", "ERR")
static int GetGenCode(const objects::CBioseq_Handle &handle)
Returns Bioseq's Genetic Code.
static void GetLabel(const CObject &obj, string *label, ELabelType type=eDefault)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
range(_Ty, _Ty) -> range< _Ty >
static pcre_uint8 * buffer