40 #ifndef _BLOCKMERGERMAFITERATOR_H_
41 #define _BLOCKMERGERMAFITERATOR_H_
Helper class for developping filter for maf blocks.
Merge blocks if some of their sequences are contiguous.
MafBlock * analyseCurrentBlock_()
bool renameChimericChromosomes_
BlockMergerMafIterator(const BlockMergerMafIterator &iterator)
std::vector< std::string > species_
BlockMergerMafIterator(MafIterator *iterator, const std::vector< std::string > &species, unsigned int maxDist=0, bool renameChimericChromosomes=false)
MafBlock * incomingBlock_
std::vector< std::string > ignoreChrs_
void ignoreChromosome(const std::string &chr)
std::map< std::string, unsigned int > chimericChromosomeCounts_
BlockMergerMafIterator & operator=(const BlockMergerMafIterator &iterator)
A synteny block data structure, the basic unit of a MAF alignement file.
Interface to loop over maf alignment blocks.
virtual MafBlock * nextBlock()=0
Get the next available alignment block.