bpp-seq-omics
2.2.0
|
Concatenate blocks up to a certain size. More...
#include <Bpp/Seq/Io/Maf/ConcatenateMafIterator.h>
Public Member Functions | |
ConcatenateMafIterator (MafIterator *iterator, unsigned int minimumSize) | |
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) |
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 | |
ConcatenateMafIterator (const ConcatenateMafIterator &iterator) | |
ConcatenateMafIterator & | operator= (const ConcatenateMafIterator &iterator) |
MafBlock * | analyseCurrentBlock_ () throw (Exception) |
Private Attributes | |
MafBlock * | incomingBlock_ |
unsigned int | minimumSize_ |
Concatenate blocks up to a certain size.
Blocks are appended regardless of their coordinates, to form concatenated blocks of at least a given number of positions. The scores, if any, will be averaged for the block, weighted by the corresponding block sizes. The pass value will be removed if it is different for the blocks.
Definition at line 59 of file ConcatenateMafIterator.h.
|
inline |
Definition at line 67 of file ConcatenateMafIterator.h.
References incomingBlock_, and bpp::MafIterator::nextBlock().
|
inlineprivate |
Definition at line 76 of file ConcatenateMafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 99 of file MafIterator.h.
|
privatevirtual |
Implements bpp::AbstractMafIterator.
Definition at line 50 of file ConcatenateMafIterator.cpp.
References bpp::MafBlock::addSequence(), bpp::MafSequence::getChromosome(), bpp::MafSequence::getDescription(), bpp::MafBlock::getSpeciesList(), bpp::MafSequence::getStrand(), bpp::MafSequence::removeCoordinates(), bpp::MafSequence::setChromosome(), bpp::MafSequence::setName(), bpp::MafBlock::setPass(), bpp::MafBlock::setScore(), and bpp::MafSequence::setStrand().
|
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.
|
inlineprivate |
Definition at line 82 of file ConcatenateMafIterator.h.
References incomingBlock_, and minimumSize_.
|
inlineinherited |
Definition at line 178 of file MafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 117 of file MafIterator.h.
|
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_().
|
private |
Definition at line 63 of file ConcatenateMafIterator.h.
Referenced by ConcatenateMafIterator(), and operator=().
|
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=().
|
private |
Definition at line 64 of file ConcatenateMafIterator.h.
Referenced by operator=().
|
protectedinherited |
Definition at line 90 of file MafIterator.h.
|
protectedinherited |
Definition at line 91 of file MafIterator.h.