#include <DenseAbstractMatch.h>
Inheritance diagram for mems::DenseAbstractMatch< MAX_SEQS >:


Public Member Functions | |
| virtual AbstractMatch * | Clone () const=0 |
| DenseAbstractMatch (const uint seq_count) | |
| Creates a new AbstractMatch. | |
| DenseAbstractMatch () | |
| virtual uint | FirstStart () const |
| Returns the index of the first sequence this match occurs in. | |
| virtual void | Invert () |
| Inverts the coordinates of this match. | |
| virtual gnSeqI | LeftEnd (uint seqI) const |
| Returns the left end coordinate of this match at the seqI'th matching position/sequence. | |
| void | MoveEnd (int64 move_amount) |
| Shift the left-end coordinates in reverse oriented positions by a given amount. | |
| 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 DenseAbstractMatch &dam) const |
| virtual 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. | |
| virtual void | SetLeftEnd (uint seqI, gnSeqI position) |
| sets the left end coordinate of this match in the seqI'th matching position/sequence | |
| virtual 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. | |
| 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 Attributes | |
| gnSeqI | leftend [MAX_SEQS] |
| uint | m_multiplicity |
| uint | m_seq_count |
| bool | orient [MAX_SEQS] |
It stores all data inline in a fixed size arrays, affording it storage in a contiguous chunk of memory.
Definition at line 29 of file DenseAbstractMatch.h.
|
|||||||||
|
Definition at line 89 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, and mems::DenseAbstractMatch< MAX_SEQS >::orient. |
|
||||||||||
|
Creates a new AbstractMatch.
Definition at line 98 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, mems::DenseAbstractMatch< MAX_SEQS >::orient, and uint. |
|
|||||||||
|
|
|
|||||||||
|
Returns the index of the first sequence this match occurs in.
Implements mems::AbstractMatch. Definition at line 134 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, mems::DenseAbstractMatch< MAX_SEQS >::SeqCount(), and uint. |
|
|||||||||
|
Inverts the coordinates of this match.
Implements mems::AbstractMatch. Definition at line 127 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::orient, and uint. |
|
||||||||||
|
Returns the left end coordinate of this match at the seqI'th matching position/sequence.
Implements mems::AbstractMatch. Definition at line 58 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, and uint. |
|
||||||||||
|
Shift the left-end coordinates in reverse oriented positions by a given amount.
Implements mems::AbstractMatch. Definition at line 151 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, mems::DenseAbstractMatch< MAX_SEQS >::m_seq_count, mems::DenseAbstractMatch< MAX_SEQS >::orient, and uint. |
|
||||||||||
|
Shift the left-end coordinates in forward oriented positions by a given amount.
Implements mems::AbstractMatch. Definition at line 143 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, mems::DenseAbstractMatch< MAX_SEQS >::m_seq_count, mems::DenseAbstractMatch< MAX_SEQS >::orient, and uint. |
|
|||||||||
|
Returns the multiplicity of the match. e.g. the number of sequences this match occurs in Implements mems::AbstractMatch. Definition at line 53 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::m_multiplicity, and uint. |
|
||||||||||
|
Definition at line 107 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, mems::DenseAbstractMatch< MAX_SEQS >::m_seq_count, mems::DenseAbstractMatch< MAX_SEQS >::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 119 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, mems::DenseAbstractMatch< MAX_SEQS >::m_seq_count, mems::DenseAbstractMatch< MAX_SEQS >::orient, and uint. |
|
|||||||||
|
Returns the number of sequences in the alignment which contains this match.
Implements mems::AbstractMatch. Definition at line 54 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::m_seq_count, and uint. Referenced by mems::DenseAbstractMatch< MAX_SEQS >::FirstStart(). |
|
||||||||||||||||
|
sets the left end coordinate of this match in the seqI'th matching position/sequence
Implements mems::AbstractMatch. Definition at line 60 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, mems::DenseAbstractMatch< MAX_SEQS >::m_multiplicity, and uint. Referenced by mems::DenseAbstractMatch< MAX_SEQS >::SetStart(). |
|
||||||||||||||||
|
sets the relative orientation of this match in the seqI'th matching position/sequence
Implements mems::AbstractMatch. Definition at line 68 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::orient, and uint. |
|
||||||||||||||||
|
Deprecated: use SetLeftEnd() and SetOrientation instead Sets the start in sequence.
Implements mems::AbstractMatch. Definition at line 48 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::orient, mems::DenseAbstractMatch< MAX_SEQS >::SetLeftEnd(), and uint. |
|
||||||||||
|
Deprecated: use LeftEnd() and Orientation() instead. Returns the start coordinate of this match in sequence
Implements mems::AbstractMatch. Definition at line 44 of file DenseAbstractMatch.h. References mems::DenseAbstractMatch< MAX_SEQS >::leftend, mems::DenseAbstractMatch< MAX_SEQS >::orient, and uint. |
|
||||||||||
|
Returns the id of the i-th defined sequence in this match.
Implements mems::AbstractMatch. Definition at line 76 of file DenseAbstractMatch.h. References uint. |
|
|||||
|
|||||
|
Definition at line 85 of file DenseAbstractMatch.h. Referenced by mems::DenseAbstractMatch< MAX_SEQS >::Multiplicity(), and mems::DenseAbstractMatch< MAX_SEQS >::SetLeftEnd(). |
|
|||||
|
|||||
1.3.6