Search Toolkit Book for CSparseAlignment
CSparseAlignment - an alignment based on CSparse_seg and CAlingRangeCollection classes rather than on CDense_seg. More...
#include <gui/objutils/sparse_alignment.hpp>
CSparseAlignment - an alignment based on CSparse_seg and CAlingRangeCollection classes rather than on CDense_seg.
Assumptions: master is always specified in CSparse-seg and has a Seq-id we display it always anchored chaning anchor is not supported
Definition at line 59 of file sparse_alignment.hpp.
◆ TAlignColl ◆ TAlignRange ◆ TARange ◆ TNumrow ◆ TPos ◆ TResidue ◆ TRows ◆ TSignedRange ◆ CSparseAlignment() CSparseAlignment::CSparseAlignment ( ) ◆ ~CSparseAlignment() ◆ Clear() void CSparseAlignment::Clear ( void ) ◆ CreateSegmentIterator() ◆ GetAlignCollection() ◆ GetAlnPosFromSeqPos() ◆ GetAlnRange() ◆ GetAlnSeqString()Definition at line 317 of file sparse_alignment.cpp.
References _ASSERT, buffer, CBioseq_Handle::eCoding_Iupac, IAlnSegmentIterator::eSkipGaps, CBioseq_Handle::eStrand_Minus, CBioseq_Handle::eStrand_Plus, IAlnSegment::GetAlnRange(), GetBioseqHandle(), CAlignRangeCollection< TAlnRange >::GetFirstFrom(), CAlignRangeCollection< TAlnRange >::GetFirstTo(), CRange_Base::GetFrom(), COpenRange< Position >::GetLength(), IAlnSegment::GetRange(), CSeqVector::GetSeqData(), CBioseq_Handle::GetSeqVector(), CRange_Base::GetTo(), int, len, m_GapChar, m_Rows, max(), min(), positive(), r(), row, ncbi::grid::netcache::search::fields::size, CSeqVector::size(), and x_AssertRowValid().
◆ GetAnchor() ◆ GetBioseqHandle() ◆ GetNumRows() ◆ GetScope() CRef< CScope > CSparseAlignment::GetScope ( void ) ◆ GetSeqAlnRange() ◆ GetSeqAlnStart() ◆ GetSeqAlnStop() ◆ GetSeqId() ◆ GetSeqPosFromAlnPos() ◆ GetSeqRange() ◆ GetSeqStart() ◆ GetSeqStop() ◆ GetSeqString() [1/2] ◆ GetSeqString() [2/2]Definition at line 281 of file sparse_alignment.cpp.
References buffer, CBioseq_Handle::eCoding_Iupac, CBioseq_Handle::eStrand_Minus, CBioseq_Handle::eStrand_Plus, GetBioseqHandle(), CSeqVector::GetSeqData(), CBioseq_Handle::GetSeqVector(), m_GapChar, m_Rows, positive(), row, ncbi::grid::netcache::search::fields::size, CSeqVector::size(), and x_AssertRowValid().
Referenced by GetSeqString().
◆ Init() void CSparseAlignment::Init ( const objects::CSeq_id & master_id, vector< SAlignedSeq * > & aln_seqs, objects::CScope & scope )Definition at line 74 of file sparse_alignment.cpp.
References Clear(), COpenRange< Position >::CombineWith(), CAlignRangeCollection< TAlnRange >::GetFirstRange(), CRange_Base::GetFrom(), COpenRange< Position >::GetLength(), i, CAlignRangeCollection< TAlnRange >::insert(), SAlignedSeq::m_AlignColl, CSparseAlignment::SRowRec::m_AlignedSeq, m_AlnRange, m_MasterId, m_Rows, m_Scope, SAlignedSeq::m_SecondRange, SAlignedSeq::m_SeqId, CRef< C, Locker >::Reset(), CConstRef< C, Locker >::Reset(), and CRange_Base::SetFrom().
Referenced by BuildSparseAlignment().
◆ IsNegativeStrand() bool CSparseAlignment::IsNegativeStrand ( TNumrow row ) const ◆ IsPositiveStrand() bool CSparseAlignment::IsPositiveStrand ( TNumrow row ) const ◆ IsSetAnchor() ◆ SetGapChar() void CSparseAlignment::SetGapChar ( TResidue gap_char ) ◆ x_AssertRowValid() void CSparseAlignment::x_AssertRowValid ( TNumrow row ) const protectedDefinition at line 411 of file sparse_alignment.cpp.
References _ASSERT, m_Rows, and row.
Referenced by CreateSegmentIterator(), GetAlnPosFromSeqPos(), GetAlnSeqString(), GetBioseqHandle(), GetSeqAlnRange(), GetSeqAlnStart(), GetSeqAlnStop(), GetSeqId(), GetSeqPosFromAlnPos(), GetSeqRange(), GetSeqStart(), GetSeqStop(), GetSeqString(), IsNegativeStrand(), and IsPositiveStrand().
◆ m_AlnRange TARange CSparseAlignment::m_AlnRange protected ◆ m_GapChar ◆ m_MasterId CConstRef<objects::CSeq_id> CSparseAlignment::m_MasterId protected ◆ m_Rows TRows CSparseAlignment::m_Rows mutableprotectedDefinition at line 141 of file sparse_alignment.hpp.
Referenced by Clear(), CreateSegmentIterator(), GetAlignCollection(), GetAlnPosFromSeqPos(), GetAlnSeqString(), GetAnchor(), GetBioseqHandle(), GetNumRows(), GetSeqAlnRange(), GetSeqAlnStart(), GetSeqAlnStop(), GetSeqId(), GetSeqPosFromAlnPos(), GetSeqRange(), GetSeqStart(), GetSeqStop(), GetSeqString(), Init(), IsNegativeStrand(), IsPositiveStrand(), and x_AssertRowValid().
◆ m_Scope CRef<objects::CScope> CSparseAlignment::m_Scope mutableprotectedThe documentation for this class was generated from the following files:
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