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) :
100 #endif //_MASKFILTERMAFITERATOR_H_
MafBlock * analyseCurrentBlock_()
A synteny block data structure, the basic unit of a MAF alignement file.
std::deque< std::vector< bool > > window_
std::deque< MafBlock * > trashBuffer_
Interface to loop over removed blocks of a maf alignment.
std::vector< std::string > species_
Interface to loop over maf alignment blocks.
MafBlock * nextRemovedBlock()
Get the next available removed alignment block.
Filter maf blocks to remove regions with masked positions.
std::deque< MafBlock * > blockBuffer_
Helper class for developping filter for maf blocks.
MaskFilterMafIterator(MafIterator *iterator, const std::vector< std::string > &species, unsigned int windowSize, unsigned int step, unsigned int maxMasked, bool keepTrashedBlocks)