40 #ifndef _MASKFILTERMAFITERATOR_H_
41 #define _MASKFILTERMAFITERATOR_H_
73 MaskFilterMafIterator(
MafIterator* iterator,
const std::vector<std::string>& species,
unsigned int windowSize,
unsigned int step,
unsigned int maxMasked,
bool keepTrashedBlocks) :
Helper class for developping filter for maf blocks.
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.
Filter maf blocks to remove regions with masked positions.
MafBlock * analyseCurrentBlock_()
MafBlock * nextRemovedBlock()
Get the next available removed alignment block.
std::vector< std::string > species_
std::deque< std::vector< bool > > window_
std::deque< MafBlock * > trashBuffer_
MaskFilterMafIterator(MafIterator *iterator, const std::vector< std::string > &species, unsigned int windowSize, unsigned int step, unsigned int maxMasked, bool keepTrashedBlocks)
std::deque< MafBlock * > blockBuffer_