#include <CompactGappedAlignment.h>
Public Member Functions | |
| CompactGappedAlignment * | Clone () const |
| template<class MatchType> | CompactGappedAlignment (MatchType &m) |
| CompactGappedAlignment (std::vector< bitset_t > &aln_mat, gnSeqI alignment_length) | |
| CompactGappedAlignment (uint seq_count, gnSeqI align_length) | |
| CompactGappedAlignment () | |
| void | CondenseGapColumns () |
| Eliminates any columns that contain only gap characters. | |
| CompactGappedAlignment * | Copy () const |
| void | copyRange (CompactGappedAlignment &dest, gnSeqI left_column, gnSeqI length) |
| virtual void | CropEnd (gnSeqI crop_amount) |
| virtual void | CropLeft (gnSeqI crop_amount, uint seqI) |
| virtual void | CropRight (gnSeqI crop_amount, uint seqI) |
| virtual void | CropStart (gnSeqI crop_amount) |
| virtual void | Free () |
| const std::vector< bitset_t > & | GetAlignment () const |
| allows a peek at the data inside this alignment. | |
| void | GetAlignment (std::vector< bitset_t > &align_matrix) const |
| void | GetColumn (gnSeqI col, std::vector< gnSeqI > &pos, std::vector< bool > &column) const |
| virtual void | Invert () |
| virtual bool | IsGap (uint seq, gnSeqI col) const |
| returns true if the given row,column of the alignment has a gap character | |
| gnSeqI | SeqPosToColumn (uint seq, int64 pos) |
| void | SetAlignment (std::vector< bitset_t > &seq_align) |
| void | SetAlignment (const std::vector< std::string > &seq_align) |
| void | swap (CompactGappedAlignment &other) |
| void | translate (CompactGappedAlignment &cga, uint cga_seq, uint my_seq, bool add_bits=true) |
| translate a cga to a new coordinate system | |
| bool | validate () const |
| bool | validate_bitcount () const |
Protected Member Functions | |
| void | create_bitcount () |
| gnSeqI | SeqPosToColumn (gnSeqI pos, const bitset_t &bvec, const std::vector< size_t > &index) const |
| void | swap (CompactGappedAlignment *other) |
Protected Attributes | |
| std::vector< bitset_t > | align_matrix |
| aligned positions have true values, gaps are false | |
| std::vector< std::vector< size_t > > | bcount |
Definition at line 38 of file CompactGappedAlignment.h.
|
|||||||||
|
Definition at line 41 of file CompactGappedAlignment.h. Referenced by mems::CompactGappedAlignment< BaseType >::Clone(), and mems::CompactGappedAlignment< BaseType >::copyRange(). |
|
||||||||||||||||
|
Definition at line 216 of file CompactGappedAlignment.h. References uint. |
|
||||||||||||||||
|
Definition at line 206 of file CompactGappedAlignment.h. References mems::CompactGappedAlignment< BaseType >::create_bitcount(), and mems::CompactGappedAlignment< BaseType >::validate_bitcount(). |
|
||||||||||||||
|
|||||||||
|
Definition at line 67 of file CompactGappedAlignment.h. References mems::CompactGappedAlignment< BaseType >::CompactGappedAlignment(). |
|
|||||||||
|
Eliminates any columns that contain only gap characters.
Definition at line 772 of file CompactGappedAlignment.h. References mems::CompactGappedAlignment< BaseType >::align_matrix, and mems::CompactGappedAlignment< BaseType >::create_bitcount(). Referenced by mems::unalignIslands(). |
|
|||||||||
|
||||||||||||||||||||
|
|||||||||
|
||||||||||
|
||||||||||||||||
|
||||||||||||||||
|
||||||||||
|
|||||||||
|
Definition at line 133 of file CompactGappedAlignment.h. References mems::m_free(). Referenced by mems::ProgressiveAligner::extractAlignment(), mems::HssArrayToCga(), and mems::ProgressiveAligner::translateGappedCoordinates(). |
|
|||||||||
|
allows a peek at the data inside this alignment. don't change it or the CompactGappedAlignment will become corrupt Definition at line 86 of file CompactGappedAlignment.h. References mems::CompactGappedAlignment< BaseType >::align_matrix. |
|
||||||||||
|
Definition at line 259 of file CompactGappedAlignment.h. Referenced by mems::ProgressiveAligner::constructLcbTrackingMatches(), and mems::ProgressiveAligner::extractAlignment(). |
|
||||||||||||||||||||
|
|||||||||
|
||||||||||||||||
|
returns true if the given row,column of the alignment has a gap character
Definition at line 265 of file CompactGappedAlignment.h. References mems::CompactGappedAlignment< BaseType >::align_matrix, and uint. |
|
||||||||||||||||||||
|
Definition at line 331 of file CompactGappedAlignment.h. References mems::bitset_t, and mems::INDEX_INTERVAL. |
|
||||||||||||||||
|
Definition at line 321 of file CompactGappedAlignment.h. References mems::CompactGappedAlignment< BaseType >::align_matrix, mems::CompactGappedAlignment< BaseType >::bcount, and uint. Referenced by mems::CompactGappedAlignment< BaseType >::CropLeft(), mems::CompactGappedAlignment< BaseType >::CropRight(), and mems::CompactGappedAlignment< BaseType >::translate(). |
|
||||||||||
|
||||||||||
|
||||||||||
|
Definition at line 110 of file CompactGappedAlignment.h. References mems::CompactGappedAlignment< BaseType >::align_matrix, mems::CompactGappedAlignment< BaseType >::bcount, and std::swap(). |
|
||||||||||
|
Definition at line 106 of file CompactGappedAlignment.h. Referenced by std::swap(). |
|
||||||||||||||||||||||||
|
translate a cga to a new coordinate system
Definition at line 348 of file CompactGappedAlignment.h. References mems::CompactGappedAlignment< BaseType >::align_matrix, mems::CompactGappedAlignment< BaseType >::bcount, mems::bitset_t, mems::CompactGappedAlignment< BaseType >::create_bitcount(), mems::CompactGappedAlignment< BaseType >::SeqPosToColumn(), uint, and mems::CompactGappedAlignment< BaseType >::validate(). Referenced by mems::ProgressiveAligner::constructLcbTrackingMatches(), and mems::ProgressiveAligner::translateGappedCoordinates(). |
|
|||||||||
|
|||||||||
|
|||||
|
|||||
1.3.6