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) :
107 #endif //_ENTROPYFILTERMAFITERATOR_H_
std::vector< std::string > species_
Filter maf blocks highly divergent regions.
A synteny block data structure, the basic unit of a MAF alignement file.
Interface to loop over removed blocks of a maf alignment.
Interface to loop over maf alignment blocks.
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_
std::deque< MafBlock * > trashBuffer_
std::deque< unsigned int > window_
MafBlock * analyseCurrentBlock_()
Helper class for developping filter for maf blocks.