|
bpp-seq-omics
2.2.0
|
Output each sequence coordinates for each block. More...
#include <Bpp/Seq/Io/Maf/CoordinatesOutputMafIterator.h>
Inheritance diagram for bpp::CoordinatesOutputMafIterator:
Collaboration diagram for bpp::CoordinatesOutputMafIterator:Public Member Functions | |
| CoordinatesOutputMafIterator (MafIterator *iterator, std::ostream *out, const std::vector< std::string > &species) | |
| Creates a new CoordinatesOutputMafIterator object. More... | |
| void | setLogStream (OutputStream *logstream) |
| void | addIterationListener (IterationListener *listener) |
| MafBlock * | nextBlock () throw (Exception) |
| Get the next available alignment block. More... | |
| bool | isVerbose () const |
| void | setVerbose (bool yn) |
Protected Member Functions | |
| virtual void | fireIterationStartSignal_ () |
| virtual void | fireIterationMoveSignal_ (const MafBlock ¤tBlock) |
| virtual void | fireIterationStopSignal_ () |
Protected Attributes | |
| MafIterator * | iterator_ |
| MafBlock * | currentBlock_ |
| OutputStream * | logstream_ |
| std::vector< IterationListener * > | iterationListeners_ |
| bool | started_ |
| bool | verbose_ |
Private Member Functions | |
| CoordinatesOutputMafIterator (const CoordinatesOutputMafIterator &iterator) | |
| CoordinatesOutputMafIterator & | operator= (const CoordinatesOutputMafIterator &iterator) |
| void | writeHeader_ (std::ostream &out) const |
| MafBlock * | analyseCurrentBlock_ () throw (Exception) |
Private Attributes | |
| std::ostream * | output_ |
| std::vector< std::string > | species_ |
Output each sequence coordinates for each block.
The set of species for which coordinates are output is provided as argument. The current implementation outputs results as a table to a file. Later implementation may involve a dedicated data structure for other application usage (file indexing and so one).
Definition at line 58 of file CoordinatesOutputMafIterator.h.
|
inline |
Creates a new CoordinatesOutputMafIterator object.
| iterator | The input iterator. |
| out | A pointer toward the output stream. The stream will not be own by this instance, and will not be copied neither destroyed. |
| species | A vector of species names for which coordinates should be output. In case of missing species for one block, NA will be produced. |
Definition at line 73 of file CoordinatesOutputMafIterator.h.
References output_, and writeHeader_().
|
inlineprivate |
Definition at line 81 of file CoordinatesOutputMafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 99 of file MafIterator.h.
|
privatevirtual | |||||||||||||
Implements bpp::AbstractMafIterator.
Definition at line 55 of file CoordinatesOutputMafIterator.cpp.
References bpp::MafBlock::getSequencesForSpecies().
|
protectedvirtualinherited |
Definition at line 57 of file MafIterator.cpp.
|
protectedvirtualinherited |
Definition at line 51 of file MafIterator.cpp.
|
protectedvirtualinherited |
Definition at line 63 of file MafIterator.cpp.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 116 of file MafIterator.h.
|
inlinevirtualinherited | |||||||||||||
Get the next available alignment block.
Implements bpp::MafIterator.
Definition at line 103 of file MafIterator.h.
|
inlineprivate |
Definition at line 87 of file CoordinatesOutputMafIterator.h.
|
inlineinherited |
Definition at line 178 of file MafIterator.h.
|
inlinevirtualinherited |
Implements bpp::MafIterator.
Definition at line 117 of file MafIterator.h.
|
private |
Definition at line 45 of file CoordinatesOutputMafIterator.cpp.
Referenced by CoordinatesOutputMafIterator().
|
protectedinherited |
Definition at line 154 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), bpp::OutputMafIterator::analyseCurrentBlock_(), bpp::VcfOutputMafIterator::analyseCurrentBlock_(), and bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_().
|
protectedinherited |
Definition at line 89 of file MafIterator.h.
|
protectedinherited |
Definition at line 153 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), bpp::OutputMafIterator::analyseCurrentBlock_(), bpp::VcfOutputMafIterator::analyseCurrentBlock_(), bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_(), and bpp::AbstractFilterMafIterator::operator=().
|
protectedinherited |
Definition at line 155 of file MafIterator.h.
Referenced by bpp::BlockLengthMafIterator::analyseCurrentBlock_(), bpp::BlockSizeMafIterator::analyseCurrentBlock_(), and bpp::AbstractFilterMafIterator::operator=().
|
private |
Definition at line 62 of file CoordinatesOutputMafIterator.h.
Referenced by CoordinatesOutputMafIterator(), and operator=().
|
private |
Definition at line 63 of file CoordinatesOutputMafIterator.h.
Referenced by operator=().
|
protectedinherited |
Definition at line 90 of file MafIterator.h.
|
protectedinherited |
Definition at line 91 of file MafIterator.h.