#include <SparseAbstractMatch.h>
Inheritance diagram for mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >:


Public Member Functions | |
| uint | FirstStart () const |
| Returns the index of the first sequence this match occurs in. | |
| virtual void | Invert () |
| Inverts the coordinates of this match. | |
| gnSeqI | LeftEnd (uint seqI) const |
| Returns the left end coordinate of this match at the seqI'th matching position/sequence. | |
| virtual void | MoveEnd (int64 move_amount) |
| Shift the left-end coordinates in reverse oriented positions by a given amount. | |
| virtual void | MoveStart (int64 move_amount) |
| Shift the left-end coordinates in forward oriented positions by a given amount. | |
| uint | Multiplicity () const |
| Returns the multiplicity of the match. | |
| virtual boolean | operator== (const SparseAbstractMatch &sam) const |
| orientation | Orientation (uint seqI) const |
| Returns the orientation of this match at the startI'th matching position/sequence, either AbstractMatch::forward or AbstractMatch::reverse. | |
| uint | SeqCount () const |
| Returns the number of sequences in the alignment which contains this match. | |
| void | SetLeftEnd (uint seqI, gnSeqI position) |
| sets the left end coordinate of this match in the seqI'th matching position/sequence | |
| void | SetOrientation (uint seqI, orientation o) |
| sets the relative orientation of this match in the seqI'th matching position/sequence | |
| void | SetStart (uint seqI, int64 startI) |
| Deprecated: use SetLeftEnd() and SetOrientation instead Sets the start in sequence. | |
| SparseAbstractMatch (const uint seq_count) | |
| Creates a new SparseAbstractMatch. | |
| SparseAbstractMatch () | |
| int64 | Start (uint seqI) const |
| Deprecated: use LeftEnd() and Orientation() instead. | |
| virtual uint | UsedSeq (uint seqI) const |
| Returns the id of the i-th defined sequence in this match. | |
Protected Member Functions | |
| uint | SeqToIndex (uint seqI) const |
| void | swap (SparseAbstractMatch *other) |
Protected Attributes | |
| std::vector< gnSeqI, gnSeqIAlloc > | leftend |
| uint | m_seq_count |
| bitset_t | orient |
| std::vector< uint, uintAlloc > | seq_ids |
Definition at line 30 of file SparseAbstractMatch.h.
|
|||||||||
|
Definition at line 32 of file SparseAbstractMatch.h. |
|
||||||||||
|
Creates a new SparseAbstractMatch.
Definition at line 76 of file SparseAbstractMatch.h. References uint. |
|
|||||||||
|
Returns the index of the first sequence this match occurs in.
Implements mems::AbstractMatch. Definition at line 90 of file SparseAbstractMatch.h. References uint. |
|
|||||||||
|
Inverts the coordinates of this match.
Implements mems::AbstractMatch. Reimplemented in mems::GappedAlignment. Definition at line 148 of file SparseAbstractMatch.h. |
|
||||||||||
|
Returns the left end coordinate of this match at the seqI'th matching position/sequence.
Implements mems::AbstractMatch. Definition at line 156 of file SparseAbstractMatch.h. References mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::SeqToIndex(), and uint. |
|
||||||||||
|
Shift the left-end coordinates in reverse oriented positions by a given amount.
Implements mems::AbstractMatch. Definition at line 216 of file SparseAbstractMatch.h. References uint. |
|
||||||||||
|
Shift the left-end coordinates in forward oriented positions by a given amount.
Implements mems::AbstractMatch. Definition at line 208 of file SparseAbstractMatch.h. References uint. |
|
|||||||||
|
Returns the multiplicity of the match. e.g. the number of sequences this match occurs in Implements mems::AbstractMatch. Definition at line 45 of file SparseAbstractMatch.h. |
|
||||||||||
|
Definition at line 224 of file SparseAbstractMatch.h. References mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::leftend, mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::orient, and uint. |
|
||||||||||
|
Returns the orientation of this match at the startI'th matching position/sequence, either AbstractMatch::forward or AbstractMatch::reverse.
Implements mems::AbstractMatch. Definition at line 164 of file SparseAbstractMatch.h. References mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::SeqToIndex(), and uint. |
|
|||||||||
|
Returns the number of sequences in the alignment which contains this match.
Implements mems::AbstractMatch. Definition at line 46 of file SparseAbstractMatch.h. |
|
||||||||||
|
||||||||||||||||
|
sets the left end coordinate of this match in the seqI'th matching position/sequence
Implements mems::AbstractMatch. Definition at line 174 of file SparseAbstractMatch.h. References mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::SeqToIndex(), and uint. |
|
||||||||||||||||
|
sets the relative orientation of this match in the seqI'th matching position/sequence
Implements mems::AbstractMatch. Definition at line 198 of file SparseAbstractMatch.h. References mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::SeqToIndex(), and uint. |
|
||||||||||||||||
|
Deprecated: use SetLeftEnd() and SetOrientation instead Sets the start in sequence.
Implements mems::AbstractMatch. Definition at line 121 of file SparseAbstractMatch.h. References mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::SeqToIndex(), and uint. |
|
||||||||||
|
Deprecated: use LeftEnd() and Orientation() instead. Returns the start coordinate of this match in sequence
Implements mems::AbstractMatch. Definition at line 110 of file SparseAbstractMatch.h. References mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::SeqToIndex(), and uint. |
|
||||||||||
|
||||||||||
|
Returns the id of the i-th defined sequence in this match.
Implements mems::AbstractMatch. Definition at line 235 of file SparseAbstractMatch.h. References uint. |
|
|||||
|
Definition at line 66 of file SparseAbstractMatch.h. Referenced by mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::operator==(), and mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::swap(). |
|
|||||
|
Definition at line 65 of file SparseAbstractMatch.h. Referenced by mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::swap(). |
|
|||||
|
Definition at line 67 of file SparseAbstractMatch.h. Referenced by mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::operator==(), and mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::swap(). |
|
|||||
|
Definition at line 64 of file SparseAbstractMatch.h. Referenced by mems::SparseAbstractMatch< gnSeqIAlloc, uintAlloc >::swap(). |
1.3.6