40 #ifndef _OUTPUTALIGNMENTMAFITERATOR_H_ 41 #define _OUTPUTALIGNMENTMAFITERATOR_H_ 46 #include <Bpp/Seq/Io/OSequence.h> 85 throw Exception(
"OutputAlignmentMafIterator (constructor 1): sequence writer should not be a NULL pointer!");
104 throw Exception(
"OutputAlignmentMafIterator (constructor 2): sequence writer should not be a NULL pointer!");
138 #endif //_OUTPUTALIGNMENTMAFITERATOR_H_
OutputAlignmentMafIterator(MafIterator *iterator, std::ostream *out, OAlignment *writer, bool mask=true)
Creates a new OutputAlignmentMafIterator object.
A synteny block data structure, the basic unit of a MAF alignement file.
OutputAlignmentMafIterator(const OutputAlignmentMafIterator &iterator)
Interface to loop over maf alignment blocks.
std::auto_ptr< OAlignment > writer_
OutputAlignmentMafIterator & operator=(const OutputAlignmentMafIterator &iterator)
OutputAlignmentMafIterator(MafIterator *iterator, const std::string &file, OAlignment *writer, bool mask=true)
Creates a new OutputAlignmentMafIterator object.
~OutputAlignmentMafIterator()
void writeBlock(std::ostream &out, const MafBlock &block) const
unsigned int currentBlockIndex_
MafBlock * analyseCurrentBlock_()
Helper class for developping filter for maf blocks.
This iterator forward the iterator given as input after having printed its content to an alignment fi...