40 #ifndef _ALIGNMENTFILTERMAFITERATOR_H_ 41 #define _ALIGNMENTFILTERMAFITERATOR_H_ 81 const std::vector<std::string>& species,
82 unsigned int windowSize,
86 bool keepTrashedBlocks,
138 AlignmentFilter2MafIterator(
MafIterator* iterator,
const std::vector<std::string>& species,
unsigned int windowSize,
unsigned int step,
unsigned int maxGap,
unsigned int maxPos,
bool keepTrashedBlocks,
bool missingAsGap) :
167 #endif //_ALIGNMENTFILTERMAFITERATOR_H_
MafBlock * analyseCurrentBlock_()
AlignmentFilterMafIterator(MafIterator *iterator, const std::vector< std::string > &species, unsigned int windowSize, unsigned int step, unsigned int maxGap, double maxEnt, bool keepTrashedBlocks, bool missingAsGap)
Filter maf blocks to remove ambiguously aligned or non-informative regions.
std::deque< MafBlock * > trashBuffer_
MafBlock * nextRemovedBlock()
Get the next available removed alignment block.
AlignmentFilter2MafIterator(MafIterator *iterator, const std::vector< std::string > &species, unsigned int windowSize, unsigned int step, unsigned int maxGap, unsigned int maxPos, bool keepTrashedBlocks, bool missingAsGap)
Filter maf blocks to remove ambiguously aligned or non-informative regions.
MafBlock * nextRemovedBlock()
Get the next available removed alignment block.
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.
std::deque< MafBlock * > trashBuffer_
std::deque< MafBlock * > blockBuffer_
std::vector< std::string > species_
std::deque< MafBlock * > blockBuffer_
std::vector< std::string > species_
std::deque< std::vector< bool > > window_
std::deque< std::vector< int > > window_
Helper class for developping filter for maf blocks.