40 #ifndef _FEATUREFILTERMAFITERATOR_H_
41 #define _FEATUREFILTERMAFITERATOR_H_
66 std::map<std::string, MultiRange<size_t> >
ranges_;
79 for (std::set<std::string>::iterator it = seqIds.begin();
Helper class for developping filter for maf blocks.
Remove from alignment all positions that fall within any feature from a list given as a SequenceFeatu...
std::map< std::string, MultiRange< size_t > > ranges_
std::deque< MafBlock * > blockBuffer_
MafBlock * analyseCurrentBlock_()
FeatureFilterMafIterator(MafIterator *iterator, const std::string &refSpecies, const SequenceFeatureSet &features, bool keepTrashedBlocks)
MafBlock * nextRemovedBlock()
Get the next available removed alignment block.
std::deque< MafBlock * > trashBuffer_
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.
A simple ensemble of sequence features.
void fillRangeCollectionForSequence(const std::string &seqId, RangeCollection< size_t > &coords) const
Get all coordinates of features for a given source. All ranges are added to a RangeCollection contain...
std::set< std::string > getSequences() const