1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#ifndef _ASSEMBLY_STREAMS_H_
#define _ASSEMBLY_STREAMS_H_
namespace BloomDBG {
/** Bundles together input and output streams used during assembly */
template <typename InputStreamT>
struct AssemblyStreams
{
/** input reads stream */
InputStreamT& in;
/** main FASTA output */
std::ostream& out;
/** duplicated FASTA output for checkpointing */
std::ostream& checkpointOut;
/** trace file output for debugging */
std::ostream& traceOut;
/** outcomes of processing each read */
std::ostream& readLogOut;
AssemblyStreams(InputStreamT& in, std::ostream& out,
std::ostream& checkpointOut, std::ostream& traceOut,
std::ostream& readLogOut) :
in(in), out(out), checkpointOut(checkpointOut),
traceOut(traceOut), readLogOut(readLogOut) {}
};
}
#endif
|