40 #ifndef _ENTROPYFILTERMAFITERATOR_H_
41 #define _ENTROPYFILTERMAFITERATOR_H_
77 EntropyFilterMafIterator(
MafIterator* iterator,
const std::vector<std::string>& species,
unsigned int windowSize,
unsigned int step,
double maxEnt,
unsigned int maxPos,
bool keepTrashedBlocks,
bool missingAsGap,
bool ignoreGaps) :
Helper class for developping filter for maf blocks.
Filter maf blocks highly divergent regions.
std::deque< MafBlock * > trashBuffer_
std::deque< unsigned int > window_
std::vector< std::string > species_
MafBlock * analyseCurrentBlock_()
MafBlock * nextRemovedBlock()
Get the next available removed alignment block.
EntropyFilterMafIterator(MafIterator *iterator, const std::vector< std::string > &species, unsigned int windowSize, unsigned int step, double maxEnt, unsigned int maxPos, bool keepTrashedBlocks, bool missingAsGap, bool ignoreGaps)
std::deque< MafBlock * > blockBuffer_
A synteny block data structure, the basic unit of a MAF alignement file.
Interface to loop over maf alignment blocks.
Interface to loop over removed blocks of a maf alignment.