bpp-seq-omics
2.4.1
|
This iterator forward the iterator given as input after having printed its content to a file. More...
#include <Bpp/Seq/Io/Maf/OutputMafIterator.h>
Public Member Functions | |
OutputMafIterator (MafIterator *iterator, std::ostream *out, bool mask=true) | |
MafBlock * | analyseCurrentBlock_ () |
void | setLogStream (std::shared_ptr< OutputStream > logstream) |
void | addIterationListener (IterationListener *listener) |
MafBlock * | nextBlock () |
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_ |
std::shared_ptr< OutputStream > | logstream_ |
std::vector< IterationListener * > | iterationListeners_ |
bool | started_ |
bool | verbose_ |
Private Member Functions | |
OutputMafIterator (const OutputMafIterator &iterator) | |
OutputMafIterator & | operator= (const OutputMafIterator &iterator) |
void | writeHeader (std::ostream &out) const |
void | writeBlock (std::ostream &out, const MafBlock &block) const |
Private Attributes | |
std::ostream * | output_ |
bool | mask_ |
This iterator forward the iterator given as input after having printed its content to a file.
Definition at line 55 of file OutputMafIterator.h.
|
inline |
Definition at line 63 of file OutputMafIterator.h.
References output_, and writeHeader().
|
inlineprivate |
Definition at line 71 of file OutputMafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 99 of file MafIterator.h.
References bpp::AbstractMafIterator::iterationListeners_.
|
inlinevirtual |
Implements bpp::AbstractMafIterator.
Definition at line 86 of file OutputMafIterator.h.
References bpp::AbstractFilterMafIterator::currentBlock_, bpp::AbstractFilterMafIterator::iterator_, bpp::MafIterator::nextBlock(), output_, and writeBlock().
|
protectedvirtualinherited |
Definition at line 57 of file MafIterator.cpp.
Referenced by bpp::AbstractMafIterator::nextBlock().
|
protectedvirtualinherited |
Definition at line 51 of file MafIterator.cpp.
Referenced by bpp::AbstractMafIterator::nextBlock().
|
protectedvirtualinherited |
Definition at line 63 of file MafIterator.cpp.
Referenced by bpp::AbstractMafIterator::nextBlock().
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 116 of file MafIterator.h.
References bpp::AbstractMafIterator::verbose_.
|
inlinevirtualinherited |
Get the next available alignment block.
Implements bpp::MafIterator.
Definition at line 103 of file MafIterator.h.
References bpp::AbstractMafIterator::analyseCurrentBlock_(), bpp::AbstractMafIterator::fireIterationMoveSignal_(), bpp::AbstractMafIterator::fireIterationStartSignal_(), bpp::AbstractMafIterator::fireIterationStopSignal_(), and bpp::AbstractMafIterator::started_.
|
inlineprivate |
Definition at line 77 of file OutputMafIterator.h.
|
inlineinherited |
Definition at line 178 of file MafIterator.h.
References bpp::AbstractFilterMafIterator::logstream_.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 117 of file MafIterator.h.
References bpp::AbstractMafIterator::verbose_.
|
private |
Definition at line 60 of file OutputMafIterator.cpp.
References bpp::SequenceWithAnnotation::getAnnotation(), bpp::MafSequence::getGenomicSize(), bpp::SequenceWithAnnotation::getName(), bpp::MafBlock::getNumberOfSequences(), bpp::MafBlock::getPass(), bpp::MafBlock::getScore(), bpp::MafBlock::getSequence(), bpp::MafSequence::getSrcSize(), bpp::MafSequence::getStrand(), bpp::SequenceWithAnnotation::hasAnnotation(), bpp::MafSequence::hasCoordinates(), bpp::SequenceMask::MASK, bpp::SequenceQuality::QUALITY_SCORE, bpp::TextTools::resizeLeft(), bpp::TextTools::resizeRight(), bpp::SequenceWithAnnotation::size(), bpp::MafSequence::start(), bpp::SequenceWithAnnotation::toString(), and bpp::TextTools::toString().
Referenced by analyseCurrentBlock_().
|
private |
Definition at line 54 of file OutputMafIterator.cpp.
Referenced by OutputMafIterator().
|
protectedinherited |
Definition at line 154 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), bpp::MafIteratorSynchronizer::analyseCurrentBlock_(), bpp::MsmcOutputMafIterator::analyseCurrentBlock_(), bpp::OrderFilterMafIterator::analyseCurrentBlock_(), analyseCurrentBlock_(), bpp::PlinkOutputMafIterator::analyseCurrentBlock_(), bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_(), bpp::TableOutputMafIterator::analyseCurrentBlock_(), bpp::VcfOutputMafIterator::analyseCurrentBlock_(), and bpp::AbstractFilterMafIterator::operator=().
|
protectedinherited |
Definition at line 89 of file MafIterator.h.
Referenced by bpp::AbstractMafIterator::addIterationListener().
|
protectedinherited |
Definition at line 153 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), bpp::MafIteratorSynchronizer::analyseCurrentBlock_(), bpp::MsmcOutputMafIterator::analyseCurrentBlock_(), bpp::OrderFilterMafIterator::analyseCurrentBlock_(), analyseCurrentBlock_(), bpp::PlinkOutputMafIterator::analyseCurrentBlock_(), bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_(), bpp::TableOutputMafIterator::analyseCurrentBlock_(), bpp::VcfOutputMafIterator::analyseCurrentBlock_(), and bpp::AbstractFilterMafIterator::operator=().
|
protectedinherited |
Definition at line 155 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), bpp::AbstractFilterMafIterator::operator=(), and bpp::AbstractFilterMafIterator::setLogStream().
|
private |
Definition at line 60 of file OutputMafIterator.h.
Referenced by operator=().
|
private |
Definition at line 59 of file OutputMafIterator.h.
Referenced by analyseCurrentBlock_(), operator=(), and OutputMafIterator().
|
protectedinherited |
Definition at line 90 of file MafIterator.h.
Referenced by bpp::AbstractMafIterator::nextBlock().
|
protectedinherited |
Definition at line 91 of file MafIterator.h.
Referenced by bpp::AbstractMafIterator::isVerbose(), and bpp::AbstractMafIterator::setVerbose().