40 #ifndef _WINDOWSPLITMAFITERATOR_H_
41 #define _WINDOWSPLITMAFITERATOR_H_
80 if (splitOption !=
RAGGED_LEFT && windowStep != windowSize)
81 throw Exception(
"WindowSplitMafIterator: overlapping windows are only supported together with the RAGGED_LEFT option.");
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.
Splits block into windows of given sizes.
std::deque< MafBlock * > blockBuffer_
static const short RAGGED_RIGHT
MafBlock * analyseCurrentBlock_()
WindowSplitMafIterator(MafIterator *iterator, size_t windowSize, size_t windowStep, short splitOption=CENTER, bool keepSmallBlocks=false)
static const short RAGGED_LEFT
static const short CENTER
static const short ADJUST
std::string toString(T t)