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();
103 #endif //_FEATUREFILTERMAFITERATOR_H_ MafBlock * nextRemovedBlock()
Get the next available removed alignment block.
std::deque< MafBlock * > blockBuffer_
std::set< std::string > getSequences() const
MafBlock * analyseCurrentBlock_()
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::map< std::string, MultiRange< size_t > > ranges_
Remove from alignment all positions that fall within any feature from a list given as a SequenceFeatu...
A synteny block data structure, the basic unit of a MAF alignement file.
Interface to loop over removed blocks of a maf alignment.
FeatureFilterMafIterator(MafIterator *iterator, const std::string &refSpecies, const SequenceFeatureSet &features, bool keepTrashedBlocks)
Interface to loop over maf alignment blocks.
std::deque< MafBlock * > trashBuffer_
Helper class for developping filter for maf blocks.
A simple ensemble of sequence features.