bpp-seq-omics
2.2.0
|
Remove from alignment all positions that fall within any feature from a list given as a SequenceFeatureSet object. More...
#include <Bpp/Seq/Io/Maf/FeatureFilterMafIterator.h>
Public Member Functions | |
FeatureFilterMafIterator (MafIterator *iterator, const std::string &refSpecies, const SequenceFeatureSet &features, bool keepTrashedBlocks) | |
MafBlock * | nextRemovedBlock () throw (Exception) |
Get the next available removed alignment block. More... | |
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 | |
MafBlock * | analyseCurrentBlock_ () throw (Exception) |
Private Attributes | |
std::string | refSpecies_ |
std::deque< MafBlock * > | blockBuffer_ |
std::deque< MafBlock * > | trashBuffer_ |
bool | keepTrashedBlocks_ |
std::map< std::string, MultiRange< size_t > > | ranges_ |
Remove from alignment all positions that fall within any feature from a list given as a SequenceFeatureSet object.
Removed regions are outputed as a trash iterator.
Definition at line 57 of file FeatureFilterMafIterator.h.
|
inline |
Definition at line 69 of file FeatureFilterMafIterator.h.
References bpp::SequenceFeatureSet::fillRangeCollectionForSequence(), bpp::SequenceFeatureSet::getSequences(), and ranges_.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 99 of file MafIterator.h.
|
privatevirtual |
Implements bpp::AbstractMafIterator.
Definition at line 50 of file FeatureFilterMafIterator.cpp.
References bpp::MafBlock::addSequence(), bpp::MafSequence::getChromosome(), bpp::MafBlock::getDescription(), bpp::MafSequence::getDescription(), bpp::MafBlock::getNumberOfSequences(), bpp::MafBlock::getNumberOfSites(), bpp::MafBlock::getPass(), bpp::MafSequence::getRange(), bpp::MafBlock::getScore(), bpp::MafBlock::getSequence(), bpp::MafBlock::getSequenceForSpecies(), bpp::MafSequence::getSrcSize(), bpp::MafSequence::getStrand(), bpp::MafBlock::hasSequenceForSpecies(), bpp::MafBlock::setPass(), bpp::MafBlock::setScore(), bpp::MafSequence::start(), bpp::MafSequence::stop(), 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.
|
inlinevirtual |
Get the next available removed alignment block.
Implements bpp::MafTrashIterator.
Definition at line 89 of file FeatureFilterMafIterator.h.
References trashBuffer_.
|
inlineinherited |
Definition at line 178 of file MafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 117 of file MafIterator.h.
|
private |
Definition at line 63 of file FeatureFilterMafIterator.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_().
|
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=().
|
private |
Definition at line 65 of file FeatureFilterMafIterator.h.
|
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 66 of file FeatureFilterMafIterator.h.
Referenced by FeatureFilterMafIterator().
|
private |
Definition at line 62 of file FeatureFilterMafIterator.h.
|
protectedinherited |
Definition at line 90 of file MafIterator.h.
|
private |
Definition at line 64 of file FeatureFilterMafIterator.h.
Referenced by nextRemovedBlock().
|
protectedinherited |
Definition at line 91 of file MafIterator.h.