bpp-seq-omics
2.2.0
|
Splits block into windows of given sizes. More...
#include <Bpp/Seq/Io/Maf/WindowSplitMafIterator.h>
Public Member Functions | |
WindowSplitMafIterator (MafIterator *iterator, unsigned int windowSize, short splitOption=CENTER) throw (Exception) | |
void | setLogStream (OutputStream *logstream) |
void | addIterationListener (IterationListener *listener) |
MafBlock * | nextBlock () throw (Exception) |
Get the next available alignment block. More... | |
bool | isVerbose () const |
void | setVerbose (bool yn) |
Static Public Attributes | |
static const short | RAGGED_LEFT = 0 |
static const short | RAGGED_RIGHT = 1 |
static const short | CENTER = 2 |
static const short | ADJUST = 3 |
Protected Member Functions | |
virtual void | fireIterationStartSignal_ () |
virtual void | fireIterationMoveSignal_ (const MafBlock ¤tBlock) |
virtual void | fireIterationStopSignal_ () |
Protected Attributes | |
MafIterator * | iterator_ |
MafBlock * | currentBlock_ |
OutputStream * | logstream_ |
std::vector< IterationListener * > | iterationListeners_ |
bool | started_ |
bool | verbose_ |
Private Member Functions | |
MafBlock * | analyseCurrentBlock_ () throw (Exception) |
Private Attributes | |
unsigned int | windowSize_ |
short | align_ |
std::deque< MafBlock * > | blockBuffer_ |
Splits block into windows of given sizes.
Definition at line 55 of file WindowSplitMafIterator.h.
|
inline |
Definition at line 70 of file WindowSplitMafIterator.h.
References ADJUST, CENTER, RAGGED_LEFT, and RAGGED_RIGHT.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 99 of file MafIterator.h.
|
privatevirtual |
Implements bpp::AbstractMafIterator.
Definition at line 55 of file WindowSplitMafIterator.cpp.
References bpp::MafBlock::addSequence(), bpp::MafBlock::getNumberOfSequences(), bpp::MafBlock::getNumberOfSites(), bpp::MafBlock::getPass(), bpp::MafBlock::getScore(), bpp::MafBlock::getSequence(), bpp::MafBlock::setPass(), bpp::MafBlock::setScore(), and bpp::MafSequence::subSequence().
|
protectedvirtualinherited |
Definition at line 57 of file MafIterator.cpp.
|
protectedvirtualinherited |
Definition at line 51 of file MafIterator.cpp.
|
protectedvirtualinherited |
Definition at line 63 of file MafIterator.cpp.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 116 of file MafIterator.h.
|
inlinevirtualinherited |
Get the next available alignment block.
Implements bpp::MafIterator.
Definition at line 103 of file MafIterator.h.
|
inlineinherited |
Definition at line 178 of file MafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 117 of file MafIterator.h.
|
static |
Definition at line 67 of file WindowSplitMafIterator.h.
Referenced by WindowSplitMafIterator().
|
private |
Definition at line 60 of file WindowSplitMafIterator.h.
|
private |
Definition at line 61 of file WindowSplitMafIterator.h.
|
static |
Definition at line 66 of file WindowSplitMafIterator.h.
Referenced by WindowSplitMafIterator().
|
protectedinherited |
Definition at line 154 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), bpp::OutputMafIterator::analyseCurrentBlock_(), bpp::VcfOutputMafIterator::analyseCurrentBlock_(), and bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_().
|
protectedinherited |
Definition at line 89 of file MafIterator.h.
|
protectedinherited |
Definition at line 153 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), bpp::OutputMafIterator::analyseCurrentBlock_(), bpp::VcfOutputMafIterator::analyseCurrentBlock_(), bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_(), and bpp::AbstractFilterMafIterator::operator=().
|
protectedinherited |
Definition at line 155 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), and bpp::AbstractFilterMafIterator::operator=().
|
static |
Definition at line 64 of file WindowSplitMafIterator.h.
Referenced by WindowSplitMafIterator().
|
static |
Definition at line 65 of file WindowSplitMafIterator.h.
Referenced by WindowSplitMafIterator().
|
protectedinherited |
Definition at line 90 of file MafIterator.h.
|
protectedinherited |
Definition at line 91 of file MafIterator.h.
|
private |
Definition at line 59 of file WindowSplitMafIterator.h.