bpp-seq-omics
2.2.0
|
Filter maf blocks to remove duplicated blocks, according to a reference sequence). More...
#include <Bpp/Seq/Io/Maf/DuplicateFilterMafIterator.h>
Public Member Functions | |
DuplicateFilterMafIterator (MafIterator *iterator, const std::string &reference) | |
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 | |
DuplicateFilterMafIterator (const DuplicateFilterMafIterator &iterator) | |
DuplicateFilterMafIterator & | operator= (const DuplicateFilterMafIterator &iterator) |
MafBlock * | analyseCurrentBlock_ () throw (Exception) |
Private Attributes | |
std::string | ref_ |
std::map< std::string, std::map< char, std::map< size_t, std::map< size_t, size_t > > > > | blocks_ |
Filter maf blocks to remove duplicated blocks, according to a reference sequence).
Definition at line 55 of file DuplicateFilterMafIterator.h.
|
inline |
iterator | The input iterator. |
reference | The reference species name. |
Definition at line 70 of file DuplicateFilterMafIterator.h.
|
inlineprivate |
Definition at line 77 of file DuplicateFilterMafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 99 of file MafIterator.h.
|
privatevirtual |
Implements bpp::AbstractMafIterator.
Definition at line 50 of file DuplicateFilterMafIterator.cpp.
References bpp::MafBlock::getSequence(), and bpp::MafSequence::getSpecies().
|
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 83 of file DuplicateFilterMafIterator.h.
|
inlineinherited |
Definition at line 178 of file MafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 117 of file MafIterator.h.
|
private |
Contains the list of 'seen' block, as [chr][strand][start][stop]
Definition at line 63 of file DuplicateFilterMafIterator.h.
Referenced by operator=().
|
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=().
|
private |
Definition at line 59 of file DuplicateFilterMafIterator.h.
Referenced by operator=().
|
protectedinherited |
Definition at line 90 of file MafIterator.h.
|
protectedinherited |
Definition at line 91 of file MafIterator.h.