#include <Interval.h>
Public Member Functions | |
| void | add (AbstractMatch *am) |
| virtual void | CalculateOffset () |
| GenericInterval * | Clone () const |
| GenericInterval * | Copy () const |
| void | CropEnd (gnSeqI crop_amount) |
| void | CropLeft (gnSeqI amount, uint seqI) |
| void | CropRight (gnSeqI amount, uint seqI) |
| void | CropStart (gnSeqI crop_amount) |
| virtual void | Free () |
| GenericInterval (const GenericInterval &iv) | |
| template<typename BidIt> | GenericInterval (BidIt it_begin, const BidIt &it_end) |
| construct from a MatchList or a vector of pointers to AbstractMatches | |
| GenericInterval () | |
| virtual void | GetAlignedSequences (gnAlignedSequences &gnas, const std::vector< genome::gnSequence * > &seq_table) const |
| Get a gnAlignedSequences object TODO: get rid of this. | |
| void | GetAlignment (std::vector< bitset_t > &align_matrix) const |
| void | GetColumn (gnSeqI col, std::vector< gnSeqI > &pos, std::vector< bool > &column) const |
| const std::vector< AbstractMatch * > & | GetMatches () const |
| void | Invert () |
| bool | IsGap (uint seq, gnSeqI col) const |
| void | Marble (gnSeqI size) |
| marbles the gaps so that no sequence has more than "size" contiguous gaps | |
| void | MoveEnd (int64 move_amount) |
| void | MoveStart (int64 move_amount) |
| GenericInterval & | operator= (const GenericInterval &iv) |
| void | SetAlignment (const std::vector< std::string > &seq_align) |
| template<class MatchVector> void | SetMatches (MatchVector &matches) |
| Set the matches in this interval *without* making a copy. | |
| template<class MatchVector> void | SetMatchesTemp (MatchVector &matches) |
| Set the matches in this interval *without* cloberring the interval. | |
| void | StealMatches (std::vector< AbstractMatch * > &matches) |
| void | swap (GenericInterval &other) |
| void | ValidateMatches () const |
| self test code | |
| ~GenericInterval () | |
Protected Member Functions | |
| void | swap (GenericInterval *other) |
Protected Attributes | |
| std::vector< AbstractMatch * > | matches |
Private Member Functions | |
| void | addUnalignedRegions () |
| void | CalculateAlignmentLength () |
| void | FindMatchPos (uint seqI, gnSeqI pos, size_t &matchI, gnSeqI &match_pos) |
| void | GetColumnAndMatch (gnSeqI col, std::vector< gnSeqI > &pos, std::vector< bool > &column, size_t &matchI, gnSeqI &match_col) const |
Friends | |
| template<typename BaseImpl> std::ostream & | operator<< (std::ostream &os, const GenericInterval< BaseImpl > &iv) |
| Writes this GenericInterval to the specified output stream (e.g. | |
| template<typename BaseImpl> std::istream & | operator>> (std::istream &is, const GenericInterval< BaseImpl > &iv) |
| Reads a GenericInterval from the specified input stream (e.g. | |
|
|||||||||
|
Definition at line 49 of file Interval.h. Referenced by mems::GenericInterval< GappedBaseImpl >::Clone(), and mems::GenericInterval< GappedBaseImpl >::SetMatches(). |
|
||||||||||||||||||||
|
construct from a MatchList or a vector of pointers to AbstractMatches
Definition at line 55 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::addUnalignedRegions(), mems::GenericInterval< GappedBaseImpl >::CalculateAlignmentLength(), mems::GenericInterval< GappedBaseImpl >::CalculateOffset(), and mems::GenericInterval< GappedBaseImpl >::ValidateMatches(). |
|
||||||||||
|
Definition at line 219 of file Interval.h. |
|
|||||||||
|
Definition at line 200 of file Interval.h. |
|
||||||||||
|
Definition at line 140 of file Interval.h. References mems::AbstractMatch::Copy(). |
|
|||||||||
|
Definition at line 783 of file Interval.h. References mems::AddGapMatches(), and uint. Referenced by mems::GenericInterval< GappedBaseImpl >::GenericInterval(), mems::GenericInterval< GappedBaseImpl >::SetMatches(), and mems::GenericInterval< GappedBaseImpl >::SetMatchesTemp(). |
|
|||||||||
|
|||||||||
|
|||||||||
|
Definition at line 237 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::GenericInterval(). |
|
|||||||||
|
Definition at line 189 of file Interval.h. References mems::m_allocateAndCopy(). Referenced by mems::addGuy(), mems::addUnalignedIntervals_v2(), and mems::ProgressiveAligner::alignProfileToProfile(). |
|
||||||||||
|
Definition at line 512 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::CalculateOffset(), mems::GenericInterval< GappedBaseImpl >::GetColumnAndMatch(), and mems::GenericInterval< GappedBaseImpl >::ValidateMatches(). Referenced by mems::SuperInterval::CropRight(), and mems::mergeUnalignedIntervals(). |
|
||||||||||||||||
|
Definition at line 564 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::CalculateOffset(), mems::GenericInterval< GappedBaseImpl >::FindMatchPos(), uint, and mems::GenericInterval< GappedBaseImpl >::ValidateMatches(). |
|
||||||||||||||||
|
Definition at line 615 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::CalculateOffset(), mems::GenericInterval< GappedBaseImpl >::FindMatchPos(), uint, and mems::GenericInterval< GappedBaseImpl >::ValidateMatches(). |
|
||||||||||
|
Definition at line 486 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::CalculateOffset(), mems::GenericInterval< GappedBaseImpl >::GetColumnAndMatch(), and mems::GenericInterval< GappedBaseImpl >::ValidateMatches(). Referenced by mems::SuperInterval::CropLeft(), and mems::mergeUnalignedIntervals(). |
|
||||||||||||||||||||||||
|
Definition at line 818 of file Interval.h. References uint. Referenced by mems::GenericInterval< GappedBaseImpl >::CropLeft(), and mems::GenericInterval< GappedBaseImpl >::CropRight(). |
|
|||||||||
|
Definition at line 194 of file Interval.h. References mems::m_free(). Referenced by mems::addUnalignedRegions(). |
|
||||||||||||||||
|
Get a gnAlignedSequences object TODO: get rid of this.
Definition at line 923 of file Interval.h. References mems::GetAlignment(), mems::gnAlignedSequences::names, mems::gnAlignedSequences::positions, mems::gnAlignedSequences::sequences, and uint. Referenced by mems::simpleFindBackbone(), and mems::simpleFindIslands(). |
|
||||||||||
|
Definition at line 539 of file Interval.h. References mems::bitset_t, and uint. Referenced by mems::SuperInterval::ValidateSelf(). |
|
||||||||||||||||||||
|
Definition at line 810 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::GetColumnAndMatch(). Referenced by mems::GenericInterval< GappedBaseImpl >::IsGap(). |
|
||||||||||||||||||||||||||||
|
Definition at line 300 of file Interval.h. References uint. Referenced by mems::GenericInterval< GappedBaseImpl >::CropEnd(), mems::GenericInterval< GappedBaseImpl >::CropStart(), and mems::GenericInterval< GappedBaseImpl >::GetColumn(). |
|
|||||||||
|
Definition at line 156 of file Interval.h. Referenced by mems::ProgressiveAligner::alignProfileToProfile(), and mems::SuperInterval::ValidateSelf(). |
|
|||||||||
|
Definition at line 801 of file Interval.h. References uint. |
|
||||||||||||||||
|
Definition at line 937 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::GetColumn(), and uint. |
|
||||||||||
|
marbles the gaps so that no sequence has more than "size" contiguous gaps
Definition at line 393 of file Interval.h. References mems::AbstractMatch::AlignmentLength(), mems::AbstractMatch::CropEnd(), RandTwisterDouble(), uint, and mems::GenericInterval< GappedBaseImpl >::ValidateMatches(). |
|
||||||||||
|
Definition at line 676 of file Interval.h. |
|
||||||||||
|
Definition at line 668 of file Interval.h. |
|
||||||||||
|
Definition at line 225 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::matches. |
|
||||||||||
|
Definition at line 876 of file Interval.h. References mems::GappedAlignment::SetAlignment(), mems::AbstractGappedAlignment< SparseAbstractMatch<> >::SetLength(), mems::SparseAbstractMatch<>::SetStart(), and uint. |
|
||||||||||||||
|
Set the matches in this interval *without* making a copy. The GenericInterval takes ownership of matches Definition at line 76 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::addUnalignedRegions(), mems::GenericInterval< GappedBaseImpl >::CalculateAlignmentLength(), mems::GenericInterval< GappedBaseImpl >::CalculateOffset(), mems::GenericInterval< GappedBaseImpl >::GenericInterval(), mems::Match, and mems::GenericInterval< GappedBaseImpl >::ValidateMatches(). Referenced by mems::addGuy(), mems::addUnalignedIntervals_v2(), mems::Aligner::align(), mems::Aligner::AlignLCB(), mems::AlignLCBInParallel(), and mems::propagateInvert(). |
|
||||||||||||||
|
Set the matches in this interval *without* cloberring the interval.
Definition at line 102 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::addUnalignedRegions(), mems::GenericInterval< GappedBaseImpl >::CalculateAlignmentLength(), mems::GenericInterval< GappedBaseImpl >::CalculateOffset(), and mems::GenericInterval< GappedBaseImpl >::ValidateMatches(). |
|
||||||||||
|
Definition at line 207 of file Interval.h. References uint. Referenced by mems::mergeUnalignedIntervals(), and mems::propagateInvert(). |
|
||||||||||
|
Definition at line 173 of file Interval.h. References mems::GenericInterval< GappedBaseImpl >::matches, and std::swap(). |
|
||||||||||
|
Definition at line 169 of file Interval.h. Referenced by mems::SuperInterval::swap(), and std::swap(). |
|
|||||||||
|
||||||||||||||||||||
|
Writes this GenericInterval to the specified output stream (e.g. cout). |
|
||||||||||||||||||||
|
Reads a GenericInterval from the specified input stream (e.g. cin). |
|
|||||
|
Definition at line 177 of file Interval.h. Referenced by mems::GenericInterval< GappedBaseImpl >::operator=(), and mems::GenericInterval< GappedBaseImpl >::swap(). |
1.3.6